After 1.1.3, some builds fail

This is a fun one. Since the 1.13 publication, builds started failing for us on our TeamCity server, but only there. We can't reproduce locally (on OS X 10.11.5 or Windows 10 Pro).
The call to findRepo() is returning null, and that error condition isn't being handled: it's just passing the result directly into path.join, here. Curiously, 1.13 didn't actually change anything around this—but something about shipping it did break the TC build.
Our TeamCity box is running Windows Server 2008 and Git [will add shortly].
Here's the full stack trace:
TypeError: Path must be a string. Received null
	at assertPath (path.js:8:11)
	at Object.win32.resolve (path.js:130:5)
	at module.exports (D:\BuildAgent\work\8afa5390471260e3\node_modules\git-repo-info\index.js:128:16)
	at version (D:\BuildAgent\work\8afa5390471260e3\node_modules\git-repo-version\index.js:11:14)
	at Class.module.exports.config (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli-app-version\index.js:10:46)
	at D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli\lib\models\project.js:223:27
	at Array.reduce (native)
	at Project.getAddonsConfig (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli\lib\models\project.js:221:22)
	at Project.config (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli\lib\models\project.js:199:29)
	at Class.module.exports._monkeyPatch_EmberDeprecate (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli-deprecation-workflow\index.js:62:41)
	at Class.module.exports.setupPreprocessorRegistry (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli-deprecation-workflow\index.js:114:12)
	at D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli-preprocess-registry\preprocessors.js:27:13
	at Array.forEach (native)
	at setupRegistryForEachAddon (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli-preprocess-registry\preprocessors.js:25:10)
	at Object.module.exports.setupRegistry (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli-preprocess-registry\preprocessors.js:46:3)
	at new EmberApp (D:\BuildAgent\work\8afa5390471260e3\node_modules\ember-cli\lib\broccoli\ember-app.js:108:5)

this isn't just windows, came here after investigating build failures for our heroku release

@novaugust interesting. I updated the title accordingly; does your error output show anything different than mine?

Was just lookig at that to compare
       TypeError: Path must be a string. Received null
           at assertPath (path.js:8:11)
           at Object.posix.resolve (path.js:426:5)
           at module.exports (/tmp/build_349b290ee97e4da41e345872fa944eb7/client/node_modules/git-repo-info/index.js:128:16)
           at version (/tmp/build_349b290ee97e4da41e345872fa944eb7/client/node_modules/git-repo-version/index.js:11:14)
           at Class.module.exports.config (/tmp/build_349b290ee97e4da41e345872fa944eb7/client/node_modules/ember-cli-app-version/index.js:10:46)
           at /tmp/build_349b290ee97e4da41e345872fa944eb7/client/node_modules/ember-cli/lib/models/project.js:224:27
           at Array.reduce (native)
           at Project.getAddonsConfig (/tmp/build_349b290ee97e4da41e345872fa944eb7/client/node_modules/ember-cli/lib/models/project.js:222:22)
           at Project.config (/tmp/build_349b290ee97e4da41e345872fa944eb7/client/node_modules/ember-cli/lib/models/project.js:200:29)
           at Class.module.exports.projectConfig (/tmp/build_349b290ee97e4da41e345872fa944eb7/client/node_modules/ember-cli-htmlbars-inline-precompile/index.js:30:25)

Anyone have a repro locally?

This is also failing for me on all my heroku deploys

@rwjblue yeah, figured it out.
Clone your ember project somewhere and delete its .git folder

removing git folder worked for me as well locally

Why would this have changed between 1.1.2 and 1.1.3?

Got it.  Fix incoming.

:+1:, this broke our heroku deploys as well.

Released v1.1.4

worked in heroku, thanks @rwjblue!

Works again using Docker, thanks @rwjblue!


Fixed deprecation warnings with PHP 8.1

Fixed a couple of warnings with PHP 8.1:
PHP Deprecated:  Implicit conversion from float 76.5 to int loses precision in /Users/deluxetom/Dev/dlxmedia/intervention-image/src/Drivers/Gd/Modifiers/BrightnessModifier.php on line 18

PHP Deprecated:  Return type of Intervention\Image\Collection::getIterator(): iterable should either be compatible with IteratorAggregate::getIterator(): Traversable, or the #[\ReturnTypeWillChange] attribute should be used to temporarily suppress the notice in /Users/deluxetom/Dev/dlxmedia/intervention-image/src/Collection.php on line 36

I also get deprecation but in another place:

@norkunas is that for the current version or version 3-alpha (next branch)?

@norkunas is that for the current version or version 3-alpha (next branch)?

2.7.1

@norkunas is that for the current version or version 3-alpha (next branch)?

2.7.1

this is out of scope for this PR

Thanks.


Most legacy string functions are unused

best solution might be to remove them.

[ ] Use coverage tool to identify untest functions


DynamoDB - FilterExpression doesnt handle LT/GT properly

Fixes #2626
LT/GT expressions should evaluate to false if one of the attributes is None, following the official behaviour

Coverage decreased (-35.0%) to 59.07% when pulling 8c920cce109552d4841bf1ff72fda53f69b3bd45 on bblommers:bugfix/2626 into d596560971ae289f102b9aecb9939b3c49a56ac5 on spulec:master.


Pumba Commands for chaos testing

Hi - I have got following chaos testing test scenarios.

Impact of lack of logging space on the microservices/containers (simulate the Docker container 'Cannot write: No space left on device' error) or set '--storage-opt size=X'. Observe effects on other services

Lack of space on Docker volumes (Should configure existing docker containers with startup parameters to simulate the chaos conditions)

Simulate a CPU usage of say 80% for 10 minutes every hour and observe the behaviour of the system.

Loss of connectivity with 3rd party dependency services

Please suggest / give me some lead to derive pumba commands for testing.
Regards
Venkat

@venkiradkris currently these things are not possible. Agree with you that these are interesting use cases. I thought to use an injected container with stress-ng tool on board to achieve this.
I will publish project roadmap and will include this request there. Not sure when it will be done, but can accept PR too.

Thanks a lot for your update/response.
Do you have any tool suggestion for executing above test cases specifically for Docker Containers/Micro Services? Kindly update.
Regards
Venkat

stress command is available now


⚠ Bofrost.fr has degraded performance

In 5fb2e69, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1477 ms

Resolved: Bofrost.fr performance has improved in 124cbe1 after 6 minutes.


fix watch issues in storage

fix a lock issue
remove unnecessary code
send compaction error when watched revision is compacted.

lgtm. Thanks!


New package: Portable-Windows-Apps.KeePass 2.54

Checklist for Pull Requests

[ ] Have you signed the Contributor License Agreement?
[ ] Is there a linked Issue?

Manifests

[ ] Have you checked that there aren't other open pull requests for the same manifest update/change?
[ ] This PR only modifies one (1) manifest
[ ] Have you validated your manifest locally with winget validate --manifest <path>?
[ ] Have you tested your manifest locally with winget install --manifest <path>?
[ ] Does your manifest conform to the 1.6 schema?

Note: <path> is the name of the directory containing the manifest you're submitting.

@microsoft-github-policy-service agree

Hi @Portable-Apps-For-Windows,
This package already exists as DominikReichl.KeePass. Please search for a software package before submitting a PR for it.
Unfortunately, we only accept packages that are hosted by the developer. The developer's URL for this pacakge would be https://sourceforge.net/projects/keepass/files/KeePass 2.x/2.54/KeePass-2.54.zip/download.


ShareClient Instantiation Strategy

In a 'real-world' application, what is the suggested instantiation pattern for the ShareClient object?  Should this be a singleton that is available globally or across multiple web requests, like HttpClient?

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

ID: 0eff27d7-f909-fc99-14f6-ad572629907f
Version Independent ID: 57504146-9f89-e4d6-3f5b-5cd9af305d45
Content: Develop for Azure Files with .NET
Content Source: articles/storage/files/storage-dotnet-how-to-use-files.md
Service: storage
Sub-service: files
GitHub Login: @roygara
Microsoft Alias: rogarana

@byronwjones
Thanks for your Question! We are currently investigating and will get back on this.

@byronwjones Firstly apologies for the delay response!   Your feedback has been shared with the content owner for further review.

#reassign: @khdownie

#reassign: @tamram


Could this be extended to work for civievents including free ones

@petednz I believe this type of feature was included in a big contribution getting worked on a while back and I think it got dropped for one reason or another, as things do with volunteer projects:
https://github.com/elisseck/com.elisseck.civihoneypot/pull/5
I'm not 100% sure where this is at, it sounded like what's there was working and they were adding support for additional forms. If you are able to test the pull and see it does what you want it to do... I will just merge it as-is.
I would like to say I can push this feature forward but realistically my schedule is pretty tight these days so I can't make any timeline promises! Happy to review contributions, though.  I merged it but haven't tagged a new release yet or anything.
Feel free to re-open it if there is some piece that hasn't been covered and i'll tag a new release hopefully this weekend.


Rule Priority v2 vs v3

Welcome!

[X] Yes, I've searched similar issues on GitHub and didn't find any.
[X] Yes, I've searched similar issues on the Traefik community forum and didn't find any.

What did you do?
Porting router rules from v2 to v3
What did you see instead?
Rule matching priority has changed.
For hostname zzzz.ahost.net:

with v2 router from service AAAAA matches first
with v3 router from service BBBBB matches first.

According to doc "length of rule" is used but in this case rule length is same for v2 and v3 but priority is not?
What version of Traefik are you using?

If applicable, please paste the log output in DEBUG level
No response

Hello @bugficks,
Thanks for your interest in Traefik!
At glance, the priority computation did not change between v2 and v3.
When trying the dynamic configuration with v3, I get:
    "test2@file": {
      "entryPoints": [
        "web"
      ],
      "service": "api@internal",
      "rule": "Host(`zzzz.ahost.net`) || Host(`zzzz-host-net.bhost.net`)",
      "ruleSyntax": "v2",
      "priority": 57,
      "status": "enabled",
      "using": [
        "web"
      ]
    },
    "test3@file": {
      "entryPoints": [
        "web"
      ],
      "service": "api@internal",
      "rule": "HostRegexp(`^(.+\\\\.)?ahost\\\\.net$`) || HostRegexp(`zzzz(-xxxx)?.bhost.net`)",
      "ruleSyntax": "v2",
      "priority": 75,
      "status": "enabled",
      "using": [
        "web"
      ]
    }
  },

Unfortunately in v2 the priority is not part of the API, but v3 looks to compute the priority correctly.
Have you tried to configure the priority to see if it fixes your issue?

Yes, that's what I've ended up doing to work around the issue. I've set priority to high number for the rule I want to match first and the other one with default priority.


lnd binary missing from lightning-terminal-linux-amd64-v0.12.3-alpha.tar.gz

As pointed out in the title, lnd binary is missing from the latest linux-amd64 release lightning-terminal-linux-amd64-v0.12.3-alpha.tar.gz

I don't think the lnd binary is part of the release (checked a few releases), but you can run lnd in internal mode by default when running litd.

lnd is built into litd, it's part of that binary. That's why only litd and all the *cli binaries are included in the release. See https://github.com/lightninglabs/lightning-terminal/blob/master/doc/config-lnd-integrated.md.

