chore: add an RP/OP integration test

This adds an integration test that uses an RP client to create a session with an OP server.
It refreshes its tokens and then ends the session.
This is built on top of other open pull requests: #229 #230 #231 #237 so this will look like it's changing a lot more than it actually is until those are merged and this is rebased.
Merging this bumps code coverage from 12% to 39%

Once my other remaining pull requests are merged (#244 & #238), I'll rebase on main to resolve the conflicts.


Basic Suspension Sample "KnownTypes"

Hi, I am creating a music player. I have seen ur BasicSuspension sample. In that sample you have defined some known types in App.xaml.cs  (SuspensionManager.KnownTypes.AddRange(new[] { typeof(ItemList), typeof(Item) });) for serialization process to save data.
Suppose I have
private Song recentlyPlayedSong;
private Song currentlyPlayingSong;

these 2 fields and I want to save them. They are same type but 2 fields.
What should I write in KnownTypes?
Should I write "Song" for 1 times or 2 times ??

I have tested some. And I don't need to define them 2 times. I can define only one time to save data. The issue is solved.


NaN Handling

For my usecase I necessarily have many NaNs in certain columns in the predicted return, and the returns/volumes dataframes. Is there any way to get the optimizer to both ignore the columns with NaN in the optimization, and auto-sell out of the stocks when the return is NaN.
I cannot workaround this issue by dropping/filling nans, or by doing multiple backtests (ie every year) - it is very much intended that the prevelance of NaNs in some column is near-constant and inconsistent.

I expect that this situation would be extremely common for anyone working with their own datasets etc.


Request for access to test-osuosl-ppc64le-ubuntu-16-04-1

To run a test to reproduce a bug that only occurs here, for some reason.

Will add @adamfarley's key onto the machine temporarily and disable it in jenkins until resolved.

Will close once temp access is revoked.

Adam's key hasn't been working. Will aim to debug with him over the next couple of days.

Got access. Turns out Windows Putty doesn't like ssh keys with passphrases. Odd.
Anyway, I've completed my test investigation, and this machine can be reenabled.

Access removed again, machine re-enabled and issue 770 created to resolve the discovered issues.


Add a page for configuring key stores

Add new content to [1].
[1] https://github.com/wso2/docs-ei/blob/master/en/streaming-integrator/docs/admin/configuring-Keystores.md

Added [1] for the EI 7.0.0 release.
[1] https://ei.docs.wso2.com/en/latest/streaming-integrator/admin/working-with-Keystores/


For a multi channel device, show the per-channel name in Homekit

On a two channel device, you have overall device name, and you can also give each channel a descriptive name. In HomeKit the two channels appear (if you separate the tiles) but they share the same overall device name. Would be great to see the per-channel names used instead. Not sure how this could be achieved though. Anyways, just an idea! 👍

This is a homekit thing and is out of my control. You'd be best to buy separate ewelink devices to have them properly separated in homekit.
Accessory simulations are the best I can do for these multi-channel different accessory types :)


[Issue] DOIs for collections

We have decided to assign DOIs to resources.  Do we want to also assign a DOI to the project/collection.  Note, that we do assign DOIs to collections in RUcore.

I think it was agreed at a previous meeting that we will not assign DOIs to projects or collections.

Janice,
You are correct.  Although we do assign DOIs to collections in RUcore, Grace has stressed that the DOIs should point to resources.  So, yes, we will not assign DOIs to projects/collection in the VDC.
Ron

From: jkim-ru<EMAIL_ADDRESS>Sent: Wednesday, November 15, 2017 3:33 PM
To: dibbs-vdc/ccql
Cc: rcjantz; Author
Subject: Re: [dibbs-vdc/ccql] [Issue] DOIs for collections (#22)
I think it was agreed at a previous meeting that we will not assign DOIs to projects or collections.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fdibbs-vdc%2Fccql%2Fissues%2F22%23issuecomment-344719658&data=02|01|rjantz%40libraries.rutgers.edu|3e4008e79bc040a0876c08d52c682924|b92d2b234d35447093ff69aca6632ffe|1|0|636463748240703631&sdata=fPQjGK8VPduZcvTYZRqmtEoo3JXMuVgC1W1JTEmvkcg%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAfBFe90RpUoV6uj6KNQGPOgwAIyAf-WFks5s20qigaJpZM4QA_gK&data=02|01|rjantz%40libraries.rutgers.edu|3e4008e79bc040a0876c08d52c682924|b92d2b234d35447093ff69aca6632ffe|1|0|636463748240703631&sdata=2ukBtYVq%2Baml83ursbPpxFoSsH0SgYor8x%2F0XACoR5c%3D&reserved=0.


Update bindgen and cc dependency versions

Update bindgen to 0.54
Use version 1.0 instead of ~1.0 to follow the semver convension

Thanks ! I'm gonna release a new version later today.


Enable onAction with checkbox selection in ListView and TableView

Back in #2363, we added support for onAction in selectable collections such as ListView and TableView, along with support for highlight selection. However, we have use cases for onAction (i.e. folder navigation) with checkbox selection as well. This PR enables that.
In order to implement this we made the following behavior changes:

When onAction is defined, row actions become the primary click interaction instead of selection.
Users can click the checkbox to select rows. Once at least one row is selected, clicking anywhere on another row toggles its selection state (instead of performing onAction).
On touch devices, users can also long press on a row to select it, just like with highlight selection.
With keyboards, the Enter key always performs onAction (on key up) when defined, whereas Space toggles selection (on key down).
When drag and drop is enabled, it may conflict with the long press gesture used to enter selection mode. To avoid this, we disable dragging when nothing is selected on touch devices. So long pressing enters selection mode, and from there the user can drag. Not sure if this is always intuitive but it might be the only way. At least it only happens when both selection and dnd are enabled.

To do before release

[ ] Update docs

@snowystinger

With VO on iPhone, I noticed that I can start dragging in two ways, either the drag handle, or the new second long press to drag that all touch devices get.
In the second case, where I long press to start dragging, none of the announcements are read about how to perform the drag and drop or when it is completed.

This is the native drag and drop API - the same as you'd use without VO on. Long press is a passthrough gesture, so VoiceOver just lets it go through to the native dnd events.

Note: I'm happy to approve and merge for Monday testing, everything else seemed to work just fine on Android/desktop

Ughhhhh


Hydrating models from results

Hi!
Is it possible to retrieve a collection of models with all of the database info, as opposed to just the documents returned by ElasticSearch?
If not, maybe we could add a hydrate method to the results collection?

Here's an example of manual hydration from search results (with some extra code because of #47):
$books = Book::hydrate(
    (new Collection(Book::search('moby dick')))->pluck('id')->toArray()
);

If #47 was resolved, the code would be a bit cleaner:
$books = Book::hydrate(
    Book::search('moby dick')->pluck('id')->toArray()
);

If we implemented some sort of hydration method, we could probably just do
$books = Book::search('moby dick')->hydrate();

// or

$books = Book::search('moby dick', $hydrate = true);

Done.


Added browser support (phone, tablet, desktop), removed commented out…

… code from test, added functions to support all page elements.

Can one of the admins verify this patch?


Update to the metric part

What does this PR do?

I added more information, that we only collect what is exposed by linkerd, since it is confusing some customers.
I also added that all the metrics ending with "_total" are appended by "count" by datadog : https://github.com/DataDog/integrations-core/blob/7585dad4f622339f87eed87ad15e2986d9025bde/linkerd/datadog_checks/linkerd/metrics.py#L123-L125 , since it can also lead to confusion.
Motivation

https://datadog.zendesk.com/agent/tickets/835258
Additional Notes

no
Review checklist (to be filled by reviewers)

[ ] Feature or bugfix MUST have appropriate tests (unit, integration, e2e)
[ ] PR title must be written as a CHANGELOG entry (see why)
[ ] Files changes must correspond to the primary purpose of the PR as described in the title (small unrelated changes should have their own PR)
[ ] PR must have changelog/ and integration/ labels attached

Thanks, created DOCS-3738 to track this update


We should migrate any contracts follows from Wexplorer to Scout

Duplicate of #219?

No, this is from wexplorer itself, which I haven't pulled any data from I'm pretty sure.


The difference between the results of val and test

Your work is excellent. I would like to ask if you directly use the given val weight for the test. It seems that the results of val and test are a bit different, and the result of val does not seem to exceed 2DPASS.

Thank you, I'm great to see such wonderful work

Sorry about the confusion. The version for spconv is 2.1.21.

Thank you very much for your reply, but after I installed spconv version 2.1.21, the following errors appeared again：
ImportError: cannot import name 'TensorOpParams' from 'cumm.gemm.algospec.core' (/home/lj/miniconda3/envs/spformer/lib/python3.7/site-packages/cumm/gemm/algospec/core.py)
Could you please tell me your cumm version?


Fix empty globs in some boost libraries

This fixes support for --incompatible_disallow_empty_glob in some boost libraries. This is a copy of the previous version, the only changes are removing the invalid glob (mostly include/**/*.h) and bumping the deps to the other .bcr.1 versions

Hello @wep21, @Vertexwahn, modules you maintain (boost.assert, boost.bind, boost.config, boost.container_hash, boost.core, boost.describe, boost.detail, boost.function, boost.function_types, boost.functional, boost.interprocess, boost.intrusive, boost.io, boost.move, boost.mp11, boost.mpl, boost.predef, boost.preprocessor, boost.static_assert, boost.throw_exception, boost.tuple, boost.type_traits, boost.typeof, boost.unordered, boost.utility, boost.winapi) have been updated in this PR. Please review the changes.


KYLIN-3492, fix typo in KylinConfigBase.getDefaultVarcharPrecision.

Can one of the admins verify this patch?

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@3fe29d0). Click here to learn what that means.
The diff coverage is 0%.

@@            Coverage Diff            @@
##             master     #196   +/-   ##
=========================================
  Coverage          ?   21.07%
  Complexity        ?     4291
=========================================
  Files             ?     1069
  Lines             ?    67823
  Branches          ?     9837
=========================================
  Hits              ?    14294
  Misses            ?    52162
  Partials          ?     1367

Impacted Files
Coverage Δ
Complexity Δ

.../java/org/apache/kylin/common/KylinConfigBase.java
15.21% <0%> (ø)
36 <0> (?)

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 3fe29d0...c7aa650. Read the comment docs.


Read credentials from ~/.aws/credentials when available

If you run aws configure it stores your credentials in ~/.aws/credentials. It would be nice for elasticrawl to read the credentials from there instead of asking for them

Hi Ben,
thanks for raising this. Yes currently elasticrawl checks for the environment variables AWS_ACCESS_KEY_ID or AWS_SECRET_ACCESS_KEY. If these don't exist it prompts for them.
It makes sense to check ~/.aws/credentials too since it's used by the AWS CLI. I'll have a look at this when I can this should be in the next couple of weeks.
Cheers
Ross


