Implement Admin Email Domain Blocks API

Mastodon's Admin Email Domain Blocks API allows an admin to disallow certain email domains from signing up. The goal of this task is to implement the following endpoints of this API in BigBone:

List all blocked email domains
Get a single blocked email domain
Block an email domain from signups
Delete an email domain block

The Admin Email Domain Blocks API as it is documented by Mastodon can be found here:
https://docs.joinmastodon.org/methods/admin/email_domain_blocks/
Tip: A lot of other endpoints similar to this have already been implemented. In order to get an idea how to implement this, I suggest that you study the code upfront. Start with one of the *Methods.kt files.
Please consult the following documents to make sure your contribution meets our projects criteria:

Code of Conduct
Code Contribution Guidelines

It probably makes sense to wait for #333 to be reviewed and merged. I have made some decisions there that will likely influence the style of this issue here as well, such as:

admin package
sealed class approach for required parameters
Key enum class with apiName override


Improve typings

change-type: patch

@thgreasi is align a conflicting prop?

@LucianBuzzo I was talking about value

@thgreasi In this instance, we're not defining some new meaning for 'value'  so I think its ok. In the future with the advent of a full TS project, these types should be generated organically and these issue will be a thing of the past.


[Asyncio]Pass-Through Example

Hello, I am trying to apply "Asyncio" to Sounddevice code so I can boost up the speed of my code.
I wonder if there is any "Asyncio-applied" sample code which passes input directly to output
just like "Input to Output Pass-Through" sample from the Example Site.
(https://python-sounddevice.readthedocs.io/en/0.4.1/examples.html#input-to-output-pass-through)
Please let me know if there is.
Thanks

[...] so I can boost up the speed of my code

Is this the only reason for you to use asyncio?
If there are no other reasons, you should probably do yourself the favor and not use asyncio.
Nothing against asyncio, it's just sometimes not the right tool for the job.
It's probably better to use a callback stream (which automatically runs in a separate thread, not making your other code slower) and communicate with the main thread via queues (which I guess would also classify as "asynchronous").
asyncio won't make this any faster, but probably more complicated (unless you are using asyncio already for different reasons, than it's OK).

I wonder if there is any "Asyncio-applied" sample code which passes input directly to output
just like "Input to Output Pass-Through" sample from the Example Site.

There is:
https://github.com/spatialaudio/python-sounddevice/blob/d353fbf6c751a7a91169c614df8f905f2c55821c/examples/asyncio_generators.py#L73-L83
However, the implementation is not as simple as the callback example and it actually uses a callback function internally.
And it is actually slower in the sense that it adds latency, but it is probably also slower in the sense that it uses more CPU!

Ah, I see what you meant from your last comment.
I guess I also need to try a callback stream which you just suggested.
Thanks for giving me a sample code though = ]


lxd/init: Verify if ZFS pool exists

The ZFS pool is only verified at a later stage as soon LXD tries to create it.
This causes some frustration as we need to go through  the whole lxd init process only to find out a mistake was made at a later stage.
This PR implements a function to verify if a ZFS pool exists and a check on the lxd init interactive process that calls that same function when a user defines the pool setting to have a zfs backend.

This pull request didn't trigger Jenkins as its author isn't in the whitelist.
An organization member must perform one of the following:

To have this branch tested by Jenkins, use the "ok to test" command.
To have a one time test done, use the "test this please" command.

Those commands are simple Github comments of the format: "jenkins: COMMAND"

We don't have that code in lxd init because it's meant to be run as a non-root user and a non-root user cannot run the ZFS tools.

Hmm, actually, looks like they can? well, then :)

Ah no, my memory is in fact correct, at least for the environment we have in the snap:
ubuntu@vm10:~$ LD_LIBRARY_PATH=/snap/lxd/current/zfs-0.7/lib/ /snap/lxd/current/zfs-0.7/bin/zpool list
Permission denied the ZFS utilities must be run as root.

Permissions on /dev/zfs will be 0600 in the snap environment, whereas some version of the packages ship with 0666 which explains the difference I noticed.


Apply BestieTemplate

Hi @CasBex, I've applied the template and also used the opportunity to test updating to 0.9.0 (if you squash the PR you won't see the unnecessary commits).
What I did:

Applied Bestie 0.8.0
Manual intervene to fix README.md (some empty spaces) and to remove CI.yml
Update to Bestie 0.9.0

cc. @gdalle if you want to see the result

Apart from the two small things it seems ok to me.

I've removed the CITATION.cff and the citation mention. Let me know how you want to handle the badges

The lint is running a link checker which fails because of these links:

[404] https://casbex.github.io/FixMe.jl/dev | Failed: Network error: Not Found
[404] https://github.com/CasBex/FixMe.jl/actions/workflows/Test.yml/badge.svg?branch=main | Failed: Network error: Not Found
[404] https://github.com/CasBex/FixMe.jl/workflows/Test/badge.svg | Failed: Network error: Not Found
[404] https://casbex.github.io/FixMe.jl/stable | Failed: Network error: Not Found

Some of these will depend on building the docs: https://abelsiqueira.com/BestieTemplate.jl/stable/10-full-guide/#Documentation


Distribute with EasyClangComplete

Hey guys! First of all, thanks so much for this! Using your tool on a daily basis and it makes my life enormously easier!
This is not an issue, just a question. I am maintaining a clang-based completion plugin for Sublime Text 3: EasyClangComplete and your tool looks like a perfect match for it. For now I am able to generate compilation database when using CMake out of the box while there is still a need for a manual step in case of bazel.
So the question is: would you be fine if I distribute your tool alongside my plugin in some way? Currently, I would probably just clone your project whenever my plugin starts.
Would love to hear your thoughts on this! Thanks again!

I apologize for my prolonged absence.
Sure thing. You are more than welcome to copy and distribute the source code or any derivatives. The license allows it. Just be sure to keep the license headers in your copy of the source code.
Thank you for your interest and support.

Just a heads up. Your script is now integrated as a command into EasyClangComplete :wink:
Thanks so much for your efforts!


Add option to disable content encapsulation in response body

This feature add a config option (dataEncapsulation) to enable/disable content encapsulation in the response body.
The option work like this:

true (default value) => data encapsulation is enabled (identical to actual behavior)
sample body :

{
  "data": {
    "id": "1",
    "name": "Windstorm"
  }
}

false=> data encapsulation is disabled
sample body:

{
  "id": "1",
  "name": "Windstorm"
}

This closes issue #112

I signed it!

Hmm.  I was resistant at first. But

it is something that many people have stumbled on over the last few years
I'm tired of defending the encapsulation; if you want to hang yourself, go ahead
you've shown that adding this option is easy.

I will have to close this PR because I'm in the middle of adding HttpClient support andI can't take your PR because too much is changing.
But I think I will offer it in that forthcoming PR #130

And as of v0.5, "no encapsulation" is the default :-)


[9.x] Allow factories to recycle multiple models of a given type

This PR is an enhancement to recently added feature, Eloquent Factory recycling (#44107) and adds support for recycling multiple models of the same type.
Model recycling is a great feature, making factories much cleaner and easier to write. While recycling a single model has its valid use cases, it doesn't really help if we want to create multiple models (->count(10)) with our factory - all of them will be related to that same model.
This PR allows developers to provide their own, already created pool of models (collections), so they could be reused in all nested relations. For each relation, factory class picks a random model from a provided collection of models, instead of depending on a single one.
Sample usage:
    $users = User::all();
    $companies = Company::all();

    Posts::factory()
        ->recycle($users)
        ->recycle($companies)
        ->count(10)
        ->create();

For example, we often see that the User model relates to everything - as an author of some content, comments, reactions, performed operations etc. In more complex applications, that nesting can go deep. In that scenario, much easier would be to seed a number of users once and then reuse them in all nested relations (so we don't create a user only to be the author of a single comment). It's then closer to a real-life case, where we could have a set number of users in the system and all the actions performed and content created is within that group.
This approach leads to cleaner factories, less database pollution and overall higher seeding quality - created models will be much more related to each other.
New recycle method still allows for providing a single model so the PR is backward-compatible, without any breaking changes.

Revert all spacing changes so I can read the diff please.

Please mark as ready for review when that is done.

Sure! Sorry about that


Error on pip install git+https://github.com/fastai/fastai_dev on Kaggle

It just happened since last night. When trying to "pip install git+https://github.com/fastai/fastai_dev" on Kaggle(Try RSNA competition), the ERROR appears. (It works fine before yesterday). Thanks so much for the help!
Error Messages:
Running command git clone -q https://github.com/fastai/fastai_dev /tmp/pip-req-build-8uxrwu7_
ERROR: Could not find a version that satisfies the requirement fastprogress>=0.1.22 (from fastai2==2.0.1) (from versions: 0.1.5, 0.1.6, 0.1.7, 0.1.8, 0.1.9, 0.1.10, 0.1.12, 0.1.13, 0.1.15, 0.1.16, 0.1.17, 0.1.18, 0.1.19, 0.1.20, 0.1.21)
ERROR: No matching distribution found for fastprogress>=0.1.22 (from fastai2==2.0.1)

The release wasn't properly uploaded on conda and pip, it should be fixed now.

Thanks so much!


#10 fix

Fix for some changes in #10
General:
Changed the way how scrolling of native elements work. We add a scroll EventListener to the document. And then on scroll we check if the scrolling target contains video-elements with the data-stream-id property. If so then we send the position(relative to the viewport, changed in the getPosition) of the video-element with the stream-id to the native side to update its position.
By doing this JavaScript implementation, we are now capable of scrolling multiple native video-views, independently within their own HTML parent. Which wasn't possible before using native scrollviews.

There are also some changed that are platform specific.
Android:

Removed the observable scroll view. It caused the webview to become as high as its content, instead of as high as the viewport.

iOS:

Added the cordova-plugin-wkwebview-engine as its main WebViewEngine, because the default from Cordova is the UIWebView, and it stops javascript-execution while you are scrolling. This dependency is only needed until Cordova implements the wkwebview self.
We also added a check if the cordova-plugin-statusbar is loaded. Because that plugin changes the origin position of the webview. Normally the top position is 0 and its below the statusbar. But that means that the native views should have 20 pixels more. Otherwise they will be on top of the statusbar. But when the StatusBarPlugin is loaded, the top position of the webView is on top of the statusbar(still 0). So a small ifstatement is made to check if we should add a small offset or not.

Those are in general the major/important changes.

@msach22 This one is in WIP

@msach22 Removed WIP, should all be fixed now.

@wolfenrain @mark-veenstra have you noticed any performance issues or lagging with this scrolling solution? AFAIK, the scroll event is only available after the scroll has completed, is this the same in this case?

@msach22 only on iOS we experienced the issue that the scroll event was available after releasing the scroll. But this is solved in the new WKWebView of iOS. Therefore we added the dependency on WKWebView, which is also the future WebView for Cordova etc.
On Android it worked without any other addition.

@msach22 that is correct. This PR contains the new WKWebView, because the original UIWebView is blocking javascript when scrolling. So you only get the scroll event after you are done scrolling. That has been fixed in the new WKWebView
Also put the PR back to WIP because there are a few more things I need to be sure about before we merge.

@msach22 I removed the WIP, ready for merge.

@msach22 Can we get this one out? Maybe in a 3.4.0?

@wolfenrain @mark-veenstra Yes, let's aim to get to this out in the next feature release. I'll review this PR in the upcoming week.

@msach22 According to this blog post by Cordova, the WKWebview is gonna become the default in new iOS platform version(5). Considering that its related to this issue, because its added as a dependency, I thought it would be useful to reference it here.

Also asked a question about this plugin and the new bridge within the<EMAIL_ADDRESS>here.


KAFKA-17349: Make sure all IT have "quorum" input arguments

WIP, leverage CI to find out which IT doesn't add quorum
Committer Checklist (excluded from commit message)

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation (including upgrade notes)

@frankvicky could you please fix conflicts?


Initial overhead

Hello !
First, thanks for this crate and your contribution to the Rust community. This is amazingly simple to use, even for me who has not ever touch OpenCL.
I tried running a simple benchmark program and I found the result unsatisfying.
I suppose this example is so trivial, the initial cost of initializing the opencl environment each time is heavy and this is slowing down the entire function call.
The program is (based on your example) :
#![feature(test)]

extern crate em;
extern crate ocl;

extern crate test;

use em::emu;

emu! {
    function logistic(x [f32]) {
        x[..] = 1 / (1 + pow(E, -x[..]));
    }

    pub fn logistic(x: &mut Vec<f32>);
}

pub fn logistic_cpu(x: &mut Vec<f32>) {
    let mut result = Vec::new();

    for value in x {
        result.push(1.0 / (1.0 + 2.71828182846_f32.powf(-*value)))
    }
}

#[cfg(test)]
mod tests {
    use super::*;
    use test::Bencher;

    #[bench]
    fn logistic_opencl(b: &mut Bencher) {
        let mut test_data = vec![0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16];
        b.iter(|| logistic(&mut test_data));
        println!("OpenCL : {:?}", test_data);
    }

    #[bench]
    fn logistic_non_opencl(c: &mut Bencher) {
        let mut test_data = vec![0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16, 81.20, -16.0, 0.9, 4.9, 4.8, 3.9, 1.3, 4.8, 9.13, -0.16];
        c.iter(|| logistic_cpu(&mut test_data));
        println!("non OpenCL : {:?}", test_data);
    }
}

And the result is :
test tests::logistic_non_opencl ... bench:         561 ns/iter (+/- 66)
test tests::logistic_opencl     ... bench:  72,081,552 ns/iter (+/- 4,863,815)

My initial intention was to write a recurrent network as efficiently as possible. Do you think using Emu is a good choice ?

Same problem for me. I noticed the transfert between CPU and GPU as mentionned in the Readme.md.

Just to let y'all know, Emu 0.3.0 makes reading, writing, and launching explicit operations.
That doesn't eliminate the overhead, of course (and this O(N) overhead will exist and is not specific to Emu (which is why I'm closing this), though if you are doing computationally intensive stuff every iteration or have an algorithm that is O(N^2) or greater, this overhead will generally become negligible with more data). What this does mean is that the overhead is explicit in the code. Generally speaking, more code = more overhead.
For example, it should be more or less obvious that the following is introducing unnecessary overhead.
#[gpu_use(add, multiply)]
fn main() {
    let mut data = vec![0.0; 1000];

    gpu_do!(load(data));
    data = add(data, 0.5);
    gpu_do!(read(data));
    gpu_do!(load(data));
    data = multiply(data, 2.0);
    gpu_do!(read(data));

    println!("{:?}", data);
}