My bad guys, got confused!


Query by proposal type from the GraphQL API

We should be able to query for proposals based on their type, example: get proposals where type = "quadratic"

Fixed in #188


Is it a good idea to apply NER for translation

This may not directly related to tensor2tensor, but I am curious about to what extend NER could improve translation quality in general. Here are some examples where NER could apply.

numbers, especially long digits e.g., 100,000,000. To my understand, it would be split into a serious of tokens with each element of being one digits. If it could be replaced by a special token such as _number, the length will be reduced to one.
dates, for example 2 October 2018 will also be one token if converted properly.

The benefit of doing this is to shorten sentences and thus yielding a more simplified sentence structure. On the other hand, there are also bad sides. For example, it relies on a good NER system. It may also cause trouble when post-processing those NEs after translated into another language, one of which could be to retain  the orders of NEs as of in source sentences.
Any comments, suggestions?

Thanks @martinpopel. Not sure if I understand your suggest correctly:

for single digit, keep it and no conversion, e.g, 1 -> 1, 9 -> 9
for other types of numbers, replace every single digit with tags to preserver their patter, e.g., 123.45 -> ###.##, 1% -> #%, 100,000 -> ###,###?

I am thinking the following conversion:

regular numbers with more than one digits are replace by #, e.g., 20002 -> #
multiple # are replaced by single #, e.g., ###.## -> #.# to simplify tokens.

The reason why I am considering to convert dates is to handle ambiguity, for instance, the number in the sentence "in 2018" is actually year rather than regular number, which translation to other language are different from number (which simply copy & paste).
In fact, I have done experiment by replacing all numbers/dates with placeholders, and in general, the BLEU score improves a lot for some sentences, however, it did worse for the sentences where the named entities are not well recognised.

replacing all numbers/dates with placeholders, and in general, the BLEU score improves a lot

And did you reconstructed the numbers back from placeholders before measuring BLEU or did you changed the reference to use placeholders?
You can try using NER to detect numbers representing a year and replace them e.g. with . This could help to improve old-style PB-SMT, but I doubt you will get any improvements in modern NMT with this. Transformer is clever enough to figure out that "in 2018" is a year and translates this correctly (e.g. adding word "year" for target languages where it is required), according to my experience.

@martinpopel: The BLEU was measured before post-editing. I shall re-calculate BLEU after post-editing to make a fair comparison. I am aware that Transformer can learn "2018" by its context, what I was thinking was to give a little bit prior information for the model so that it could focus on learning other information; in addition, to shorten sentences which leads to a saving of training time, memory, etc. Next step for me to go is to leave dates as what they originally are, and do minimal conversation for numbers (it has to be done because most of my training data contains a lot of numbers, e.g, 200,000,000 as well as dates).
One more interesting thing I found out was that, the subword will convert any word (even unknown) into subpieces. Therefore, the translations never have unknown token (e.g., ) produced. What I did was to validate unknown token before subwords and convert it into a proper placeholder. I am not sure if T2T has alternative to deal with this?
One more thing is


Error rolling on arcane shop table

Describe the bug
Try to add some scrolls to the merchant and get the next error.
Uncaught (in promise) TypeError: Cannot read properties of undefined (reading 'filter')
[Detected 1 package: lootsheetnpc5e]
at LootProcessor._getRandomSpell (LootProcessor.js:448)
at LootProcessor.createScrollFromSpell (LootProcessor.js:499)
at LootProcessor.preItemCreationDataManipulation (LootProcessor.js:432)
at LootProcessor.buildItemData (LootProcessor.js:88)
at async LootProcessor._addLootItem (LootProcessor.js:271)
at async LootProcessor.addItemsToActor (LootProcessor.js:420)
To Reproduce
Steps to reproduce the behavior:

Got to merchant sheet
Select Arcane shop
Click in update button and eventually get the error in console

Desktop (please complete the following information):

OS: Windows 10
Browser Foundry
Version V9 build 269
Module version LootsheetNPC5e 3.6.0

An update: I tink i solve the issue modifying two files, but the scrolls are added as a feat, i down know if this should be correct?


Read video from Local Storage

I wanna know who can ready video not from Url but from the local storage of the phone thanks =)

Check this https://github.com/Krupen/AutoplayVideos/issues/23

Thanks Sir


use 'input-daterange' in this addon?

How to use 'input-daterange' feature in this addon?
Ember version is 2.18

@soulim  can you help me?


I2C Nodes

Given the support of I2C on the 6P boards, we have multiple sensors integrated on the device which are now fully functional. We would like to ideally integrate these with depthai-core, so we can configure custom I2C nodes via depthai pipelines.
This allows a user to add I2C devices directly to the boards and have access to the data via the host system without the need to dump locally/send over usb etc.
I imagine the functionality would be similar to the SPI node/IMU node.
Is there a roadmap for this functionality? If we start development of this feature, what we should be aware of.
We're worried that if we send the data over the USB connection then on initialisation of a camera pipeline, this will take precedence and result in corrupt USB packets.
On another note - any suggestions on how best to achieve this outside of the code changes?

Given the other nodes utilise I2C, this should be a fairly quick addition! On the 6P boards exposing pins 30 and 31 in a default node with a hardware address flag should enable most of this functionality.

@RaymondCM on RVC3, I2C can be accessed through Linux operating system and the related tooling. Either bypassing DepthAI or through Script node.
Such node is not on roadmap for DepthAI


[Docs] Add C++ example Jupyter Notebook

Description
Having some fun experimenting with xeus-cling C++ JupyterLab Notebooks.
As you might expect, there's quite a lot of boilerplate in getting this up and running.
Supplying OpenAssetIO and its dependencies is done by installing into the same Conda environment that the Notebook runs in, meaning they are trivially on the compiler search path.
Regardless of the Jupyter stuff, Conda (or rather, the Mamba rewrite) is quite a nice virtual environment tool.  It operates at a higher level than Python's venv , since Python itself is a Conda package. Very handy for creating an isolated build environment without the drawbacks of Docker.

[ ] I have updated the release notes.
[ ] I have updated all relevant user documentation.

Test Instructions
Hopefully the README is sufficient.

Click here to show a successful run of the C++ Notebook exported as Markdown
Load a Python plugin
It is assumed this Notebook is running in an environment with OpenAssetIO and OpenAssetIO-MediaCreation installed into it, such that libraries and headers are trivially discoverable (e.g. Conda environment described in the README).
Load Python library
Load the Python available in the Conda environment this Notebook is running in.
Use xeus-cling pragma extension to add search paths and load the library.
#pragma cling add_library_path("$CONDA_PREFIX/lib")

#pragma cling load("python3.11")

Load OpenAssetIO library
#pragma cling load("openassetio-python")

Bootstrap Python
#include <python3.11/Python.h>
Py_Initialize();

Define a logger
#include <iostream>

#include <openassetio/log/LoggerInterface.hpp>

struct Logger : openassetio::log::LoggerInterface {
  void log(Severity severity, const openassetio::Str& message) override {
      std::cout << message << "\n";
  }
};

auto logger = std::make_shared<Logger>();

Query Python plugins
#include <memory>

#include <openassetio/hostApi/ManagerImplementationFactoryInterface.hpp>
#include <openassetio/python/hostApi.hpp>

const auto factory = openassetio::python::hostApi::createPythonPluginSystemManagerImplementationFactory(logger);
const openassetio::Identifiers identifiers = factory->identifiers();

identifiers

PythonPluginSystem: Searching packages for 'openassetio.manager_plugin' entry points.
PythonPluginSystem: Found entry point in plugin_package_or_module
PythonPluginSystem: Registered plug-in '<class 'openassetio_manager_bal.BasicAssetLibraryPlugin'>' from '/opt/conda/envs/jupyter-deleteme/lib/python3.11/site-packages/openassetio_manager_bal/__init__.py'

{ "org.openassetio.examples.manager.bal" }

Define host interface
#include <openassetio/hostApi/HostInterface.hpp>

struct Host : openassetio::hostApi::HostInterface {
  openassetio::Identifier identifier() const { return "org.demo"; }
  openassetio::Str displayName() const { return "Demo Host"; }
  openassetio::InfoDictionary info() const { return {}; }
};

const auto host = std::make_shared<Host>();

Get a manager instance
Here we pass a path to the config.toml, we could also use the OPENASSETIO_DEFAULT_CONFIG environment variable.
#include <openassetio/hostApi/ManagerFactory.hpp>

const auto manager = openassetio::hostApi::ManagerFactory::defaultManagerForInterface("resources/config.toml", host, factory, logger)

Loading default manager config at 'resources/config.toml'
Instantiating org.openassetio.examples.manager.bal
Loading library from '/home/dave/workspace/cloud/assetapi/OpenAssetIO/doc/jupyter-notebooks/resources/database.json'
Running with simulated query latency of 10ms
Entity reference prefix 'bal:///' provided by manager's info() dict. Subsequent calls to isEntityReferenceString will use this prefix rather than call the manager's implementation.

Resolve some data
#include <openassetio/hostApi/Manager.hpp>

#include <openassetio_mediacreation/traits/content.hpp>

using openassetio_mediacreation::traits::content::LocatableContentTrait;

const openassetio::ContextPtr context = manager->createContext();

const openassetio::EntityReference ref = manager->createEntityReference("bal:///demo_project/logos/openassetio/latest");

const auto data = manager->resolve(ref, {LocatableContentTrait::kId}, context);

std::string url = LocatableContentTrait(data).getLocation();

url

"file:///home/dave/workspace/cloud/assetapi/OpenAssetIO/doc/jupyter-notebooks/resources/logo_v2.jpg"

auto file_path = url.substr(7);
file_path

"/home/dave/workspace/cloud/assetapi/OpenAssetIO/doc/jupyter-notebooks/resources/logo_v2.jpg"

(boilerplate to render images in the notebook)
This next snippet is from the xeus-cling docs, required in order to display images in the Notebook: https://xeus-cling.readthedocs.io/en/latest/rich_display.html
/**
 * Modified from: https://xeus-cling.readthedocs.io/en/latest/rich_display.html
 *
 * Why isn't this built-in ???
 */

#include <string>
#include <fstream>

#include "xtl/xbase64.hpp"
#include "nlohmann/json.hpp"

namespace nl = nlohmann;

namespace im
{
    struct jpg
    {
        inline jpg(const std::string& filename)
        {
            std::ifstream fin(filename, std::ios::binary);
            m_buffer << fin.rdbuf();
        }

        std::stringstream m_buffer;
    };

    nl::json mime_bundle_repr(const jpg& i)
    {
        auto bundle = nl::json::object();
        bundle["image/jpeg"] = xtl::base64encode(i.m_buffer.str());
        return bundle;
    }
}

Render the resolved and retrieved data
im::jpg logo{file_path};
logo

Looks great. Your point about this being a great dev test environment for PR's and the like is pretty appealing too, I do like the jupyter environment. I'm thrilled that we've confirmed c++ is reasonably doable in jupyter too.

If we still have concerns about this, please can we park this until we have the preflight changes done. We have a significant number of new users expressing interest in the project, and a stable core API is becoming more and more pressing to allow them to begin experimental implementations without immediate churn.

I think its about time we just closed this.