How would I write tests with the 0.11 versions?

I would like to be able to execute my kernel tests with QEMU with a simple cargo test, like in the versions before 0.11.
From what I see though, with the bindeps, when I call cargo test, the kernel is not even built in "test mode", and only the root crate (which I will call "runner" from now on) is being tested.
Is there an easy way to boot up QEMU and run the kernel tests, or do I have to manually build the kernel with cargo test --no-run --package kernel --target x86_64-unknown-none?
When running this, I get an error
   Compiling kernel v0.1.0 (<path>)
error[E0463]: can't find crate for `test`

without any additional context, so I'm not sure whether this is the way to go.
The way this bootloader runs tests is also not applicable I think, because as far as I see, it runs kernels, not tests inside kernels.
Correct me if I'm wrong somewhere please

Thanks for raising this issue! You're right that the cargo test approach used with bootloader v0.9 does no longer work. Unfortunately, I haven't implemented a good alternative yet. Given that the eRFC for the current custom test framework feature (https://github.com/rust-lang/rust/issues/50297) was closed, I think it would be better to create our own solution instead. My current ideas are:

Create a proc macro to collect tests, similar to the official #[test] attribute. We could base this on the inventory crate.
Add support for passing arguments to kernel, e.g. via serial input or via some special QEMU feature.
When a --test argument is given, the kernel could run the collected tests instead of doing a normal start. To signal success or failure, we could use the special QEMU exit device as before.
To get support for cargo test again, the root crate (with the artifact dependency on kernel) could define a normal #[test] function that starts the kernel with the --test argument in QEMU and check the exit code.

Create a proc macro to collect tests, similar to the official #[test] attribute. We could base this on the inventory crate.

Sounds intuitive, however, when doing so, I get stopped with error: #[ctor] is not supported on the current target.
I'll give this approach some more thought and work though, and I'd be happy to leave my approach here once it works.

I didn't yet find the time to actually try this, but the inventory crate points to a similar package that might work.
https://github.com/dtolnay/linkme
I looked into it shortly and linkme does not seem to have the same target restrictions inventory does.

I'm currently trying to implement tests using linkeme and it seems to be possible.
However there is a rather large issue I ran into. Just cost me the better part of today to debug this. I had to add
[target.x86_64-unknown-none]
rustflags = [
    "-C", "link-arg=-z",
    "-C", "link-arg=nostart-stop-gc"
]

to my .cargo/config. Otherwise linkme will cause some rather cryptic linker errors.

I ran into the same error that you did and solved it the same way.
I just got my linkme testing implementation working. I even got automatic paths/naming through dynamic trait objects, though it requires a wrapper type. The interface is still clunky though, so if you can think of a better way, that would be nice.

I also use a wrapper type, but you can generate that using a proc macro.
mod test {
    #[kernel_test]
    fn foo() {
    }
}

becomes something like
mod test {
    #[distributed_slice(testing::KERNEL_TESTS)]
    static __KERNEL_TEST_foo: testing::KernelTestDescription = testing::KernelTestDescription {
        name: "foo",
        fn_name: "foo",
        expected_exit: TestExitState::Succeed,
        test_fn: foo,
        test_location: testing::SourceLocation {
            module: "test",
            file: file!(),
            line: line!()
            column: column!(),
        },
    }
    fn foo() {
    }
}

feel free to use (or improve) my proc macro  https://github.com/Wasabi375/WasabiOS/blob/main/testing/derive/src/lib.rs

The linkme crate doesn't seem to work anymore for x86_64-unknown-none anymore, at least I can't compile it on MacOS.
Right now my approach is to have test kernels that execute some kind of functionality, and start those from the runner, that way I still can run tests with cargo test, and I get one test per test kernel.
Other tests could be done via userspace programs I guess (qemu + expect or ssh or something).


Fix usage of relative path which caused problems on windows.

I merged master and then tested it successfully on my windows laptop.


675 unique tags qa e2e testing

name: 'test tag update'
about: QA needs unique uniform test tags for all element to facilitate e2e testing
New Pull Request
Checklist

[x] I am not disclosing a vulnerability.
[x] My code is conform the code style
[x] I have made corresponding changes to the documentation
[x] I have updated Typescript definitions when needed

Related issue: https://github.com/web3ui/web3uikit/issues/675
Solution Description
I made all the test tag uniformed and update many testa and aligned some other parts of the code base... it was fun 😅🔫

@BillyG83 I have found these components were we are not following the format test-<component name>
If these are ok as is please go ahead and merge this PR. 🙌🏻

dude @AbhinavMV you are a machine, what an amazing spot, i have triple checked them now TY man. I finished this one late 😅


Week 8: Update Database context to implement Identity and Authorization

As a user, I want to be able to log into Chirp. So that whatever I post as is not dependent on the environment I am using to do so.
Acceptance Criteria

Implement ASP.NET Core Identity or a different solution for user authentication.
Document in your project why you chose what you did and what the pros and cons are.

Definition of Success

Posting cheeps is no longer environment-dependent

Choosing Identity Management Solution
https://learn.microsoft.com/en-us/aspnet/core/security/how-to-choose-identity-solution?view=aspnetcore-7.0

Register and login links do not work


Simulator Class

This is a new Simulator class, designed to replace and extend the old Solver class and provide a consistent interface across all simulators. For now, only the SciPy ODE solvers are implemented, in the ScipyOdeSimulator class.
There are basically two modes of operation: Simulator.execute(), a class method which works like the old odesolve method in that it is a one-liner to execute a simulation, and Simulator.run(), an instance method which is more efficient when running multiple simulations in sequence, e.g. with different initial conditions.
Trajectories are accessed via the methods concs_species(), concs_observables(), concs_expressions(), and concs_all() (as execute() returns) which includes species, expressions and observables together in a single array. (concs=concentrations, in case that wasn't obvious).
The class also allows per-simulation manual override of model initial conditions or parameters, both of which can now be supplied as a list (to change everything) or a dictionary (to change specific initials/parameters).

Coverage increased (+1.0%) to 73.915% when pulling 1e81d86021d0c5c0e08a9f0e090be216dc20d8a3 on LoLab-VU:simulatorclass into eca58155e16c651ebf3477919c94740ee7a9efb7 on pysb:master.

Coverage decreased (-1.5%) to 71.414% when pulling 2abcceb8ce3666de74295f27f15f324f716b2ac9 on LoLab-VU:simulatorclass into eca58155e16c651ebf3477919c94740ee7a9efb7 on pysb:master.

Coverage increased (+1.4%) to 74.314% when pulling 426956d99029e02f7819b03ce5e0496d31908dad on LoLab-VU:simulatorclass into eca58155e16c651ebf3477919c94740ee7a9efb7 on pysb:master.

Coverage decreased (-1.4%) to 71.518% when pulling 5817308d72f12ba558f6c21e64e2a24afc2bceac on LoLab-VU:simulatorclass into eca58155e16c651ebf3477919c94740ee7a9efb7 on pysb:master.

Coverage decreased (-1.2%) to 71.771% when pulling 7933a0d3dc791e67d63373d3e0eada33cff84e24 on LoLab-VU:simulatorclass into eca58155e16c651ebf3477919c94740ee7a9efb7 on pysb:master.

@jmuhlich Thanks for the feedback on the Simulator class, which I've now implemented.

There's something wrong with the commit history -- I think this branch was (correctly) rebased against master and later (incorrectly) merged with the original. This introduces lots of "duplicate" commits in the parallel branches. I think the latest commit 7933a0d3dc791e67d63373d3e0eada33cff84e24 on alubbock/simulatorclass is the suspect merge. I think you want to do reset --hard f95d7e20e9cfc3ce278abc3323538da94585c479 on your branch and then push -f. Of course double-check that before pulling the trigger. :)

It's also odd that the commit message for that merge doesn't look like the standard git merge commit message but rather looks like a normal manually entered commit message: "Update Tyson oscillator example to use Simulator class". This is another clue that something went wrong.

Coverage increased (+1.3%) to 74.283% when pulling f95d7e20e9cfc3ce278abc3323538da94585c479 on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

Hmm.. not entirely sure why I did that! Apologies for the mistake. I've reset the merge as you suggested.

Thanks. I thought about the big picture of the API this time rather than just scrutinizing the low-level details. Some thoughts:

I suspect some will confuse execute and run, and try to call execute on an instance. Can we think of a less confusing name for execute, and arrange to throw an exception if it's called on an instance? I think it will require assigning a top-level function to an attribute of the class rather than using @classmethod on a regular method.
The concs_* methods need a different naming scheme, as not all simulators return concentrations (the stochastic ones return integer molecule counts, for example). Maybe traj_* for "trajectories"? Also they could be getters for ease of use.
Furthermore, would it be cleaner to just have a standalone "simulation result" object rather than put all these methods directly on the Simulator object? I think that would provide a more natural interface for users -- run() could actually return the result rather than just causing a side effect. execute (or whatever it ends up being named) could return one of these objects as well.

I did some testing and came up with this:
def _Foo_instance_func(*args, **kwargs):
    raise ValueError("func may only be called on subclasses of Foo, not instances.")

class Foo(object):
    def __init__(self):
        self.func = _Foo_instance_func
    @classmethod
    def func(cls, a):
        print "cls=%s, a=%s" % (cls, a)

class Bar(Foo):
    pass

f = Foo()
b = Bar()
f.func()        # raises
f.func('abc')   # raises
f.func(x=123)   # raises
Foo.func(1)     # prints: cls=<class '__main__.Foo'>, a=1
b.func()        # raises
Bar.func(2)     # prints: cls=<class '__main__.Bar'>, a=2

Coverage decreased (-1.06%) to 71.884% when pulling 8532f0225ed8cc5d04402b78011dc564e429245c on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

Coverage decreased (-1.06%) to 71.884% when pulling 8532f0225ed8cc5d04402b78011dc564e429245c on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

Coverage decreased (-1.06%) to 71.884% when pulling 4eb3699005a02970cd9dbfb76655a721360e3c18 on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

Coverage decreased (-1.06%) to 71.884% when pulling 3420eb64bf9f375e42a4a066961c8a6d5d19b2db on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

Coverage increased (+1.5%) to 74.416% when pulling aefefa232be9040a816ac4b313b59fe05d21eb54 on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

Thanks again for your feedback @jmuhlich. As suggested, I've added a SimulationResult class. This also solves both the concs_ naming prefix issue (since the methods are now simply properties of the SimulationResult, like result.expressions and result.observables), and the execute() vs run() issue (now that run() returns something, it allows simulations as a one-liner thus making execute() at the class level redundant).
I also added the option to return simulation results in a pandas DataFrame with a MultiIndex, and fixed a travis build issue on python 3.4 (see #229) in the other two commits respectively.

Coverage decreased (-1.4%) to 71.566% when pulling 61f904a290227b186a19607335faf39e3d1db67b on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

I just played with the API a bit and I like it. The dataframe method is an especially nice touch.

Coverage increased (+1.5%) to 74.455% when pulling b4a8a0cbe50e95393061fd4ec980a8c27890e941 on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.

Coverage decreased (-1.3%) to 71.625% when pulling 4247dc044afd63de26c593ebe86d8774cf8311f2 on LoLab-VU:simulatorclass into 1eee9ca3649c043935425621f30b87d99827275b on pysb:master.


Refactoring to support other pod controller types

This is the first step in fixing issue https://github.com/pusher/wave/issues/22.
This refactors to wrap the deployment object in a new interface, PodController. This follows @JoelSpeed 's guidance, with a minor change. The interface defines Get and SetPodTemplate that uses the corev1.PodTemplateSpec resource instead. This is to support iterating through template specs other than just Deployment types.
I was not able to run the tests locally. I ran into this error:
2019/03/07 14:39:31 fork/exec /usr/local/kubebuilder/bin/etcd: no such file or directory

@JoelSpeed A few changes have been made as well as a bug fix. Could you take a look at this again? Thanks :)

@JoelSpeed I think I've incorporated the requested changes

@JoelSpeed Have you been able to review it?

@JoelSpeed Can you take a look at this? We've made the changes you requested.

Hey al, could you please rebase this PR on top of our master and fix the conflicts and I'll get the CI to run once you've done that, thanks 😄

/ok-to-test

@SteveKMin: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pull-wave-test-ginkgo
8945905d381903d392ccc2cc1e4c9561afe56aac
link
/test ginkgo

Full PR test history

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

# github.com/pusher/wave/pkg/core
pkg/core/children.go:206:28: cannot use inNamespace (type client.ListOptionFunc) as type runtime.Object in argument to h.Client.List:
	client.ListOptionFunc does not implement runtime.Object (missing DeepCopyObject method)
pkg/core/children.go:206:28: cannot use configMaps (type *"github.com/pusher/wave/vendor/k8s.io/api/core/v1".ConfigMapList) as type client.ListOptionFunc in argument to h.Client.List
pkg/core/children.go:213:27: cannot use inNamespace (type client.ListOptionFunc) as type runtime.Object in argument to h.Client.List:
	client.ListOptionFunc does not implement runtime.Object (missing DeepCopyObject method)
pkg/core/children.go:213:27: cannot use configMaps (type *"github.com/pusher/wave/vendor/k8s.io/api/core/v1".ConfigMapList) as type client.ListOptionFunc in argument to h.Client.List

I think my inNamespace change broke it? I can revert it, but on my machine inNamespace is getting passed to list as a *ListOptions not runtime.Object

You just need to swap the order of your arguments in the List calls and it should build.
Also try the dep thing -> https://github.com/pusher/wave/pull/38#issuecomment-479521529

@SteveKMin: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pull-wave-test-ginkgo
8945905d381903d392ccc2cc1e4c9561afe56aac
link
/test ginkgo

pull-wave-verify-manifests
700869275e57470818c6064316f972a4de8f0623
link
/verify manifests

Full PR test history

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

@SteveKMin: The following tests failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pull-wave-verify-manifests
700869275e57470818c6064316f972a4de8f0623
link
/verify manifests

pull-wave-test-ginkgo
700869275e57470818c6064316f972a4de8f0623
link
/test ginkgo

Full PR test history

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

Apologizes, I think we commented at the same time. The dep ensure --vendor-only worked.

Apologizes, I think we commented at the same time. The dep ensure --vendor-only worked.

Haha, yeah I realised, sorry if I came across a bit harsh there 😅
Also, woo, tests are passing, let me do one last check over this and then hopefully we can get it merged! Thanks for your patience and apologies for taking a while, we wanted to hold all PRs until we got our new CI set up and this repo was the second to be migrated

/build docker
Just gonna build an image and deploy to a real cluster for some quick testing

@SteveKMin: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

pull-wave-build-docker
01f02cc31c6817a44c29f8d937f5aa92cec3d030
link
/build docker

Full PR test history

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

Well that's not good... but also not your fault!  What is suppose to be contained in the .env file?

I'm working on fixing the azure dependency, I think this got broken in #40
The .env points to local tools allowing you to select which version of binaries are used in tests. There is a configure script that you can use to set it up.
If you have any missing dependencies then touch .env && make prepare-env-1.13 should be able to fix that for you 😄
The idea behind this is that you can also test against 1.11 and 1.12 but calling the relevant prepare-env-% target

Sounds good, thanks!


API: Export Daily Calibration Data

The emissions-api should follow the same approach as qa-certifications-api for the emissions module as far as the official vs workspace behavior within ECMPS.
It is recommended to complete the official endpoint first and then copy to the workspace since the logic is the same but just uses different references to the workspace entities, repos, etc.
Both of the endpoints should return the top level EmissionsDTO created in ticket #3902
Add export endpoint to the official emissions module controller
GET   /emissions-mgmt/emissions/export
Create and add export endpoint to the workspace emissions module controller
GET   /emissions-mgmt/workspace/emissions/export
Required parameters: monitorPlanId, year, and quarter
parameters are single select
Data being returned:
Emissions:
orisCode: number;
year: number;
quarter: number;
submissionComment?: string;
monitorPlanId: string;
reportingPeriodId: number;
lastUpdated?: Date;
updatedStatusFlg?: string;
needsEvalFlag?: string;
chkSessionId?: string;
submissionId?: number;
submissionAvailabilityCd?: string;
Daily Test Summary Data:
stackPipeId: string;
unitId: string;
date: Date;
hour: number;
minute: number;
monitoringSystemId?: string;
componentId?: string;
testTypeCode: string;
testResultCode: string;
spanScaleCode?: string;
id: string;
reportingPeriodId: number;
monitoringLocationId: string;
calcTestResultCode: string;
userId?: string;
addDate?: Date;
updateDate?: Date;
Daily Calibration Data:
onLineOffLineIndicator?: number;
upscaleGasCode?: string;
zeroInjectionDate?: Date;
zeroInjectionHour?: number;
zeroInjectionMinute?: number;
upscaleInjectionDate?: Date;
upscaleInjectionHour?: number;
upscaleInjectionMinute?: number;
zeroMeasuredValue?: number;
upscaleMeasuredValue?: number;
zeroAPSIndicator?: number;
upscaleAPSIndicator?: number;
zeroCalibrationError?: number;
upscaleCalibrationError?: number;
zeroReferenceValue?: number;
upscaleReferenceValue?: number;
upscaleGasTypeCode?: string;
cylinderIdentifier?: string;
vendorIdentifier?: string;
expirationDate?: Date;
injectionProtocolCode?: string;

Tested in Postman and verified that the data being returned includes all those listed in the ticket. Other data is also returned that is not explicitly listed above. The id under DailyTestSummaryData equals the dailyTestSumid for the corresponding dailyCalibrationData.

Monitor Plan Ids.xlsx


Sum of Integers

dont use input dilogs
use args

Input dialogs are removed. Please review. @vajrang-b

file name cannot be calculator,
Please change file name to addition


Godot freezes when transforming the the LIGHT vector from a view space to a world space

Godot version
Godot Engine v4.0.beta.custom_build.56563ef09 - https://godotengine.org
Vulkan API 1.1.211 - Using Vulkan Device #0: AMD - AMD Radeon Pro 560X
System information
MacOS, Radeon Pro 560X
Issue description
Pretty simple scenario. Follow the steps to reproduce it.
Note: This also happens on Windows, it's just that Godot never freezes and the shader material is ignored altogether.
Using the CLI, I get a bunch of errors, but I think it boils down to:
ERROR: Error compiling Fragment shader, variant #11 (
#define USE_LIGHTMAP
).
   at: _compile_variant (servers/rendering/renderer_rd/shader_rd.cpp:276)
ERROR: Failed parse:
WARNING: 0:74: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
         "precision mediump int; precision highp float;"
ERROR: 0:793: 'scene_data' : undeclared identifier
ERROR: 0:793: 'inv_view_matrix' : vector swizzle too long
ERROR: 0:793: 'inv_view_matrix' : unknown swizzle selection
ERROR: 0:793: 'inv_view_matrix' : unknown swizzle selection
ERROR: 0:793: 'inv_view_matrix' : unknown swizzle selection
ERROR: 0:793: 'inv_view_matrix' : unknown swizzle selection
ERROR: 0:793: '' : compilation terminated
ERROR: 7 compilation errors.  No code generated.

The same error happens in other fragment shaders, like :
ERROR: Error compiling Fragment shader, variant #13 (
#define USE_MULTIVIEW
).