Instead, you can be more efficient and just do-
#[gpu_use(add, multiply)]
fn main() {
    let mut data = vec![0.0; 1000];

    gpu_do!(load(data));
    data = add(data, 0.5);
    data = multiply(data, 2.0);
    gpu_do!(read(data));

    println!("{:?}", data);
}

I really like this - performance should feel ergonomic.


Moving to MkDocs from Sphinx

Introduction
I would like to propose that we move our docs building system to MkDocs.
Here is why.
While Sphinx is very powerful and contains lots of features, it is also very complex. In addition, the tooling surrounding Sphinx is such that we might forget an incantation somewhere and end up with a situation, not unlike our last docs push, where the examples disappeared.
By contrast, MkDocs is much simpler and yet also easily extensible with substantially less complexity baked into it. With MkDocs, we primarily write docs in Markdown, which is (1) much more straightforward than RST syntax and (2) much better known than RST syntax.
I have hesitated to change our current docs because of the potential need to go deep into Sphinx's internals to make things happen. I've kind of lost track of the number of times I have thought of modifying something about the docs build system only to back off because I wasn't sure I'd have the confidence to finish the change in a timely fashion.
Additionally, as witnessed by our recent v0.21.1 release, I think I missed some special incantation that was not set correctly in the docs build pipeline, thus missing out on all of the example Jupyter notebooks. By contrast, mkdocs convention demands that everything related to configuration goes into a single config file, mkdocs.yml, which serves as a single source of truth for the mkdocs build or mkdocs serve commands.
How would the change proceed?
Here, I'll outline how I think we would proceed and what parts of the MkDocs ecosystem we will use.
Our docs consist of:

Written prose
API reference
Executable Jupyter notebooks

Written prose maps to raw Markdown files built by the base MkDocs system. Therefore, the original RST files are relatively simple to convert, albeit a bit manual - we'd have to go in and manually change the RST docs into Markdown.
The API reference gets built by an extension called mkdocstrings. Most of what we already have, in the form of Sphinx-style docstrings, is parse-able with mkdocstrings. We would change the examples to use triple-backtick syntax rather than Sphinx docs' code block syntax.
Executable Jupyter notebooks get handled by an extension called mknotebooks. I've made a PR into there that enables support for the one-click opening of a rendered Jupyter notebook inside Binder.
For themes, we could use mkdocs-material or we could go with other themes listed on the Wiki.
I propose that we use a separate branch (named mkdocs) where we target all docs changes. We can take advantage of PR previews to make sure that all of the docs are building correctly. Anyone interested can help chip in with PRs to the mkdocs branch made from the mkdocs branch. We should also add automation to merge all changes from dev into mkdocs.
What would we gain and lose by moving to MkDocs?
The most significant gains that I see are simplicity and ease of maintenance.
We configure MkDocs by a single configuration file - mkdocs.yml, which has extensive documentation itself. Because MkDocs targets Markdown as its primary markup syntax, it's a lot easier to write and modify docs. For long-term maintenance, it makes things much easier as well. By switching to MkDocs, I think we will find ourselves catching issues with docs builds much fewer times than we otherwise would with Sphinx.
I've found the MkDocs ecosystem to be much shallower and hence easier to debug. Furthermore, ergonomically, it has what I think is a Goldilock's-level of sophistication via extensions and ease-of-use. Thus, in explaining to newcomers, new maintainers, and sprint participants about where to look for what configuration, things are much more easily done with mkdocs than with Sphinx.
Intersphinx is something that I think we use. Its functionality is available in mkdocstrings, but that functionality isn't yet documented properly. (See this PR for more details.) At first, I thought this would be the most significant thing we'd miss out on, but now that I've done some cursory internet searches, I'm happy that there's a way to preserve intersphinx functionality.
This last point applies equally to Sphinx and MkDocs, though I feel much more confident in getting it right with MkDocs than with Sphinx: We can configure our dev containers to fire up the docs server inside the container automagically!
How do we proceed?
Let's take a vote after we have a bit of discussion here. Let's use this post as the source of truth for our votes: :heart: for let's go with MkDocs, :tada: for let's go with Sphinx. You can vote for both if you're ambivalent.
For discussion, please chime in below as well.
I will also limit the discussion to only us maintainers, as I don't think it's relevant for others.

I usually support not fixing something that is not broken. But I also am not comfortable with Sphinx and I always find myself hoping that I'm following someone else's template correctly. I support switching to MkDocs if more maintainers will be more comfortable with it, and we can attract more contributors with the change. Given this proposal, I would opt for switching if it makes sense, but I did not feel strongly enough to bring up this issue on my own. If everyone wants to continue with Sphinx, that works for me.


fatal error errors occurs when running Java Samples

Changed the node ip from <IP_ADDRESS> to <IP_ADDRESS>.Able to run successfully with the fresh setup.

@vsudip , Please remove the container and restart it. It tested in ubuntu VM. Make sure firewall is opened for all the required port. Once u start, try connecting via telnet

Thanks it worked!


Add another layer to boards

Subsections maybe? This has been requested a couple of times

Dupe of #709.


Feature/#457 support remote module templates

♻ Changes:

Augment querying SKR cluster for custom ModuleTemplates
Prevent deletion of custom ModuleTemplates

⚠ Note:

getTemplateWithoutIndexing() function was needed because we cannot pass ListOptions to the runtimeClient.List() function due to lack of indexing (See Reference). We do not have access to the manager of on the runtime cluster hence we cannot add a FieldIndexer. So fetching all ModuleTemplates and filtering them manually is the only way, AFAIK.

Closes #457

TODO: Implement Env Test

/retest

/retest

/retest

Since currently we introducing new API upgrade, to simplify implementation, migrate this code to next version.

I merged the implementation to https://github.com/kyma-project/lifecycle-manager/pull/553 @LeelaChacha


Conviva JS SDK Upgrade to 4.x (4.0.15)

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you all sign our Contributor License Agreement before we can accept your contribution.1 out of 4 committers have signed the CLA.:white_check_mark: turbidwater:x: mckennajones:x: gregrealeyes:x: gkolbYou have signed the CLA already but the status is still pending? Let us recheck it.

@turbidwater @bknittle The CI is failing, looks like several unit tests are failing now. Could you please check this?

@gkolb could you please sign the Contributor License Agreement? Thanks!

Hi @dweinber The unit test issue should now be resolved and Greg has now signed the CLA with both accounts.

@dweinber I went through all the comments and made fixes and explained reasonings where necessary. Let me know if you have any questions

Thanks, @gregrealeyes. One point is still open, I think we had a small misunderstanding there (see my new comment in the thread). I marked the remaining points as resolved.
Unfortunately, the last changes made the build fail again. Please always make sure the build always succeeds before requesting (re-)reviews.

@turbidwater could you please update the PR title and description to be more meaningful? Thanks!

@turbidwater could you please update the PR title and description to be more meaningful? Thanks!

Looks like package-lock.json isn't in sync with the package.json: https://travis-ci.org/github/bitmovin/bitmovin-player-analytics-conviva/builds/753989259#L209-L221 @turbidwater. Likely due to the player version update.

Looks like package-lock.json isn't in sync with the package.json: https://travis-ci.org/github/bitmovin/bitmovin-player-analytics-conviva/builds/753989259#L209-L221 @turbidwater. Likely due to the player version update.

Thanks! We are ready for you guys merge it when you are ready.

Thanks! We are ready for you guys merge it when you are ready.


KeyError: u'wrapper_class'

Since upgrade to 1.5.1 I have been getting a KeyError: u'wrapper_class' under two circumstance.

If I delete a form field without also deleting the corresponding layout field.  For instance:

class MyForm(forms.From):
    my_field = forms.CharField()

    helper = FormHelper()
    helper.form_tag = False
    helper.layout = Layout(
        Field('my_field'),
    )

    def __init__(self, *args, **kwargs):
        if some_condition:
            self.fields.pop('my_field')
            # Must add the following line or you will get KeyError: u'wrapper_class'
            self.helper.layout.pop(0)

It can be a pain to find the exact field to pop in a more complex form (sometimes will look like this self.helper.layout[1][2][1].pop(2).  When changing the form layout it is easy to forget that you need to update the indexes of the layout field that you are deleting.  This is not a deal breaker but is a regression form 1.4.x.   At least there is a way to work around it :)

The second circumstance is more sinister and is proving extremely difficult to pin down.   If you have a multiple crispy forms on the same page:

<form>
    {% crispy form1 %}
    {% crispy form2 %}
</form>

You will occasionally and seemingly randomly get KeyError: u'wrapper_class' in production (have not seen it while running the local dev server).  These are regular forms created in the view's context - no fields have been manually deleted as in the above example.  Restarting the gunicorn and memcached seems to temporarily "fix" the problem.  I know this will be difficult to track down given my inability to consistently reproduce the issue but I was hoping somebody else may have come across this.
Stack trace:
KeyError: u'wrapper_class'
  File "django/core/handlers/base.py", line 164, in get_response
    response = response.render()
  File "django/template/response.py", line 158, in render
    self.content = self.rendered_content
  File "django/template/response.py", line 135, in rendered_content
    content = template.render(context, self._request)
  File "django/template/backends/django.py", line 74, in render
    return self.template.render(context)
  File "django/template/base.py", line 209, in render
    return self._render(context)
  File "newrelic/api/function_trace.py", line 98, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "django/template/base.py", line 917, in render_node
    return node.render(context)
  File "django/template/loader_tags.py", line 135, in render
    return compiled_parent._render(context)
  File "newrelic/api/function_trace.py", line 98, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "django/template/base.py", line 917, in render_node
    return node.render(context)
  File "django/template/loader_tags.py", line 135, in render
    return compiled_parent._render(context)
  File "newrelic/api/function_trace.py", line 98, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "django/template/base.py", line 917, in render_node
    return node.render(context)
  File "django/template/loader_tags.py", line 135, in render
    return compiled_parent._render(context)
  File "newrelic/api/function_trace.py", line 98, in dynamic_wrapper
    return wrapped(*args, **kwargs)
  File "django/template/base.py", line 201, in _render
    return self.nodelist.render(context)
  File "django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "django/template/base.py", line 917, in render_node
    return node.render(context)
  File "django/template/loader_tags.py", line 135, in render
    return compiled_parent._render(context)
  File "django/template/base.py", line 917, in render_node
    return node.render(context)
  File "django/template/defaulttags.py", line 329, in render
    return nodelist.render(context)
.. frames 26 until 41 were omitted and not available ..
  File "django/template/base.py", line 903, in render
    bit = self.render_node(node, context)
  File "django/template/base.py", line 917, in render_node
    return node.render(context)
  File "crispy_forms/templatetags/crispy_forms_tags.py", line 212, in render
    c = self.get_render(context)
  File "crispy_forms/templatetags/crispy_forms_tags.py", line 132, in get_render
    actual_form.form_html = helper.render_layout(actual_form, node_context, template_pack=self.template_pack)
  File "crispy_forms/helper.py", line 293, in render_layout
    template_pack=template_pack
  File "crispy_forms/layout.py", line 138, in render
    return self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
  File "crispy_forms/layout.py", line 102, in get_rendered_fields
    for field in self.fields
  File "crispy_forms/layout.py", line 102, in <genexpr>
    for field in self.fields
  File "crispy_forms/utils.py", line 72, in render_field
    form, form_style, context, template_pack=template_pack,
  File "crispy_forms/layout.py", line 357, in render
    fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
  File "crispy_forms/layout.py", line 102, in get_rendered_fields
    for field in self.fields
  File "crispy_forms/layout.py", line 102, in <genexpr>
    for field in self.fields
  File "crispy_forms/utils.py", line 72, in render_field
    form, form_style, context, template_pack=template_pack,
  File "crispy_forms/layout.py", line 357, in render
    fields = self.get_rendered_fields(form, form_style, context, template_pack, **kwargs)
  File "crispy_forms/layout.py", line 102, in get_rendered_fields
    for field in self.fields
  File "crispy_forms/layout.py", line 102, in <genexpr>
    for field in self.fields
  File "crispy_forms/utils.py", line 72, in render_field
    form, form_style, context, template_pack=template_pack,
  File "crispy_forms/layout.py", line 442, in render
    **kwargs
  File "crispy_forms/layout.py", line 102, in get_rendered_fields
    for field in self.fields
  File "crispy_forms/layout.py", line 102, in <genexpr>
    for field in self.fields
  File "crispy_forms/utils.py", line 159, in render_field
    return html
  File "crispy_forms/base.py", line 22, in __exit__
    del self.context[key]
  File "django/template/context.py", line 75, in __delitem__
    del self.dicts[-1][key]

As a workaround perhaps we could check if the key exists before deleting it?

HI @samkuehn — Thanks for the detailed report. Sorry for your pain!
Some questions:

Could you try using git bisect to find the commit where this snuck in?
Is it only ever the wrapper_class Key that's missing?

You will occasionally and seemingly randomly...

Argh! :-)

It looks like the bug was introduced here: cad080ec41f870734e3e01c58f7a13d156db7b1a. I was only able to test it under scenario 1 above (deleting form field w/out also deleting layout field).  Hopefully fixing this will fix scenario 2 as well.
Yes it is only ever the wrapper_class

Good work thanks.

As a workaround perhaps we could check if the key exists before deleting it?