It's been languishing for nearly a year.
The concept is proved.
Conda was new to us (me) and the instructions could do with finessing.
Since this was created, we decided that notebooks belong in the MediaCreation repo.
The API has moved along significantly since this was created.
A new version of Cling has been released and there is also Clang-Repl which may supercede Cling.


Cross reference from "Incremental builds" to "How to..."

The "How To" page follows nicely from the "Incremental builds" page.

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

#label:"aq-pr-triaged"


Bug with universal cables

Please use the search functionality before reporting an issue. Also take a look at the closed issues!
Issue description:
Game crashes when trying to mine universal cable.
Steps to reproduce:

Place 1x2 with universal cable.
Mine with a pick axe or paxel.
crash after 1 hit.

Version (make sure you are on the latest version before reporting):
Forge: forge-1.10.2-<IP_ADDRESS>5-universal
Mekanism: Mekanism-1.10.2-<IP_ADDRESS>
**Other relevant version:
MekanismGenerators-1.10.2-<IP_ADDRESS>
MekanismTools-1.10.2-<IP_ADDRESS>
**
If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)
https://www.dropbox.com/s/4mlvesvc24enn60/crash-2017-08-30_11.47.03-client.txt?dl=0
[gist/pastebin/etc link here]

That would be an issue with treecapitator. See #4329 for more information.


Example isn't working at all

Tried to update to the new version, but it doesn't trigger at all, just like the demo.

What browser you are using?
It seems to be working in both last version of Chrome and Firefox.

Hi and thanks for your help.
i'm using chrome Version 45.0.2438.3 dev (64-bit), on linux. it doesn't have any weird flag because i use it to test our websites.

I don't know for sure but I think it's suppose to be like this because the demo isn't forcing the polyfill from the plugin.
If you go here and here you are going to see more about how to format the date and force the polyfill, respectively.
Oh, and FYI I got the exact same behavior in my version of Chrome.

i though it was the other way around, that you can force having a native support:
For example, the code below defines a dateinput that uses a native implementation on mobile phones, but ALL desktop browsers (even Chrome desktop) will have a consistent widget created by the polyfill.
<input type="date" data-native="mobile" name="foo" value="bar">
if you click onit, does it open the plugin's calendar?

Yes, it does. Using this code snippet I can see the plugin's calendar even in Chrome as was stated in the text above.

on firefox i get the plugin calendar and the placeholder is showing too.

Yep, same as me.
I think Firefox don't have full support for date input yet so that's why the plugin's polyfill is being used by default.

that makes sense!
so, how did you force it to show on chrome?

I use the data-native="mobile" property as I said before.

Read docs guys ;)


additional param for Parameters to specify complex default_map lookup

I added an additional keyword for any parameters to make a complex lookup in the default_map.
I find this useful since the configuration file structure might not be the same as the command structure, quite certainly it won't be.
To understand what I mean please have a look at the new example default_map.py I added under examples/complex/complex/commands.
Since I used a new key this shouldn't break anything.
Would be really cool if this could be merged.

Why does this need to be done in Click? If you have some other data structure besides a flat map, why can't you do the transformation on your end to pass as the default map?

Well sure it can be done, but then I have to ship a separate module for this, thought it is a neat idea since I almost always have the same problem on how to merge the the config file structure and allow flexible overrides form the commandline. Thought I'm not the only one to have such a use case.
But if you say this should go to a separate module then I will go that road since it is certainly possible.

But I think I can't make it as clean and easy in an extension as with the proposed approach.

Thanks for working on this. At this time I don't want to add this to Click.


✨ Remember settings state

Description
CE should remember the settings state after relaunch, remembering the same things as Xcode

[ ] Tab Selection
[ ] Search Text (not in Xcode, but would be nice to have)
[ ] Position in scroll view

Alternatives Considered
N/A
Additional Context
N/A
Screenshots
If anyone wants screen recordings of Xcode remembering the settings state, ask below.

Further discussion is needed before this is worked on.

Closing in favor of #917


/token_key possibly returns the wrong value for alg

I was a bit confused as to why the JWK that is returned by /token_key has alg set to SHA256withRSA:
curl https://uaa.run.pivotal.io/token_key -s | jq .
{
  "alg": "SHA256withRSA",
  "value": "-----BEGIN PUBLIC KEY-----\nMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA8/aXmEImpdwWHJlYc4G8\n3BgZVmyhCdy7SCL0kM7wV5xCvRKK0k4nKjH0QW2E+0GIKzIj4JQhYU+MeZHrArfC\nrfthIXcio/Ll6NvoTPY77XA7U6vBGCiLdGYSGrN8y064cF2uM8d3AEgTT0RzLK3E\n688Ltq38GxnoXOUuLZmXS2HeHNd2bW/k6Eyd9Z3ymmdpVZXMyLwepNxU38WQS2bJ\nPYXYvRkzoZ1ru/deExwbecI18NCeO/GKp3f8bwKuC2j3LKFJIAwW3zFoDrcAxpC/\nJDG2RSTj//CRvhtd7JkeQLVKGyIHNtACaPT3tFT6scvVXHGPB5fRTLB8Lr+mK4RI\nBwIDAQAB\n-----END PUBLIC KEY-----\n",
  "kty": "RSA",
  "use": "sig",
  "n": "APP2l5hCJqXcFhyZWHOBvNwYGVZsoQncu0gi9JDO8FecQr0SitJOJyox9EFthPtBiCsyI+CUIWFPjHmR6wK3wq37YSF3IqPy5ejb6Ez2O+1wO1OrwRgoi3RmEhqzfMtOuHBdrjPHdwBIE09EcyytxOvPC7at/BsZ6FzlLi2Zl0th3hzXdm1v5OhMnfWd8ppnaVWVzMi8HqTcVN/FkEtmyT2F2L0ZM6Gda7v3XhMcG3nCNfDQnjvxiqd3/G8Crgto9yyhSSAMFt8xaA63AMaQvyQxtkUk4//wkb4bXeyZHkC1ShsiBzbQAmj097RU+rHL1VxxjweX0UywfC6/piuESAc=",
  "e": "AQAB"
}

I did not find this string in any of the RFCs I looked at. I found it in the spring framework oauth code and that's about it. RFC7517 has an example JWK in the appendix that uses the same string (RS256) that is used in the JWT alg header.
https://tools.ietf.org/html/rfc7517#appendix-A.1
{"kty":"RSA",
          "n": "0vx7agoebGcQSuuPiLJXZptN9nndrQmbXEps2aiAFbWhM78LhWx
     4cbbfAAtVT86zwu1RK7aPFFxuhDR1L6tSoc_BJECPebWKRXjBZCiFV4n3oknjhMs
     tn64tZ_2W-5JsGY4Hc5n9yBXArwl93lqt7_RN5w6Cf0h4QyQ5v-65YGjQR0_FDW2
     QvzqY368QQMicAtaSqzs8KJZgnYb9c7d0zgdAZHzu6qMQvRL5hajrn1n91CbOpbI
     SD08qNLyrdkt-bFTWhAI4vMQFh6WeZu0fM4lFd2NcRwr3XPksINHaQ-G_xBniIqb
     w0Ls1jF44-csFCur-kEgU8awapJzKnqDKgw",
          "e":"AQAB",
          "alg":"RS256",
          "kid":"2011-04-29"}

This makes more sense to me. Is this a bug?

The spec
https://tools.ietf.org/html/rfc7517#section-4.4

contains no restrictions on the value of the alg parameter as long as it is collision resistant.
Are you asking for a feature to be able to define this value manually?

This was more my confusion as to the difference between SHA256withRSA and RS256. I had to look at the oauth spring framework code to realize it is just an alias for the same algorithm. RS256 seems to be the more common name used in libraries and is listed in RFC 7518. It just seems like a better idea to use a value that is already established and defined in RFC 7518 vs making something up. In the end of the day it is a simple work around. I just wanted to make sure this was a conscious decision.

While @fhanik is right that the spec allows for any "collision resistant" value, UAA using a non-standard name for a standard algorithm is not only confusing but it also means that any spec-compliant JWS library will fail to be able to consume the /token_key document provided by UAA without explicitly supporting UAA.  My personal opinion on the matter is that this is a bug and should be reopened.  I will retract my statement if SHA256withRSA is different than RS256 but my assumption is it is not.

I'm sure you've found this list but here is the list of registered algorithms that any JWS compliant library will support out of the box: https://tools.ietf.org/html/rfc7518#page-6

the name should be RS256 and not SHA256withRSA according to
https://tools.ietf.org/html/rfc7519#section-8

After talking with @fhanik in Slack, just in case it wasn't clear, here is the issue.  The /token_keys URL should use alg: RS256 but it is currently serving alg: SHA256withRSA which means any JWS complaint library will not be able to consume a UAA /token_keys document as-is without explicitly supporting the SHA256withRSA algorithm, which shouldn't be required since it's really just RS256 but with a custom name.


Polarization states of pulses.

Is it yet possible to define polarizations of the light pulses. For example, in a system with
linear eigenpolarizations, can I also define circular polarization of some of the pulses. Or some
arbitrary linear polarization?

It is possible to define circular polarization of some of the pulses.  There is currently no "elegant" way of doing this.  You have to directly modify the attribute "polarization_sequence".  If, for example, you initialize with
dm = ufss.UF2.DensityMatrices(file_path)
(or similar for RKE or closed systems counterparts)
you can then set the polarization to left or right-handed by doing this:
dm.polarization_sequence = [np.array([1,1j,0]),np.array([1,-1j,0]),...]
as an example.  This is the way you set any generic polarization.  Note that the method "set_polarization_sequence" currently only works to set 'x', 'y' or 'z' linearly polarized light.  I will make a note to update this method to allow 'r' and 'l' as valid entries.  I'll let you know when I have done that.
I have done only some very basic testing on circular polarizations.  Please let me know if you encounter any problems, and I will be happy to help sort them out!
In addition I should note that I have currently only implemented isotropic averaging to work for light that is linearly polarized in the 'x', 'y' and/or 'z' directions.  Please let me know if you would like to be able to use isotropic averaging with circularly polarized light.

I have just pushed changes to the repository to address this issue.  I have updated the set_polarization_sequence method to allow setting right and left circularly polarized light using set_polarization_sequence(['r','r','l','l']) (you can use any combination of 'x', 'y', 'z', 'r' and 'l' now).
MORE IMPORTANTLY I found and fixed a bug that relates to the complex polarization vectors (this bug did not impact linear polarization in any way!).  Please use the most recent version of ufss straight from github for circular polarization calculations (do not use old github versions or pip install ufss; I have not yet updated the pypi release).  The old version of ufss did not take the complex conjugate of the polarization vector when working with the counter-rotating terms.
Please let me know if this update works for you.  I will just reiterate that I haven't done in-depth testing of UFSS with complex polarization vectors.  I believe that I have implemented this correctly, and have done some surface-level testing.  However, if you have a simple reference calculation to compare against using UFSS with circularly polarized light, I would definitely recommend running a comparison.  Let me know if you need help with the comparison (for example inputting a simple Hamiltonian to match your test-case).  And if you do a comparison, please post the results (positive or negative).