I can post them all if needed.
Steps to reproduce

Create a clean 3d scene.
Create a mesh instance.
Assign a shader material to it.
Create a light shader for it and add vec4 light_world = INV_VIEW_MATRIX + vec4(LIGHT, 1.0); to it. (I think just using INV_VIEW_MATRIX in the light shader breaks)
Godot freezes.

Minimal reproduction project
No response

Could you please update your post to say what version of Godot you are using and what (if any) error messages are printed when Godot freezes (you may have to run Godot from the command line to get the error messages)?

I get similar symptoms with beta4 on Arch Linux as well.
It seems to occur after adding a reference to any of the built in matrices, not just INV_VIEW_MATRIX. It appears to be isolated to light().
Normally there is no freeze, but it does throw errors and ignore the material as described for Windows. However if I try to look at the debuggers error tab after it has thrown its 49 errors (it is consistently 49 logged there) for more than a few seconds, it will freeze the editor. It is shown to be fixed at 25-26% CPU usage at this point (dual core Intel i3 + hyper threading).
There does not appear to be a message thrown either to output or CLI when the editor freezes when viewing the already thrown shader compilation errors.
These errors are thrown to the output after referencing any built in matrix from light():
  servers/rendering/renderer_rd/forward_clustered/scene_shader_forward_clustered.cpp:178 - Condition "!shader_singleton->shader.version_is_valid(version)" is true.
  drivers/vulkan/rendering_device_vulkan.cpp:5834 - Condition "!shader" is true. Returning: RID()
  drivers/vulkan/rendering_device_vulkan.cpp:6319 - Condition "!us" is true.

When trying to run the shader in game, I get the same errors:
   at: _compile_variant (servers/rendering/renderer_rd/shader_rd.cpp:281)
ERROR: Error compiling Fragment shader, variant #23 (
#define USE_LIGHTMAP

#define USE_MULTIVIEW