Looks like that's what used to happen. I'm curious about the Python 3.3 compatibility remark there.
OK. For mega bonus points (and a merge + release first thing) do you fancy opening a PR resolving this? (I would say just revert — but I'm guessing something will fail when you do that...)

Fixed in 1.5.2 (available on PyPI now)


TestFoundation: TestDateInterval: Add tests for functionality

Adds some functionality tests for the DateInterval interface.

This is my first pull request to this project, so let me know if there are any issues!

@swift-ci please test

@swift-ci please test

@swift-ci test linux

@swift-ci test linux

Pardon my Git ignorance, I didn't realize that pushing to the forked master would automatically add
it to the pull request (I guess the lesson there is to submit a pull request via a branch).
@swift-ci test linux

@swift-ci test

@swift-ci please test

@please test

@swift-ci test

@swift-ci test

Is there something wrong?

@swift-ci test


Command-Z does not correctly undo Command-L folder navigation

Folder A has 4 unread
Folder B has 1 unread
Folder C has 1 unread

Folder A selected with mouse and unread articles displayed
Command-L to mark Folder A as read and move to Folder B
Folder B selected automatically and unread articles displayed
Command-L to mark Folder B as read and move to Folder C
Folder C selected automatically and unread articles displayed
Command-Z to Undo
Folder A is restored to unread (expected Folder B to be restored to unread).

May have something to do with having only one unread article in Folder B (that is automatically marked as read) before pressing Command-L in step 4?
NNW: Version 5.0.3 (2618)
macOS: 10.15.2 (19C57)

Your theory is correct. Selecting an article, which marks it as read, is not undoable.
If it were undoable, your undo stack would be (in general) full of mark-read-by-article-selection activities.


[ISSUE-55] Enables setting export rules for database volumes

Mounts the PSO ConfigMap into the db-deployer, enabling it to use the configmap settings in database volumes.
Also fixes a formatting error from the last PR.
Closes #55.

@sdodsley by mounting this config map (which is populated from values.yaml), PSO will be able to read it when it provisions FlashBlade volumes. If the provision call doesn't have any explicit export rules set (which it won't, because db-deployer doesn't pass any in), it will default to what is in the config map (which is what the user set in values.yaml).

(it is worth noting that the actual default default, if the user doesn't set anything, will still be *(rw,no_root_squash))


Media keys not triggering

Used hotkey(),press(), and keyDown() all on the nexttrack, prevtrack, playpause, and sleep keys. None of them work.
System specs:
Windows 10 Home 64-bit
Python 2.7.11 32-bit
PyAutoGUI (0.9.36) installed via PIP
Script executed in PyCharm Community 2016.3.2

Also tried running the script in an admin terminal but no dice.

It only appears to be those keys

I'm having the same issue. Running on Ubuntu 18.04. Any solutions? Thanks.

Also facing this on Manjaro for media keys, any solutions?


feat: add search bar to WindowHierarchy

Filter game objects in the hierarchy, only draw those which's names contain the string written by the user.
Filter is only set up when the search bar text changes, so we don't iterate the whole hierarchy each frame. When filter is set up, hierarchy is only traversed once (cost should be N).
Use unordered_set, which according to the internet, is the most efficient container to use for searches.

ideally the GameObject itself should be showing up with its parent open.

Done, was pretty easy. What I don't like now is that it leaves a lot of nodes open, and for the life of me I haven't been able to make them all collapse :/

Done, was pretty easy. What I don't like now is that it leaves a lot of nodes open, and for the life of me I haven't been able to make them all collapse :/

Don't worry, I still prefer this way so the node you searched is showed directly in the hierarchy eventhough it leaves a lot of nodes open, thanks for the update!


Hi, miss

Thank you for your interest to me.
https://discord.gg/dm4q7JEw
https://join.skype.com/invite/vzg2ZVxId1QE
You can get to me via these channels, I think we can be good friend each other.

Thank you for your interest to me. https://discord.gg/dm4q7JEw https://join.skype.com/invite/vzg2ZVxId1QE
You can get to me via these channels, I think we can be good friend each other.

Excuse me who are you?

Thank you for your interest to me. https://discord.gg/dm4q7JEw https://join.skype.com/invite/vzg2ZVxId1QE
You can get to me via these channels, I think we can be good friend each other.

Where are you from?

I am Horea Bota from Moldova, I just wanted to get a friendship with you after I see you in JavaScript community organization.

Thank you.
I am from united states.
Where are you from?

I mean are you living in moldova now?

https://discord.gg/dm4q7JEw

I am Horea Bota from Moldova, I just wanted to get a friendship with you after I see you in JavaScript community organization.

Thank you


Add schema type metadata

This PR includes the following:

[x] Add schema type metadata
[ ] Add full schema type metadata examples
[ ] Describe base document for schema validation
[x] Minor editorial fixes
[x] Moved type metadata retrieval section for readability purposes
[ ] IANA considerations for schema, schema_uri and schema_uri#integrity

See preview here:
https://drafts.oauth.net/oauth-sd-jwt-vc/awoie/fix-229-schema/draft-ietf-oauth-sd-jwt-vc.html
Fixes https://github.com/oauth-wg/oauth-sd-jwt-vc/issues/229

@danielfett @bc-pi Should we restrict schema to specific JSON schema versions?

@danielfett @bc-pi Should we restrict schema to specific JSON schema versions?

I'm honestly not familiar with the intricacies of JSON schema. Is/are there a stable standard version(s) that can be referenced from a prospective RFC? The current content of the PR seems to have some normative statements but no reference. I'd think that's kind of a prerequisite to discussing version restrictions/requirements.
A few minutes of looking around and I found this https://json-schema.org/specification-links which at least suggests it's a bit messy.
Any idea if/how other actual standards documents utilize JSON schema?

@danielfett @bc-pi Do you think it makes sense to describe the base document for schema type metadata validation? For example, a verifier receiving an SD-JWT VC with Disclosures won't be able to validate the JSON schema against it before transforming the entire SD-JWT VC with Disclosures to expanded JSON document first.

Well, statements like "MUST validate the Verifiable Credential against the provided JSON Schema document." probably need some more clarity about what part of the VC and at what stage of transformation/processing.

A few minutes of looking around and I found this https://json-schema.org/specification-links which at least suggests it's a bit messy.
Any idea if/how other actual standards documents utilize JSON schema?

I suggest that we proceed with merging this PR nonetheless and have a separate discussion on JSON Schema versions in an issue.

Update: We don't need IANA registration for schema, schema_uri and schema_uri#integrity since type metadata is not a JWT.

@bc-pi @danielfett Can you please check the examples I added.

@bc-pi @danielfett Can you please check the examples I added.

I believe we will need to distinguish between presentation and issuance schemas -> see #237

@bc-pi @danielfett Can you please check the examples I added.

I don't really speak JSON schema but it looks ok

left a couple of editorial remarks, but generally this looks good to me, thank you!

Thanks a lot. I updated the PR. Will merge later on the editor's call.


Babashka: Unable to resolve classname: java.security.KeyFactory (java.security.Key)

I'd like to parse some plan JSON into the structures that Jarl provides -- without actually evaluating it. However, it fails:
bb.edn
{:deps {boregby/jarl
         {:git/url "https://github.com/borgeby/jarl.git"
          :deps/root "core"
          :sha "f20a80c599e0a482900ea3889a0b2fa3eab39681"}}}

test
#!/usr/bin/env -S bb
(require '[babashka.process :refer [process shell]]
		 '[jarl.parser :as parser])

(defn plan []
  (-> (apply shell {:out :string} "irdump" "-f" *command-line-args*)
      :out))

(let [plan-out (plan)
	  p0 (parser/parse-json plan-out)]
  (prn p0))

I don't know if that script would actually work, because it fails early:
% ./test foo.rego x/p
----- Error --------------------------------------------------------------------
Type:     java.lang.Exception
Message:  Unable to resolve classname: java.security.KeyFactory
Location: /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/builtins/crypto.cljc:9:3

----- Context ------------------------------------------------------------------
 5:             #?(:clj  [clojure.string :as str])
 6:             #?(:cljs [goog.crypt :as crypt]))
 7:   #?(:cljs
 8:      (:import (goog.crypt Md5 Sha1 Sha256 Sha512 Hmac)))
 9:   #?(:clj
      ^--- Unable to resolve classname: java.security.KeyFactory
10:      (:import (javax.crypto.spec SecretKeySpec)
11:               (javax.crypto Mac)
12:               (java.security MessageDigest KeyFactory Key)
13:               (org.jose4j.jwk JsonWebKey$Factory JsonWebKey$OutputControlLevel)
14:               (java.security.spec PKCS8EncodedKeySpec)

----- Stack trace --------------------------------------------------------------
jarl.builtins.crypto   - /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/builtins/crypto.cljc:9:3
jarl.builtins.registry - /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/builtins/registry.cljc:2:3
jarl.parser            - /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/parser.cljc:2:3
user                   - /Users/stephan/Scratch/bb-diff/./test:2:1

Running with the latest snapshot, which has

Add java.security.KeyFactory, java.security.spec.PKCS8EncodedKeySpec, java.net.URISyntaxException

in its CHANGELOG, I do get past that, but hit another error:
----- Error --------------------------------------------------------------------
Type:     java.lang.Exception
Message:  Unable to resolve classname: java.security.Key
Location: /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/builtins/crypto.cljc:9:3

----- Context ------------------------------------------------------------------
 5:             #?(:clj  [clojure.string :as str])
 6:             #?(:cljs [goog.crypt :as crypt]))
 7:   #?(:cljs
 8:      (:import (goog.crypt Md5 Sha1 Sha256 Sha512 Hmac)))
 9:   #?(:clj
      ^--- Unable to resolve classname: java.security.Key
10:      (:import (javax.crypto.spec SecretKeySpec)
11:               (javax.crypto Mac)
12:               (java.security MessageDigest KeyFactory Key)
13:               (org.jose4j.jwk JsonWebKey$Factory JsonWebKey$OutputControlLevel)
14:               (java.security.spec PKCS8EncodedKeySpec)

----- Stack trace --------------------------------------------------------------
jarl.builtins.crypto   - /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/builtins/crypto.cljc:9:3
jarl.builtins.registry - /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/builtins/registry.cljc:2:3
jarl.parser            - /Users/stephan/.gitlibs/libs/boregby/jarl/f20a80c599e0a482900ea3889a0b2fa3eab39681/core/src/main/cljc/jarl/parser.cljc:2:3

Looking into this a bit more, I think my premise was flawed. There's not much to operate on in jarl, as the plan is basically parsed into functions operating on state, am I right?

Correct!

OK so while my original intention was misguided, I believe being able to run Jarl in Babashka would still be kinda cool. Let's keep this open for tracking, shall we?

Indeed, that sounds good to me 👍


[#6885] Apply Instant to SQL-datetime

Codecov Report

Merging #6903 into master will decrease coverage by 0.00%.
The diff coverage is 0.00%.

@@            Coverage Diff             @@
##           master    #6903      +/-   ##
==========================================
- Coverage   39.24%   39.24%   -0.01%
==========================================
  Files        3222     3222
  Lines       95310    95318       +8
  Branches    11885    11887       +2
==========================================
  Hits        37408    37408
- Misses      54908    54922      +14
+ Partials     2994     2988       -6

Impacted Files
Coverage Δ

...avercorp/pinpoint/web/vo/AgentCountStatistics.java
38.88% <0.00%> (ø)

...oint/grpc/server/HeaderPropagationInterceptor.java
0.00% <0.00%> (-70.59%)
:arrow_down:

.../main/java/com/navercorp/pinpoint/grpc/Header.java
45.00% <0.00%> (-9.84%)
:arrow_down:

...rp/pinpoint/web/mapper/stat/AgentStatMapperV2.java
59.52% <0.00%> (-9.53%)
:arrow_down:

...ercorp/pinpoint/grpc/server/AgentHeaderReader.java
73.33% <0.00%> (-6.67%)
:arrow_down:

...om/navercorp/pinpoint/rpc/codec/PacketDecoder.java
57.44% <0.00%> (-2.13%)
:arrow_down:

.../navercorp/pinpoint/grpc/server/ServerFactory.java
88.23% <0.00%> (-0.41%)
:arrow_down:

...rc/main/java/com/navercorp/pinpoint/test/Item.java
70.00% <0.00%> (ø)

...point/rpc/client/DefaultPinpointClientHandler.java
72.07% <0.00%> (ø)

...orp/pinpoint/rpc/server/DefaultPinpointServer.java
80.98% <0.00%> (+0.70%)
:arrow_up:

... and 7 more

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 e43ce74...af815bf. Read the comment docs.


Fix Windows check

Thanks for this config @suketa!

Windows check was always true

I don't know much Lua so maybe there is another way to do this.
has() returns 0 or 1. 0 is considered truthy in Lua.

Thank you


Filters Seem to ignore SoftDeleted Macros

Package
filament/tables
Package Version
v22.9.16
Laravel Version
v8.81.0
Livewire Version
v2.10.1
PHP Version
8.1
Bug description
First off, thank you for working on Filament. This project is awesome!
Following the documentation, it appears tables do not allow soft deleted query builders to use withTrashed or onlyTrashed macros.
The following is a the code used for my table filters array
->filters([
    Tables\Filters\Filter::make('deleted')
        ->label('Deleted')
        ->query(fn ($query) => $query->onlyTrashed()),
    Tables\Filters\Filter::make('used')
        ->query(fn ($query) => $query->whereHas('orders'))
        ->label('Used'),
    Tables\Filters\SelectFilter::make('type')
        ->options([
            'flat' => 'Flat',
            'percent' => 'Percent'
        ])
]);

The second and third filters work without issue. However, no records show when the "deleted" filter is selected, though there are more than 30 soft deleted record in the table. Any ideas what I might be doing wrong?
Steps to reproduce
No response
Relevant log output
No response

https://filamentadmin.com/docs/2.x/admin/resources#disabling-global-scopes

Missed that in the docs. Thanks for pointing that out.


mifare.read() stop executing of program

Please answer these questions as part of your new issue.
Which version of Python are you using?
3 and 2.7
Which OS and version are you running?
Raspberry Stretch
Is SPI enabled?
yes
Are you trying to read/write a Mifare Classic card?  (This is currently unsupported)
I have the issue, that mifare.read() stop the program without any error message. The code after the command isn´t processed afterwards.
I used the NFC sample card which is shipped with the card reader.
I have two other "white" cards, which are shipped with the other RFID-RC522 reader.
mifare.select() give me a unique number for each card, but it seems, that writing and re-reading of the card isn´t possible.
So, is the issue caused by using the wrong card type?
have fun!
I<it

Sounds like this may have triggered a segmentation fault in the underlying C code.  Would you be willing to mail me one of these "white" cards so I can reproduce and fix the bug?  I'm based in Denver, Colorado, USA.  Send me an email<EMAIL_ADDRESS>and we can coordinate.

Hello Scott,
I assume it´s easier for you ordering such card from ebay. Here is one of the offer where you can see the card. You should be able to buy such card separately. My card is lost anywhere in my house 😊
https://www.ebay.com/itm/PN532-NFC-Module-RFID-Reader-KIT-for-Arduino-Raspberry-Pi-3-3-5-5V/322672095344?_trkparms=aid%3D555017%26algo%3DPL.CASSINI%26ao%3D1%26asc%3D20160706104836%26meid%3D73827c40a3f64b07b37028ddf0f282e1%26pid%3D100642%26rk%3D1%26rkt%3D1%26%26itm%3D322672095344 https://www.ebay.com/itm/PN532-NFC-Module-RFID-Reader-KIT-for-Arduino-Raspberry-Pi-3-3-5-5V/322672095344?_trkparms=aid%3D555017%26algo%3DPL.CASSINI%26ao%3D1%26asc%3D20160706104836%26meid%3D73827c40a3f64b07b37028ddf0f282e1%26pid%3D100642%26rk%3D1%26rkt%3D1%26%26itm%3D322672095344&_trksid=p2045573.c100642.m3226 &_trksid=p2045573.c100642.m3226
Mit freundlichen Grüßen!
Stephan Kittel
Von: Scott Vitale<EMAIL_ADDRESS>Gesendet: Dienstag, 13. März 2018 16:18
An: svvitale/nxppy<EMAIL_ADDRESS>Cc: sabberlatz<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Betreff: Re: [svvitale/nxppy] mifare.read() stop executing of program (#68)
Sounds like this may have triggered a segmentation fault in the underlying C code. Would you be willing to mail me one of these "white" cards so I can reproduce and fix the bug? I'm based in Denver, Colorado, USA. Send me an email<EMAIL_ADDRESS><EMAIL_ADDRESS>) and we can coordinate.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/svvitale/nxppy/issues/68#issuecomment-372702164 , or mute the thread https://github.com/notifications/unsubscribe-auth/AiHaWhNvOFaG1UzpWBluuWDQkg1D1-uJks5td-MWgaJpZM4RyKp8 .  https://github.com/notifications/beacon/AiHaWsz8M2ZPQ5qxAS0UCYVcWvHqv9GWks5td-MWgaJpZM4RyKp8.gif

I'm guessing this is a Mifare Ultralight and there's a known issue with the read() method and these types of cards.  They don't properly indicate their size in the card memory, so we end up reading off the end.  Thanks for jogging my memory, I'll resolve this soon.


plugins\minimap.lua:467: attempt to index a nil value (local 'color')

Got this error, I don't know why?
The Full Error Message from error.txt:
Error: ...l-v2.1.0-windows-x86_64\lite-xl\data/plugins\minimap.lua:467: attempt to index a nil value (local 'color')
stack traceback:
	...l-v2.1.0-windows-x86_64\lite-xl\data/plugins\minimap.lua:467: in function 'plugins.minimap.draw'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core\view.lua:302: in function 'core.view.draw_scrollbar'
	...e-xl-v2.1.0-windows-x86_64\lite-xl\data/core\docview.lua:547: in upvalue 'old_draw'
	...1.0-windows-x86_64\lite-xl\data/plugins\linewrapping.lua:512: in function 'core.docview.draw'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core\node.lua:588: in function 'core.node.draw'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core\node.lua:32: in function 'core.node.propagate'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core\node.lua:593: in function 'core.node.draw'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core\node.lua:31: in function 'core.node.propagate'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core\node.lua:593: in function 'core.node.draw'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core\node.lua:32: in function 'core.node.propagate'
	...	(skipping 2 levels)
	...-xl-v2.1.0-windows-x86_64\lite-xl\data/core\rootview.lua:454: in upvalue 'root_view_draw'
	...te-xl-v2.1.0-windows-x86_64\lite-xl\data/widget/init.lua:1255: in upvalue 'draw'
	...1.0-windows-x86_64\lite-xl\data/plugins\autocomplete.lua:571: in upvalue 'root_view_draw'
	....1.0-windows-x86_64\lite-xl\data/plugins\contextmenu.lua:31: in upvalue 'root_view_draw'
	...-v2.1.0-windows-x86_64\lite-xl\data/plugins\treeview.lua:498: in function 'core.rootview.draw'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core/init.lua:1340: in function 'core.step'
	...lite-xl-v2.1.0-windows-x86_64\lite-xl\data/core/init.lua:1384: in upvalue 'core_run'
	...-v2.1.0-windows-x86_64\lite-xl\data/plugins\settings.lua:1795: in function 'core.run'
	(...tail calls...)
	[string "local core..."]:9: in function <[string "local core..."]:2>
	[C]: in function 'xpcall'
	[string "local core..."]:2: in main chunk

Also, how can I change the cursor shape?

Did you find out what the problem was?

no, I just removed that plugin

No

Same issue when installing lite-xl including lite-xl-plugins on openSUSE Tumbleweed.

Same backtrace?

installing ... lite-xl-plugins on openSUSE Tumbleweed.

Please don't install those kind of packages. I'd even say to please ask the packager to remove it.
You're not supposed to install tons of plugins you won't use as they can potentially conflict with each other.
A better solution would be to ask your packagers to provide packages for https://github.com/lite-xl/lite-xl-plugin-manager.

@Guldoman thanks for the advise. Packaging lite-xl-plugin-manager for Tumbleweed is what I did now. Just a small issue with the binary remaining, but it should be possible to have it in the distribution soon.

@Guldoman thanks for the advise. Packaging lite-xl-plugin-manager for Tumbleweed is what I did now. Just a small issue with the binary remaining, but it should be possible to have it in the distribution soon.

Awesome!
@sbradnick users that install that package will not be aware of the list of plugins and the possible conflicts.
For example how would they go and replace the nonicons plugin with the nerdicons one? Will they know that they have to uninstall lite-xl-plugins?
Using lpm, will they be able to do that?
A better thing to package would be lite-xl-addons, which contains the plugins that we ship with the addons version of Lite XL (which provides the gear icon thing).
But be aware that in a future version we'll not ship it anymore, but provide a metaplugin that will install them with lpm.
About nonicons not including the font, we have a change in a PR that will make lpm install it in the proper location.
Anyways, the additions to nonicons you're doing in the package look good, are you interested in opening a pull request?
Also this
Going back to commit from last release timeframe, more current ones exhibit high CPU usage and poor UI rendering speed

from the package changelog looks interesting (and highlight the issue I have with such a package). Would you mind expanding on it in a new issue?

Historically, as I found and lightly used Lite-XL - this setup (with the -plugins package) is what worked for me. If lpm does 99% of what -plugins does I'm fine w/ having lpm remove -plugins if someone installs lite-xl-plugin-manager.
As it stands now, -colors, -widgets and -plugins are just "Suggests" for the lite-xl package so someone would have to explicitly choose to install them. I could even do a lite-xl "Recommends" lite-xl-plugin-manager and shift towards managing -colors and -plugins via it (i.e. removing those as RPM offerings via package management).
I'm honestly not sure where -widgets fits in to the current state of Lite-XL, I added it when it was suggested but I don't heavily use Lite-XL enough presently to know which packages are REQUIRED vs 'nice to have'. As I said, this setup is what worked for me and gave me an experience I was expecting out-of-the-box.
Unfortunately, the last set of updates that git pulled in - had oddly poor performance I don't get from something closer to the last release version (maybe the day 2.1.1 was released).

A better thing to package would be lite-xl-addons, which contains the plugins that we ship with the addons version of Lite XL (which provides the gear icon thing).

I don't see a lite-xl-addons repo under lite-xl/repositories

But be aware that in a future version we'll not ship it anymore, but provide a metaplugin that will install them with lpm.

Which would be what?
I've got lite-xl-plugin-manager installed and lpm seems to work, I can run lpm plugin install nonicons and it seems to install but the .ttf/.otf isn't present (known issue as you described :smile:) but doing the same for nerdfonts throws an error. And right clicking on nonicons in the GUI plugin manager throws an error as well.

I realize that Lite-XL is still being developed, but this type of churn in best-practices (and what's supposed to be used where) is why I've generally stepped away from it. It's a beautiful editor and seems highly functional but the care-and-feeding to get it setup has pushed me away since I can't constantly watch these evolutionary changes. I think it's great/fine for someone closely following it via GitHub and building locally - but it's a bit of a bear to do in a package management sense to provide a base-config that would be a good 'getting started with Lite-XL' setup. But I'm happy to continue on with what we've got in a base lite-xl package supplemented with lpm.

I'm on vacation as of today, but should have some time to validate those two PRs sometime early next week.

Look at our release notes. It's not a repo, it was just a name suggestion for the package that would bundle addons.

That's fair. Also part of the reason I kinda gave up on it because there were all these lite-xl-<something> items popping up and since my attention isn't focused on Lite-XL exclusively (no one's fault in the slightest or a Lite-XL dev problem), it became easier to focus on a type of 'well, it works for me / how I expected' scenario when someone would do: sudo zypper in --details lite-xl. It's feeling like lite-xl-plugin-manager alleviates all those 'package manager' problems, which is great! Trying to strike a balance between 'I want to use my package manager' and 'I need to git clone and compile' [any|every]thing to use Lite-XL.

We're planning to ship Lite XL with lpm bundled in. On first start it will ask if you want to install a "starter pack" of plugins, which will include those in the addons version.

ok, that explains why it seems like maybe it wants to install /home/scott/.config/lite-xl/plugins/plugin_manager/lpm.x86_64-linux when I do my initial lpm plugin install ....

Look at our release notes. It's not
That's fair. Also part of the reason I kinda gave up on it because there were all these lite-xl-<something> items popping up and since my attention isn't focused on Lite-XL exclusively (no one's fault in the slightest or a Lite-XL dev problem), it became easier to focus on a type of 'well, it works for me / how I expected' scenario when someone would do: sudo zypper in --details lite-xl. It's feeling like lite-xl-plugin-manager alleviates all those 'package manager' problems, which is great! Trying to strike a balance between 'I want to use my package manager' and 'I need to git clone and compile' [any|every]thing to use Lite-XL.

Yeah, agree with this. In future it'll be exactly one release per platform.

ok, that explains why it seems like maybe it wants to install /home/scott/.config/lite-xl/plugins/plugin_manager/lpm.x86_64-linux when I do my initial lpm plugin install ....

Yeah, as part of plugin_manager, lpm itself is an optional dependency. It'll allow you to say no, and use the system lpm if available, but just in case you're packing things to be portable it offers you the option.

Also this

Going back to commit from last release timeframe, more current ones exhibit high CPU usage and poor UI rendering speed

from the package changelog looks interesting (and highlight the issue I have with such a package). Would you mind expanding on it in a new issue?

I've updated to lite-xl-2.1.1+git20230805.3979730 and I don't see any slowdowns (and they were painfully noticeable); so it was either something from my -colors,-plugins,-widgets packages, just some transient oddity in some other openSUSE package, or a problem that existed around Jul 10th -> Jul 13th up to lite-xl-2.1.1+git20230710.76f23a2.

Anyways, the additions to nonicons you're doing in the package look good, are you interested in opening a pull request?

Hopefully this is useful :smile: ==> https://github.com/lite-xl/lite-xl-plugins/pull/278
Should end up looking something like this:


Mozilla Firefox extension is missing

Navigate to Install Power Automate browser extensions
Scroll down the page until you get to: If you skip the installation of the browser extensions, you can do it manually later using the following links or through the Tools > Browser extensions options in the flow designer.
Microsoft Edge
Google Chrome
Mozilla Firefox
Click Mozilla Firefox
Expected: a page containing a browser extension
Actual: Oops! We can’t find that page
If you’ve followed a link from another site for an extension or theme, that item is no longer available. ... etc.

Hello @chromial, thank you for using Power Automate! The Mozilla Firefox extension is currently unavailable, but it will be available again after the December release.


Analytics module doesn't support authenticated or encrypted Kafka connections

Describe the bug
The Datahub backend for the analytics module uses Kafka to track user events, but the Kafka producer cannot be configured with authentication at the moment. See https://github.com/linkedin/datahub/blob/master/datahub-frontend/app/react/controllers/TrackingController.java#L72
To Reproduce
N/A
Expected behavior
Authenticated and encrypted connections should be possible to use.
Screenshots
N/A
Desktop (please complete the following information):
N/A
Additional context
Add any other context about the problem here.

Thanks for raising this! Certainly an important one to get to.

It looks like encryption support was added in https://github.com/linkedin/datahub/commit/4d82ff8b62cf70dbc59677d48391b5e47bd7caf1 but no authentication support. Just wanted to make sure it isn't overlooked.


use absolute url for header lp logo link

request: https://github.com/lonelyplanet/rizzo-next/issues/554

Are we using https on the home page yet? I thought https was only being used for destinations next and new POIs at the moment. cc @jcreamer898

@thomasthesecond I think we support ssl for www.lonelyplanet.com domain, but I just noticed there are problems with mixed content, maybe I should use http for now. more info: https://lonelyplanet.atlassian.net/wiki/display/OPS/SSL+Planning

@thomasthesecond is this ok? Sebastian is waiting for it, I wanted to deploy it as soon as possible

👍


[!] Google Api Error: multiApkShadowedActiveApk: Version 1 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes.

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 found this issue when I have run the command fastlane supply --apk path_to_apk
[!] Google Api Error: multiApkShadowedActiveApk: Version 1 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes.
[15:40:32]: fastlane detected a Gemfile in the current directory
[15:40:32]: however it seems like you don't use bundle exec
[15:40:32]: to launch fastlane faster, please use
[15:40:32]:
[15:40:32]: $ bundle exec fastlane supply --apk /home/fusioni/Downloads/TestFastlaneApp2/app/release/app-release.apk
[15:40:32]:
[15:40:32]: Get started using a Gemfile for fastlane https://docs.fastlane.tools/getting-started/ios/setup/#use-a-gemfile
+-------------------------+--------------------------------------+
|                   Summary for supply 2.87.0                    |
+-------------------------+--------------------------------------+
| apk                     | /home/fusioni/Downloads/TestFastlan  |
|                         | eApp2/app/release/app-release.apk    |
| package_name            | mytestapp.test.com.testfastlaneapp   |
| track                   | production                           |
| metadata_path           | ./fastlane/metadata/android          |
| json_key                | /home/fusioni/Downloads/jsonService  |
|                         | .json                                |
| skip_upload_apk         | false                                |
| skip_upload_metadata    | false                                |
| skip_upload_images      | false                                |
| skip_upload_screenshots | false                                |
| validate_only           | false                                |
| check_superseded_tracks | false                                |
+-------------------------+--------------------------------------+
[15:40:34]: Preparing to upload for language 'en-US'...
[15:40:35]: Uploading image file ./fastlane/metadata/android/en-US/images/icon.png...
[15:40:39]: Updating changelog for code version '1' and language 'en-US'...
[15:40:40]: Preparing apk at path '/home/fusioni/Downloads/TestFastlaneApp2/app/release/app-release.apk' for upload...
[15:40:44]: Updating track 'production'...
[15:40:45]: Uploading all changes to Google Play...
[!] Google Api Error: multiApkShadowedActiveApk: Version 1 of this app can not be downloaded by any devices as they will all receive APKs with higher version codes.
Complete output when running fastlane, including the stack trace and command used

[INSERT OUTPUT HERE]

Environment

yes, I have APK with the version code 2 and version name 1.1
And one thing I reminds to you that its an beta version that I am trying to update.

Did you try setting check_superseded_tracks: true?

@joshdholtz  yes I have added it . Still have the same issue

@shailesh2208 Can you try running these for me and send me the output so I can have some more information to try to replicate your scenario?
google_play_track_version_codes(
  package_name: 'your.package.name',
  json_key: 'your_key.json',
  track: 'production'
)
google_play_track_version_codes(
  package_name: 'your.package.name',
  json_key: 'your_key.json',
  track: 'beta'
)
google_play_track_version_codes(
  package_name: 'your.package.name',
  json_key: 'your_key.json',
  track: 'alpha'
)


native: gracefully handle hearing about channels you don't have access to

Fixes TLON-3259. Handles role-based channel permissions in the groupChannelsList to (A) prevent users without read-roles from seeing channels they're not supposed to, (B) live-update the list of available channels when their role-based access changes, and (C) fixes a bug where we mistakenly assumed you were a member of every channel when inserting them.

groupsApi now tracks readerRoles and writerRoles for every channel so we have something to check against.
getUnjoinedGroupChannels now filters out channels that do not have readerRoles or writerRoles that line up with the current user's.
Finally, in the case where we hear about a role change from the group subscription, we re-check the available channels, run them through role-based permission checks, and insert or drop the requisite channels.

Video demonstration (sound up, fam):
https://github.com/user-attachments/assets/12bc9f73-914a-4ea4-b205-4bbacc4fad37
Copilot summary

Added writers property to mock group data in apps/tlon-web-new/src/mocks/groups.ts and apps/tlon-web/src/mocks/groups.ts to support writer roles in mock group definitions. [1] [2] [3] [4]
Updated useGroupContext hook to include writer roles in the context data in packages/app/hooks/useGroupContext.ts.
Enhanced toClientChannel function to map writer roles in packages/shared/src/api/groupsApi.ts. [1] [2]
Modified updateChannel function to handle writer roles and use the upsertChannel function for database updates in packages/shared/src/store/channelActions.ts. [1] [2]
Refactored getUnjoinedGroupChannels to improve logging and streamline the filtering process for user roles in packages/shared/src/db/queries.ts.
Added upsertChannel query to handle channel upserts, including reader and writer roles, in packages/shared/src/db/queries.ts.
Improved insertGroups query to handle reader roles separately and added logging for better traceability in packages/shared/src/db/queries.ts. [1] [2]

Updated to react to the 'addChannel' event to avoid showing all users role-gated channels as they're being added.
https://github.com/user-attachments/assets/6d228af6-024a-4545-8338-1e53b85d4610

@jamesacklin can you try on the latest commit?
Thinking it might be less risky to just resync the group when we hear about any of these changes. Avoids having to think about codepaths for patching our local view in place & should be fine on perf since these updates are infrequent.

Works on my machine!
https://github.com/user-attachments/assets/cc542562-2c2f-4b1a-b97c-931c28c542d8


implement proof of concept query filter Predicate

Objective
Honestly, I just wanted to capture the idea "Predicate Filters" that came up after some small discussions in the ecs-dev channel. This is just a draft PR so other people can see how the implementation of this idea looks in real code.
While we do have tools to solve this problem here in other ways, I always think it's nice to have more tools in general for people to play with. Nevertheless there's also some valid counter arguments since this feature just adds another layer of trait complexity. Citing Alice

You're still doing a linear time check
It's just now no longer local, and involves an extra layer of trait machinery
And if you really want custom methods, you can define that on your components, a QueryData type or a SystemParam type

So feel free to see this more as an RFC than a PR.

 Citing discord user `.nathanf`s original idea, request and reasoning

It would be convenient to have a way to define custom predicates for Query filters with a low-unsafe API surface... I was thinking something along the lines of:
trait HavingPredicate {
    type Component: bevy::prelude::Component;
    fn filter_predicate(item: &Self::Component) -> bool;
}

pub struct Having<P>(std::marker::PhantomData<P>);

for example,
struct IsAlive;
impl HavingPredicate for IsAlive {
    type Component = Health;
    fn filter_predicate(health: &Health) -> bool {
        health.hit_points >= 0
    }
}

fn print_living_entities(query: Query<Entity, Having<IsAlive>>) {
   for entity in query.iter() {
      println!("is alive: {entity}");
   }
}

I would open a PR to implement this myself... But I don't understand the internals for QueryFilter / WorldQuery at all. Or maybe this is already available and I just haven't seen it?
Well, it's more convenient, especially when you're evolving existing code - if I already have a Query<(Entity, &C1, &C2, &C3)>, but I want to filter using &C4 and &C5, I have to go update

The signature, to include &C4 and &C5
All of the iter_ pattern destructuring sites, to pattern match on the new C4 and C5 components
All of the iter_ sites, to add the filter code

In particular, if I'm moving from With<SomeMarker> to checking some property on a larger component, I have to do all of these changes through all of my code, even though it has nothing to do with the problem I'm trying to solve, which is just filtering.
It's not blazing fast, but it's not any slower than the "manual" way of doing it, which is a lot more verbose with little upside from my perspective
In particular, it can't just be an extension method on Query<_, _>, like .filter(|x| ...) because it needs to access data not already requested by the Query, and that data must be available in the system's signature

Solution
This PR is just implementing an idea from the discord ecs-dev channel.

 Citing discord user `quartermeister`

I think you can implement it by doing something like this, although I haven't tested it:
trait HavingPredicate {
    // Might as well generalize from just one component to any QueryData
    type Data: QueryData;
    fn filter_predicate(item: QueryItem<Self::Data>) -> bool;
}

pub struct Having<P>(PhantomData<P>);

unsafe impl<D: QueryData, P: HavingPredicate<Data = D>> WorldQuery for Having<P> {
    // Delegate each item to D, so that we can get QueryItem<D> from Self::fetch while relying on D for safety invariants
    type Foo = D::Foo;
    fn foo(params) { D::foo(params) }
}

impl<D: QueryData, P: HavingPredicate<Data = D>> QueryFilter for Having<P> {
    // This must be set to false because we look at the data in each row
    // (as opposed to a With or Without filter that just looks at the archetype)
    const IS_ARCHETYPAL: bool = false;

    unsafe fn filter_fetch(
        fetch: &mut Self::Fetch<'_>,
        entity: crate::prelude::Entity,
        table_row: crate::storage::TableRow,
    ) -> bool {
        // This is where the actual filtering happens!
        P::filter_predicate(Self::fetch(fetch, entity, table_row))
    }
}

impl HavingPredicate for IsAlive {
    type Data = &'static Health;
    fn filter_predicate(health: &Health) -> bool {
        health.hit_points >= 0
    }
}

Testing & Showcase
I added this passing test in bevy_ecs/query/mod.rs
    #[derive(Component, Debug, Hash, Eq, PartialEq, Clone, Copy)]
    struct A(usize);

    #[derive(Component, Debug, Clone, Copy)]
    pub struct E(usize);

    #[derive(Debug, Clone, Component, Default)]
    pub struct NonZeroE;

    impl PredicateFilter for NonZeroE {
        type Data = &'static E;
        fn filter_predicate(item: crate::query::QueryItem<Self::Data>) -> bool {
            item.0 != 0
        }
    }

    #[test]
    fn query_predicate() {
        let mut world = World::new();
        world.spawn((A(1), E(0)));
        world.spawn((A(2), E(1)));
        world.spawn((A(3), E(2)));

        let values = world
            .query_filtered::<&A, Predicate<NonZeroE>>()
            .iter(&mut world)
            .collect::<Vec<_>>();
        assert_eq!(values, vec![&A(2), &A(3)]);
    }

Related issue: #5639

If this is based on a safe PredicateFilter trait, it would not be sound. A user could write a non-deterministic predicate, which would result in subtle unsoundness where filter determinism is assumed, like f.e. the QueryIter::sort_* methods.


Principal component analysis (PCA) module

[ ] Run PCA analysis using scanpy.pp.pca (link)
[ ] Include PCA plot function
[x] PCA plot using plotnine https://github.com/abearab/ScreenPro2/commit/88fb6790b0e041b486320e38fd35cc8c050fd4be, https://github.com/abearab/ScreenPro2/commit/bb9b1f162b0ca703214357ba366cc57da4dc81be

moved to https://github.com/ArcInstitute/ScreenPro2/issues/9


[Bug Report] Custom Stars v0.3 causes crash on startup

As the title implies, trying to load Custom Stars v0.3 causes a crash on startup.
Here's a link to the crash report: https://paste.ee/p/eZoGt
v0.1, v0.2, and v0.2.1 all work perfectly fine. It's only v0.3 that has this issue.

Sorry about that.  I think I know what the issue is, can you try this and see if it fixes the problem? https://github.com/b3spectacled/custom-stars/releases/tag/v0.3.1
Thanks.

That build does indeed work as intended! Thank you for the quick response!


Feat: fetch data from github

What feature?
currently, we're collecting data using json format so data is becoming too long we need to fetch details from the github API

fetch social media
repository details
etc

Add screenshots
n/a
Record

[X] I agree to follow this project's Code of Conduct
[ ] I'm a GSSoC'23 contributor
[X] I want to work on this issue

Can I work on this issue with you?

Can I work on this issue with you?

ok


nodes are not showing for clique

Request URL:
http://localhost:25000/undefined/api/nodeGetDetails
Request Method:
POST
Status Code:
404 Not Found
Remote Address:
[::1]:25000
Referrer Policy:
strict-origin-when-cross-origin

Hello @rkdevstack could you give us a list of steps to reproduce the issue you're seeing please?
Cheers

Closing for lack of activity


Fix constant refresh causes IE 10 to leak memory

@zomaish any update?

I reached out to Microsoft for an explanation and waiting for a response. I will reach out again and hopefully they can let me know why using document.createEvent causes a leak.

I don't see how this would work, createEventObject is the old proprietary IE6-8 API that works with attachEvent, fireEvent and detachEvent. createEvent is DOM2 api that works with addEventListener, dispatchEvent and removeEventListener,.

closing as per above


Deprecated special raw forms for functions

Hello,
Love the library! Finally found an stdlib replacement with good docs :)
The only problem is, I can't build it - I'm getting a lot of deprecation warnings and they're configured as errors for some reason (I'm new to BuckleScript, sorry).
They should be pretty straightforward to fix, an example warning looks like this:
Warning number 22 (configured as error)
  /home/me/code/typer/node_modules/reason-standard/bucklescript/src/Standard.ml 702:18-20

  700 ┆ let remainder (n : t) ~(by : t) = (modulo n ~by : t)
  701 ┆
  702 ┆ let power = ([%raw fun a b -> "{return a ** b}"] : t -> t -> t)
  703 ┆
  704 ┆ let ( ** ) (base : t) (exponent : int) : t = power base (ofInt exponent)

  Special raw form for function is deprecated, plain [%raw ".."] is recommended

Is this a project using standard or building standard itself?

I tried adding Standard to my Reason/BuckleScript project, following the guidelines here: https://reason-standard.netlify.app/docs/installation

Short term you can disable the warning: https://bucklescript.github.io/docs/en/build-configuration#warnings
I am a little busy with family stuff at the moment, so it might be a while for me to do a new release.
A PR would be amazing though, this is the relevant section in the Bucklescript docs: https://bucklescript.github.io/docs/en/embed-raw-javascript#docsNav

No worries, family comes first :)
I’ll try to prepare a PR this week.


STB compilation fails if spaces in include path

I'm submitting a ...

[x] bug report
[ ] feature request

What is the current behavior?
Fails to compile STB because there was a space in the path to STB (observed in the linked image). Note this occurs only when I try to import nimgl/[glfw, opengl] and nimgl installation itself was succesful.

What is the expected behavior?
That it is able to correctly use paths with spaces.

Please tell us about your environment:

Version: 0.3.6
OS: Windows
Bindings: Using OpenGL and GLFW.
Backend: Default C

Other information
https://github.com/nimgl/nimgl/blob/master/src/nimgl/stb/image.nim
I think the error is traced to line 15 of the above file, and maybe (escape) quoting the path might fix this issue.

Actually just went ahead and applied the proposed fix above and I was able to successfully install and use my local fork with the fix. Should I open a PR from https://github.com/strexicious/nimgl/tree/stb_path_fix ?

Please create the fork. And thank you for creating the fix!
As a side note, version 1.0 (still in development) doesn't use anymore stb to parse the icon in GLFW.


Add support property classnames as object.

As it works with CSSTransition, we should make this works here. Object will look like that:
{
  classNames: {
    enter: 'classname1',
    enterActive: 'className2',
    exit: 'className3',
    exitActive: 'className4'
  }
}

We need it for using this transition with css modules

I've started working for the summer so I'll have somewhat limited time to work on this. Feel free to submit a PR in the meantime!


libva, libva-utils and vaapiIntel: 2.0.0 -> 2.1.0 (VA-API: 1.0.0 -> 1.1.0)

Motivation for this change
General update. Note the API bump.
Things done

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

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

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

Success on x86_64-linux (full log)
Partial log (click to expand)
patching script interpreter paths in /nix/store/sbgly6172y90bgkh13k3psgljf2p0rln-libva-2.1.0-dev
checking for references to /tmp/nix-build-libva-2.1.0.drv-0 in /nix/store/sbgly6172y90bgkh13k3psgljf2p0rln-libva-2.1.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/a7hlg5b716kb1jka0d581jfpfqrfm0kb-libva-2.1.0
shrinking /nix/store/a7hlg5b716kb1jka0d581jfpfqrfm0kb-libva-2.1.0/lib/libva.so.2.100.0
shrinking /nix/store/a7hlg5b716kb1jka0d581jfpfqrfm0kb-libva-2.1.0/lib/libva-drm.so.2.100.0
strip is /nix/store/adidfx4pa7vmvby0gjqqmiwg2x49yr27-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/a7hlg5b716kb1jka0d581jfpfqrfm0kb-libva-2.1.0/lib
patching script interpreter paths in /nix/store/a7hlg5b716kb1jka0d581jfpfqrfm0kb-libva-2.1.0
checking for references to /tmp/nix-build-libva-2.1.0.drv-0 in /nix/store/a7hlg5b716kb1jka0d581jfpfqrfm0kb-libva-2.1.0...
/nix/store/sbgly6172y90bgkh13k3psgljf2p0rln-libva-2.1.0-dev

Success on aarch64-linux (full log)
Partial log (click to expand)
patching script interpreter paths in /nix/store/xjcwwahwf46jy84vk6z6nihk1f7czk2w-libva-2.1.0-dev
checking for references to /build in /nix/store/xjcwwahwf46jy84vk6z6nihk1f7czk2w-libva-2.1.0-dev...
shrinking RPATHs of ELF executables and libraries in /nix/store/wk9xyihr27h8p8ai8vji9by9g01bwgdy-libva-2.1.0
shrinking /nix/store/wk9xyihr27h8p8ai8vji9by9g01bwgdy-libva-2.1.0/lib/libva-drm.so.2.100.0
shrinking /nix/store/wk9xyihr27h8p8ai8vji9by9g01bwgdy-libva-2.1.0/lib/libva.so.2.100.0
strip is /nix/store/skd6ix5ipkyhxzq7naylj4digawakl4j-binutils-2.28.1/bin/strip
stripping (with command strip and flags -S) in /nix/store/wk9xyihr27h8p8ai8vji9by9g01bwgdy-libva-2.1.0/lib
patching script interpreter paths in /nix/store/wk9xyihr27h8p8ai8vji9by9g01bwgdy-libva-2.1.0
checking for references to /build in /nix/store/wk9xyihr27h8p8ai8vji9by9g01bwgdy-libva-2.1.0...
/nix/store/xjcwwahwf46jy84vk6z6nihk1f7czk2w-libva-2.1.0-dev

@globin - should we send this via staging?

Yep, to staging with this mass rebuild. :)

Are there other large rebuilds pending with which this should be merged to avoid rebuilding the world twice?

Also /cc maintainer @garbas.


Add padding to the feedback widget #748  -->  Fixed

🚀 PR #748 Update: Added padding to the feedback widget 🚀
🔧 Changes Made:
Hi team! I'm excited to share my latest contribution to our project. In this PR, I've addressed issue #748 by adding padding to the feedback widget. This improvement not only enhances the visual aesthetics of the widget but also ensures a better user experience.
🛠 What I've Done:

Added appropriate padding to the feedback widget.
Conducted thorough testing to confirm that the padding works as expected.
Updated relevant documentation to reflect these changes.

🧐 Why This Matters:
This PR improves the overall user interface by providing a more polished and user-friendly appearance to the feedback widget. This small but meaningful change aligns with our commitment to delivering a top-notch user experience.
🌟 Let's Collaborate:
I'm looking forward to your feedback and any suggestions for further improvement. Please feel free to review and provide your thoughts. Together, we can ensure that our project continues to shine!
🙏 Thank you for your time and consideration!

@LynxSumit thanks so much! would you like us to wait until Monday to merge this so that you get credit for Hacktoberfest?

merging this one @EbonyLouis. can you add to Leaderboard?


workflow step name in keyFormat for archiveLogs

Summary
I would like to use {{step.name}} in keyFormat definition when using archiveLogs: true.
Motivation
Currently the only way to separate the logs from a single workflow and preventing Argo from overwrite the logs from the preceding workflow steps I have to use {{pod.name}}. pod.name does not provide information about the step the log file was created by. This requires searching through all log files in each pod name folder to find the right output.
Proposal
When setting keyFormat: {{workflow.label.data-id}}/{{workflow.name}}-{{workflow.creationTimestamp}}/{{step.name}}.log Argo should create a single log file named after the steps name in that specified folder.
Example:
"A123/preprocessing-2020-07-08 12:11:53 +0000 UTC/merge-files.log"
This requires that:

Argo detects "keyFormat" ends with ".log" so it does not create a subfolder with file "main.log"
Argo is able to translate the variable "step.name".

Message from the maintainers:
If you wish to see this enhancement implemented please add a 👍 reaction to this issue! We often sort issues this way to know what to prioritize.

Can I confirm, you simply want the log artifacts that are created and normall named main.log to be named after the step, and this should be done using keyFormat?


Add .editorconfig to simplify initial development environment setup

This reduces the amount of initial setup required.
For me, Android Studio came with the required EditorConfig plugin enabled already.
If it isn't enabled (presumably if you have an old installation?) you can enable it via File -> Settings -> Plugins -> (tick "EditorConfig").

I'd leave the text description intact for those who can't/don't use the EditorConfig file


Add routing for createNewAccount and linkExisting to Settings

Previously, if you tried to create a new account or link an existing account from the settings, an error would occur due to the popups not existing under the settings route. This fixes that!

@buoyad yes!


Add CITATION.cff to make it easy to cite this in papers

Is your feature request related to a problem? Please describe.
I would like to cite tantivy as we use its Python bindings in https://github.com/Future-House/paper-qa.
GitHub supports making it easy to cite repositories using CITATION.cff: https://docs.github.com/en/repositories/managing-your-repositorys-settings-and-features/customizing-your-repository/about-citation-files
Describe the solution you'd like
Can tantivy add a CITATION.cff?
[Optional] describe alternatives you've considered
N/a

I added a CITATION.cff file.

Thanks for the quick turnaround Paul. The dropdown though isn't working though, and using https://github.com/citation-file-format/cffconvert I think it's because you got the authors wrong, it should be a list not a dict:
jsonschema.exceptions.ValidationError: {'alias': 'Quickwit Inc.', 'website': 'https://quickwit.io'} is not of type 'array'

Failed validating 'type' in schema['properties']['authors']:
    {'description': 'The author(s) of the software or dataset.',
     'items': {'anyOf': [{'$ref': '#/definitions/person'},
                         {'$ref': '#/definitions/entity'}]},
     'minItems': 1,
     'type': 'array',
     'uniqueItems': True}

On instance['authors']:
    {'alias': 'Quickwit Inc.', 'website': 'https://quickwit.io'}

fixed

Nice it works now, thank you! 🙏


Better way to incorporate remarkjs slide presentations

This adds a lot more flexibility in presentations. See https://github.com/yitzhakbg/levpoem README.

Please use the forum for discussions and announcement. I don't see something "we could do" with the README to make this situation any better.


AuthZ Engine: Get User-to-Role Mappings

Whether mappings are in:

Configuration File
User-to-Role mapping table

Store this data in-memory within the DataGateway runtime.
To start, this step will run during runtime startup.

Closing this as not planned, since we only support 1 Role per request, and expect the request specifies the role to be executed as. User to role mapping needs to be stored in the Client App. FYI @seantleonard.


Cleanup releases

There are a ton of release artifacts which are not needed and exist because of testing GitHub actions. This all should be cleaned up.

Deleted all releases.


asciidoctor diagram not working as in the README

I try to follow the readme, this is what I have
Gemfile
source "https://rubygems.org"
ruby RUBY_VERSION

gem "jekyll", "3.4.3"

# This is the default theme for new Jekyll sites. You may change this to anything you like.
gem "minima", "~> 2.0"

# If you want to use GitHub Pages, remove the "gem "jekyll"" above and
# uncomment the line below. To upgrade, run `bundle update github-pages`.
# gem "github-pages", group: :jekyll_plugins

# If you have any plugins, put them here!
group :jekyll_plugins do
   gem 'asciidoctor-diagram'
   gem 'jekyll-asciidoc' ,  '>= 2.0.0'
end

# Windows does not include zoneinfo files, so bundle the tzinfo-data gem
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw, :jruby]

_config.yml
title: Your awesome title
email<EMAIL_ADDRESS>description: and this is what it does
baseurl: "" # the subpath of your site, e.g. /blog
url: "" # the base hostname & protocol for your site, e.g. http://example.com

# Build settings
markdown: kramdown

theme: minima

gems:
  - asciidoctor-diagram
  - jekyll-asciidoc

asciidoc:
  ext: adoc

asciidoctor:
  base_dir: :docdir
  safe: unsafe
  attributes:
    imagesdir: /images

exclude:
  - Gemfile
  - Gemfile.lock

sample.adoc in the root
= Sample Page
:uri-asciidoctor: http://asciidoctor.org
imagesdir: images

This is a sample page composed in AsciiDoc.
Jekyll converts it to HTML using {uri-asciidoctor}[Asciidoctor].

[source,ruby]
puts "Hello, World!"

== some diagram

[plantuml, diagram-classes, png]
----
class BlockProcessor
class DiagramBlock
class DitaaBlock
class PlantUmlBlock

BlockProcessor <|-- DiagramBlock
DiagramBlock <|-- DitaaBlock
DiagramBlock <|-- PlantUmlBlock
----

I know that this setup is pretty incomplete, but should I not at least get some diagram generated ?
ruby 2.4.1p111 (2017-03-22 revision 58053) [x86_64-linux]

found some help in #41, now generation works

Is there something we could add to the README to help other users get it setup?

still experimenting, this morning, start from scratch with an empty initialized folder,  but I think the relevant change in the _config.yml was that one
asciidoctor:
  base_dir: :docdir
  safe: unsafe
  attributes:
    imagesdir: /images
    imagesoutdir: images

so it seems adding the imagesoutdir: images is what is missing in the reamde
because I think the rest is equal to what I had yesterday,
now I have at least the images generated, yesterday they have not even be generated.
I still need to do some thing so that the images are also displayed, adopt the images dir, and set them up
images are generated but not moved to the _site directory, so it seems there is still something to tweek.
So I have no final recipe how to lower the entry barrier, if I find out the details I will make a pull request

Please see #156 for the continuation of this discussion.


DatabaseBackup: Cannot backup to multiple mirrors

Description of the issue
Getting The value for the parameter @Directory is not supported and The value for the parameter @MirrorDirectory is not supported errors when attempting to provide more than one mirror directory in the call to the DatabaseBackup stored procedure.
SQL Server version and edition
Execute SELECT @@VERSION
Microsoft SQL Server 2016 (SP2-CU5) (KB4475776) - 13.0.5264.1 (X64)
	Jan 10 2019 18:51:38
	Copyright (c) Microsoft Corporation
	Developer Edition (64-bit) on Windows Server 2016 Datacenter 10.0 <X64> (Build 14393: ) (Hypervisor)

Version of the script
Version: 2019-02-10 10:40:47
What command are you executing?
EXECUTE dbo.DatabaseBackup
@Databases = 'MYDATABASE',
@Directory = 'Z:\Backups',
@MirrorDirectory = '\\SERVER01\Z$\Backups,\\SERVER02\Z$\Backups',
@BackupType = 'FULL',
@Compress = 'Y',
@CopyOnly = 'Y',
@Encrypt = 'Y',
@LogToTable = 'Y',
@DirectoryStructure = '{BackupType}{DirectorySeparator}{DatabaseName}{DirectorySeparator}',
@AvailabilityGroupDirectoryStructure = '{BackupType}{DirectorySeparator}{DatabaseName}{DirectorySeparator}',
@FileName = '{ServerName}${InstanceName}_{DatabaseName}_{BackupType}_{Partial}_{CopyOnly}_{Year}{Month}{Day}_{Hour}{Minute}{Second}_{FileNumber}.{FileExtension}',
@AvailabilityGroupFileName = '{BackupType}_{ServerName}${InstanceName}_{DatabaseName}_{BackupType}_{Partial}_{CopyOnly}_{Year}{Month}{Day}_{Hour}{Minute}{Second}_{FileNumber}.{FileExtension}',
@EncryptionAlgorithm = 'AES_256',
@ServerCertificate = 'BackupCert',
@Verify = 'Y',
@CheckSum = 'Y';

What output are you getting?
Date and time: 2019-04-02 15:07:32
Server: SQLSERVER
Version: 13.0.5264.1
Edition: Developer Edition (64-bit)
Platform: Windows
Procedure: [DBAdmin].[dbo].[DatabaseBackup]
Parameters: @Databases = 'MYDATABASE', @Directory = 'Z:\Backups', @BackupType = 'FULL', @Verify = 'Y', @CleanupTime = NULL, @CleanupMode = 'AFTER_BACKUP', @Compress = 'Y', @CopyOnly = 'Y', @ChangeBackupType = 'N', @BackupSoftware = NULL, @CheckSum = 'Y', @BlockSize = NULL, @BufferCount = NULL, @MaxTransferSize = NULL, @NumberOfFiles = NULL, @CompressionLevel = NULL, @Description = NULL, @Threads = NULL, @Throttle = NULL, @Encrypt = 'Y', @EncryptionAlgorithm = 'AES_256', @ServerCertificate = 'BackupCert', @ServerAsymmetricKey = NULL, @EncryptionKey = NULL, @ReadWriteFileGroups = 'N', @OverrideBackupPreference = 'N', @NoRecovery = 'N', @URL = NULL, @Credential = NULL, @MirrorDirectory = '\\SERVER01\Z$\Backups,\\SERVER02\Z$\Backups', @MirrorCleanupTime = NULL, @MirrorCleanupMode = 'AFTER_BACKUP', @MirrorURL = NULL, @AvailabilityGroups = NULL, @Updateability = 'ALL', @AdaptiveCompression = NULL, @ModificationLevel = NULL, @LogSizeSinceLastLogBackup = NULL, @TimeSinceLastLogBackup = NULL, @DataDomainBoostHost = NULL, @DataDomainBoostUser = NULL, @DataDomainBoostDevicePath = NULL, @DataDomainBoostLockboxPath = NULL, @DirectoryStructure = '{BackupType}{DirectorySeparator}{DatabaseName}{DirectorySeparator}', @AvailabilityGroupDirectoryStructure = '{BackupType}{DirectorySeparator}{DatabaseName}{DirectorySeparator}', @FileName = '{ServerName}${InstanceName}_{DatabaseName}_{BackupType}_{Partial}_{CopyOnly}_{Year}{Month}{Day}_{Hour}{Minute}{Second}_{FileNumber}.{FileExtension}', @AvailabilityGroupFileName = '{BackupType}_{ServerName}${InstanceName}_{DatabaseName}_{BackupType}_{Partial}_{CopyOnly}_{Year}{Month}{Day}_{Hour}{Minute}{Second}_{FileNumber}.{FileExtension}', @FileExtensionFull = NULL, @FileExtensionDiff = NULL, @FileExtensionLog = NULL, @Init = 'N', @DatabaseOrder = NULL, @DatabasesInParallel = 'N', @LogToTable = 'Y', @Execute = 'Y'
Version: 2019-02-10 10:40:47
Source: https://ola.hallengren.com

Msg 50000, Level 16, State 1, Procedure DatabaseBackup, Line 805 [Batch Start Line 0]
The value for the parameter @Directory is not supported.

Msg 50000, Level 16, State 1, Procedure DatabaseBackup, Line 814 [Batch Start Line 0]
The value for the parameter @MirrorDirectory is not supported.

Msg 50000, Level 16, State 1, Procedure DatabaseBackup, Line 1559 [Batch Start Line 0]
The documentation is available at https://ola.hallengren.com/sql-server-backup.html.

Date and time: 2019-04-02 15:07:32

Hi Gary,
have a look onto my own fork at https://github.com/samot1/sql-server-maintenance-solution/blob/master/DatabaseBackup.sql (Pull Request https://github.com/olahallengren/sql-server-maintenance-solution/pull/197).
We had the same problem and I enhanced the Database Backup by two other mirrors. Furthermore it supports an "asynchron mirroring" (copying the files in another job), which I would prefer, since otherwise your whole backup will fail, when one of the mirror directories is / goes down.
The script in the fork is in production since 3 or 4 years, so it should work well.

DatabaseBackup only supports one mirror.
Specifying multiple directories with a comma in between, means striping in DatabaseBackup:
You can for example do like:
EXECUTE dbo.DatabaseBackup
@Databases = 'model',
@Directory = 'C:\Backup, D:\Backup',
@MirrorDirectory = 'E:\Backup, F:\Backup',
@BackupType = 'FULL'

Hi Ola,
The use case we were trying was using DatabaseBackup to copy log backups to a new Availability Group as part of a migration strategy for databases that were already being backed up using your scripts. Kinda like a poor man’s log shipping. The idea was that we would mirror the log backups to both the primary and secondary replicas and restore there until we were ready to cut over to the new instances.

There is one thing that is important to be aware of with regards to mirrored backups:
If one of the backup locations (the primary or any of the mirror locations) is not available, then the backup will fail. The more backup locations that you have, the more likely the backup is to fail.

I am closing this issue as it is by design.


Fix issue with zoom level

Pending tasks:

[ ] Remove the build commit

Better @andresgutgon ?

:postal_horn: :+1:

go go go