Thanks for the quick answer and expansion for circular polarizations!
I have a simple example that I would like to use your software for. I couldn’t figure out yet how to put everything in correctly and would be happy if you could help me. This example could be a good test for the software since I can compare the result to my simulations that assume delta-like pulses.
I would like to simulate the temporal behaviour of the photon echo arising from an inhomogenously broadened ensemble of V-type excitons as shown schematically in the figure below (I don’t know how to define dipole selection rules for the two excitation branches).  There is also a figure of the typical pulse sequence of a photon-echo experiment. I would like to set arbitrary polarizations for the first and second pulse, for example ‘r’ for the first and ‘x’ for the second. The final signal should be given by the cross-correlation between the photon-echo and an arbitrary polarized reference pulse. All pulses have Gaussian shape with same duration.
As a result of the simulation, I would like to receive a two-dimensional data-set of the detected signal as a function of two parameters: 1. the temporal delay between the first pulse and the second pulse and 2. the first pulse and the reference pulse.

When you get a chance, take a look at CircularlyPolarizedLight.ipynb, which I have just added to the repository.  It doesn't quite produce the signal that you want, but I hope that it is a good step in the right direction.  I believe that I have constructed the V-type Hamiltonian and the dipole operator with appropriate selection rules.  I have produced the rephasing 2DPE signal (which is not quite what you are asking for) as a quick test case.  With linear x-polarized light, both states are excited.  However, as you can see, right-circularly polarized light excites only one state, while left-circularly polarized light excites only the other state.  So far this has been done for a closed system, so I have just added a gaussian line-shape.
Does this look like it is moving in the right direction to you?  If so, then I think the next step would be to get the correct spectroscopic signal.  Let me know what you think of this so far!

Note that the gaussian line-shape I have added does not correctly show the inhomogeneous linewidth only along the diagonal of the spectra, but also includes the inhomogeneous linewidth along the anti-diagonal of the 2DPE plot.  We can address this problem later, assuming the other aspects are working

Yes, this really looks like a step in the right direction! If I understand correctly, the signal I am interested in should be contained in the array full_sig_tau_T_t. I am not sure about the definitions of the three different times t, T, and tau in your example.
In order to include inhomogenity somehow, I took the average over a random Gaussian distribution of energies (see file below, I am sure there is an easier and faster way to do this within the ufss package).
The result already looks close to what I would expect. Just the time axes seem not to correspond to the delays I described in my last post.
CircularlyPolarizedLight.txt

So glad this is looking like it's going in a good direction!  As for inhomogeneous broadening, that is probably the simplest (and perhaps best) way to include it in UFSS, but we can discuss other options going forward (what we do will probably depend upon wether or not you want to include open-systems effects like dephasing and relaxation).
In regards to the time-axes, I am actually a little confused as to what you want to simulate (I have only ever done transient absorption, transient grating, rephasing/non-rephasing 2DPE, and higher-order signals of this type).  Are you requesting a 2-pulse photon echo? Is the green curve the local oscillator? Is the local oscillator always locked to be 2*tau?  Does tau correspond to a coherence between ground and excited states, or is it a population time?  Could you send me the phase-matching or phase-cycling conditions that describe this?  And/or could you send me an example double-sided Feynman diagram (maybe for the stimulated emission), showing which pulse causes excitation of the ket and bra sides?  Or instead of all of that, just a link to any paper describing this type of experiment.  Nonlinear optical spectroscopies are a zoo, and I don't know about them all! :)

Yes I am interested in two-pulse photon echo. The green curve shows the photon-echo signal with time-resolution.
Below you can see a Feynman diagram of the process. In chapter II of the paper below, the experimental details
are described. In figure 1 the times I mentioned above are defined

. I would like to simulate the signal as a function of tau_12 and tau_ref.
Damping of Rabi oscillations.pdf

Are the delays in your example defined as here:

?

Great, thanks!  I think I understand now.  So the key thing is that you want to do is change the phase-matching condition from [(0,1),(1,0),(1,0)] to [(0,1),(2,0)].  You would only put in 3 pulses (2 pulses that interact with the system, the third being a local oscillator).  You would also just remove the "T" delay time altogether.  I've updated the jupyter notebook (please pull the latest version of the code; I made a couple of very minor improvements to the interface, which don't break anything older, but which are necessary for the new version of the notebook to run) to do all of this, and hopefully explain things quite a bit more.  Your diagram of delay times for rephasing 2DPE is exactly right!  Your signal is probably roughly the same as the 2DPE with T = 0, but I'm not sure if they will be equivalent or not.
Are you ultimately interested only in the diagonal of the 2D plot where what I'm calling t = tau?  If so we can speed up the calculation to avoid calculating unnecessary time points.
For adding relaxation and dephasing, I'll send you an update when I get a chance of how to include them in the Lindblad formalism.  There's a Lindblad constructor in UFSS, but it probably isn't clear at all how to access it/use it, so I'll send an explanation of that.  In the meantime let me know if the current version of

...the jupyter notebook is continuing to move in the direction you're aiming for!

Thank you! The updated version helps a lot for understanding. I agree, setting T = 0 with three pulses gave the same result.
It would be useful to have the option to calculate only the diagonal line t = tau, there are cases when this is enough.
Do you think there could be a faster/more elegant way to include inhomogenity without looping over a big number
of eigenenergies?

No problem!  Okay, I've added the ability to calculate only the diagonal line t = tau.  It is faster/more elegant, though I haven't had a chance to really explain what's going on yet, sorry... It strikes me that this is the best place to focus for now, because this line is not affected by inhomogeneous broadening (at least qualitatively) if I understand correctly.  Do you agree?  I will be including homogenous lineshapes within the next day or so (almost done).
Regarding inhomogeneous broadening, I do believe that we can do much better at including this effect, but it is not something that I have actually done before, so this will take a little bit longer.

By the way, please pull the newest version of ufss before looking at the updated jupyter notebook

I agree, inhomogenity doesn't affect the line t = tau. Great to have the option to calculate it exclusively!

I've just added a jupyter notebook, CircularlyPolarizedLight-OpenSystems.ipynb, which shows how to include both relaxation (and incoherent excitation at non-zero temperature) effects, as well as pure dephasing terms.  UFSS works with open systems using either Lindblad or Redfield theory.  Because your system has no off-diagonal terms in the Hamiltonian, I believe these theories are actually equivalent (which of course is in general not the case!).
I've also added two .py scripts to the repo, "CircularlyPolarizedLight_inhomogeneous_trapezoidal.py" and "CircularlyPolarizedLight_inhomogeneous_random_sampling.py", the latter of which is a slightly tweaked version of what you shared in this issue.  If you run them both (the second takes a few minutes) you can see that using the trapezoidal rule to compute the convolution integral required for inhomogeneous broadening is much more efficient than using the random sampling method.  The trapezoidal rule requires 17 separate runs to converge to within 1% of the correct answer, whereas random sampling requires over 900 separate runs to achieve 1% convergence.  The key thing to note is that the trapezoidal rule will create artifacts if your mesh spacing for energy gaps is too large.  So if you look at line 30 of _trapezoidal.py, you'll see I am using a de value of 0.05.  This de needs to be about the same size as 2pi/tau_max.  You can try running the script with a de of 0.1 and 0.2, to see what happens.  Essentially we are taking advantage of the fact that we only need to resolve the 2 pulse echo signal on a grid, we don't need to sample the full, continuous signal.

I'm afraid I haven't explained/commented nearly as much as I would like, so please ask lots of questions!!!

Great update! The software seems to be capable to simulate almost everything I need. I have indeed a few questions:

How can I save the Feynman diagrams as pdf in the case of ufss.Wavepackets?
What is the role of the amplitude of the pulses? Is the software also capable to simulate Rabi oscillations? What I mean by Rabi oscillations here is described in the paper I posted earlier.
What is the role of the center frequency (c in your code)? Is the spectrum of the pulses also considered in the calculations?
How can I define rho^(0) in order to set some decay/dephasing rates to exactly 0?

Thank you!

Glad to hear it!

I never wrote code to display or save the single-sided diagrams, but you can save the double-sided diagrams using ufss.DiagramGenerator.save_diagrams(list_of_diagrams).  I have updated the closed and open notebooks to show how to do that (in the same cells where the diagrams are displayed).  The code unfortunately cannot automatically include the |g><e| style notation at this time.
The calculations done by ufss are fundamentally perturbative.  If you are doing lowest-order calculations and all of the pulses have the same amplitude, then the amplitude is not meaningful.  If you change the amplitude of one pulse relative to another, that might be meaningful.  You can also study higher-order contributions to the same phase-matching direction, in which case the pulse amplitude would become meaningful (when comparing the higher-order term to the lower-order term).  I'll add a higher-order example into the notebook.  ufss is, as I say, a perturbative engine.  My understanding of Rabi oscillations is that they are non-perturbative (since it involves first completely filling the excited state, then completely depleting the excited state, and so on).  I see in the text of page 2 of http://doi.org/10.1103/PhysRevLett.87.133603, that they define Theta(t) using 1st-order perturbation theory, and then define the excited-state population as the sin(Theta(t)).  ufss can certainly calculate Theta(t) using arbitrary pulse shapes, but anything further would require customization beyond the current implementation.
ufss typically works in the rotating frame.  c is the optical carrier frequency, which ufss rotates away when doing calculations.  You can instead set c = 0, and add np.exp(-1jopticalt) to the definition of the pulse shapes.  I recommend increasing M (number of time points to resolve electric field) if you do this.  You may need to increase dt and dtau as well (in the example case this was not necessary - just keep in mind dt and dtau need to resolve the optical carrier frequency, whatever that may be).
The results will be "the same", but they won't look identical at first inspection.  You will see the optical carrier frequency imprinted on the resulting plots vs t and tau.  I've added an example at the end of the open notebook.
I have changed the open notebook to include setting rho0 manually.  Note that ufss generates a warning "Could not automatically determine the initial thermal state. User must specify the initial condition, rho^(0), manually" if this manual setting procedure is necessary

I just discovered that I forgot to commit one of the changes I made to manual_L_input.py.  This may have caused some problems with the open systems calculations in CircularlyPolarizedLight-OpenSystems.ipynb.  I am sorry, I hope that this hasn't caused problems for you.  I am also wondering if you have further questions/issues so far?  Were you able to compare successfully to your own impulsive calculations?
In addition, I wanted to mention that although the trapezoidal rule is much more efficient for inhomogeneous broadening over a single parameter, it can be much less efficient for broadening over many different parameters.  Apparently the cross-over is usually around 4 dimensions.  So if you want to do inhomogeneous broadening over 3 or fewer parameters, trapezoidal rule is great.  If you want to broaden over 4 or more, Monte Carlo sampling is generally expected to be better.

Thanks for the answers to my questions! Sorry for late reply, I finally found the time to have a look on the latest updates.
Everything works fine for me, also ufss reproduces the results I obtained from my own calculations.
I have a further question concerning non-diagonal Hamiltonians. In this case, can I just calculate eigenvectors/values while the rest of the procedure is the same?