#define MOTION_VECTORS
).
   at: _compile_variant (servers/rendering/renderer_rd/shader_rd.cpp:277)
ERROR: Failed parse:
WARNING: 0:84: '' : all default precisions are highp; use precision statements to quiet warning, e.g.:
         "precision mediump int; precision highp float;"
ERROR: 0:814: 'scene_data' : undeclared identifier
ERROR: 0:814: 'view_matrix' : vector swizzle too long
ERROR: 0:814: 'view_matrix' : unknown swizzle selection
ERROR: 0:814: 'view_matrix' : unknown swizzle selection
ERROR: 0:814: 'view_matrix' : unknown swizzle selection
ERROR: 0:814: 'view_matrix' : vector swizzle selection out of range
ERROR: 0:814: '' : compilation terminated
ERROR: 7 compilation errors.  No code generated.

I will also add this in case the missing functionality from Haswell Vulkan support is at play here, but where it matches symptoms from other symptoms I would think not.
Godot Engine v4.0.beta6.official.7f8ecffa5 - https://godotengine.org
MESA-INTEL: warning: Haswell Vulkan support is incomplete
Vulkan API 1.2.0 - Using Vulkan Device #0: Intel - Intel(R) HD Graphics 4400 (HSW GT2)

@tessarakkt thanks for the additional information! It looks there are 2 bugs here:

The INV_VIEW_MATRIX isn't properly exposed in light() shaders leading to a compile error (this is an easy fix)
The engine freezes whenever there is an internal Godot shader compile error (this will be much for difficult to fix and is a known issue)


Rename all files to use CamelCase

We followed the Gatsby convention of naming files in all lowercase. I don't like it. We should be really naming all files (at least the react component files in src/components) in CamelCase.
If you decide to work on this, remember to rename all imports as well.

closed with #62


[FancyZones Editor]: All custom layouts' dimensions changed on remote computer when opening editor over RDP.

Microsoft PowerToys version
0.61.1
Running as admin

[X] Yes

Area(s) with issue?
FancyZones Editor
Steps to reproduce
Computer A is local. Computer B is remote. I am connecting to computer B using RDP. The RDP session is a maximized window, and not full-screen. Both computers are attached to monitors with a native resolution of 3840x1600. Computer B is also attached to a second monitor with a resolution of 1200x1920.
All dimensions stored in %LOCALAPPDATA%\Microsoft\PowerToys\FancyZones\custom-layouts.json are changed when you open the FancyZones Editor on Computer B.
I have attached three versions of custom-layouts.json for reference:

custom-layouts - original.json.txt is the version of the file before opening the FancyZones Editor.
custom-layouts - expected.json.txt is an example of the expected file contents when adding a layout with the FancyZones Editor via RDP.
custom-layouts - actual.json.txt is the actual file after adding a layout with the FancyZones Editor via RDP.

The Portrait layout is used by the 1200x1920 monitor.
The Horizontal UltraWide 12:5 layout is used by the 3840x1600 monitor.
The RDP - Horizontal UltraWide 12:5 layout is used by the RDP connection window.
✔ Expected Behavior

Opening FancyZones Editor on Computer B does not automatically change explicit dimensions for all layouts relative to the current screen resolution in custom-layouts.json.
Adding a layout on Computer B over an RDP session does not automatically change explicit dimensions for existing layouts.
Editing a layout on Computer B over an RDP session does not automatically change explicit dimensions for existing layouts.

❌ Actual Behavior

Opening FancyZones Editor on Computer B automatically replaces dimensions for all layouts in custom-layouts.json.
Adding a layout on Computer B over an RDP session automatically changes dimensions for existing layouts.
Editing a layout on Computer B over an RDP session automatically changes dimensions for existing layouts.

Other Software
N/A
Suggestion

Provide two options for entering values for each zone's dimensions in FancyZones Editor: explicit (px) dimensions, and relative (%) dimensions. e.g. 1920px vs. 50%
Refresh Computer B's layouts' relative dimensions when:
a. an RDP connection is established; or
b. when a local user logs in/unlocks Computer B.

custom-layouts - original.json.txt
custom-layouts - expected.json.txt
custom-layouts - actual.json.txt

@SeraphimaZykova Is this something that can be fixed?

@SeraphimaZykova Is this something that can be fixed?

Yes, it's nice to have in the next release.


How to Create Your Own Command for Filetype

Can you point me to where you create your own command for a given file types? e.g., I have a filetype "*sqr" that needs to be run as U:\peoplesoft\sqr *.sqr {current file name} {current database name}

Have the same issue. For example, how can I ask script to run *.rb through ruby, but not rails command?

About @psylone issue, this is caused by Atom that identify all .rb files with the Ruby on Rails syntax. To fix, just set the syntax to Ruby only. Will work like a charm.

@brendaw thanks for this answer. Can I automate this behaviour or I should manually set Ruby syntax every time I open *.rb file?

@psylone, after I have set this behaviour on Atom and this turned to be default in running this file type.


Update tanzu-app-services-quickstart.md

Thanks for contributing to the Harness Developer Hub! Our code owners will review your submission.
Description

Please describe your changes: __________________________________
Jira/GitHub Issue numbers (if any): ______________________________
Preview links/images (Internal contributors only): __________________

PR lifecycle
We aim to merge PRs within one week or less, but delays happen sometimes.
If your PR is open longer than two weeks without any human activity, please tag a code owner in a comment.
PRs must meet these requirements to be merged:

[ ] Successful preview build.
[ ] Code owner review.
[ ] No merge conflicts.
[ ] Release notes/new features docs: Feature/version released to at least one prod environment.

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6639dc192788c4b5361f42dc--harness-developer.netlify.app

Please check the Execution Link of the Pipeline for the Website Draft URL. This is located in the Preview Step behind the Harness VPN and also is available in #hdh_alerts. E.g Website Draft URL: https://unique-id--harness-developer.netlify.app. Current Draft URL is: https://6639e02f822f94bb291cb787--harness-developer.netlify.app


RLC-520A Sensor is unavailable

Camera Reolink RLC-520A, Person Vehicle and Pets Sensor is unavailable all the time, only working motion sensor.

Closed until proper feedback and template is provided

ticket template

what exactly do you mean, or where can I find it.

when you open a new issue, it proposes you to fill in a template.


Readme update

Added notes about optimising/building the site (might be slightly wrong).
There's also a placeholder badge for travis for when https://travis-ci.org/jsoxford/jsoxford.github.com is running

Looks good @benfoxall. I'll get Travis up this evening. Once that's done the build will simplify to just npm install && npm deploy, so I'll update this then as well.


Text: Enable making only specific parts of text selectable

Use case
I am writing an IRC app in Flutter. Each message is formatted like:

myusername i truly enjoy eating cheese. camembert is
one of my favorites. [20:32:00]

I'd like to make it easier for users to select just the message part (making the username and date parts not selectable). I can't just have several Text and have one of them be selectable and the other disabled, like in the doc example https://api.flutter.dev/flutter/widgets/Text-class.html , because the different text elements have to be part of the same paragraph (so neither a row or column works, this really has to be part of the same Text.rich).
Proposal
The equivalent on the Web would be this:

https://codepen.io/f05221da/pen/ExJeded (just styling the Not Selectable spans with user-select: none).
A new field in TextStyle, or TextSpan, or a new InlineSpan subclass that would wrap a child InlineSpan and disable selection in its subtree would all work for me.
Right now I see no way of doing this, either through SelectableText (what I'm using at the moment) or Text.rich + SelectionArea.

Hi @delthas, thanks for reporting this issue. This behavior should be possible in a single Text.rich with WidgetSpans and using SelectionContainer.disabled see the sample code below.
import 'package:flutter/material.dart';

void main() => runApp(const SelectionContainerDisabledExampleApp());

class SelectionContainerDisabledExampleApp extends StatelessWidget {
  const SelectionContainerDisabledExampleApp({super.key});

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      home: Scaffold(
        appBar: AppBar(title: const Text('SelectionContainer.disabled Sample')),
        body: const Center(
          child: SelectionArea(
            child: Text.rich(
              TextSpan(
                children: <InlineSpan>[
                  WidgetSpan(
                    child: SelectionContainer.disabled(
                      child: Text('Not selectable'),
                    ),
                  ),
                  TextSpan(text: ' selectable'),
                  TextSpan(text: ' also selectable'),
                  WidgetSpan(
                    child: SelectionContainer.disabled(
                      child: Text('Not selectable'),
                    ),
                  ),
                ],
              ),
            ),
          ),
        ),
      ),
    );
  }
}

Very nice! I didn't know about WidgetSpan.
Tested your solution on my end, it's working like a charm. Thanks!


Unable to install Oracle Java 8 update 25 on windows 7

This is follow up of #182. Not sure if anyone has successfully installed Oracle Java on a windows (7) box using this cookbook but this is not working for me.
I was able to install Oracle Java on my windows box using windows cookbook. I blogged about it here -
http://pistonportal.wordpress.com/2014/06/18/managing-java-on-windows-using-chef/
However this is not working with latest version of Chef client for windows.
I upgraded chef client to 12.0.1 and java cookbook to 1.29.0 and created a json file for a role -
{
  	"name" : "jdk",
  	"description" : "JDK",

  	"json_class" : "Chef::Role",
	"chef_type" : "role",

  	"default_attributes" : {
		"java" : {
			"install_flavor" : "oracle",
			"java_home" : "D:\\Java",
			"jdk_version" : "8",
			"oracle" : {
				"accept_oracle_download_terms" : "true"
			}
		}
  	},

	"run_list": [
		"recipe[java]"
	]
}

After running chef-solo -c .chef\solo.rb -j .chef\node.json I am seeing following output -
Starting Chef Client, version 12.0.1
Compiling Cookbooks...
Converging 4 resources
Recipe: java::set_java_home
  * ruby_block[set-env-java-home] action run
    - execute the ruby block set-env-java-home
  * directory[/etc/profile.d] action create
    * Parent directory /etc does not exist, cannot create /etc/profile.dC:/opscode/chef/embedded/apps/chef/lib/chef/formatters/err
or_inspectors/resource_failure_inspector.rb:66: warning: invalid subexp call
C:/opscode/chef/embedded/apps/chef/lib/chef/formatters/error_inspectors/resource_failure_inspector.rb:66: warning: invalid Unicode
 Property \p

    ================================================================================
    Error executing action `create` on resource 'directory[/etc/profile.d]'
    ================================================================================

    Chef::Exceptions::EnclosingDirectoryDoesNotExist
    ------------------------------------------------
    Parent directory /etc does not exist, cannot create /etc/profile.d

    Resource Declaration:
    ---------------------
    # In devops-piston-windows\cookbooks\java\recipes\set_java_home.rb

      1: # Author:: Joshua Timberman<EMAIL_ADDRESS>      2: # Cookbook Name:: java

    Compiled Resource:
    ------------------
    # Declared in devops-piston-windows\cookbooks\java\recipes\set_java_home.rb:26:in `