No problem, glad to hear everything looks good!  As for non-diagonal Hamiltonians, let's start with closed systems.  In this case, most of the procedure remains the same.  After calculating eigenvectors/values, you need to use the eigenvectors to transform mu so that mu is represented in the eigenbasis.  I have updated CircularrlyPolarizedLight.ipynb to demonstrate this.
For open systems, the answer depends upon how you want to define the Liouvillian.  As it currently stands, you could add off-diagonal elements to the Hamiltonian definition in CircularrlyPolarizedLight-OpenSystems.ipynb, and not change anything (you would NOT transform mu into the eigenbasis of the Hamiltonian in this case).  You may notice that, although I found the eigenvalues of H in that notebook, I never used them (never saved them or anything else).  The problem with this approach is that the Lindblad relaxation and dephasing rates will be defined on the diabatic states.  UFSS will run, and you can get somewhat reasonable results.  However, defining relaxation rates on diabatic states results in "incorrect" long-time behaviour: the relaxation process will not bring the system to a Boltzmann distribution of eigenstates, and therefore will violate detailed balance.  If you would instead like to define Lindblad relaxation and dephasing rates on the eigenstates of the Hamiltonian, I will need to make several changes.  Please let me know which approach you want to take!

The problems I would like to solve are formulated in terms of equation (3) of your paper "Efficient numerical method for predicting nonlinear optical spectroscopies of open systems". In general, I have H, which could be non-diagonal, and the matrix D. D has only time-independent entries. Is it currently possible to solve this problem using ufss?

Definitely!  My long answer about open systems was based around the idea that you would be using UFSS to construct D.  However, if you have already constructed D, things should be fairly straight-forward.  What basis do you use to construct D?  If rho is an NxN matrix, do you represent D as an NxNxNxN tensor, or as a N^2 x N^2 matrix?

Perfect! I am definitely not too much into the details of relaxation/dephasing.
I would write D also as a NxN matrix. See for example this paper and supplement (D is called Gamma there): https://www.nature.com/articles/nphoton.2014.219.

Sounds good, I'll take a look and get back to you over the weekend

I took a look at the supplemental info for that paper, and am looking in particular at equation (9) that defines Gamma.  Gamma is not a matrix, but rather an expression of the equations of motion that result by taking the tensor product D*rho.  If you look at the upper left-hand entry, it reads (-rho_11 + rho_22)/2Tz + rho_33/tau.  People often describe D as being a 4-index object, because it acts on a density matrix, and produces a new density matrix.  So drho_{i,j}/dt = Sum_{k,l} D_{i,j,k,l} rho_{k,l}.  UFSS works by flattening rho into a column vector, so as an example using a 2 level system, [[rho_11,rho_12],[rho_21,rho_22]] -> [rho_11,rho_12,rho_21,rho_22].  For the two-level system, D must similarly be flattened from a 2x2x2x2 tensor into a 4x4 matrix.  Looking at your reference, you need to take eq. (9) and reconstruct the D that would create the equations of motion represented by Gamma.  As a first step, the first row of D must be [-1/2Tz,0,0,0,0,1/2Tz,0,0,0,0,1/taur,0,0,0,0,0], since the dot product of this row with [rho_11,rho_12,rho_13,rho_14,rho_21,rho_22,rho_23,rho_24,rho_31,rho_32,rho_33,rho_34,rho_41,rho_42,rho_43,rho_44] gives the desired Gamma_11 entry.  This is obviously tedious.  They say they are using the Lindblad formalism.  If you can find out what Lindblad operators they are using (perhaps the pauli matrices?) to construct Gamma, you can use UFSS to build D in a very straightforward fashion.  If you can find a paper that shows the construction of D or Gamma using Lindblad formalism, I'll be able to show you how to use UFSS to make D easily (and that should open up the door to making much more general D's, for larger systems.  Unpacking 4x4 equations of motion into a 16x16 D is totally doable, if annoying, but doing this for larger systems gets really frustrating!).
If you want to proceed by just making the D operator manually, upload a python script here that makes your Haniltonian and your D, and I'll reply showing you how to feed those two objects into UFSS.

Maybe as an example we can just take the Hamiltonian from the paper.
I attached a python script where I typed in H and Gamma as 4x4 matrix. Then I wrote
some code that constructs D as 4x4x4x4 matrix.
I would be happy if you could show me how two move on with those objects.
hamiltonian_lindblad_example.txt

Sorry for the delay!  I have added a few import statements at the top, and some code at the bottom of the file you sent me.  You should be able to run this script, and then run ufss using ufss.DensityMatrices(os.path.join(folder,'open/uf2')), just as we do in the jupyter notebooks we have worked on in the past, with folder = 'trion' (or whatever you choose to name it).  In fact you should be able to use any of your previous scripts and notebooks that worked for the old 3LS and simply redirect them to the new folder location for the 4LS.  Please let me know if this doesn't work extremely smoothly.  Also please let me know if you have questions.  It is my goal to create a class that will simply accept a Hamiltonian, a 4d tensor for D, and a dipole operator, and do all of this under the hood.  I'll let you know when that happens.
hamiltonian_lindblad_example_edited_prose.txt

Thanks, everything works fine for me! My previous scripts are completely compatible with this addition.


Add service broker create binding schema

Why
The Open Service Broker API is proposing allowing brokers to define JSON schema for their configuration parameters. This will allow tooling to validate parameters and UIs to auto generate forms.
Schemas are to be defined as part of the catalog on a plan and support create/update parameters on a service instance and create parameters on a service binding (update does not exist yet).
The updated spec can be found here.
 Schemas are parsed during registration, stored in the service plan model and retrieved on the /v2/service_plan/:guid api endpoint. If a broker does not provide a schema, then we default to an empty schema.

Add create_binding_schema to plan model object
Add migration to service_plans to include text blob for create_binding_schema
Add support for create binding schema to catalog objects retrieved from broker.
Change service_plans presenter to support create binding schemas
Added create binding schema tests to the 2.13 service broker api spec

Notes

This PR is an extension of the #834 & #847 & #865
We have no updated the docs yet as this is still an experimental change.
Feedback appreciated!

PR

[X] I have viewed signed and have submitted the Contributor License Agreement
[X] I have made this pull request to the master branch
[X] I have run all the unit tests using bundle exec rake
[X] I have run CF Acceptance Tests on bosh lite
Sam

Thanks for the PR, @Samze!
@matt-royal && @tusing - CF CAPI


[question] Is it possible to put a dropdown inside Collection?

I´ve already try to put a dropdown as a secondary content in Collection. The problem is that when a expand the dropdown menu , their options appear "overflow hidden" into the area of item collection. Is it possible to fix the z-index of the dropdown to fix that?
Thanks

+1


[Theme Request]  Prinz Eugen

Who/What do you want to be featured?
 Prinz Eugen from Azur Lane
What do they look like?

What type of theme?

[ ] Light Theme
[x] Dark Theme

Additional Information (Optional)
 Can you just change EVA : Rei 's color theme little by making the red little contrasting (adjusting to prinz eugens's color) without changing coding highlights (except blue can you make it #B47EDE) and please can you make the sticker of last pic. UwU

Wow! Battleship waifu!
There are so many of them to choose from. I do really like red and black tho.
Thank you for bringing this game to my attention!
Interesting choice of username btw :joy:

thx for noticing the username , me just started coding and <3 your work . U can change things to your liking i don't mind. Thx for replying. UwU


Add Rest Method checks to Prepare-Release

Add some checks to help catch any auth issues when calling the Devops Rest APIs.

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow

The following pipelines have been queued for testing:java - templatejava - template - testsjs - templatenet - templatenet - template - testspython - templatepython - template - tests You can sign off on the approval gate to test the release stage of each pipeline. See eng/common workflow


Fix socket CLOSE_WAIT error in tunnel agent

fix https://github.com/request/request/issues/2440

@mikeal Is this project still maintained? Can you please merge this PR and publish it on npm? Thx!


Autoruns not triggering modules

Environment:
Latest Kali Linux, (fully updated)
PoshC2, (Pulled from Git today)
Whenever triggering Autorun Modules for new implants I receive the following errors, even though the modules run fine when run manually on the Implant through the ImplantHandler.
In the Server window, when a new Implant stages the and the Autorun tasks start, the following is output:
Output from failed Autorun....
Task 00003 (autoruns) issued against implant 2 on host VICTIM\User* @ VICTIM (05/08/2019 20:15:24)
loadmodule Stage2-Core.ps1

Task 00004 (autoruns) issued against implant 2 on host VICTIM\User* @ VICTIM (05/08/2019 20:15:24)
cred-popper.ps1

Task 00003 (autoruns) returned against implant 2 on host VICTIM\User* @ VICTIM (05/08/2019 20:15:25)
Module loaded sucessfully

Task 00004 (autoruns) returned against implant 2 on host VICTIM\User* @ VICTIM (05/08/2019 20:15:26)

ErrorCmd: The term 'cred-popper.ps1' is not recognized as the name of a cmdlet, function, script file, or operable program. Check the spelling of the name, or if a path was included, verify that the path is correct and try again.

It appears to be a case of the Autorun function lower casing the command for storage as issuing the command "autorun LoadModule Cred-Popper.ps1" returns "add-autorun: loadmodule cred-popper.ps1". The successful Autorun, (Task003), which is part of the automated Staging process shows that the "Stage2-Core.ps1" is correctly capitalised but the user added Autorun, (Task004), is not working.
However, when run directly on the Implant, by running the command "cred-popper", the Task completes successfully with a correctly capitlaised command, "Cred-Popper.ps1" and the following is output in the C2Server window:
Output from successful run via Implant....
Task 00005 issued against implant 1 on host VICTIM\User* @ VICTIM (05/08/2019 20:24:08)
loadmodule Cred-Popper.ps1

Task 00006 issued against implant 1 on host VICTIM\User* @ VICTIM (05/08/2019 20:24:08)
cred-popper

Task 00005 returned against implant 1 on host VICTIM\User* @ VICTIM (05/08/2019 20:24:08)
Module loaded sucessfully

Task 00006 returned against implant 1 on host VICTIM\User* @ VICTIM (05/08/2019 20:24:09)

[+] Cred-Popper started in background runspace

Run Get-Creds to obtain the output, when the user enters their credentials

Not all of the Autoruns are broken, for example the "get-screenshot" command runs without problem, but from what I can tell all the modules in the PoshC2_Python/Modules fail:
Output from working Autorun module....
Task 00009 (autoruns) issued against implant 3 on host VICTIM\User* @ VICTIM (05/08/2019 20:37:51)
get-screenshot

Task 00009 (autoruns) returned against implant 3 on host VICTIM\User* @ VICTIM (05/08/2019 20:37:55)
Screenshot captured: /root/PoshC2_Project/downloads/VICTIM-05082019203755_jTXC3xWK9drEtkL.png

I've tried lowercasing the PowerShell script name to "cred-popper.ps1", which bypasses the error being thrown in the Task but the function appears to silently fail, so if anyone has any ideas for workarounds they'd be greatly appreciated!

I've found that you can add tasks to Implant.py after the successful call to Stage2-Core.ps1, which seems to work and now I can control and rate limit the flow of tasks etc by customising the implant:
new_task("loadmodule Cred-Popper.ps1", "autoruns", self.RandomURI) new_task("cred-popper", "autoruns", self.RandomURI)
I also had a dig into the core issue of the Autorun functions not working, I didn't get very far but hopefully this solution will be useful to anyone else encountering it.

Yeah this is a work around, we need to look into a better way to loadmodules in the autoruns

Thanks for taking the time to add this @S3cr3tHEr0, this should now be fixed on master:
[3] New PS implant connected: (uri=11223344 key=112233344=)
<IP_ADDRESS>:61949 | Time:10/06/2019 10:27:29 | PID:8564 | Sleep:5s | User @ VICTIM (AMD64) | URL:https://<IP_ADDRESS>:443

Task 00003 (autoruns) issued against implant 3 on host DOMAIN\User @ VICTIM (10/06/2019 10:27:35)
loadmodule Stage2-Core.ps1

Task 00004 (autoruns) issued against implant 3 on host DOMAIN\User @ VICTIM (10/06/2019 10:27:35)
loadmodule Cred-Popper.ps1

Task 00005 (autoruns) issued against implant 3 on host DOMAIN\User @ VICTIM (10/06/2019 10:27:35)
cred-popper

Task 00003 (autoruns) returned against implant 3 on host DOMAIN\User @ VICTIM (10/06/2019 10:27:37)
Module loaded sucessfully

Task 00004 (autoruns) returned against implant 3 on host DOMAIN\User @ VICTIM (10/06/2019 10:27:38)
Module loaded sucessfully

Task 00005 (autoruns) returned against implant 3 on host DOMAIN\User @ VICTIM (10/06/2019 10:27:39)

[+] Cred-Popper started in background runspace

Run Get-Creds to obtain the output, when the user enters their credentials

If you're able to confirm I'll close the issue.
Note your original autoruns command is cred-popper.ps1 above but it should be cred-popper as that's the actual command (like in your comment).
@benpturner autoruns are only supported by the PS handler, we may want to think about adding them for the other implant types, maybe add-ps-autorun, add-py-autorun etc..?


Vipin kumar merge

Add imbalanced target handling before model training
model tuning parameter: remove parameters which are not hype tuning parameter for the model itself for example: verbose, n_jobs, and random state which are required for log, parallels processing and consistence this would impact model accuracy in major scale


Add network policy for tiller

Towards https://github.com/giantswarm/giantswarm/issues/4033
Code generates policy:
apiVersion: extensions/v1beta1
kind: NetworkPolicy
metadata:
  creationTimestamp: "2019-06-19T17:06:25Z"
  generation: 2
  name: tiller-deploy
  namespace: giantswarm
  resourceVersion: "1170583"
  selfLink: /apis/extensions/v1beta1/namespaces/giantswarm/networkpolicies/tiller-deploy
  uid: 9258a16b-92b4-11e9-b419-000d3a44433d
spec:
  egress:
  - to:
    - ipBlock:
        cidr: <IP_ADDRESS>/8
    - ipBlock:
        cidr: <IP_ADDRESS>/12
    - ipBlock:
        cidr: <IP_ADDRESS>/16
  ingress:
  - ports:
    - port: 44134
      protocol: TCP
    - port: 44135
      protocol: TCP
  podSelector:
    matchLabels:
      app: helm
      name: tiller
  policyTypes:
  - Egress
  - Ingress

Thank you for your contribution here. I just want to say that the design of our helm client is very unfortunate and that we have to adapt the implementation in a more proper way so that we can manage reconciliation in a more reliable and non blocking way. The code here is only getting bigger and unmanageable. All of this adds up and harms seamless operations.

the design of our helm client is very unfortunate

@xh3b4sd Totally agree and yes especially EnsureTillerInstalled has gotten too complicated. Creating the tiller resource has helped and we could make it more like a regular operatorkit resource and remove from helmclient.
The problem is I just don't want to invest lots of time here. We will remove Tiller from our architecture as soon as we have a viable way of doing it.
Helm 3 is in alpha and I tried it last week. It's early but I like the direction. They are aiming to go GA in September but I'm skeptical about this date. There are other ways of removing Tiller but my preference is to adopt Helm 3 if it works for us. As I want to stay on "mainline Helm" if we can.
cc @giantswarm/team-batman

Tested with draughtsman - works fine. Will merge later today


Add functions to save and open dataset

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

59 of 101 (58.42%)  changed or added relevant lines in 3 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage decreased (-6.7%) to 90.801%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

phylokit/dataset.py
10
12
83.33%

phylokit/parsimony/hartigan.py
42
82
51.22%

Totals

Change from base Build<PHONE_NUMBER>:
-6.7%

Covered Lines:
533

Relevant Lines:
587

💛  - Coveralls

Looks like a bunch of unrelated parsimony stuff included here. Simplest thing would be to rebase this PR on upstream/main and to drop all but the last commit. (But make sure you have a backup of these commits on another branch!)


Recipe File Naming Inconsistent

Using our project naming convention guide update recipe names to make the new pattern.
Steps to Complete

Review sample recipe collection and find files that don't match current conventions.
Note old file name
Update file name to the correct structure
Search all files in the project for references to old file name, and replace with the new one, then run the changed recipes

Naming convention for recipe files is here-
https://github.com/SFDO-Community-Sprints/Snowfakery-Recipe-Templates/blob/main/docs/Naming_Conventions.md
Personally I have been taking notes to try to be more meaningful & consistent with my naming of branches, commits, (and all that stuff that makes me wonder why we have to NAME everything, hehehe!)

I think it might be useful to move docs like this to the wiki?  I wouldn't have thought to look in the code>docs folder

I'm open to doc being any place people will find them.  I am not sure the wiki actually gets more attention than the docs folder, so I'm not sure moving them is worth the time. I'm very open to being wrong about this or someone duplicating something to A/B test for a bit.
That said, sorry I saw this comment yesterday and then lost track of it.  It is what got me to go renaming a few older recipes to match the newer conventions in #122

I'm not saying where this doc should be, but I will say that I remember having seen it somewhere.  So first I searched for it in the Wiki.  Then, not finding it, I went to my local DataGen project folder where I save handy shortcuts, and that's what led me to the docs folder.  One solution could just be, find a spot in the Wiki to add a link to the Naming Conventions doc?
(Strange I know I typed a similar comment here yesterday, but maybe I forgot to save it...)


Capstone-Initial Commit

Please always provide the GitHub issue(s) your PR is for, as well as test URLs where your change can be observed (before and after):
Fix #
Test URLs:

Before: https://main--{repo}--{owner}.aem.live/
After: https://--{repo}--{owner}.aem.live/

Capstone Initial Commits - adobemph3


AP breaks for predictions with same probability

Hi!
I'm working on a 2D detection problem (bubble detection in ultrasound) and was looking for an AP implementation which thresholds on distance instead of IoU. Your implementation was exactly that, so thanks!
I noticed if I generate predictions with the same probability, I actually get a PR curve with many points, where I expected only one point. The source is I think this line, where points are ordered according to probability. When points have the same probability they will still be ordered randomly, whereas they should be processed as a group and give 1 precision/recall value.
Not sure if this matters in practice though, as predictions maybe never will have exactly the same probability :)

Hi @brambozz, thanks for the feedback!

Not sure if this matters in practice though, as predictions maybe never will have exactly the same probability :)

Yes I believe the impact is limited as this won't occur (often).

When points have the same probability they will still be ordered randomly, whereas they should be processed as a group and give 1 precision/recall value.

I had never thought of this edge case actually. But what you are saying makes sense.. I would have to find another implementation of mAP calculation and see how they are handling this (e.g. Coco). If you dig deeper into this, feel free to let me know what you find! Otherwise I will keep it in mind and look into it when I have some time :+1:

Yes, that makes sense! Currently, I think for me it is also not really an issue. I ended up adapting a bit from this repository, because I knew it from a PhD colleague (https://github.com/DIAGNijmegen/picai_eval/tree/main) which uses the sklearn implementation for a similar scenario.
I think in your comments you already said that using that function is an option.

I think in your comments you already said that using that function is an option.

Yes that seems like a good alternative!


Feature Change: New notebook prompts for either .dib or .ipynb

tl;dr
The behavior of the ".NET Interactive: Create new blank notebook" command is changing.  The old behavior was to create, e.g., Untitled-1.ipynb; the new behavior will then ask the user which notebook type they'd prefer, so they'll either get, e.g., Untitled-1.dib or Untitled-1.ipynb.
Why?
The VS Code notebook APIs are still in preview and are considered unstable, and because of this, it's become really difficult to coordinate breaking changes and user experiences between VS Code, the Jupyter extension (the handler for .ipynb files), and us.  To reduce the complexity, we're adding the possibility to use .dib as a new untitled notebook and that's simply because we fully own that extension so we know we'll always work, but we don't want to too badly mess up existing users' workflows who prefer .ipynb, hence the choice.
This...

...now leads to this...

PR #1304 implements this change.


4256 communities backend pr1

Backend code necessary to manage communities. The core of this is invite.py, which implements a generalized invite/accept/decline mechanism for community membership and structure.

Pull Request Checklist:

[ ] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case

[Enter positive test case here]

METRIC
VALUE

NEW DUPLICATED LINES DENSITY
16.4951668225756

NEW VULNERABILITIES
0

NEW BUGS
0

NEW CODE SMELLS
26

NEW SECURITY HOTSPOTS
0

https://sonarqube.cuahsi-workstation.com:9000/dashboard?id=hydroshare-4343


File not found - app | installation unsuccessful

Hi! I have tried installing Typertools onto Photoshop 2022 and have received this error message in the cmd interface:

After which, the extension does not work on photoshop. I can still see it but it also shows an error message:

Does anyone know what went wrong, or how to fix this issue?

Did you unzip the archive before installing?
If that is not the reason, you can try manually copying the files from the archive to the folder specified in the error message.

Yep I have unzipped it into my desktop and ran the install_win from there and got this message.
Also, the weird thing is that the folder specified in the error (CEP/extensions/typertools) doesn't exist so I'm unsure where I could manually copy the files to?

Is there a way to manually move the files from the zip to photoshop, or which files would I need to move?

Hmm. Try manually creating the path C:/Users/Asus/AppData/Roaming/Adobe/CEP/extensions/typertools, and put the app, CSXS, icons, locale folders from the archive inside it. So that the file from the error message exists.

Hi! I have tried installing Typertools onto Photoshop 2022 and have received this error message in the cmd interface:  After which, the extension does not work on photoshop. I can still see it but it also shows an error message:
Does anyone know what went wrong, or how to fix this issue?

The error is due to the installation from the github's source file zip. you had to download from the site. also about why you are not able to find the path is because you are trying to search it from the normal explorer whereas you had to go to the path using the run dialog box which you can get from clicking Win+R and enter %appdata%\Adobe to get the adobe folder in the roaming path.


Start of tagging -- implements models, tests, edit

Omg tags
I'd love an r? on the code quality so far. While you review this, I'll be finishing up the viewing HTML. Note that these tags should be admin-panelable, so we'll need to switch some bits on the various dev/stage/prod user accounts so they can access the admin panel. (Which you can only do after logging into Mozillians via /login with a User that has is_staff and is_superuser attributes -- but then you can admin the tags.)
Original commit message:
Users can create tags, admins can make special ones, users can
edit their own tags, and things are tested. Next up: viewing tags
on user's profiles and on the tag "listing".

   Looking good.


Build script hangs on testing DNS

When doing the dig netflix.com @serverip it times out. It seems to fail on ip4, the tunnel works when I ping6 netflix.com for example. I'll paste the build log when it finishes this step. Thanks.
Update: is it this? ERROR: for bind  driver failed programming external connectivity on endpoint bind (1c770c33ac14c3574a6a28d6780df32413aa189da44b30d0ff2af30062809e1b): Error starting userland proxy: listen udp <IP_ADDRESS>:53: bind: address already in use

Any chance you are trying to do this on Ubuntu 15.x?

14.04

OK, somehow you've already got a DNS service running. Figure out what it is, stop it and reinstall.

Can you give me a hint? Because /opt/netflix-proxy# netstat -nlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address           Foreign Address         State       PID/Program name tcp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*               LISTEN      979/unbound      tcp        0      0 <IP_ADDRESS>:22              <IP_ADDRESS>:*               LISTEN      938/sshd         tcp        0      0 <IP_ADDRESS>:8953          <IP_ADDRESS>:*               LISTEN      979/unbound      tcp        0      0 <IP_ADDRESS>:43867           <IP_ADDRESS>:*               LISTEN      6924/python      tcp6       0      0 :::8080                 :::*                    LISTEN      10434/caddy      tcp6       0      0 :::80                   :::*                    LISTEN      10449/docker-proxy tcp6       0      0 ::1:53                  :::*                    LISTEN      979/unbound      tcp6       0      0 :::22                   :::*                    LISTEN      938/sshd         tcp6       0      0 ::1:8953                :::*                    LISTEN      979/unbound      tcp6       0      0 :::443                  :::*                    LISTEN      10369/docker-proxy tcp6       0      0 :::5353                 :::*                    LISTEN      10282/docker-proxy udp        0      0 <IP_ADDRESS>:53            <IP_ADDRESS>:*                           979/unbound      udp6       0      0 ::1:53                  :::*                                979/unbound      udp6       0      0 :::5353                 :::*                                10335/docker-proxy Active UNIX domain sockets (only servers) Proto RefCnt Flags       Type       State         I-Node   PID/Program name    Path unix  2      [ ACC ]     STREAM     LISTENING     1808     421/dbus-daemon     /var/run/dbus/system_bus_socket unix  2      [ ACC ]     STREAM     LISTENING     45346    10178/docker        /var/run/docker.sock unix  2      [ ACC ]     STREAM     LISTENING     46088    10178/docker        /var/lib/docker/network/files/753da9f43a7f1bd6e72f90b68849ca22186f648b0bcbcbfbec275123d773f6c4.sock unix  2      [ ACC ]     STREAM     LISTENING     1543     1/init              @/com/ubuntu/upstart unix  2      [ ACC ]     SEQPACKET  LISTENING     8087     406/systemd-udevd   /run/udev/control unix  2      [ ACC ]     STREAM     LISTENING     43965    10189/docker-contai /var/run/docker/libcontainerd/docker-containerd.sock unix  2      [ ACC ]     STREAM     LISTENING     8879     858/iscsid          @ISCSIADM_ABSTRACT_NAMESPACE
Seems to show port 53 being bound to docker?

You have unbound DNS server already installed. Disable and remove it and your life will be much happier.
Probably something like:
sudo apt-get remove --auto-remove unbound
sudo apt-get purge --auto-remove unbound

But don't just blindly run these, Google around for a bit. Perhaps even try to find the rationale why this DNS server is part of the Ubuntu distribution you are using. There may be a reason..

Thanks. I stopped unbound and changed the nameservers from <IP_ADDRESS> to <IP_ADDRESS> in interfaces, the DNS test now works (as expected). Though now the OpenSSL test times out.

This is usually fixed by trying on a VPS in a different location and/or using a tunnel in a different location.

The thing is, I'm on hardware. And in an earlier try (with unbound running) the OpenSSL test worked. This is the output:
CONNECTED(00000003)
140426426390176:error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake failure:s23_clnt.c:770:
---
no peer certificate available
---
No client certificate CA names sent
---
SSL handshake has read 7 bytes and written 315 bytes
---
New, (NONE), Cipher is (NONE)
Secure Renegotiation IS NOT supported
Compression: NONE
Expansion: NONE

Thanks for helping me so far, btw.

No problem. That is not a working OpenSSL output by the way.
You can see if you have ipv6 connectivity inside Docker by running docker run -it ubuntu bash -c "ping6 google.com".

/opt/netflix-proxy# docker run -it ubuntu bash -c "ping6 google.com"
bash: ping6: command not found

Is there any chance I can un-Docker this whole thing? Just run it directly on the hardware?

Try docker run -it ubuntu:14.04 bash -c "ping6 google.com"

Of course you can, but you'll need to implement all the routing and pull the logic out of the containers. In other words big job.

Okay, the ubuntu:14.04 worked, I get unknown host

Then you have DNS resolution issues inside your Docker containers. docker exec -ti ubuntu:14.04 bash, see what is in /etc/resolv.conf and go from there..

If I do docker exec -ti {DOCKERID} cat /etc/resolv.conf I get this in every instance on the hardware server for every container:
nameserver <IP_ADDRESS>
nameserver <IP_ADDRESS>

And the same on the working Digital Ocean VPS for every container there.
But when I do a ping6 netflix.com from the ab77/sniproxy container, the Digital Ocean one pings successfully, but the hardware one doesn't. Any suggestions where I need to look?

Can you please post the netflix-proxy.log and the output of the build.sh script.

Closing due to inactivity.


commonjs: create default instance

This brings the commonjs api in line with the global and amd api while
preserving backwards compatibility.
Related to https://github.com/alertifyjs/alertify.js/pull/63

Thanks!


sqlite: 3.22.0 -> 3.23.1

https://sqlite.org/releaselog/3_23_1.html
(also contains notes for 3.23.0)
Adds CLI support for SQLite archive files:
https://sqlite.org/sqlar.html
Requires zlib support, so added as dep.

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option build-use-sandbox in nix.conf on non-NixOS)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nox --run "nox-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Fits CONTRIBUTING.md.

Haven't looked at fallout of this yet O:).

Was https://github.com/volth/nixpkgs/blob/master/pkgs/development/libraries/sqlite/sqlite3_analyzer.nix updated synchronously?

(apparently known problem re:staging, FWIW)

staging eval is fixed now.
@GrahamcOfBorg  eval

Success on aarch64-linux (full log)
Attempted: sqlite, sqlite3_analyzer
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/1djyqf6ymdgw0db4b8b7wwsjcyflqg17-sqlite3_analyzer-3.23.1
shrinking /nix/store/1djyqf6ymdgw0db4b8b7wwsjcyflqg17-sqlite3_analyzer-3.23.1/bin/sqlite3_analyzer
strip is /nix/store/8yfik687kfccisxnad42j19lfb7ij9b4-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/1djyqf6ymdgw0db4b8b7wwsjcyflqg17-sqlite3_analyzer-3.23.1/bin
patching script interpreter paths in /nix/store/1djyqf6ymdgw0db4b8b7wwsjcyflqg17-sqlite3_analyzer-3.23.1
checking for references to /build in /nix/store/1djyqf6ymdgw0db4b8b7wwsjcyflqg17-sqlite3_analyzer-3.23.1...
/nix/store/awas00466lywk0q69ls2fggclaf0lvka-sqlite-3.23.1-bin
/nix/store/1djyqf6ymdgw0db4b8b7wwsjcyflqg17-sqlite3_analyzer-3.23.1

Success on x86_64-linux (full log)
Attempted: sqlite, sqlite3_analyzer
Partial log (click to expand)
installing
post-installation fixup
shrinking RPATHs of ELF executables and libraries in /nix/store/i046ynf99apv2y8277havwfp8vdmjy4p-sqlite3_analyzer-3.23.1
shrinking /nix/store/i046ynf99apv2y8277havwfp8vdmjy4p-sqlite3_analyzer-3.23.1/bin/sqlite3_analyzer
strip is /nix/store/mgyvr3kil9qv0mywikpi0dbli061bpg4-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/i046ynf99apv2y8277havwfp8vdmjy4p-sqlite3_analyzer-3.23.1/bin
patching script interpreter paths in /nix/store/i046ynf99apv2y8277havwfp8vdmjy4p-sqlite3_analyzer-3.23.1
checking for references to /build in /nix/store/i046ynf99apv2y8277havwfp8vdmjy4p-sqlite3_analyzer-3.23.1...
/nix/store/b8rk7f8z4l32w1jfa6x6mp1yaydfki1h-sqlite-3.23.1-bin
/nix/store/i046ynf99apv2y8277havwfp8vdmjy4p-sqlite3_analyzer-3.23.1

Failure on x86_64-darwin (full log)
Attempted: sqlite, sqlite3_analyzer
Partial log (click to expand)
cannot build derivation '/nix/store/fg3w82dqpdyn6ay3izx5az161jyajwcl-openssl-1.0.2o.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/3giwidznplsmh925g36mfd8w4755crh2-pkg-config-0.29.2.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/pvpzxjmmsxllj6k5bh0q2pcs0166kmnq-libssh2-1.8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/kscs6vbyxdbr31b8blij17wb4zx9cliy-nghttp2-1.24.0.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/2rfqw4fmgvma034lz54bij78xqgs2pzy-curl-7.60.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/0wgm5y5030kdvx5vpkl0addj19b7i219-sqlite-autoconf-3230100.tar.gz.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/91rr7vs3h65yfg1qfkdc2sphq7ljb01c-sqlite-src-3230100.zip.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/rhyf529xxrkzdvlc9dza973lrmvfw6sb-sqlite-3.23.1.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/n0ivwxidyli65pbpvrf95pgap8avlfdp-sqlite3_analyzer-3.23.1.drv': 5 dependencies couldn't be built
error: build of '/nix/store/n0ivwxidyli65pbpvrf95pgap8avlfdp-sqlite3_analyzer-3.23.1.drv', '/nix/store/rhyf529xxrkzdvlc9dza973lrmvfw6sb-sqlite-3.23.1.drv' failed

darwin looks pretty broken on staging.

maybe we should enforce version match for sqlite + sqlite3_analyzer (and mercurial + tortoise-hg) with an assert like it is done for libvirt and its perl/python bindings

Good idea. Or we could simply  inherit (sqlite) version

Success on aarch64-linux (full log)
Attempted: sqlite
Partial log (click to expand)
checking for references to /build in /nix/store/i8c0vx0brjy42x36vcn2y7k8c7yk1i5i-sqlite-3.23.1-dev...
separating debug info from /nix/store/jlk1gw9prcvqklpkna6cp73c5raypg30-sqlite-3.23.1/lib/libsqlite3.so.0.8.6 (build ID 6ada9c1ae5d1318e779b7f56c67be6ec8a1f7f48)
shrinking RPATHs of ELF executables and libraries in /nix/store/jlk1gw9prcvqklpkna6cp73c5raypg30-sqlite-3.23.1
shrinking /nix/store/jlk1gw9prcvqklpkna6cp73c5raypg30-sqlite-3.23.1/lib/libsqlite3.so.0.8.6
patching script interpreter paths in /nix/store/jlk1gw9prcvqklpkna6cp73c5raypg30-sqlite-3.23.1
checking for references to /build in /nix/store/jlk1gw9prcvqklpkna6cp73c5raypg30-sqlite-3.23.1...
shrinking RPATHs of ELF executables and libraries in /nix/store/f30a8szrjdgnxiiq9n440wkcl4lynn5h-sqlite-3.23.1-debug
patching script interpreter paths in /nix/store/f30a8szrjdgnxiiq9n440wkcl4lynn5h-sqlite-3.23.1-debug
checking for references to /build in /nix/store/f30a8szrjdgnxiiq9n440wkcl4lynn5h-sqlite-3.23.1-debug...
/nix/store/x4lziwjxkkrsfzrw32dnqn1q8v5ng897-sqlite-3.23.1-bin