from_file'

    directory("/etc/profile.d") do
      action :create
      retries 0
      retry_delay 2
      default_guard_interpreter :default
      path "/etc/profile.d"
      cookbook_name :java
      recipe_name "set_java_home"
      mode 493
    end

Running handlers:
[2014-12-12T21:10:10+05:30] ERROR: Running exception handlers
Running handlers complete
[2014-12-12T21:10:10+05:30] ERROR: Exception handlers complete
[2014-12-12T21:10:10+05:30] FATAL: Stacktrace dumped to devops-piston-windows/.chef/che
f-stacktrace.out
Chef Client failed. 1 resources updated in 12.354027 seconds
[2014-12-12T21:10:10+05:30] FATAL: Chef::Exceptions::EnclosingDirectoryDoesNotExist: directory[/etc/profile.d] (java::set_java_hom
e line 26) had an error: Chef::Exceptions::EnclosingDirectoryDoesNotExist: Parent directory /etc does not exist, cannot create /et
c/profile.d

It seems that cookbook is not detecting platform (windows, linux etc) correctly as evident from the directory path (/etc) its trying to locate. Also in my many years with Java I never heard about anything called windows Java. There are only two flavors (OpenJDK and Oracle) of Java which are mostly used by Java developers. IBM Java is shipped with IBM Java based products and I have never seen developers using IBM Java with non IBM products.
I believe you should introduced an extra parameter for specifying platform unless chef can detect it automatically. Also you may drop windows value from possible values for install_flavor attribute.

Your specific error is you are not providing a URL to pull java from, so it is failing. https://github.com/agileorbit-cookbooks/java/blob/master/recipes/windows.rb#L29. We can grab the file from Oracle for *nix because we have utilities like curl to send the right headers/etc. Remote file might work again now for windows, though haven't tried.
I have installed in on windows before, but to be honest the tooling at the time is quite bad, test kitchen, licensing windows, etc. It has gotten better but still not great. Due to that there are not tests for the windows platform. If you've made progress on that front, pull requests welcome.
Also you're using Chef 12. I haven't tested chef12 on any platforms, there was an issue with the windows resource conflicting with the windows cookbook in 12.0.0/1 I believe.
Sorry for replying 20 days later, I honestly missed your reply.

Actually I am a Java developer who is using chef to automate local environment setup. I don't have good understanding of chef at code level and ruby in particular.
I don't think I can debug these kind of problems myself without having good knowledge of ruby. Unfortunately I have other priorities and so can't work in this direction.
I have moved to powershell as using chef on my windows 7 box was becoming painful day by day. I may come back here once I start using chef on my linux desktop.
Finally thank you for your response. Wish you a very happy new year.

Glad you got some automation working for you. Chef does have some powershel integration as well if you're ever interested in the future - http://blogs.msdn.com/b/powershell/archive/2014/07/29/chef-with-powershell-dsc-now-public.aspx


VM snapshot invalid and could not be inferred from settings.

So after trying flutter run --release, I am getting a strange error on release mode:
E/flutter: [ERROR:flutter/runtime/dart_vm_data.cc(19)] VM snapshot invalid and could not be inferred from settings.
    [ERROR:flutter/runtime/dart_vm.cc(245)] Could not setup VM data to bootstrap the VM from.
    [ERROR:flutter/runtime/dart_vm_lifecycle.cc(89)] Could not create Dart VM instance.
A/flutter: [FATAL:flutter/shell/common/shell.cc(209)] Check failed: vm. Must be able to initialize the VM.
A/libc: Fatal signal 6 (SIGABRT), code -6 (SI_TKILL) in tid 16450 (iplylabs.spokes), pid 16450 (iplylabs.spokes)

I am not sure what this is, but our application works fine on debug mode. I've tried both stable and master channel to no avail. Google search yields almost nothing useful. So I have tried everything and hence posted here.
This all started when I move to comply with 64bit compliance in Playstore since I cannot go and upload our app anymore. It appears Flutter doesn't support x86 architecture, so I dropped the 'x86' requirement in ndk abiFilters. That worked fine, until I decided to test the release apk and make sure I won't embarrassed myself again, so I did flutter run --release and I am getting this error. Our app crashes just as soon as its starts dropping the error log I mentioned here.
I definitely need help as we are trying close our release schedule but this is blocking us.
Logs

flutter run --release

[✓] Flutter (Channel dev, v1.10.5, on Mac OS X 10.14.5 18F203, locale en-PH)
    • Flutter version 1.10.5 at /Users/jnaval/Workspace/FlutterWorkspace/flutter
    • Framework revision 3cf88fed6d (4 days ago), 2019-09-18 23:09:41 -0400
    • Engine revision 33ad6757e8
    • Dart version 2.6.0 (build 2.6.0-dev.0.0 cb80ea7ba9)

[✓] Android toolchain - develop for Android devices (Android SDK version 29.0.0)
    • Android SDK at /Users/jnaval/Library/Android/sdk
    • Android NDK location not configured (optional; useful for native profiling support)
    • Platform android-29, build-tools 29.0.0
    • Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)
    • All Android licenses accepted.

[✓] Xcode - develop for iOS and macOS (Xcode 10.2.1)
    • Xcode at /Applications/Xcode.app/Contents/Developer
    • Xcode 10.2.1, Build version 10E1001
    • CocoaPods version 1.7.2

[✓] Android Studio (version 3.4)
    • Android Studio at /Applications/Android Studio.app/Contents
    • Flutter plugin version 36.1.1
    • Dart plugin version 183.6270
    • Java version OpenJDK Runtime Environment (build 1.8.0_152-release-1343-b01)

[✓] Connected device (1 available)

Hello @jnaval04 !
Thank you for posting an issue.
Seems like a similar problem, as discussed here: #40770

Just to make this clear, are you trying to run the release on a real device or an emulator?
Release on emulator is not supported.

I will close this issue. Please upvote the linked one as it seems to be a double.

I met the same problem too. I fixed it as follows:

run flutter build ios --release in the terminal
open the Runner.xcworkspace in the Xcode
click Runner->Edit Scheme, then select the Release in Build Configuration

In a word, if you build the release flutter framework, then you must select release Build Configuration in the Xcode.

Same on android.

2021-02-03 16:25:27.671 1029-1029/pl.ler.app E/flutter: [ERROR:flutter/runtime/dart_vm_data.cc(18)] VM snapshot invalid and could not be inferred from settings.
2021-02-03 16:25:27.671 1029-1029/pl.ler.app E/flutter: [ERROR:flutter/runtime/dart_vm.cc(249)] Could not setup VM data to bootstrap the VM from.
2021-02-03 16:25:27.671 1029-1029/pl.ler.app E/flutter: [ERROR:flutter/runtime/dart_vm_lifecycle.cc(84)] Could not create Dart VM instance.
2021-02-03 16:25:27.671 1029-1029/pl.ler.app A/flutter: [FATAL:flutter/shell/common/shell.cc(265)] Check failed: vm. Must be able to initialize the VM.
2021-02-03 16:25:27.671 1029-1029/pl.ler.app A/libc: Fatal signal 6 (SIGABRT), code -1 (SI_QUEUE) in tid 1029 (pl.ler.app), pid 1029 (pl.ler.app)


Don't do the fancy merging of solid wedges and bond lines for triple …

…bonds.
Reference Issue
Fixes #7620
What does this implement/fix? Explain your changes.
The problem was due to the merging of bond lines incident on the wedge.  It turned out that it was related to #7036 and also manifested itself in that test code when RDDepict::preferCoordGen as true.  I have altered that test instead so there is no explicit test for the fix of #7620.  The fix is to not do the merging at all for triple bonds.  The #7036 fix just skipped it for co-linear bonds.  In the molecule in #7620, the bonds weren't exactly co-linear due to clutter in the layout so the underlying problem re-emerged.
Any other comments?
Many of the tests in catch_tests.cpp are affected by changing the global RDDepict::preferCoordGen, depending on the order the tests are run by the test runner.  There is probably something to be said for always putting it back as it was at the outset of each test.

Thanks @DavidACosgrove


only return the first result by using pyArango

I tried to process a test qury by using this:
queryResult = db.AQLQuery(aql, rawResults=False, batchSize=1, bindVars=bindVars)， aql is fine。
but in queryResult.response['result'] only contains one result, the same query returns 10 results(limit 10) in ArangoDB web interface.
Any idea how to fix it or clue？many thx。

var batchSize limits the size of result.