Should the versions used in the source URL's be similarly paired?

I've pushed assert and some cleanups to this branch, including sqlite3_analyzer -> sqlite-analyzer rename to match our naming policy. If everything is OK, I will merge this into staging today. Thank you @dtzWill for the update :-)

Failure on x86_64-darwin (full log)
Attempted: sqlite
Partial log (click to expand)
cannot build derivation '/nix/store/q0q0223jhyxf3kk59wiybpsf8680lbmx-libiconv-osx-10.11.6.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/4jzzwqsqrji0cr7s4nyfgxi4nch39baa-perl-5.24.3.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/bzsnba0d8yvcm081zayjylxaly41vwfg-openssl-1.0.2o.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/srxh9ygnzlakgzln1m5g5j223l8lkfxr-pkg-config-0.29.2.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/3wwzrfrfqmmvnvdrd07zkgjd9wpfikgs-libssh2-1.8.0.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/l9xrfhzdc7j4mvjjcfn4dss8wcd54xhs-nghttp2-1.24.0.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/sbnbi7mwcj84d3j4i5vbydqi8bix93d5-curl-7.60.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/kdx2kl9m4vnjs4lk7xhzsmqdar8v1vxi-sqlite-autoconf-3230100.tar.gz.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/919hzd71iv9nw4j8l7lgjd31ghwq7g3p-sqlite-3.23.1.drv': 4 dependencies couldn't be built
error: build of '/nix/store/919hzd71iv9nw4j8l7lgjd31ghwq7g3p-sqlite-3.23.1.drv' failed

Failure on x86_64-linux (full log)
Attempted: sqlite
Partial log (click to expand)
cannot build derivation '/nix/store/c0yw2dsf5rfchj44b3g4p3dk91ga9894-perl-5.24.3.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/wm6xlb8489wf6xq6zalshg3hqx5qxvd6-pkg-config-0.29.2.drv': 2 dependencies couldn't be built
cannot build derivation '/nix/store/drqyz6n770g5khb94m0sgzsf4anfc3pm-openssl-1.0.2o.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/93nxw27mky881awx3zg86vbnl0l59mnv-libkrb5-1.15.2.drv': 5 dependencies couldn't be built
cannot build derivation '/nix/store/78snbldhhp2kqjhrqb11a626nmkrc9yh-libssh2-1.8.0.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/5zmjzs7vbkbhffnz30k7i0dyxvz0wa6g-nghttp2-1.24.0.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/0jhznb9my0j4akksrzh65c1i8w9gphlq-curl-7.60.0.drv': 8 dependencies couldn't be built
cannot build derivation '/nix/store/qrfxj9fj87mf3vn1grp32mrk3ahi7ypi-sqlite-autoconf-3230100.tar.gz.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/mb6l65yvn269yj8z406rkricb6r5rp2d-sqlite-3.23.1.drv': 3 dependencies couldn't be built
error: build of '/nix/store/mb6l65yvn269yj8z406rkricb6r5rp2d-sqlite-3.23.1.drv' failed

@dtzWill I've added archiveVersion function (if you have idea for a better name, please tell), that should handle keeping URLs in sync.

Success on aarch64-linux (full log)
Attempted: sqlite
Partial log (click to expand)
/nix/store/x4lziwjxkkrsfzrw32dnqn1q8v5ng897-sqlite-3.23.1-bin

LGTM!
Wouldn't worry overly about the function/naming since it's just for these two.
Also, woohoo for computing the archive version automatically! :+1:

Success on x86_64-linux (full log)
Attempted: sqlite
Partial log (click to expand)
checking for references to /build in /nix/store/5k1440bry3kywsrbnsm4nzv3iv00ynbh-sqlite-3.23.1-dev...
separating debug info from /nix/store/ainjyf88324f4g3xihq7dd5p697slmy7-sqlite-3.23.1/lib/libsqlite3.so.0.8.6 (build ID b8ce7bbf2357f13521350a3282ab795395494495)
shrinking RPATHs of ELF executables and libraries in /nix/store/ainjyf88324f4g3xihq7dd5p697slmy7-sqlite-3.23.1
shrinking /nix/store/ainjyf88324f4g3xihq7dd5p697slmy7-sqlite-3.23.1/lib/libsqlite3.so.0.8.6
patching script interpreter paths in /nix/store/ainjyf88324f4g3xihq7dd5p697slmy7-sqlite-3.23.1
checking for references to /build in /nix/store/ainjyf88324f4g3xihq7dd5p697slmy7-sqlite-3.23.1...
shrinking RPATHs of ELF executables and libraries in /nix/store/fgzib8hcfdb76dhsbbmlkyz8dajdk7ps-sqlite-3.23.1-debug
patching script interpreter paths in /nix/store/fgzib8hcfdb76dhsbbmlkyz8dajdk7ps-sqlite-3.23.1-debug
checking for references to /build in /nix/store/fgzib8hcfdb76dhsbbmlkyz8dajdk7ps-sqlite-3.23.1-debug...
/nix/store/fnnh9pzh7ajizgw9jshbagqynz4802gq-sqlite-3.23.1-bin

Failure on x86_64-darwin (full log)
Attempted: sqlite
Partial log (click to expand)
cannot build derivation '/nix/store/gf87cms9jjalx166mb056n243v3qyzhf-hook.drv': 6 dependencies couldn't be built
cannot build derivation '/nix/store/k3q5gw4j1ialk3825i5g7vvv9ymsc7rl-ICU-osx-10.10.5.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/1csmh5bs9p7xxd4nz83ln736bva4n554-cctools-binutils-darwin.drv': 4 dependencies couldn't be built
cannot build derivation '/nix/store/hi0a47rqav5nrw9iyqx6ph7r3vqd9a8g-gnutar-1.30.drv': 3 dependencies couldn't be built
cannot build derivation '/nix/store/wgxjr0iqids59nam08sirh4q7mrc7y6x-CF-osx-10.10.5.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/2pkfghkavb42wjppxzamy0lkw839nqnl-cctools-binutils-darwin-wrapper.drv': 7 dependencies couldn't be built
cannot build derivation '/nix/store/p3a3ddiyc9cszlwxy5502kq521rvhga9-clang-wrapper-5.0.2.drv': 9 dependencies couldn't be built
cannot build derivation '/nix/store/9vk0cnhjm6lv0nghd7wwi673fwhicwri-stdenv-darwin.drv': 35 dependencies couldn't be built
cannot build derivation '/nix/store/919hzd71iv9nw4j8l7lgjd31ghwq7g3p-sqlite-3.23.1.drv': 3 dependencies couldn't be built
error: build of '/nix/store/919hzd71iv9nw4j8l7lgjd31ghwq7g3p-sqlite-3.23.1.drv' failed


Add new Top-Level method save_element

Added two new top level methods, intended for public access:

save_element()
get_element()

Coverage increased (+0.06%) to 95.987% when pulling fb733390ab034704e5390c0d881f94db0091e6fc on feature-provDb-add_record into b37c5966949d2199227906c1aa27c6297e08b2e3 on develop.

Coverage decreased (-0.04%) to 95.883% when pulling 4ae63ce04d9507aa28106c258863e18fe91bd852 on feature-provDb-add_record into bf1983e0d2e59c9c6fb2172e1ed67868d4746692 on develop.


provide access to invalid form elements

As suggested here:

If you passed through the element here (e.g. simply via field.element),
that would open up more options for presenting errors to the user - e.g.
displaying errors inline, close to the respective field element. (Perhaps
_validateField could trigger a simple event/callback for this?)

+1 for access to invalid form elements!
for now I came up with this hack
if ( errors.indexOf('The name field is required.') == 0 ) {
$('.name-error').show();
}
    	 if ( errors.indexOf('The phonenumber field is required.') == 0 || errors.indexOf('The phonenumber field must contain only numbers.') == 0) {
    	 	$('.phone-error').show();
    	 }

    	  if ( errors.indexOf('The emailaddress field is required.') == 0 ) {
    	 	$('.email-error').show();
    	 }

I will definitely take this into account when figuring out the best way to show errors for individual fields.


The email address is wrong.

our university email address is<EMAIL_ADDRESS>(Not<EMAIL_ADDRESS>

@ahs2710 Yes, and it is exactly what you submitted in #5209. That request is already merged, you can request your free license at https://jetbrains.com/student in 15 minutes. I am closing this request as a comment to #5209.


Parallax effect is shaking/not smooth on MS Edge

On MS Edge parallax effect is jerky/not smooth. You can easily reproduce it on the official page with examples.
OS: Windows 10 Home x64
Browser: MS Edge 44.17763.1.0
It is super fine on FireFox and Chrome.

Yes I already noticed this. I'll try to give a new look when I have time.
But I guess this is one of the many reasons Edge will die soon.

I don't see any option to avoid this.

This should be in documentation that you dont support Latest IE that isnt close to EOL.


ARM template deployment support

Does ASR support end-to-end A2A VM replication, fail over and fail back using ARM template deployment? If so, can you point me to a sample template? If not, is PowerShell the only way for automation?

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

ID: 34d0f2df-de85-c6ab-eb01-f8e028b7f108
Version Independent ID: 5acb187c-f280-5c7d-14fc-7f07160cd50b
Content: Support matrix for disaster recovery of Azure VMs between Azure regions with Azure Site Recovery
Content Source: articles/site-recovery/azure-to-azure-support-matrix.md
Service: site-recovery
GitHub Login: @rayne-wiselman
Microsoft Alias: raynew

@shriazure Thanks for the comment! Currently ARM template deployment is not supported. You may leave your valuable feedback in the UserVoice forum for the product group to track this request and incorporate this requirement in the future if it qualifies to be a good feature request.
Supported deployment methods: Azure portal, PowerShell and REST API.


Improve the QUILT_PATH

QUILT_PATH, as it is now, is completely unusable.  It requires way too much manually twiddling to get up. We should really move to a model more like the GO_PATH environment variable where you just need to set the root of a tree, and everything underneath it works out.

Migrated to Trello.
https://trello.com/c/qRRNCEV6


Fixed a crash caused by system tray icon not being available

Some linux distros don't support system tray icons, which was causing a crash

A new build of 4c938e712e03f8e433523b0b3f408d41e1f82c80 has completed succesfully!
Binaries available at https://build.nav.community/binaries/fix-linux-systray-icon-crash

A new build of 4c938e712e03f8e433523b0b3f408d41e1f82c80 has completed succesfully!
Binaries available at https://build.nav.community/binaries/fix-linux-systray-icon-crash