Hi @yzho0907 ,
database.py has fetch_list which has the functionality to return the complete list even though batchSize is less than the result size.
    def fetch_list(
            self, aql_query, bind_vars=None, batch_size=200,
            dont_raise_error_if_empty=False, logger=None,
            log_level=logging.DEBUG
    ):
        """Fetch list of elements by running a query and merging all the batches.
        Parameters
        ----------
        aql_query : str
            aql query string.
        bind_vars : dict, optional
            dictonary of bind variables (the default is None)
        batch_size : int, optional
            fetching batch size (the default is 200)
        dont_raise_error_if_empty: bool, optional
            do not raise error if the returned is empty. (the default is False)
        logger : Logger, optional
            logger to log the query and result.
            (the default is None means don't log)
        log_level: Logger.loglevel, optional
            level of the log. (the default is logging.DEBUG)
        Raises
        ------
        AQLFetchError
            When unable to fetch results
        Returns
        -------
        list(any)
            a list returned by query.
        """
        try:
            log = self.__get_logger(logger, log_level)
            if log is not None:
                log(aql_query)
            query = self.AQLQuery(
                aql_query, batchSize=batch_size, rawResults=True,
                bindVars=(bind_vars if bind_vars is not None else {})
            )
            batch_index = 0
            result = []
            while True:
                if len(query.response['result']) is 0:
                    break
                result.extend(query.response['result'])
                batch_index += 1
                query.nextBatch()
        except StopIteration:
            if log is not None:
                log(result)
            if len(result) is not 0:
                return result
        except:
            raise
        if batch_index == 0 and dont_raise_error_if_empty:
            return []
        raise AQLFetchError(
            "No results matched for query in fetching the batch index: %s." % (
                batch_index
            )

Regards,
Dilip Vamsi.


[QUAD] Bug: Avoid redefinition of variable name in burnin OTIO

Ported https://github.com/ynput/ayon-core/pull/885


Figure out the best interval to run at from resolutions

Instead of hardcoding a 10 second delay for the snapshot thread, figure out a good interval to run at by walking through the list of resolutions, and then use that.

For now, every resolution runs at it's own pace, so it's not hardcoded anymore.


TVDB refiner should discard result if year doesn't match

A small fix to discard the result if the year doesn't match
Missing first argument in logging call.

Coverage decreased (-0.04%) to 91.845% when pulling b1ff1bd4fbc7ad2929e7640405b7bcf4b6dcdd0a on ratoaq2:tvdb_year_mismatch into 5d6c19002d0526057e88255e7cbd93f921bdc68e on Diaoul:develop.

I have a pending fix locally

See d5b4a4f226ef9fc28dcb14f8ac2b515e39d92414


maven repo

Is there any possibility of having your binaries published to maven central?

Hi Dudley,
As you may have noticed, I kind of lost track on the project for various personal reasons the last few months. But I will take it up again now. And yes, I'm planning on getting it into Maven central, but it will probably take another few weeks or so until it's ready there.
May I ask if you already played around with it anyway? It's still pretty unfinished in various points. For example, I need to create lots of mapping files for the PC platform, or proper Android support etc. If you want to use it, what platform would that be for?
Kind regards,Marcel
  From: Dan Dudley<EMAIL_ADDRESS>
To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Sent: Wednesday, June 3, 2015 3:35 PM
Subject: [gamepad4j] maven repo (#1)
Is there any possibility of having your binaries published to maven central?—
Reply to this email directly or view it on GitHub.

I have cloned the project, but I have not been able to build the project yet, due to not having the OUYA stuff setup correctly.
My goal was to use it with libgdx engine and on the desktop as the platform.
I was mainly asking about the maven repo stuff to determine if you had the native libraries already compiled and uploaded to maven central. So I would not have to worry about get the project to build. :blush:

Hi Dan,
The native libaries should be pre-compiled within the project itself already. So when you perform a Maven build, the resulting Jar contains the native libaries. However, there is one issue you have to be aware of: There is no proper way to detect if a Java program is running on a 32 or 64 bit system. Which can be a problem if the code runs on a 64 bit system, but in a 32 bit JVM or vice versa, because it can lead to the wrong native libraries being extracted and used. In short, you have to make sure yourself that your game is running in a JVM that matches the OS (32 bit JVM on a 32 bit OS, 64 bit JVM on a 64 bit OS).
Because of this, making the native libraries available as Maven artifacts should not be necessary, at least for now. Because building them can be a chore anyway, and even require the posession of certain hardware, like a Mac computer.
I am also heavily interested in anyone using / testing the library. And it would be great to have a LIBGDX example right in the project. May I ask you what gamepads you use / want to support? As of now, every pad requires a mapping, and I want to provide pre-defined mappings for the most popular one like the Xbox 360 pad, but for other pads, the game would need to provide a mapping screen (like most PC games do).
Regards,Marcel
 From: Dan Dudley<EMAIL_ADDRESS>
To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Cc: Marcel Schoen<EMAIL_ADDRESS>Sent: Wednesday, June 3, 2015 8:48 PM
Subject: Re: [gamepad4j] maven repo (#1)
I have cloned the project, but I have not been able to build the project yet, due to not having the OUYA stuff setup correctly.My goal was to use it with libgdx engine and on the desktop as the platform.I was mainly asking about the maven repo stuff to determine if you had the native libraries already compiled and uploaded to maven central. So I would not have to worry about get the project to build.
—
Reply to this email directly or view it on GitHub.

Hi Dan,
BTW, thanks for your commits. I will have a look at them on Saturday, I hope, and merge them if I see no problems.
Also, if you want to be able to provide more directly, I could add you as a developer, I guess. Of course you should use custom branches for any changes you do, but maybe that would be easier than using patches. What do you think?
Kind regards,Marcel
  From: Dan Dudley<EMAIL_ADDRESS>
To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Cc: Marcel Schoen<EMAIL_ADDRESS>Sent: Wednesday, June 3, 2015 8:48 PM
Subject: Re: [gamepad4j] maven repo (#1)
I have cloned the project, but I have not been able to build the project yet, due to not having the OUYA stuff setup correctly.My goal was to use it with libgdx engine and on the desktop as the platform.I was mainly asking about the maven repo stuff to determine if you had the native libraries already compiled and uploaded to maven central. So I would not have to worry about get the project to build.
—
Reply to this email directly or view it on GitHub.

In regards to the 32 vs 64 bit loading per the installed JVM. Do you think it would make sense, plus reliably go off the system property java.vm.name ?
At least for the Oracle JVM I am seeing this as my output: Java HotSpot(TM) 64-Bit Server VM
This is the current controller I got easily setup on my mac: http://www.amazon.com/gp/product/B002B9XB0E
I also have a PS3 and OUYA, but I have not dove into those getting setup on my machine.
In regards to making changes to your project, I am cool with performing pull requests so you get a chance to review and comment on my changes especially if I do a poor job of explaining why I did something. :smile:

One of the things that drew me to your project was the possibility of supporting events when a controller connects/disconnects.  This is currently a limitation of the LibGDX's current implementation which is dependent on OIS (http://en.wikipedia.org/wiki/Object_Oriented_Input_System).

Hi Dan,
The problem is that you may detect the architecture of the JVM, but not of the underlying system. And for some reasons, I ran into problems in some cases when trying to use 32-bit libraries on a 64-bit platform. I think it's a JNI issue, which requires you to have the proper libraries matching the OS architecture or something like that. I have to refresh my memory on that later today.
So, if you run the game in a 32 bit VM, and the code detects the 32 bit VM and extracts the 32 bit native libraries, it may cause problems on some platforms if the underlying OS is really running in 64 bit. I think maybe the most reliable way to deal with this is to have a native installer for your game detect the actual OS architecture, and install the correct corresponding JVM. And then maybe set a configuration property somewhere which can be read and used to initialize the gamepad API accordingly.
Again, I'll look into it today or tomorrow and get back to you. In any case, I will be happy to support you since it also helps me to get my API finished.
About your gamepad: That would require another mapping, I assume. So far I'm using a tool included in the native gamepad API which I wrapped to detect all the values for the buttons, sticks etc., and create the mapping for it. I'll check it out again and give you some instructions on how to create the mapping for your pad. One problem with it is, that unfortunately the mappings are different for the same gamepad on different platforms. So the upper facebutton, for example, has a different numeric value on Windows than on Linux or on the Mac. Which is very annoying, because it means a mapping has to be created for each combination of pad and platform; but it's ultimately a problem of the USB driver level, and nothing we can change.
Amazingly enough, for example, the analog trigger buttons of the Xbox 360 pad are both coupled to the same analog axis on Windows. If you press one, the value turns negative, if you press the other, the value turns positive. Press both, and they cancel each other out, as if you pressed none at all.  On Linux, on the other hand, each trigger gets a separate axis, so they can be properly handled in the game code. Strange...
But you shouldn't worry about that, since it's an issue that we can't really change anyway. I have started a tool in my project to test mappings, and I want to extend it to allow to more easily create mappings for new pads. Over time, maybe I could build a collection of mappings for the most popular pads.
Kind regards,Marcel
From: Dan Dudley<EMAIL_ADDRESS>To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Cc: Marcel Schoen<EMAIL_ADDRESS>Sent: Thursday, June 4, 2015 2:23 PM
Subject: Re: [gamepad4j] maven repo (#1)
In regards to the 32 vs 64 bit loading per the installed JVM. Do you think it would make sense, plus reliably go off the system property java.vm.name ?At least for the Oracle JVM I am seeing this as my output: Java HotSpot(TM) 64-Bit Server VM This is the current controller I got easily setup on my mac: http://www.amazon.com/gp/product/B002B9XB0EI also have a PS3 and OUYA, but I have not dove into those getting setup on my machine.In regards to making changes to your project, I am cool with performing pull requests so you get a chance to review and comment on my changes especially if I do a poor job of explaining why I did something.
—
Reply to this email directly or view it on GitHub.

Hi Dan,
Yeah, I think I really implemented that in my Java wrapper. Because the underlying native API does not support it. But it's really a mandatory functionality IMO; you can hardly ask the user to restart the game each time a pad gets connected or disconnected.
What I would REALLY love to include in my project at some point is an example LIBGDX project, with a simple pseudo game where you can just move a sprite around on the screen or something, but with a simple menu structure which includes a gamepad mapping screen. Which would allow the player to quickly define the mapping for any gamepad himself.
In order to do this, I will have to extend my API a little and allow to set an external directory with mapping files, in addition to the mappings contained in the API itself. That's not implemented yet, but should be easy to do.
Kind regards,Marcel
  From: Dan Dudley<EMAIL_ADDRESS>
To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Cc: Marcel Schoen<EMAIL_ADDRESS>Sent: Thursday, June 4, 2015 2:35 PM
Subject: Re: [gamepad4j] maven repo (#1)
One of the things that drew me to your project was the possibility of supporting events when a controller connects/disconnects. This is currently a limitation of the LibGDX's current implementation which is dependent on OIS (http://en.wikipedia.org/wiki/Object_Oriented_Input_System).
—
Reply to this email directly or view it on GitHub.

Currently if I attempt to use the MappingTool I am seeing the following output on my mac:
[Gamepad4J] [DEBUG] Create class 'android.os.Build'
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Using temporary directory: /var/folders/vt/c117c1ls7_x90pmr9txc9gch0000gq/T/nativelib1014774667019816933
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): exists: true
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Is directory: true
[Gamepad4J] [DEBUG] Create class 'android.os.Build'
[Gamepad4J] [DEBUG] Create class 'android.os.Build'
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Extracting library resource: /native/macos/64bit/libgamepad4j.jnilib
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Extracting to local file: /private/var/folders/vt/c117c1ls7_x90pmr9txc9gch0000gq/T/nativelib1014774667019816933/libgamepad4j.jnilib
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Library successfully extracted.
[Gamepad4J] [DEBUG] GamepadJniWrapper.loadLibrary(): Trying to load library: /private/var/folders/vt/c117c1ls7_x90pmr9txc9gch0000gq/T/nativelib1014774667019816933/libgamepad4j.jnilib
[Gamepad4J] [DEBUG] GamepadJniWrapper.loadLibrary(): Gamepad4j native library successfully loaded.
[Gamepad4J] [DEBUG] GamepadJniWrapper.initialize(): initialize JNI wrapper...

Then just hangs...
When I force exit the app then I see this output...
Initialize native Gamepad API.
CHECKPOINT-1
CHECKPOINT-2
CHECKPOINT-3a

Process finished with exit code 130

Any tips or tricks?

My system info
java version "1.8.0_11"
Java(TM) SE Runtime Environment (build 1.8.0_11-b12)
Java HotSpot(TM) 64-Bit Server VM (build 25.11-b03, mixed mode)

Mac OSX 10.10.3

Hi Dan,
I'll have to look at it at home (I'm at work at the office now). I may have to work late today, so it will probably be tomorrow or Saturday until I can get you some useful feedback. I have a Mac Mini for development purposes, and as far as I remember it worked there. Maybe the problem is simply caused by the lack of a proper mapping file.
However, please note that apparently some pads may require special drivers on the Mac. The Xbox 360 pad, despite being very popular among PC gamers, seems to not be properly supported by the MacOS out of the box. I had to install a special USB driver, and that driver even crashed my Mac competely which I unplugged the gamepad. So maybe you want to google around if your pad may require / use additional USB drivers.
Kind regards,Marcel
  From: Dan Dudley<EMAIL_ADDRESS>
To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Cc: Marcel Schoen<EMAIL_ADDRESS>Sent: Thursday, June 4, 2015 4:03 PM
Subject: Re: [gamepad4j] maven repo (#1)
Currently if I attempt to use the MappingTool I am seeing the following output on my mac:[Gamepad4J] [DEBUG] Create class 'android.os.Build'
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Using temporary directory: /var/folders/vt/c117c1ls7_x90pmr9txc9gch0000gq/T/nativelib1014774667019816933
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): exists: true
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Is directory: true
[Gamepad4J] [DEBUG] Create class 'android.os.Build'
[Gamepad4J] [DEBUG] Create class 'android.os.Build'
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Extracting library resource: /native/macos/64bit/libgamepad4j.jnilib
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Extracting to local file: /private/var/folders/vt/c117c1ls7_x90pmr9txc9gch0000gq/T/nativelib1014774667019816933/libgamepad4j.jnilib
[Gamepad4J] [DEBUG] GamepadJniWrapper.unpackLibrary(): Library successfully extracted.
[Gamepad4J] [DEBUG] GamepadJniWrapper.loadLibrary(): Trying to load library: /private/var/folders/vt/c117c1ls7_x90pmr9txc9gch0000gq/T/nativelib1014774667019816933/libgamepad4j.jnilib
[Gamepad4J] [DEBUG] GamepadJniWrapper.loadLibrary(): Gamepad4j native library successfully loaded.
[Gamepad4J] [DEBUG] GamepadJniWrapper.initialize(): initialize JNI wrapper...
Then just hangs...When I force exit the app then I see this output...Initialize native Gamepad API.
CHECKPOINT-1
CHECKPOINT-2
CHECKPOINT-3a
Process finished with exit code 130
Any tips or tricks?
—
Reply to this email directly or view it on GitHub.

So using the MappingTool on my windows machine I am able to get further, but I still have problems as you mentioned.
I am trying to figure out the mapping stuff now.

Hi Dan
That Mapping tool is still nowhere near being usable. What you need to do right now is to use the "testharness" of the underlying native API. Up until now, I hadn't included that in the project, but I have now just commited the testharness binaries into the "src/test"-folder of the desktop module.
Run the corresponding testharness binary for your platform, and then you will see both the hex-values of the USB entries (vendor and product IDs), and the numbers for the buttons and axes. Then you have to create the mapping file in the project, in the resources folder:
gamepad5j-desktop/src/main/resources/mappings//-gamepad4j-mapping.properties
Just create the file for your platform, and then copy it to the other platforms. It can then later be adapted there if necessary. Sometimes the mapping is the same for a given pad on all platforms, sometimes it isn't. Check out the existing mapping files for examples. I have a controller similar to yours (also NES-style) and just created a mapping for it (although it's not yet really tested). The has been checked in as well:
/gamepad4j-desktop/src/main/resources/mappings/linux/0x79E-0x11E-gamepad4j-mapping.properties
I have started working on all that stuff again, but it's a slow start. I have also merged your changes, they look good to me.
Kind regards,Marcel
 From: Dan Dudley<EMAIL_ADDRESS>
To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Cc: Marcel Schoen<EMAIL_ADDRESS>Sent: Friday, June 5, 2015 1:52 AM
Subject: Re: [gamepad4j] maven repo (#1)
So using the MappingTool on my windows machine I am able to get further, but I still have problems as you mentioned.I am trying to figure out the mapping stuff now.
—
Reply to this email directly or view it on GitHub.

Assume the test-harness is the one from here: https://github.com/ThemsAllTook/libstem_gamepad ?
The test-harness app works on my mac, but I am still trying to determine why the MappingTool hangs on my mac. :confused:
I was attempting to compile the code from the repo listed above to see that would resolve the hanging issue, but since I am a n00b at C I am having very little luck.

Hi Dan,
For me, the tool didn't really hang. It just opens an empty window, because it doesn't properly detect the pad. When I fixed the mapping (see my latest commit), I saw the detection working when I plugged in the pad. Since I don't have your pad, I can't provide a proper mapping myself, but my guess is that the mapping I added is probably quite close to what you need (since it's a very similar NES-style pad).
The MacOS binary included in my project should run out of the box on your Mac. The idea is that you should not have to compile binaries, but that is always a bit tricky, and I don't have a lot of experience with native developmend AND MacOS either, so it may not be perfect yet.
In my latest commit, I also activated some debug output when the mapping tool starts, so you should see something in the standard output console. Maybe you can tell me what you see there?
Kind regards,Marcel
  From: Dan Dudley<EMAIL_ADDRESS>
To: marcelschoen/gamepad4j<EMAIL_ADDRESS>Cc: Marcel Schoen<EMAIL_ADDRESS>Sent: Wednesday, June 10, 2015 3:05 AM
Subject: Re: [gamepad4j] maven repo (#1)
Assume the test-harness is the one from here: https://github.com/ThemsAllTook/libstem_gamepad ?The test-harness app works on my mac, but I am still trying to determine why the MappingTool hangs on my mac.  I was attempting to compile the code from the repo listed above to see that would resolve the hanging issue, but since I am a n00b at C I am having very little luck.
—
Reply to this email directly or view it on GitHub.

Hi Marcel.
Is this project still alive and kicking? 2018?
Thanks,
Paul


Clean up decoded message in chapter 1, challenge 1, page 2

There are some scrambled characters at the start of the decoded message. Can we remove them? Or are they supposed to be there?

We discussed this in this weeks call, The unintelligible characters are from the OP_Codes preceding the hex data inscribed in the genesis block. @satsie created a figma file detailing what it might look like if we were to dive into removing those characters properly. As a note Jonas believes that we should keep the characters at this early stage and not worry about OP_Codes until a much later chapter.

Closing this issue as we are going to keep the scrambled characters for now.


agate: 3.1.0 -> 3.2.2

Motivation for this change
Bump agate to 3.2.2
I'm working on a module but there's no reason for that to hold back these updates
Things done

Built on platform(s)

[X] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[X] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[X] Tested, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[X] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[X] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 157162 run on x86_64-linux 1

1 package built:

agate


DNS-01

Happy New Year Thomas!
I hope you and your family are still weathering this seemingly never-ending pandemic.
Please let me know if you are amenable to questions about using ACME-PS for "DNS-01" challenges. Thanks!

Hey George,
we're well and probably uninfected until now. I hope the third shot will keep it that way, but we'll see.
I hope you're also healthy and well :)
Go ahead, I'd say.

Thanks Thomas.
I'm looking at "function Initialize-Challenge". I see this:
        "dns-01" {
            $txtRecordName = "_acme-challenge.$($Challenge.Identifier.Value)";
            $content = $AccountKey.GetKeyAuthorizationDigest($Challenge.Token);

            $Challenge.Data =  [PSCustomObject]@{
                "Type" = "dns-01";
                "Token" = $Challenge.Token;
                "TxtRecordName" = $txtRecordName;
                "Content" = $content;
            }
        }

Should I be able to pass $challenge.Data.TxtRecordName and $challenge.Data.Content "as is" to a typical DNS record writing API and have Let's Encrypt find all that it needs to validate the challenge?

Essentially, yes. I'm a little confused, why I added "Token" and "Content"

I'm also not sure about "Token" in the returned challenge data (other than it could be useful), but I think "Content" is critical.
To my understanding, for "http-01" challenges, "Content" goes into the text file that Let's Encrypt looks for on the given domain's web server. It contains "{Token}.{AccountKey}". So it's very important.
Likewise, for "dns-01" challenges, "Content" (I think) goes into a DNS TXT record for the given domain and it should be a SHA256 (ie. "digest") version of  "{Token}.{AccountKey}" (so it's close, but not quite the same as the "http-01" content ).
Does that make sense Thomas? Or am I all wet?
Anyway, I just wanted to be sure that I don't need to manipulate  $challenge.Data.TxtRecordName or $challenge.Data.Content before sending them on to the DNS server for "dns-01" challenges.

If you need to modify it, we should fix it in the module :)
Am 13.01.2022 20:50 schrieb George Schiro @.***>:
I'm also not sure about "Token" in the returned challenge data (other than it could be useful), but I think "Content" is critical.
To my understanding, for "http-01" challenges, "Content" goes into the text file that Let's Encrypt looks for on the given domain's web server. It contains "{Token}.{AccountKey}". So it's very important.
Likewise, for "dns-01" challenges, "Content" (I think) goes into a DNS TXT record for the given domain and it should be a SHA256 (ie. "digest") version of "{Token}.{AccountKey}" (so it's close, but not quite the same as the "http-01" content ).
Does that make sense Thomas? Or am I all wet?
Anyway, I just wanted to be sure that I don't need to manipulate $challenge.Data.TxtRecordName or $challenge.Data.Content before sending them on to the DNS server for "dns-01" challenges.
—
Reply to this email directly, view it on GitHubhttps://github.com/PKISharp/ACME-PS/issues/127#issuecomment-1012456318, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ACNPDCEGHX5CSOUKBAD4F2LUV4UIXANCNFSM5LXNTZPA.
Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
You are receiving this because you commented.Message ID: @.***>

That would be our expectation as well Thomas. To be clear, these questions are preliminary - in anticipation of our first "dns-01" test. I am not suggesting there is anything wrong with the "dns-01" $challenge.Data.TxtRecordName or $challenge.Data.Content values. We haven't seen them yet. I just want to be sure our understanding is complete before we do our first "dns-01" test.
So this is what we plan to do.
Here's a recent example of a successful "http-01" challenge (1st of two SAN values):
Import-Module "ACME-PS"

$SanList = ("MyDomain.com","www.MyDomain.com")
$order   = Find-ACMEOrder        "AcmeState" -Identifiers $SanList
$authZ   = Get-ACMEAuthorization "AcmeState" -Order $order

[int[]] $SanMap = $null; foreach ($SAN in $SanList) { for ($i=0; $i -lt $authZ.Length; $i++)
{ if ( $authZ[$i].Identifier.value -eq $SAN ) { $SanMap += $i }}}

$challenge = Get-ACMEChallenge "AcmeState" $authZ[$SanMap[0]] "http-01"

$challengePath = "C:\inetpub\wwwroot\MyDomain.com\.well-known\acme-challenge"
$fileName = $challengePath + "/" + $challenge.Data.Filename
if(-not (Test-Path $challengePath)) { New-Item -Path $challengePath -ItemType Directory }
Set-Content -Path $fileName -Value $challenge.Data.Content -NoNewLine

$challenge | Complete-ACMEChallenge "AcmeState"

Here's what we think a successful "dns-01" challenge should look like (1st of two SAN values):
Import-Module "ACME-PS"

$SanList = ("MyDomain.com","www.MyDomain.com")
$order   = Find-ACMEOrder        "AcmeState" -Identifiers $SanList
$authZ   = Get-ACMEAuthorization "AcmeState" -Order $order

[int[]] $SanMap = $null; foreach ($SAN in $SanList) { for ($i=0; $i -lt $authZ.Length; $i++)
{ if ( $authZ[$i].Identifier.value -eq $SAN ) { $SanMap += $i }}}

$challenge = Get-ACMEChallenge "AcmeState" $authZ[$SanMap[0]] "dns-01"

    # Here we transmit challenge details to the DNS server.

    UpdateDNS -host $challenge.Data.TxtRecordName -record $challenge.Data.Content

    # The above will wait until the new TXT record has been fully propagated.

$challenge | Complete-ACMEChallenge "AcmeState"

Does that look right to you Thomas? Are we missing anything?

I prove read https://datatracker.ietf.org/doc/html/rfc8555#section-8.4 and am pretty positive, that your code should work :)

It worked on the first try Thomas! Thank you!

Nice :)
Should anything be removed to make the usage more obvious?

No, I think it's fine the way it is. That said, we still need to fully integrate the new approach into our code base (the test was manual) while still supporting "http-01". I will let you know if something comes up. Thanks again Thomas.


Chown service directories recursively. Fixes #140

Coverage remained the same at 100.0% when pulling be41efb4b58adabefb6e8e2e44c7d75e336e5a04 on thedebugger:chown_service_dirs into 60e3072a3db35657747a608c83b2209e0101f23b on johnbellone:master.


Expired provision profiles are not visible from spaceship

New Issue Checklist

[x] Updated fastlane to the latest version
[x] I read the Contribution Guidelines
[x] I read docs.fastlane.tools
[x] I searched for existing GitHub issues

Issue Description

I have ruby script that is using Spaceship to generate and download distribution provision profiles.
#Login into spaceship and select correct teamID
Spaceship::Portal.login(username, password)
Spaceship::Portal.client.team_id = team_id

#Check if AppID exists
app = Spaceship::Portal.app.find(bundle_id)

if app == nil

    #If AppID doesn't exists create it
    app = Spaceship::Portal.app.create!(bundle_id: bundle_id, name: application_name)

else
    #AppID exists
end

#Check if provision profile exists
profile = Spaceship::Portal.provisioning_profile.app_store.all.find { |p| p.name == "#{bundle_id} AppStore" }

if profile != nil
    #If provision profile exists delete it
    #This will reset 1 year expiration and select all new devices for AdHoc builds
    profile.delete!
end

# Find AppStore distribution certificate
certificate = Spaceship::Portal.certificate.production.all.find { |c| "#{c.expires}" == "#{certificate_expires}" }

if certificate != nil

    #Create new distribution provision profile
    profile = Spaceship::Portal.provisioning_profile.app_store.create!(bundle_id: bundle_id, certificate: certificate)

else

    puts "Correct certificate could not be found!"

end

#Check if distribution provision profile was created
if profile != nil

    #download profile
    File.write("#{root}/Resources/ProvisionProfiles/#{application_name}.mobileprovision", profile.download)
    puts "Profile downloaded!"

else

    puts "Profile cannot be created!"

end

Unfortunately, when provision certificates are expired, command
profile = Spaceship::Portal.provisioning_profile.app_store.all.find { |p| p.name == "#{bundle_id} AppStore" }
will set profile to nil, even when this profile exists on developer.apple.com,
Then script tries to create provision profile with this name and it will fail with error:

{"responseId"=>"a5e88fa7-95b1-4e94-ad58-7895313dbb11", "resultCode"=>35, "resultString"=>"There were errors in the data supplied. Please correct and re-submit.", "userString"=>"Multiple profiles found with the name 'com..** AppStore'.  Please remove the duplicate profiles and try again.", "creationTimestamp"=>"2019-03-26T15:26:51Z", "protocolVersion"=>"QH65B2", "userLocale"=>"en_US", "requestUrl"=>"https://developer.apple.com/services-account/QH65B2/account/ios/profile/createProvisioningProfile.action", "httpCode"=>200, "validationMessages"=>[{"validationKey"=>"provisioningProfileName", "validationUserMessage"=>"Multiple profiles found with the name 'com..** AppStore'.  Please remove the duplicate profiles and try again."}]} (Spaceship::UnexpectedResponse)

When using sample code from url https://github.com/fastlane/fastlane/blob/master/spaceship/docs/DeveloperPortal.md -> same result (broken_profiles are empty)
# Select all 'Invalid' or 'Expired' provisioning profiles
broken_profiles = Spaceship::Portal.provisioning_profile.all.find_all do |profile|
  # the below could be replaced with `!profile.valid? || !profile.certificate_valid?`, which takes longer but also verifies the code signing identity
  (profile.status == "Invalid" or profile.status == "Expired")
end

# Iterate over all broken profiles and repair them
broken_profiles.each do |profile|
  profile.repair! # yes, that's all you need to repair a profile
end

Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

✅ fastlane environment ✅
Stack

Key
Value

OS
10.14

Ruby
2.6.0

Bundler?
false

Git
git version 2.17.2 (Apple Git-113)

Installation Source
~/.rvm/rubies/ruby-2.6.0/bin/fastlane

Host
Mac OS X 10.14 (18A391)

Ruby Lib Dir
~/.rvm/rubies/ruby-2.6.0/lib

OpenSSL Version
OpenSSL 1.1.1a  20 Nov 2018

Is contained
false

Is homebrew
false

Is installed via Fabric.app
false

Xcode Path
/Applications/Xcode.app/Contents/Developer/

Xcode Version
10.1

System Locale

Variable
Value

LANG
en_US.UTF-8
✅

LC_ALL

LANGUAGE

fastlane files:
No Fastfile found
No Appfile found
fastlane gems

Gem
Version
Update-Status

fastlane
2.119.0
✅ Up-To-Date

Loaded fastlane plugins:
No plugins Loaded
Loaded gems

Gem
Version

did_you_mean
1.3.0

executable-hooks
1.6.0

bundler-unload
1.0.2

rubygems-bundler
1.4.5

slack-notifier
2.3.2

atomos
0.1.3

CFPropertyList
3.0.0

claide
1.0.2

colored2
3.1.2

nanaimo
0.2.6

xcodeproj
1.8.1

rouge
2.0.7

xcpretty
0.3.0

terminal-notifier
2.0.0

unicode-display_width
1.4.1

terminal-table
1.8.0

plist
3.5.0

public_suffix
2.0.5

addressable
2.6.0

multipart-post
2.0.0

word_wrap
1.0.0

tty-screen
0.6.5

tty-cursor
0.6.0

tty-spinner
0.9.0

babosa
1.0.2

colored
1.2

highline
1.7.10

commander-fastlane
4.4.6

excon
0.62.0

faraday
0.15.4

unf_ext
<IP_ADDRESS>

unf
0.1.4

domain_name
0.5.20180417

http-cookie
1.0.3

faraday-cookie_jar
0.0.6

fastimage
2.1.5

gh_inspector
1.1.3

json
2.1.0

mini_magick
4.5.1

multi_json
1.13.1

multi_xml
0.6.0

rubyzip
1.2.2

security
0.1.3

xcpretty-travis-formatter
1.0.0

dotenv
2.6.0

bundler
1.17.2

faraday_middleware
0.13.1

naturally
2.2.0

simctl
1.6.5

uber
0.1.0

declarative
0.0.10

declarative-option
0.1.0

representable
3.0.4

retriable
3.1.2

mime-types-data
3.2018.0812

mime-types
3.2.2

jwt
2.1.0

signet
0.11.0

memoist
0.16.0

os
1.0.0

googleauth
0.6.7

httpclient
2.8.3

google-api-client
0.23.9

google-cloud-env
1.0.5

google-cloud-core
1.3.0

digest-crc
0.4.1

google-cloud-storage
1.16.0

emoji_regex
1.0.1

forwardable
1.2.0

logger
1.3.0

ipaddr
1.2.2

openssl
2.1.2

ostruct
0.1.0

date
1.0.0

fileutils
1.1.0

rexml
3.1.9

psych
3.1.0

mutex_m
0.1.0

generated on: 2019-03-26

Have you looked at the code of Spaceship::Portal.provisioning_profile.app_store.all.find why it doesn't include expired profiles?

I have the same issue!
When its certificate is expired (and the provisioning profile expires too), the command:
Spaceship::Portal.provisioning_profile.app_store.all
doesn't provide the profile, even if it exists on developer.apple.com
So, how can we remove the expired profile with Spaceship?
Thank you.

Have you looked at the code of Spaceship::Portal.provisioning_profile.app_store.all why it doesn't include expired profiles?

I'm having the same issue as well, except when I run the following:
Spaceship.provisioning_profile.find_by_bundle_id(bundle_id: "#{$app_id}").map!(&:delete!)
It works if the profile is not expired, but does not work if the profile is expired.


Support for signet

We would like to run our staging environment on signet and are running into ExpectedLndWithKnownChain  coming from this library.
I'm trying to figure out what is the correct patch to apply don't quite understand this line.
The lmcli return from getinfo contains:
    "chains": [
        {
            "chain": "bitcoin",
            "network": "signet"
        }
    ],

Which doesn't really match with the reverseBytes stuff that is being used here.
Any help is appreciated!

networks are defined here
https://github.com/alexbosworth/ln-sync/blob/master/chain/networks.json
add the block hash identifier for the network, this is for the bolts https://github.com/lightning/bolts/blob/master/00-introduction.md#chain_hash


Bad link (404) in 4b: Product Evaluation Guide

@matthewclaudel can you please suggest a replacement?

Fixed the link!


Fix project parsing to handle missing groupid

build issues are because of https://github.com/Azure/azure-sdk-for-java/pull/20065.


[Feature Request]: Sync Obsidian bookmarks

What feature are you suggesting?
Implement similarly to @zaiziw's updates
What remote cloud services are you using, or suggesting adding the feature to?
No response
Ensure no sensitive information

[X] I ensure that no sensitive information is submitted in the issue.

Implemented in 1f15939118fc.