--pre-release does not work when using custom configuration

The "--pre-release" option does not work correctly when using a custom configuration that has section types defined that aren't "fix" or "feat".  "--pre-release" only works for "fix" and "feat".  When using other custom defined types normally (NOT using --pre-release), will change the revision number...which is fine for now.  Hopefully we can in the future be able to specify in the config if this is a minor or revision change for a specific type.  If you have a commit mix of "fix/feat" and your custom type, it works.  It just doesn't work if the custom type is the only commit.  See examples below.
Project version used for all examples: "3.0.0"
Example Config for ".versionize":
{
  "changelog": {
    "header": "Version Release Notes",
    "sections": [
        {
            "type": "feat",
            "section": "✨ Features",
            "hidden": false
        },
        {
            "type": "fix",
            "section": "🐛 Bug Fixes",
            "hidden": false
        },
        {
            "type": "ci",
            "section": "👷 Continuous Integration",
            "hidden": false
        }
    ]
  }
}

Example using --pre-release (Does NOT Work):
git commit -a -m "ci: performance improvements"
versionize --pre-release "alpha"

Semantic versioning conflict: the next version 3.0.0-alpha.0 would be lower than the current version 3.0.0. This can be caused by using a wrong pre-release label or release as version

Example not using --pre-release (WORKS):
git commit -a -m "ci: performance improvements"
versionize

√ bumping version from 3.0.0 to 3.0.1 in projects
√ updated CHANGELOG.md
√ committed changes in projects and CHANGELOG.md
√ tagged release as 3.0.1

Example using --pre-release (WORKS):
git commit -a -m "ci: performance improvements"
git commit -a -m "fix: Main page wouldn't load"
versionize --pre-release "alpha"

√ bumping version from 3.0.0 to 3.0.1-alpha.0 in projects
√ updated CHANGELOG.md
√ committed changes in projects and CHANGELOG.md
√ tagged release as 3.0.1-alpha.0

Hey @LouisRoselli, thanks for reporting. We'll look into a fix.

Hey guys, I appreciate the fast turn around on this, but the issue is still not fixed.
When running the following commands, I still get the same error in versionize 1.19.1:
versionize --ignore-insignificant-commits --pre-release "alpha"

OR
versionize --pre-release "alpha"

Result:
Semantic versioning conflict: the next version 1.0.0-alpha.0 would be lower than the current version 1.0.0. This can be caused by using a wrong pre-release label or release as version

See this sample repo as example: https://github.com/LouisRoselli/Versionize-Test

Alright, I'll take another look. The snippet that uses ignore-insignificant-commits is expected to fail, but not the other one.

There are no tags in the repo you shared but I assume you have a v1.0.0 tag locally on that release commit?

@cabauman sorry about that.  I pushed the tags, and yes it's v1.0.0

Well, that's odd. I got the correct result.

@cabauman I figured it out.  A total rookie mistake on my part.  It turns out I had Versionize installed globally with the --global option in "dotnet tools", and also locally by specifying it in the manifest file in the repo.  The local version was on the newest, but the global installed on my machine was on an older version.
Sorry for the confusion, but this is working as expected.  Thank You!!!!


Daniel: CMS, 4 chapters

Learning objectives

[x] 🥚 Understanding what a content management system is, and why people use it
[x] 🥚 Given an existing CMS installation fill in and publish a new piece of content
[x] 🥚 Perform a simple http call via postman to retrieve a piece of information.
[x] 🐣 Extend and adapt an existing CMS configuration
[x] 🐣 Perform a http call with filtering via Postman
[ ] 🐣 Perform a http call with "include" via Postman
[x] 🐣 Perform a http POST call to create new data
[x] 🐣 Perform a http PUT call to update existing data
[ ] 🐣 Configuring endpoint permissions (Authentication vs Authorization)
[x] 🐥 Design a data model from scratch based on user requirements

Week 26

I have pushed my progress to my practice repo

Check-In
I Need Help With:
The whole process to set up the database and work with it through the CMS got really confusing. I think this is the most obscure part of the whole curriculum so far.
What went well?
Practicing the data management and trying to incorporate it into the rest of my current knowledge.
What went less well?
We had problems with the database (Heroku) and connecting it to our Strapi. Still trying to figure that out. I feel like that is slowing us down from the beginning and we could have accomplished much more but none of us has experience with this part of the project.
Lessons Learned
CMS, data structure and how to build it into the CMS. Checking our data through Postman.
Sunday Prep Work
Trying to watch some tutorials to fix the current problems with the database and making some progress.


Automator: update ztunnel@master in istio/istio@master

Generated by Automator - 2023-04-25T15:39:30+00:00

@istio-testing: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

release-notes_istio
a30787388c1a8aaeb4d45b0213a58f1df7b1aea8
link
true
/test release-notes

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


backup and sync options

Description of the new feature / enhancement

I would like to see a feature where I can export or backup settings as individual features. Say to OneDrive, GitHub gists or something. Export only FancyZones or Always On Top to a specific backup.
When PowerToys upgrades, I want to have a backup of any layouts that were modified. I recently had an issue with an update that broke the layout of the Windows "main display" due presumably to my taskbar being on the side. Rolling back didn't fix the issue. Assuming again that something was modified in the config.

Scenario when this would be used?

Backups, so we don't lose anything
Syncing settings across computers that are used differently or have different hardware ( different numbers of displays or different resolutions).

Supporting information
In #17382 I seem to have had a config broken on upgrade. Recreating a FancyZone seemed to be the workaround but doing so is time consuming and changes slightly every time.

/dup #3381, #586


Laggy and Account gets disconnected

Dev Home version
<IP_ADDRESS>
Windows build number
10.0.23466.1001
Other software
OS Build Version: 10.0.23466.1001.amd64fre.ni_prerelease.230522-1422
.NET Version: .NET 6.0.16
Steps to reproduce the bug
Settings -> Add Account -> Login Prompt on Browser -> After Loging Error Shows
On reopening Linked Account got unlinked.
Expected result
No error will be shown on successful sign in and on reopening account should be linked unless I unlink that.
Actual result
Error Shows and Account getting unlinked.
Included System Information
CPU: AMD Ryzen 5 3500U with Radeon Vega Mobile Gfx
Physical Memory: 13.92GB (6.89GB free)
Processor Architecture: x64
Included Extensions Information
Extensions:
Microsoft.Windows.DevHome_<IP_ADDRESS>_x64__8wekyb3d8bbwe
Microsoft.Windows.DevHomeGitHubExtension_<IP_ADDRESS>_x64__8wekyb3d8bbwe

Could you clarify what error you got? Are you saying despite the error the account was connected, and then it got unlinked?

Yes, the prompt on Dev Home shows Something Went Wrong, but still my account got linked. But when I close the dev home and re open it the account got unlinked.

Ok. Thanks. We'll have to investigate.

After the new Update, this issue has been resolved thanks for your help.


A.09.IR91.layer.legend

This issue has been extracted from the issue list on:https://ies-svn.jrc.ec.europa.eu/issues/2685
Comment
It is not possible to check whether the resolved legend resource is a valid image as the format attribute has no requirements in the TG (see notes).
Proposed Change
Evaluate and update test method

Harmonize with WMS approach in A.08.IR91.layer.legend.
Proposed test (copy from  A.08.IR91.layer.legend):

Check that for each Style element:

There exists a non-empty href attribute in the OnlineResource element. Let the value of the attibute be href.
Resolve and download the Internet resource referred to by href. If the download is successful and a non-empty image file returned:

If the Format element equals 'image/gif' or 'image/png':

the downloaded resource must be a valid image of these image formats correspondingly. If it is, pass the test. If not, fail the test for this Style.

Otherwise, pass the test for this Style.

Otherwise, fail the test for this Style


rsocket-py documentation - added rxpy examples

rsocket-py documentation - added rxpy examples
Motivation:
To add rxpy examples
Modifications:
Added rxpy examples
Result:
documentation has rxpy examples

I'm not overly familiar with python so I can't speak to the validness of the examples, but the addition of the page LGTM.


Broken Model and Drive Access Denied issue

Hello, My name is Joseph, I found an Issue when initiating stemmer from this library
First of all, I installed it with pip, version of python is 3.8.10
I used Google Colab to run my notebook
Then it seems the link is broken, the model is broken or something else

Here is the error words ( This loops to the point I interrupt the execution)
Broken model, delete model....
Model missing, downloading new model....

Downloading Model 1/3
Access denied with the following error:

Downloading Model 2/3

 	Cannot retrieve the public link of the file. You may need to change
	the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:

	 https://drive.google.com/uc?id=1DJ_u_xKSXmgS_CsM0xlB5rIznnDVfz-w

Access denied with the following error:

Downloading Model 3/3
Access denied with the following error:

Download Complete
Broken model, delete model....
Model missing, downloading new model....

Downloading Model 1/3

 	Cannot retrieve the public link of the file. You may need to change
	the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:

	 https://drive.google.com/uc?id=1DQhPp-D3o0e-x3PfJd2Il3vf7wVgZu4J

 	Cannot retrieve the public link of the file. You may need to change
	the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:

	 https://drive.google.com/uc?id=1zCn5YINEC82cZ1SH-nB4WXUvuELCzKu-

Access denied with the following error:

Downloading Model 2/3

 	Cannot retrieve the public link of the file. You may need to change
	the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:

	 https://drive.google.com/uc?id=1DJ_u_xKSXmgS_CsM0xlB5rIznnDVfz-w

Access denied with the following error:

Downloading Model 3/3

 	Cannot retrieve the public link of the file. You may need to change
	the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:

	 https://drive.google.com/uc?id=1DQhPp-D3o0e-x3PfJd2Il3vf7wVgZu4J

Access denied with the following error:

Download Complete
Broken model, delete model....
Model missing, downloading new model....

Downloading Model 1/3

 	Cannot retrieve the public link of the file. You may need to change
	the permission to 'Anyone with the link', or have had many accesses.

You may still be able to access the file from the browser:

	 https://drive.google.com/uc?id=1zCn5YINEC82cZ1SH-nB4WXUvuELCzKu-

Try to use custom downloader. The model is still hosted on my object storage. Check the #1 on how to use it

That helps. Another thing that helps is upgrading gdown in google colab
 !pip install --upgrade --no-cache-dir gdown
I think the issue is solved now


Fix Insights - Work Lists should always be Active

Right now the Work lists in all tabs are including inactive works. It should only be active

if we don't have the ability to show inactive works, then we should remove the column.
I think we should give them the ability to incorporate inactive works, but just have the default be only active.

for V1 we will go with the removing the status column.


Multiple belongsTo

I have a use case where a single resource can belong to multiple parents. Rather than defining a separate resource for each of these, I would prefer to simply have multiple belongsTo objects and angular-data managing the url based on the params and/or localKey.

Ping. I also have this use case. I have a Post model that has two subclasses (Question and Answer) that each haveMany of the same model (Comment`, in my case). Therefore, I need to be able to do something like the following:
relations: {
  belongsTo: {`
    answer: {
      parent:    true,
      localKey: 'post_id',
      endpoint: 'answers'
    },
    question: {
      parent:    true,
      localKey: 'post_id',
      endpoint: 'questions'
    }
  }
}

Please re-submit this issue to https://github.com/js-data/js-data/issues for discussion an implementation there.


Emptystate.title is a required field, cannot be undefied, ie-empty

closes #378
No visual changes, just rids ourselves of that nasty warning...

But also... maybe... this should be propagated back to pfr? In the form of consistent spacing of both the an empty state body and title from the icon...

@vconzola - my vote would be to add a real title (like the empty state in PF). Do you have any suggestions for us? Otherwise, this one-off fix will have to do...
thanks @AllenBW !!

@priley86 @AllenBW  How about "Import File". Short and sweet.


UnhandledPromiseRejectionError when installing extensions

VSCode Version: 1.15.1
OS Version: elementary OS 0.4.1 Loki

Steps to Reproduce:

code --install-extension donjayamanne.python

Reproduces without extensions: Yes (I don't have any extensions installed.)
Found 'donjayamanne.python' in the marketplace.
Installing...
(node:3713) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: this._state.then is not a function
(node:3713) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

I can't seem to install any extensions in VSCode. I've tried a number of them and none of them complete their installation, they just hang there.

Just noticed this on OSX 10.12.6 Sierra, as well, with dbaeumer.vscode-eslint.  Command line installation appears to be broken, but extensions install fine in the UI.
$ code --install-extension dbaeumer.vscode-eslint
Found 'dbaeumer.vscode-eslint' in the marketplace.
Installing...
(node:36881) UnhandledPromiseRejectionWarning: Unhandled promise rejection (rejection id: 1): TypeError: this._state.then is not a function
(node:36881) DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.

#32381


Update microsoft-azure.md

Correcting the link for Java via Azure webpage.
Description of the change:
Reason for the change:
Link to original source:
Closes #

@KhushalGupta - this will actually break the link


WIP Check user profile during interactive import.

Offer to update their current/all host profile if posh-git not detected in their profile scripts.  Note: we do not offer to update the "all users" profile scripts because that requires elevation and probably not worth it.
Add Pester tests for the new Utils.ps1 functions.

Minor nitpick, otherwise revisions look good. Just need to fix up how we detect if we should Import-Module posh-git!

Is this ready for a final review? (Go ahead and remove WIP from title if so.)

Yes. Ready for final review.

Hmm, hold off on this a bit.  Joel says ScriptName is empty in implicit loading scenarios and he's right.  Let's see if we can use Get-PSCallstack instead.

I'm becoming quite nervous about this PR.  Using Get-PSCallstack has its issues as well.  In general I thought a stack count of 2 would be reliably indicative of importing from the prompt e.g. here is a manual import call stack:
PS C:\Users\Keith> ipmo posh-git

Command          : posh-git.psm1
Location         : posh-git.psm1: line 95
Arguments        : {}
ScriptName       : C:\Users\Keith\Documents\WindowsPowerShell\Modules\posh-git\0.7.0\posh-git.psm1
ScriptLineNumber : 95
InvocationInfo   : System.Management.Automation.InvocationInfo
Position         : Get-PSCallstack | fl * | Out-String
FunctionName     : <ScriptBlock>

Command          : <ScriptBlock>
Location         : <No file>
Arguments        : {}
ScriptName       :
ScriptLineNumber : 1
InvocationInfo   : System.Management.Automation.InvocationInfo
Position         : ipmo posh-git
FunctionName     : <ScriptBlock>

And when the PowerShell console profile runs, the stack depth is three:
Command          : posh-git.psm1
Location         : posh-git.psm1: line 95
Arguments        : {}
ScriptName       : C:\Users\Keith\Documents\WindowsPowerShell\Modules\posh-git\0.7.0\posh-git.psm1
ScriptLineNumber : 95
InvocationInfo   : System.Management.Automation.InvocationInfo
Position         : Get-PSCallstack | fl * | Out-String
FunctionName     : <ScriptBlock>

Command          : profile.ps1
Location         : profile.ps1: line 9
Arguments        : {}
ScriptName       : C:\Users\Keith\Documents\WindowsPowerShell\profile.ps1
ScriptLineNumber : 9
InvocationInfo   : System.Management.Automation.InvocationInfo
Position         : Import-Module posh-git
FunctionName     : <ScriptBlock>

Command          : <ScriptBlock>
Location         : <No file>
Arguments        : {}
ScriptName       :
ScriptLineNumber : 1
InvocationInfo   : System.Management.Automation.InvocationInfo
Position         : . 'C:\Users\Keith\Documents\WindowsPowerShell\profile.ps1'
FunctionName     : <ScriptBlock>

But then I started to notice that the PowerShell in VSCode on my machine keep stalling during init.  And of course it was stalling because of the query to modify the import.  Sigh...  There is something about the PowerShell extension custom host that results in a stack depth one less than expected when processing profiles e.g.:
Command          : posh-git.psm1
Location         : posh-git.psm1: line 96
Arguments        : {}
ScriptName       : C:\\Users\\Keith\\Documents\\WindowsPowerShell\\Modules\\posh-git\\0.7.0\\posh-git.psm1
ScriptLineNumber : 96
InvocationInfo   : System.Management.Automation.InvocationInfo
Position         : Get-PSCallstack | Fl * | Out-String
FunctionName     : <ScriptBlock>

Command          : profile.ps1
Location         : profile.ps1: line 10
Arguments        : {}
ScriptName       : C:\\Users\\Keith\\Documents\\WindowsPowerShell\\profile.ps1
ScriptLineNumber : 10
InvocationInfo   : System.Management.Automation.InvocationInfo
Position         : Get-GitStatus
FunctionName     : <ScriptBlock>

Another issue is that if posh-git hasn't been imported yet and you execute one of its commands, it will be auto-imported.  That will cause the Modify Profile prompt to appear. That could be confusing.
How about we rejigger this work into a command like Add-PoshGitToProfile?  It will result in a pretty simple install process e.g.:
Install-Module posh-git -Scope User
Add-PoshGitToProfile

Otherwise I'm worried there will be some unanticipated scenario (other custom hosts, remoting, etc) that will result in posh-git stalling the script waiting for input.

Looking that the Docker instructions for getting going with the posh-docker PowerShell module see the section Set up tab completion in PowerShell.  Their profile mod approach is simply:
Install-Module -Scope CurrentUser posh-docker -Force
Add-Content $PROFILE "`nImport-Module posh-docker"

I like the simplicity.  They could have also mentioned that if you want posh-docker loaded in all hosts, then use:
Install-Module -Scope CurrentUser posh-docker -Force
Add-Content $PROFILE.CurrentUserAllHosts "`nImport-Module posh-docker"

And Add-Content seems to preserve the original file's encoding.

If you're nervous, I'm nervous. Let's skip the magic. I appreciate the simplicity of Docker's approach, but wouldn't mind being a bit more helpful. How about:
Add-PoshGitToProfile [-AllHosts] [-Force]

-AllHosts would switch from CurrentUserCurrentHost to CurrentUserAllHosts.
-Force would skip our check if posh-git is already being imported by a profile.
We would keep our check to see if we can import by name or need to import the full path.
The Chocolatey install would replace its complexity with an import and Add-PoshGitToProfile

And Add-Content seems to preserve the original file's encoding.

And specifying -Encoding UTF8 seems to provide the encoding to use if the file doesn't exist. :100:
We'll still need to handle encoding (we don't today) in Chocolatey install/uninstall, but Add-Content seems sufficient for Add-PoshGitToProfile.

I appreciate the simplicity of Docker's approach, but wouldn't mind being a bit more helpful.

Agreed.  Everything else sounds good as well.  I'm starting on it.

I'm ready to merge this.


shims: enable cc arg refurbishment for ninja

[x] Have you followed the guidelines in our Contributing document?
[x] Have you checked to ensure there aren't other open Pull Requests for the same change?
[x] Have you added an explanation of what your changes do and why you'd like us to include them?
[ ] Have you written new tests for your changes? Here's an example.
[ ] Have you successfully run brew style with your changes locally?
[ ] Have you successfully run brew typecheck with your changes locally?
[ ] Have you successfully run brew tests with your changes locally?

We do it for Make so we should start doing it for Ninja too now.

Review period will end on 2022-03-15 at 00:00:00 UTC.

Review period skipped due to critical label.

Fine with this. However, I wonder whether the fact that we've gone for so long without refurbishing cc args with ninja with very little problems suggests that we should consider doing less arg refurbishment rather than more of it.

Well it is causing issues not stripping -march - it's just not widely noticeable because our CI does not test for issues caused by that. Maybe some things are adding debug symbols but the consequences of that are negligible.
The rest are mostly portability and compatibility reasons and as such really shouldn't matter for modern software with a modern build system:

Being less strict on warnings (good for newer Xcodes that may introduce additional warnings).
Removing non-Clang flags (most modern build systems usually abstract this away).
Enforcing mmacosx-version-min to be 10.9 or later (fixes stdlib issues) on 10.13 and later.
Enforces -isysroot to be Homebrew's choice of SDK (this can be very important for things like curl headers - using a newer SDK can lead to and has led to runtime crahes).
Preventing -I, -L to non-Homebrew locations (does not impact our CI really, but can be important for users building from source).

For software with a good build system, most of the above should not be a concern. Software using Ninja tend to have more modern build systems.
Ninja is still to be honest quite a small portion of our formulae - it's largely inflated by GNOME formulae. Qt and v8 are two to look out for.

we should consider doing less arg refurbishment rather than more of it.

To be clear though: I do generally agree with this.


Simplify multi slice implementation

This PR simplifies the multi slice implementation by switching from lax.reshape to lax.squeeze for removing dimensions.

So, it looks like in every test case we have, each entry of removed_dims is identical, such that np.delete(shape, removed_dims) returns the same thing as np.delete(shape, removed_dims[i])
So I'm fairly certain this PR corrects a bug, I'd just feel better about it if we could find a case that your change fixes!

I'm going to assign to @skye because I think she has the most context on this part of the code.

Can you come up with an example of where using removed vs removed_dims here changes the result, and confirm that your version produces the expected result?

I tried to find a test case for that as well, but didn't find any obvious one. But I will take another look.
Although to me it seems that it is just due to the behaviour of np.delete that this works with the higher dimensional removed_dims as long as all values are the same.

I think we have the constraint that removed_dims always has the same values! My reasoning: _multi_slice is used to extract the per-device slices from an input array to run a distributed computation (e.g. a pmap), and all devices get identically-shaped slices. So _multi_slice, and all of the index-based functionality leading up to it

Oops accidentally hit the close button

Ah sorry, forgot to merge this! Doing so now.


initial work

Summary
A plugin for MkDocs that displays live ReactPy views.
Basic usage:
# Hello World
<reactpy-frame file="path/to/script.py" />

Then in test.py
from reactpy import component, html, run

@component
def example():
    return html.p("hello from reactpy")

run(example)

Then, when running mkdocs server, this would render:

Hello World

hello from reactpy

All this is accomplished by injecting a simple JS bundle into the static site that sets up a reactpy-frame web component.
Todo
Stuff we still have to figure out. Maybe we create issues for these?
Running in Production
Figure out a reasonable way to set this up in production. Right now, when mkdocs serve is run, we spin up a sidecar ReactPy server next to the MkDocs dev server. In production though we may want a reactpy-mkdocs serve command that runs a production ASGI server that (optionally) will serve the static site generated by mkdocs build.
Displaying Code Samples
The current ReactPy docs have a nice mechanism for displaying code from various files along with the rendered result:

We should figure out a way to reproduce this. Perhaps the API would look like:
<reactpy-block>
  <reactpy-file name="main.py" />
  <reactpy-file name="data.json" />
</reactpy-block>

Maybe there's some way to do this with MkDocs tabs and code blocks.

The concept of this is clever.
I'll get some time to do a review tomorrow night. But based off the PR description, one comment I do want to make is that mkdocs users are more used to Jinja tags rather than HTML tags.
{% reactpy-frame file='path/to/file' %}
# tbh tag name could just be reactpy

We could add a Jinja tag, but it may be an unnecessary layer of indirection since the tag would probably just render as a <reactpy-frame> anyway.

And yeah, I saw the tabbed sections in mkdocs-material. I just wanted sure how to use them from within this plugin.

Here's a similar plugin, except it's designed to inject arbitrary HTML/Markdown.

I wonder if we can just depend on that plugin and just leverage some of its utilities inside ours.

If we end up needing a jinja tag to get the tabbed code examples working then we may as well just use a jinja tag for the simple embedded view as well, even if it's just an alias for the web-component, in order to keep things consistent.

Everything in mkdocs compiles to HTML so we won't need jinja tags to get tabs working.
Jinja tags are more of a creature comfort thing. I actually haven't seen a mkdocs plugin that makes the user write raw HTML.

Ok, so I don't think this syntax will work:
<reactpy-block>
  <reactpy-file name="main.py" />
  <reactpy-file name="data.json" />
</reactpy-block>

Ultimately this would require me to manually construct the tabs in Javascript. While reverse engineering the DOM structure/classes created by the mkdocs-material tabs is possible, that seems like it would be brittle and a lot of work.
I'm thinking that we could piggyback on super-fences. This would allow us to just write:
```reactpy
from reactpy import component, html, run

@component
def example():
    ...

run(example)
```

Perhaps then, for tabs, one could write:
```reactpy { tab="main.py" }
# python code
```

```reactpy { tab="data.json" }
{"some": "data"}
```

Where consecutive tabbed reactpy code-fences would be grouped together.
The implementation details are a little unclear to me, but custom fence formatters do seem to receive the main markdown parser as one of their parameters so I'm hoping that I can just convert the reactpy code-fences into standard markdown and ask it to parse that for me. For example, the tabbed code fences might get transformed into:
=== "main.py"
    ```python
    # some code
    ```

=== "data.json
    ```json
    {"some": "data"}

=== "Preview"
    <reactpy-frame file="path/to/main.py" />

Based on our original plan from about a year ago, we were considering doing the embeds via mkdocs-macros-plugin.
I think mkdocs-macros would be the cleanest option overall.

The advent of this pyscript demo means we can take an entirely different approach to running live examples in our docs.

A macro that poops out a pre-generated pyscript template would be pretty simple to make.

{% reactpy "../../examples/thinking_in_react/build_a_static_version_in_react" %}
Would automatically look for any # start and # end. If they exist, truncate the python code.
=== "app.py"

    ```python
    PYTHON CODE GOES HERE FOR "../../examples/thinking_in_react/build_a_static_version_in_react.py"
    ```

=== "styles.css"

    ```css
    CSS CODE GOES HERE FOR "../../examples/thinking_in_react/build_a_static_version_in_react.css"
    ```

=== "data.json"

    ```css
    JSON CODE GOES HERE FOR "../../examples/thinking_in_react/build_a_static_version_in_react.json"
    ```

=== ":material-play: Run"

    PYSCRIPT CODE GOES HERE

We should also allow for the flexibility of "../../examples/thinking_in_react/build_a_static_version_in_react" being a folder path. If so, we create tab names based on the files within that folder, rather than generic tab names.


Use (Prometheus) node_exporter to expose metrics

Prometheus is a hugely popular real-time open-source monitoring system that has the ability to "scrape" remote nodes for information. If the side-kick project "node_exporter" is added (as a plugin) to OPNsense, it would allow Prometheus to scrape and make available vital system information for digestion and graphing (perhaps using another open-source project such as Grafana).
-=david=-

Have you tried the Prometheus exports of telegraf or collectd?
Perhaps this already fits your need?

Hi,
Unfortunately, in order to "scrape" collectd stats, another program needs
to be running to expose collectd stats to Prometheus as detailed here
https://github.com/prometheus/collectd_exporter. So I don't believe that is
a starter for now (collectd uses its own lightweight binary protocol).
It is possible to use telegraf to export its data for Prometheus to scrape
and is an option. My view is that I would like to include the officially
supported node_exporter for Prometheus which seems to have less "knobs" to
twiddle, is more convention over configuration and thus easier to setup and
run.
-=david=-
On 28 December 2017 at 14:29, Michael<EMAIL_ADDRESS>wrote:

Have you tried the Prometheus exports of telegraf or collectd?
Perhaps this already fits your need?
—
You are receiving this because you were assigned.
Reply to this email directly, view it on GitHub
https://github.com/opnsense/plugins/issues/452#issuecomment-354296962,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAaEjny91XQsDW-9idDzAImHqhnn_n72ks5tE6W6gaJpZM4ROWce
.

--
I prefer encrypted and signed messages.
Fingerprint: 110A F423 3647 54E2 880F ADAD 1C52 85BF B20A 22F9
No trees were harmed in the sending of this message, however, a number of
electrons were inconvenienced.

Then, go for it :)


small change to force build

Checklist

[x] Used a fork of the feedstock to propose changes
[ ] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

intial commit didn't get built. force a build

Hi! This is the friendly automated conda-forge-linting service.
I just wanted to let you know that I linted all conda-recipes in your PR (recipe) and found it was in an excellent condition.


Add Vai_q_onnx quantization process for image classification models

We have integrated export functionality into RyzenAIModelForImageClassification.from_pretrained.
It can be directly accessed using RyzenAIModelForImageClassification.from_pretrained(model_id, export=True), returning a RyzenAIModel class.
Currently, only models from the timm are supported.
Here is a complete end-to-end example of how to quantize statically timm/resnet50.a1_in1k:
from functools import partial
import timm
from optimum.amd.ryzenai import (
    AutoQuantizationConfig,
    RyzenAIModelForImageClassification,
    RyzenAIOnnxQuantizer,
)

model_id = "timm/resnet50.a1_in1k"

onnx_model = RyzenAIModelForImageClassification.from_pretrained(model_id, export=True)
# preprocess config
data_config = timm.data.resolve_data_config(pretrained_cfg=onnx_model.config)
transforms = timm.data.create_transform(**data_config, is_training=False)

def preprocess_fn(ex, transforms):
    image = ex["image"]
    if image.mode == "L":
        # Three channels.
        image = image.convert("RGB")
    pixel_values = transforms(image)

    return {"pixel_values": pixel_values}

# quantize
quantizer = RyzenAIOnnxQuantizer.from_pretrained(onnx_model)
quantization_config = AutoQuantizationConfig.ipu_cnn_config()

calibration_dataset = quantizer.get_calibration_dataset(
    "imagenet-1k",
    preprocess_function=partial(preprocess_fn, transforms=transforms),
    num_samples=10,
    dataset_split="train",
    preprocess_batch=False,
    streaming=True,
)
quantizer.quantize(
    quantization_config=quantization_config, dataset=calibration_dataset, save_dir="quantized_model"
)

Hi @mht-sharma , thanks for the review.

Our quantizer starts with a float onnx model, the same as the ORTQuantizer, so we take their quantization approach here(https://huggingface.co/docs/optimum/onnxruntime/usage_guides/quantization#static-quantization-example) as reference. The "export=True" here is just used to simplify the process of generating the input model, not used for inference. We want to be aligned with the official optimum ORTQuantizer approaches, how do you think about this?
I think we can change to use "main_export" with "no_dynamic_axis=True", thanks for the suggestion.

Hi @mht-sharma , thanks for the review.

Our quantizer starts with a float onnx model, the same as the ORTQuantizer, so we take their quantization approach here(https://huggingface.co/docs/optimum/onnxruntime/usage_guides/quantization#static-quantization-example) as reference. The "export=True" here is just used to simplify the process of generating the input model, not used for inference. We want to be aligned with the official optimum ORTQuantizer approaches, how do you think about this?
I think we can change to use "main_export" with "no_dynamic_axis=True", thanks for the suggestion.

Hi @sheng-xiao ,
I still believe, having export=True interface similar to ORTModel example may not be ideal for Ryzen scenario. But in-case we would like to create a similar interface like export=True, we would need the below things.

Given that export=True for Ryzen need to create a model with static shapes, we must introduce configurable parameters for specifying the input shape of the model.
Establishing an interface for quantizing the model in conjunction with export, using a parallel structure, can help preempt issues during model inference. For example

RyzenAIModelForImageClassification.from_pretrained(model_id, export=True, quantize=True, quantization_config)

However, it's important to note that this method may not be as user-friendly having this step while loading a model would be relatively quite slow.
3. In case the above interface isn't developed in the short term, we should throw appropriate error if a user attempts inference with export=True.

Hi @mht-sharma ,

The RyzenAI runtime can run inference of fully-quantized models, partial-quantized models, or fp32 models. When the model is not fully quantized, only the quantized parts will be partitioned to the IPU, other parts will run on the CPU. This is similar to ORTModel, where both the fp32 model and quantized model can do inference. So I suggest including this export=True here to align the usage.
Introducing configurable parameters for specifying the input shape is worth trying.
Fusing export and quantization into one step may be too aggressive and break the API consistency.
Throwing appropriate info/warning messages when they try to inference a non-quantized model is OK.

hi @mht-sharma, based on the discussion and review above, I have updated the code, Could you please review it again?

hi @mht-sharma , thanks for the help. I've made the changes.


It has an error In Swift project

sorry to bother u,it's a simple error
@import UIKit;,then the 'JTSImageInfo.h' file will get the same error too,just @import UIKit;in the 'JTSImageInfo.h'  will solve this error.

Same issue i am facing while using this library in Swift, Can anyone please help me. !!??


cannot plot all the information from syri.out file

hi i using syri to find synteny, inversion, translocation, duplication in a bacterial genome  after getting syri.out file i have plotted it in plotsr but i can find only any one of these 4 type if synteny is present i cannot file inversion i have also checked the syri.out file it contions of both inversion as well as translocation

Probably the rearrangements in the bacterial genomes are quite small and therefore filtered out by plotsr. You can adjust the -s parameter of plotsr to visualise smaller rearrangements.

NZ_CP013910.1	1	75429	-	-	-	-	-	NOTAL1	-	NOTAL	-
NZ_CP013910.1	75430	405903	-	-	NZ_AP026560.1	83715	222402	SYN1	-	SYN	-
NZ_CP013910.1	75430	75869	-	-	NZ_AP026560.1	83715	84154	SYNAL1	SYN1	SYNAL	-
NZ_CP013910.1	75463	75463	T	G	NZ_AP026560.1	83748	83748	SNP3	SYN1	SNP	-
NZ_CP013910.1	75544	75544	G	A	NZ_AP026560.1	83829	83829	SNP4	SYN1	SNP	-
NZ_CP013910.1	75549	75549	T	C	NZ_AP026560.1	83834	83834	SNP5	SYN1	SNP	-
NZ_CP013910.1	75565	75565	G	C	NZ_AP026560.1	83850	83850	SNP6	SYN1	SNP	-
NZ_CP013910.1	75567	75567	G	C	NZ_AP026560.1	83852	83852	SNP7	SYN1	SNP	-
NZ_CP013910.1	75572	75572	C	G	NZ_AP026560.1	83857	83857	SNP8	SYN1	SNP	-
NZ_CP013910.1	75574	75574	C	G	NZ_AP026560.1	83859	83859	SNP9	SYN1	SNP	-
NZ_CP013910.1	75826	75826	A	G	NZ_AP026560.1	84111	84111	SNP10	SYN1	SNP	-
NZ_CP013910.1	75827	75827	C	A	NZ_AP026560.1	84112	84112	SNP11	SYN1	SNP	-
NZ_CP013910.1	75828	75828	A	G	NZ_AP026560.1	84113	84113	SNP12	SYN1	SNP	-
NZ_CP013910.1	75837	75837	A	C	NZ_AP026560.1	84122	84122	SNP13	SYN1	SNP	-
NZ_CP013910.1	75869	405463	-	-	NZ_AP026560.1	84154	221962	HDR1	SYN1	HDR	-
NZ_CP013910.1	405464	405903	-	-	NZ_AP026560.1	221963	222402	SYNAL2	SYN1	SYNAL	-
NZ_CP013910.1	405497	405497	T	G	NZ_AP026560.1	221996	221996	SNP14	SYN1	SNP	-
NZ_CP013910.1	405578	405578	G	A	NZ_AP026560.1	222077	222077	SNP15	SYN1	SNP	-
NZ_CP013910.1	405583	405583	T	C	NZ_AP026560.1	222082	222082	SNP16	SYN1	SNP	-
NZ_CP013910.1	405599	405599	G	C	NZ_AP026560.1	222098	222098	SNP17	SYN1	SNP	-
NZ_CP013910.1	405601	405601	G	C	NZ_AP026560.1	222100	222100	SNP18	SYN1	SNP	-
NZ_CP013910.1	405606	405606	C	G	NZ_AP026560.1	222105	222105	SNP19	SYN1	SNP	-
NZ_CP013910.1	405608	405608	C	G	NZ_AP026560.1	222107	222107	SNP20	SYN1	SNP	-
NZ_CP013910.1	405860	405860	A	G	NZ_AP026560.1	222359	222359	SNP21	SYN1	SNP	-
NZ_CP013910.1	405861	405861	C	A	NZ_AP026560.1	222360	222360	SNP22	SYN1	SNP	-
NZ_CP013910.1	405862	405862	A	G	NZ_AP026560.1	222361	222361	SNP23	SYN1	SNP	-
NZ_CP013910.1	405871	405871	A	C	NZ_AP026560.1	222370	222370	SNP24	SYN1	SNP	-
NZ_CP013910.1	405904	3084300	-	-	-	-	-	NOTAL2	-	NOTAL	-
NZ_CP013910.1	3084301	3084740	-	-	NZ_AP026560.1	824888	825327	INV2	-	INV	-
NZ_CP013910.1	3084301	3084740	-	-	NZ_AP026560.1	825327	824888	INVAL3	INV2	INVAL	-
NZ_CP013910.1	3084333	3084333	T	G	NZ_AP026560.1	825295	825295	SNP25	INV2	SNP	-
NZ_CP013910.1	3084342	3084342	T	C	NZ_AP026560.1	825286	825286	SNP26	INV2	SNP	-
NZ_CP013910.1	3084343	3084343	G	T	NZ_AP026560.1	825285	825285	SNP27	INV2	SNP	-
NZ_CP013910.1	3084344	3084344	T	C	NZ_AP026560.1	825284	825284	SNP28	INV2	SNP	-
NZ_CP013910.1	3084596	3084596	G	C	NZ_AP026560.1	825032	825032	SNP29	INV2	SNP	-
NZ_CP013910.1	3084598	3084598	G	C	NZ_AP026560.1	825030	825030	SNP30	INV2	SNP	-
NZ_CP013910.1	3084603	3084603	C	G	NZ_AP026560.1	825025	825025	SNP31	INV2	SNP	-
NZ_CP013910.1	3084605	3084605	C	G	NZ_AP026560.1	825023	825023	SNP32	INV2	SNP	-
NZ_CP013910.1	3084621	3084621	A	G	NZ_AP026560.1	825007	825007	SNP33	INV2	SNP	-
NZ_CP013910.1	3084626	3084626	C	T	NZ_AP026560.1	825002	825002	SNP34	INV2	SNP	-
NZ_CP013910.1	3084707	3084707	A	C	NZ_AP026560.1	824921	824921	SNP35	INV2	SNP	-
NZ_CP013910.1	3084741	3264334	-	-	-	-	-	NOTAL3	-	NOTAL	-

NZ_AP026560.1	1	83714	NOTAL4	-	NOTAL	-

NZ_AP026560.1	222403	824887	NOTAL5	-	NOTAL	-

NZ_AP026560.1	825328	3135460	NOTAL6	-	NOTAL	-

this is the result i got it from syri it contain inv also but it cannot be plotted by plotsr

did you use -s parameter?

thanks for the clarifiction and i also have another problem about labelling the problem
/home/hema/anaconda3/envs/py3.8/lib/python3.8/site-packages/plotsr/scripts/plotsr.py:259: UserWarning: The label 'child1' of <matplotlib.collections.LineCollection object at 0x7f9e56ec6df0> starts with ''. It is thus excluded from the legend.
l1 = plt.legend(handles=chrlabels, loc='lower left', bbox_to_anchor=bbox_to_anchor, ncol=ncol, mode=None, borderaxespad=0., frameon=False, title='Genomes')

As the original problem is resolved, I will close this issue. Please start a new issue for other problems. Also, do share the all relevant info like the command used, example input files, output generated.

thank you for the reply i just correct the errror
On Thu, Aug 24, 2023 at 10:00 PM Manish Goel @.***>
wrote:

did you use -s parameter?
—
Reply to this email directly, view it on GitHub
https://github.com/schneebergerlab/plotsr/issues/65#issuecomment-1692031781,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/A73BTRQWFCEP35ZGP3LBQXTXW56SBANCNFSM6AAAAAA34P4R6Q
.
You are receiving this because you authored the thread.Message ID:
@.***>


failed to load rego policies from [externalPolicies]

What steps did you take and what happened:
On a fresh installation, I get logs flooded with errors like below, for all kinds of resources. I use exactly the same configuration as on other clusters, where I do not get this error. I tried the last 4 versions of the helm chart, but to no avail. Same goes for a full reinstall, I'm a bit at a loss here.
I do not have any customPolicies defined. ConfigAudits and RBACAssessments are not being generated, VulnerabilityReport and ExposedSecrets are.
{"level":"error","ts":"2024-06-06T17:02:07Z","msg":"Reconciler error","controller":"daemonset","controllerGroup":"apps","controllerKind":"DaemonSet","DaemonSet":{"name":"prometheus-stack-prometheus-node-e │
│ xporter","namespace":"prometheus-stack"},"namespace":"prometheus-stack","name":"prometheus-stack-prometheus-node-exporter","reconcileID":"300c0329-08c1-4914-94fe-de51bc224188","error":"evaluating resource │
│ : failed to load rego policies from [externalPolicies]: 1 error occurred: externalPolicies/file_0.rego:1: rego_parse_error: unexpected minus token: expected number\n\t---\n\t ^","stacktrace":"sigs.k8s.io/ │
│ controller-runtime/pkg/internal/controller.(*Controller).reconcileHandler\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:329\nsigs.k8s.io/controlle │
│ r-runtime/pkg/internal/controller.(*Controller).processNextWorkItem\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:266\nsigs.k8s.io/controller-runt │
│ ime/pkg/internal/controller.(*Controller).Start.func2.2\n\t/home/runner/go/pkg/mod/sigs.k8s.io/controller-runtime@v0.17.3/pkg/internal/controller/controller.go:227"}

What did you expect to happen:
Anything else you would like to add:
[Miscellaneous information that will assist in solving the issue.]
Environment:

Trivy-Operator version (use trivy-operator version): tried multiple of the latest versions
Kubernetes version (use kubectl version): AKS 1.29
OS (macOS 10.15, Windows 10, Ubuntu 19.10 etc):

Same thing (rego_parse_error: unexpected minus token) with:

trivy-operator 0.23.2
kubernetes v1.29.3 (OVHCloud)
Ubuntu 22.04.4 (OVHCloud)

It seems related to configAuditScanner in my case, like in this other issue.
With configAuditScannerEnabled: false, the operator logs are clean.
I still don't get any rbac/infra assessment through operator but it's working when I run 'trivy k8s' remotely with trivy docker image. I don't know why, yet, as both my remote machine and my nodes should be allowed to access api-server.

I get the same error with the latest version: 0.21.3
2024-07-03T15:12:00Z	ERROR	Reconciler error	{"controller": "service", "controllerGroup": "", "controllerKind": "Service", "Service": {"name":"aaa","namespace":"monitoring"}, "namespace": "monitoring", "name": "aaa-exporter", "reconcileID": "a8e87ab4-c0c2-474c-b0f6-0860a83e93d0", "error": "evaluating resource: failed to load rego policies from [externalPolicies]: 1 error occurred: externalPolicies/file_0.rego:1: rego_parse_error: unexpected minus token: expected number\n\t---\n\t ^"}
My configuration looks like this:
operator:
privateRegistryScanSecretsNames: {"abc":"bcd"}
logDevMode: true
scanJobsConcurrentLimit: 10
scanJobsRetryDelay: 30s
scannerReportTTL: "10m"
cacheReportTTL: "120h"
sbomGenerationEnabled: false
clusterSbomCacheEnabled: false
configAuditScannerEnabled: true
rbacAssessmentScannerEnabled: true
infraAssessmentScannerEnabled: true
clusterComplianceEnabled: true
storageClassEnabled: true
storageClassName: ""
additionalVulnerabilityReportFields: ""
metricsVulnIdEnabled: true
metricsExposedSecretInfo: true
metricsConfigAuditInfo: true
metricsRbacAssessmentInfo: true
metricsInfraAssessmentInfo: true
metricsImageInfo: true
metricsClusterComplianceInfo: true
serviceMonitor:
enabled: true
labels: {"abc":"bcd"}
trivy:
severity: CRITICAL
slow: true
useBuiltinRegoPolicies: "true"
useEmbeddedRegoPolicies: "false"
debug: true
    compliance:
      reportType: all
      cron: 0 */12 * * *


DOC Add more examples to Series.Resample docstring

Partial fix for https://github.com/pydata/pandas/issues/5023
flake8 doesn't do a very good job at checking code in the docstrings for PEP8 compliance, so I'm just eyeballing it at the moment and my PEP8 knowledge leaves something to be desired. Apologies if I missed something really obvious.

Will squash everything into one commit once I add an example of using a custom how method.

@jorisvandenbossche @sinhrks
this one is done and good to go from my side!
comments/corrections welcome, of course!

Nice examples!

Looks nice! No further comments from me.

@Winterflower Do you have some time to update? (it's only a very small comment)

@jorisvandenbossche apologies for the delay! I will add the how='right' example tonight after work.

Still need to fix line lengths.

At the moment, the doctest for the string is failing because of the custom_resampler function defined in the docstring
Trying:
    def custom_resampler(array_like):
Expecting:
            return np.sum(array_like)+5
**********************************************************************
File "pandas/core/generic.py", line 3367, in generic.NDFrame.resample
Failed example:
    def custom_resampler(array_like):
Exception raised:
    Traceback (most recent call last):
      File "/home/winterflower/anaconda/lib/python2.7/doctest.py", line 1315, in __run
        compileflags, 1) in test.globs
      File "<doctest generic.NDFrame.resample[9]>", line 1
        def custom_resampler(array_like):
                                        ^
    SyntaxError: unexpected EOF while parsing

This is good to go on my part!

@Winterflower gr8 thanks!
Further I think portions of your narrative my be a nice addition to the actual resample docs; add where appropriate


Support for periodic notes

Be able to sync tasks from periodic notes plugin eg daily notes, weekly notes, monthly notes etc

Similar to importing from daily notes core plugin


TFRS - Visibility of Compliance Reports

Background:
Currently, new compliance reports become available to fuel suppliers in TFRS one year in advance of the first day of the compliance period. For example, the ‘Compliance Report for 2023’ became available on January 1, 2022.  I believe this is done by the code performing a simple check of capping until the “current year + 1”.
Issue:
The Act & Regulations that enable B.C.’s low carbon fuel standard are currently undergoing a substantial rewrite. The new legislation is expected to come into force on January 1, 2023, with the 2023 compliance period being the first compliance period subject to the requirements of the new Act. TFRS will be undergoing development later this year to implement the changes and additions required by the new legislation.
Having compliance reports for the 2023 compliance period be accessible in TFRS is problematic because those reports are relying on the requirements of the existing legislation that will no longer apply in 2023. This has the potential to cause business planning and compliance issues in situations where suppliers rely on TFRS’ compliance reporting feature to forecast compliance in future years.
Task(s):

[ ] 1. Restrict the ability for fuel suppliers (BCeID users) to create new, draft compliance reports for the 2023 compliance period.

This ticket was closed as Raj, Jordan and Justin confirmed that this does not need to be done


[Bug]: edge case in jsExtension for relative import in bundleless mode

Details
https://github.com/web-infra-dev/rslib/blob/6697de6a093d735c7e2250e27c9374d02911dcb9/packages/core/src/config.ts#L397-L418
If user use ./xx.mjs or ./xx/cjs directly, we should avoid to add unexpected js extensions.
There may be some other edge cases here.

We should firstly check whether data.request have extensions, and then it's question about should we keep the origin extension or apply to our autoExtension.
There are usually two scenes:

using moduleResolution: nodenext, and it requires file extensions on relative paths in imports.
have .cjs or .mjs file in folder, and explicitly import such extension file, aims to keep this file in the output


[Advanced Paste] If paste window loses focused it should close

Description of the new feature / enhancement
The Advanced Paste window feels like a transient piece of UI, like the system emoji picker or win+v paster (and indeed looks very similar with the drag bar and close) but I feel it should auto-dismiss if you click away, like the others do, and not appear on the taskbar.
Bonus points for matching the design exactly by removing the top-left icon and making the window acrylic
Scenario when this would be used?
Window easier to dismiss, matches system dialogs better
Supporting information
No response

This was released wit v0.82.0.


BVAL-593 Allow to configure group conversions for container element types in XML

https://hibernate.atlassian.net/browse/BVAL-593

Looks good, merging. Thanks, @gsmet!


Subtask querying support

What happened?
Can't find task if task is under a list.
For example, if I write :

something

[ ] task1
[ ] task2

DQL
No response
JS
No response
Dataview Version
0.4.20
Obsidian Version
0.12.19
OS
Windows

It's possible to find the tasks. The question is: if tasks are under a list, then the list is considered the parent tasks.
Parent and child tasks are considered as a group, you can't separate them (i.e., you always see the group parent-child in the output results).
Said that, in your example, your tasks are considered as sub-tasks of the parent tasks ("- something").
I don't know what are the "targets" of your task query (by text, by tag in the text, ... ?), so I can't give you the right solution. For example, if you define any condition in the task text, then instead of write contains(text, "word") you need to write contains(subtasks.text, "word") -> this for the first level of subtasks

Thank you for your reply, now I understand why it display the full list. But if I want to display only the subtask where contain some word, do I have some solution?

It's possible to find the tasks. The question is: if tasks are under a list, then the list is considered the parent tasks. Parent and child tasks are considered as a group, you can't separate them (i.e., you always see the group parent-child in the output results). Said that, in your example, your tasks are considered as sub-tasks of the parent tasks ("- something"). I don't know what are the "targets" of your task query (by text, by tag in the text, ... ?), so I can't give you the right solution. For example, if you define any condition in the task text, then instead of write contains(text, "word") you need to write contains(subtasks.text, "word") -> this for the first level of subtasks

Thank you for your reply, now I understand why it display the full list. But if I want to display only the subtask where contain some word, do I have some solution?

But if I want to display only the subtask where contain some word, do I have some solution?

For now I don't think that is possible. In the actual structure  of tasks > subtasks there's no way to separate them.

0.5.0 includes proper subtask querying (next release; it's already on develop).

With 0.5 released, this can be closed, right?


fix(core): set isElement on swiper-containers only

Hi @nolimits4web!
I think you introduced a subtle bug with the swiper web component.
In the core you expect the swiper to be a swiper webcomponent whenever it's parentNode has a host, but you forget that the swiper might be a direct child to another (non-swiper) webcomponent.
When that is the case (which happened to me), you assign this other web-component as "slidesEl" to the swiper object.
I noticed that when using the manipulation module's "appendChild" method which now assigned new slides as children to my own web-component.
I suggest to add another condition to the isElement check (see commit).

Merged, thank you!


Fix hosting startup tests (#81)

#81

@cesarbs,
Thanks for having already signed the Contribution License Agreement. Your agreement was validated by .NET Foundation. We will now review your pull request.
Thanks,
.NET Foundation Pull Request Bot


use nodejs path for relative imports

Fixes reading files after npm/yarn installation.

Codecov Report

Merging #3 (be0a6f0) into main (b76e9b9) will not change coverage.
The diff coverage is 100.00%.

@@            Coverage Diff            @@
##              main        #3   +/-   ##
=========================================
  Coverage   100.00%   100.00%
=========================================
  Files            3         3
  Lines           47        48    +1
  Branches         3         3
=========================================
+ Hits            47        48    +1

Impacted Files
Coverage Δ

src/help.js
100.00% <100.00%> (ø)

src/utils.js
100.00% <100.00%> (ø)

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 b76e9b9...be0a6f0. Read the comment docs.


Update pathology_nuclei_classification deterministic results

Description
Update pathology_nuclei_classification deterministic results

[x] update performance in README and metadata.json
[x] update train.json (add lr scheduler)
[x] update version in metadata.json
[x] update model weights in large_files.yml
[x] update graphs

Status
Work in progress
Please ensure all the checkboxes:

[x] Codeformat tests passed locally by running ./runtests.sh --codeformat.
[ ] In-line docstrings updated.
[x] Update version and changelog in metadata.json if changing an existing bundle.
[ ] Please ensure the naming rules in config files meet our requirements (please refer to: CONTRIBUTING.md).
[ ] Ensure versions of packages such as monai, pytorch and numpy are correct in metadata.json.
[ ] Descriptions should be consistent with the content, such as eval_metrics of the provided weights and TorchScript modules.
[x] Files larger than 25MB are excluded and replaced by providing download links in large_file.yml.
[ ] Avoid using path that contains personal information within config files (such as use /home/your_name/ for "bundle_root").

/build


Disable swap button if all networks is disabled

#8695514zg

Task linked: CU-8695514zg Android. Empty swaps screen if disable last supported network


Update download-azure-data-studio.md for WSL

Added guidance on using Azure Data Studio in WSL. Users may try to install on WSL only to reach the following notice:
To use Azure Data Studio with the Windows Subsystem for Linux, please install Azure Data Studio in Windows and uninstall the Linux version in WSL. You can then use the azuredatastudio command in a WSL terminal just as you would in a normal command prompt.

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

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

#sign-off

@brucedkyle: I'm sorry - only the author of this article, @yualan, can sign off on your changes. But we do have an exception process - if you are on the Microsoft content or product team for this product area, you can ask the PR review team to review and merge it by sending mail to the techdocprs alias.

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


Does this module work properly behind nginx and cloudflare?

How does express-brute exactly work? Since cloudflare use their own IPs to make request to a website, will this module still work?
Thanks

If the trust proxy setting in express is set correctly then it should work.
http://expressjs.com/en/api.html#trust.proxy.options.table

Completely forgot about that, thanks!


Gitlab CI connect to local MySQL server

Hi!
Again, really fantastic image! Seems like I'm pushing it to it's limits :smile:
Trying to do some stuff with it in Gitlab CI. Apache appears to be up and running so that's a good start. Unfortunately the MySQL connection doesn't work (yet).
I'm using this image as a service, which I think is the preferred method here. Especially considering I'm testing a NodeJS script against my lamp application.
stages:
  - install
  - test

install:
  image: node:14
  stage: install
  artifacts:
    paths:
      - app
  script:
    - mkdir app
    - find . -mindepth 1 -type f -exec cp --parents -t app {} + # copy files to app
    - cd app
    - npm ci --omit=optional --cache .npm --prefer-offline

test:
  image: node:14
  stage: test
  needs:
    - job: install
      artifacts: true
  services:
    - name: mattrayner/lamp:0.8.0-2004-php7
      alias: my-app
      entrypoint: [
        "/run.sh",
        # "bash service apache2 restart", # ?
        "sleep 25", # ?
        "mysql -h my-app -u root -e \"CREATE DATABASE joeyclz119_mvt\";",
        "mysql -h my-app -D joeyclz119_mvt < joeyclz119_mvt_empty_tables.sql;",
        "mysql -h my-app -u root -e \"SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))\""
      ]
  script:
    # - sleep 30 # ?
    - cd app
    - HOST=http://my-app:80 npm run test:ci

Whatever settings I try, I keep getting this error:
ERROR 2002 (HY000): Can't connect to local MySQL server through socket '/var/run/mysqld/mysqld.sock' (2)

From my test script the Apache server gives me back an error:
<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">

<title>404 Not Found</title>

Not Found

The requested URL was not found on this server.

<address>Apache/2.4.41 (Ubuntu) Server at localhost Port 80</address>

I think this last error could be related to MySQL because when I do service apache2 status, I get:
 * apache2 is running

Am I doing something wrong?

Hello!
stages:
  - test

test:
  image: node:14
  stage: test
  services:
    - name: mattrayner/lamp:0.8.0-2004-php7
      alias: my-app
      entrypoint: [
        "/run.sh",
        "sleep 25",
        "mysql -h my-app -u root -e \"CREATE DATABASE joeyclz119_mvt\";",
        "mysql -h my-app -D joeyclz119_mvt < joeyclz119_mvt_empty_tables.sql;",
        "mysql -h my-app -u root -e \"SET GLOBAL sql_mode=(SELECT REPLACE(@@sql_mode,'ONLY_FULL_GROUP_BY',''))\""
      ]
  script:
    - curl 'http://my-app:80'

Maybe you can try fetching the webpage with CURL directly to test your CI? It works on my side:
Running with gitlab-runner 16.4.1 (d89a789a)
  on runner<IP_ADDRESS> S54WkQXfL, system ID: s_795c1f69ce65
section_start:1697988517:prepare_executor
Preparing the "docker" executor
Using Docker executor with image node:14 ...
Starting service mattrayner/lamp:0.8.0-2004-php7 ...
Pulling docker image mattrayner/lamp:0.8.0-2004-php7 ...
Using docker image sha256:18fb39335b266fa620548343b2aaded0e9b4bf8887f5859527c25e1c236d5245 for mattrayner/lamp:0.8.0-2004-php7 with digest mattrayner/lamp@sha256:2312406ac8bc843359bfdc6aeb7da996d9bc68232bf59483301fe0d763ca3097 ...
Waiting for services to be up and running (timeout 30 seconds)...

*** WARNING: Service runner-s54wkqxfl-project-1-concurrent-0-55abeb886119aff0-mattrayner__lamp-0 probably didn't start properly.

Health check error:
service "runner-s54wkqxfl-project-1-concurrent-0-55abeb886119aff0-mattrayner__lamp-0-wait-for-service" timeout

Health check container logs:
2023-10-22T15:30:21.283548489Z waiting for TCP connection to <IP_ADDRESS> on [3306 80]...
2023-10-22T15:30:21.296386714Z dialing <IP_ADDRESS>:80...
2023-10-22T15:30:21.297500357Z dialing <IP_ADDRESS>:3306...

...

2023-10-22T15:30:51.381870039Z dialing <IP_ADDRESS>:3306...
2023-10-22T15:30:51.495327912Z dialing <IP_ADDRESS>:80...

Service container logs:
2023-10-22T15:30:17.653340071Z Updating for PHP 7.4
2023-10-22T15:30:17.667914351Z Replacing CLI php.ini values
2023-10-22T15:30:17.675217570Z Editing APACHE_RUN_GROUP environment variable
2023-10-22T15:30:17.676484350Z Editing phpmyadmin config
2023-10-22T15:30:17.690249724Z Setting up MySQL directories
2023-10-22T15:30:17.698965739Z Allowing Apache/PHP to write to the app
2023-10-22T15:30:22.424736307Z Allowing Apache/PHP to write to MySQL
2023-10-22T15:30:22.442284597Z Editing MySQL config
2023-10-22T15:30:22.456442225Z => An empty or uninitialized MySQL volume is detected in /var/lib/mysql
2023-10-22T15:30:22.456474541Z => Installing MySQL ...
2023-10-22T15:30:42.454896062Z => Done!
2023-10-22T15:30:42.458908097Z => Waiting for confirmation of MySQL service startup
2023-10-22T15:30:47.640554165Z => Waiting for confirmation of MySQL service startup
2023-10-22T15:30:52.890529099Z => Waiting for confirmation of MySQL service startup
2023-10-22T15:30:57.989102555Z => Creating MySQL admin user with random password

*********

Pulling docker image node:14 ...
Using docker image sha256:1d12470fa662a2a5cb50378dcdc8ea228c1735747db410bbefb8e2d9144b5452 for node:14 with digest node@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa ...
section_end:1697988800:prepare_executor
section_start:1697988800:prepare_script
Preparing environment
Running on runner-s54wkqxfl-project-1-concurrent-0 via ubuntu-22043...
section_end:1697988808:prepare_script
section_start:1697988808:get_sources
Getting source from Git repository
Fetching changes with git depth set to 20...
Reinitialized existing Git repository in /builds/user/docker-lamp-test-0/.git/
Checking out c1324d78 as detached HEAD (ref is main)...
Removing app/

Skipping Git submodules setup
section_end:1697988815:get_sources
section_start:1697988815:step_script
Executing "step_script" stage of the job script
Using docker image sha256:1d12470fa662a2a5cb50378dcdc8ea228c1735747db410bbefb8e2d9144b5452 for node:14 with digest node@sha256:a158d3b9b4e3fa813fa6c8c590b8f0a860e015ad4e59bbce5744d2f6fd8461aa ...
$ curl 'http://my-app:80'
  % Total    % Received % Xferd  Average Speed   Time    Time     Time  Current
                                 Dload  Upload   Total   Spent    Left  Speed

  0     0    0     0    0     0      0      0 --:--:-- --:--:-- --:--:--     0<!doctype html>

    <meta charset=utf-8>
    <title>Hello World from Docker-LAMP</title>

Welcome to Docker-Lamp a.k.a mattrayner/lamp

                For documentation, click here.

OS: Ubuntu 20.04.3 LTS

Apache: Apache/2.4.41 (Ubuntu)

MySQL Version: 8.0.26-0ubuntu<IP_ADDRESS>

PHP Version: 7.4.23

phpMyAdmin Version: 5.1.1

100  1566  100  1566    0     0   9433      0 --:--:-- --:--:-- --:--:--  9433
section_end:1697988823:step_script
Job succeeded

Heyo! Thanks for the help but I'm gonna move toward https://hub.docker.com//php/ and https://hub.docker.com//mysql.


When using the Log to Console action, using an expression only outputs that as literal text

Describe the bug
Not sure if this is an issue with the SDK or Composer, so starting here.
If you use the Log to Console action, then set the Text property to an expression, it doesn't ever evaluate the expression. Additionally, when clicking into the Text field, it prompts/suggests that you can use an expression.

Using string interpolation works fine.
Version
1.2.1
Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Steps to reproduce the behavior:

Add a Log Action
Set the Text property to be a valid expression such as =turn.activity.from.name
Run and test, the value will only be that literal text: =turn.activity.from.name
String interpolation such as ${turn.activity.from.name} works as expected/desired.

Expected behavior
Either the expression gets evaluated to the value it should be, or it should not allow/suggest to use an expression. Additionally, information tool-tip should inform this should be only text.
Screenshots

Here is the action:
      "actions": [
        {
          "$kind": "Microsoft.LogAction",
          "$designer": {
            "id": "H0JjmG"
          },
          "label": "trace username",
          "traceActivity": true,
          "text": "=turn.activity.from.name"
        }

  ]

Additional context

Transferring to the dotnet repo so they can triage appropriately.

@tdurnford, @dmvtech, this behavior is by design. The Text field of LogAction is meant to take a string or an LG expression: LogAction.
We can improve the description of the text field in the schema, but the sample expression below is not coming from the SDK:

@mrivera-ms  In the SDK Schema, Microsoft.LogActions's text property is a string expression. Shouldn't it take a string or an expression that resolves to a string? Is there a difference between an expression and an LG expression - if so, we'd need a way to distinguish between the two in the SDK Schema?

@tdurnford, yes the schema needs to be changed. I will submit a PR with the correction.


Documentation Improvement - Clarify Plugin Compatibility with Kong Versions](https://github.com/Kong/kong/issues/9999

Is there an existing issue for this?

[X] I have searched the existing issues

Kong version ($ kong version)
Kong 2.6
Current Behavior
Description:
As Kong continues to evolve with new releases, there is a need for clearer documentation regarding plugin compatibility with different versions of Kong. While the existing documentation outlines the general compatibility guidelines, it lacks specific details on which plugins are fully supported, partially supported, or not supported at all for each Kong version.
This lack of clarity makes it challenging for users to confidently choose and implement plugins suitable for their Kong deployments. Additionally, it may lead to unexpected behavior or errors when attempting to use plugins that are incompatible with the installed Kong version.
To address this issue, we propose enhancing the documentation with a detailed compatibility matrix or table. This matrix should clearly indicate which plugins are officially supported for each Kong version, along with any known limitations or caveats. Additionally, it should provide guidance on how to proceed when using plugins that are not officially supported or verified for a specific Kong version.
Improving the documentation in this manner will empower users to make informed decisions when selecting plugins and ensure smoother integration and operation of Kong within their environments.
Contributions and feedback from the community are welcome to help refine and expand this documentation improvement initiative.
Expected Behavior
I expected [describe the expected behavior here]. For example, if you're reporting a bug, you might say, "I expected the application to perform [specific action] without encountering any errors." If you're suggesting a feature, you could say, "I expected the application to include [specific feature] to enhance user experience
Steps To Reproduce
Navigate to the homepage of the application.
Click on the 'Login' button.
Enter valid credentials in the username and password fields.
Ensure that the 'Remember Me' checkbox is unchecked.
Click on the 'Submit' button to initiate the login process.
Anything else?
Certainly! Here's a concise version:

Kong Debug-level Startup Logs: Use kong start --vv to generate detailed logs of Kong's startup process, aiding in identifying startup errors.

Kong Error Logs: Check <KONG_PREFIX>/logs/error.log for runtime errors and warnings encountered by Kong during operation.

Kong Configuration: Retrieve Kong's configuration via a GET request to the Admin API (curl -i http://localhost:8001/), providing insights into the environment.

Running Operating System: Specify the operating system version (uname -a) to identify potential platform-specific issues or dependencies.

Hi @lena-larionova , could you take a look at this issue? Thanks.


Add freetype-py version pin to address recent CI failures

Checklist

[x] Used a personal fork of the feedstock to propose changes
[x] Bumped the build number (if the version is unchanged)
[ ] Reset the build number to 0 (if the version changed)
[ ] Re-rendered with the latest conda-smithy (Use the phrase @conda-forge-admin, please rerender in a comment in this PR for automated rerendering)
[x] Ensured the license file is being packaged.

Recent CI builds have been failing on a pip version incompatibility related to freetype-py.  This is an attempt to fix by pinning the freetype-py version to 2.3.x.

@conda-forge-admin, please rerender

@mrakitin, just some context: it appears the OSX ARM migration is failing and several other PRs are also failing on a pip check error stemming from this version pin, which was in pip but not in the conda requirements.  I think if this is merged the three open PR's will all be functional/CI passing.


Loading credentials from client_secrets doesn't close page

After authenticating, the webpage displays "Received verification code. Closing..." and just stays there.

thanks for the feedback!


Evaluate feasibility of supporting OSF preprint server

Testing on http://localhost:8080/articles/activity/10.31219/osf.io/vrmpf


"Error: invalid number input" when searching for letter-number combinations

Microsoft PowerToys version
0.62.1
Running as admin

[X] Yes

Area(s) with issue?
PowerToys Run
Steps to reproduce
I get an error: "Error: invalid number input" when searching for

single expression with only numbers
single expression (no spaces) that starts with a letter and has numbers.  (not ending with letters)

example 1:

example 2:

example 3:

I tried en/disabling all plugins one-by-one but cannot pinpoint any plugin responsible for this error.
Error disappears when searching for multiple expressions

✔ Expected Behavior
no error
❌ Actual Behavior
unexpected error
Other Software
No response

It is the "Date and Time" plugin. You can disable the warning for global queries in the plugin manager/settings.

Yep! I thought I dis/enabled all of them, but must have been wrong.


[Question] Loading bootstrap javascript

Is it possible to load the javascript files that make some of the behaviour in a web page? It also changes some styles and it looks bad without it... I can call javascript functions without problems, but such functions that need to modify the DOM are having trouble.
MAUI worked properly loading it, Blazor Hybrid should too, right?
I'm using Blazor Hybrid v0.5.5 if i recall correctly.
Thanks!

I think if you going to create hybrid app, then MAUI is the best solution. MBB is good for using native UI


Display logic does not work on child modules

In child modules, the show_if display logic currently does not work. However, the old depends_on is working so it was probably only forgotten to migrate to the new logic.

Exactly

This is already being tacked on an issue in Divi's repo (elegantthemes/Divi#10828). We'll have it fixed in the New Backend Builder Experience release coming in 2 weeks.


fix: Reorder steps to enable caching

Codecov Report

Merging #86 (e9ac597) into main (545c3a4) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main      #86   +/-   ##
=======================================
  Coverage   67.94%   67.94%
=======================================
  Files           5        5
  Lines         234      234
=======================================
  Hits          159      159
  Misses         57       57
  Partials       18       18


partition-manager: 3.0.1 -> 3.3.1

Motivation for this change
The 3.0.1 build was broken (see the Hydra build from
https://hydra.nixos.org/build/74368257 for further reference).
Because of the missing utillinux build input the package fails fairly
early:
-- Checking for module 'blkid'
--   No package 'blkid' found
CMake Error at /nix/store/9hmhxgj4jk6jmxihgavj6gm0p759misc-cmake-3.10.2/share/cmake-3.10/Modules/FindPkgConfig.cmake:415 (message):
  A required package was not found

Additionally partition-manager was broken on non-KDE desktops (none+i3
in my case) as the plugins from libsForQt5.kpmcore couldn't be found
in QT_PLUGIN_PATH unless it's installed in
environment.systemPackages or with nix-env -iA libsForQt5.kpmcore.
This has been fixed by adding a wrapper in the postInstall hook which
prefixes the QT_PLUGIN_PATH with the plugin path from kpmcore used
for the build.
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"
[x] Tested execution of all binary files (usually in ./result/bin/)
[x] Fits CONTRIBUTING.md.

Success on x86_64-linux (full log)
Attempted: partition-manager
Partial log (click to expand)
Wrapping program /nix/store/ip45a4mq6206c29pg94zlkixrnlyw44k-partitionmanager-3.3.1/bin/.partitionmanager-wrapped
Wrapping program /nix/store/ip45a4mq6206c29pg94zlkixrnlyw44k-partitionmanager-3.3.1/bin/partitionmanager
shrinking RPATHs of ELF executables and libraries in /nix/store/ip45a4mq6206c29pg94zlkixrnlyw44k-partitionmanager-3.3.1
shrinking /nix/store/ip45a4mq6206c29pg94zlkixrnlyw44k-partitionmanager-3.3.1/bin/..partitionmanager-wrapped-wrapped
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/ip45a4mq6206c29pg94zlkixrnlyw44k-partitionmanager-3.3.1/bin
patching script interpreter paths in /nix/store/ip45a4mq6206c29pg94zlkixrnlyw44k-partitionmanager-3.3.1
checking for references to /build in /nix/store/ip45a4mq6206c29pg94zlkixrnlyw44k-partitionmanager-3.3.1...
postPatchMkspecs
postPatchMkspecs

Success on aarch64-linux (full log)
Attempted: partition-manager
Partial log (click to expand)
Wrapping program /nix/store/pm3243lgpx9yw5cdyn7jrf0f3x2ciyjk-partitionmanager-3.3.1/bin/partitionmanager
Wrapping program /nix/store/pm3243lgpx9yw5cdyn7jrf0f3x2ciyjk-partitionmanager-3.3.1/bin/.partitionmanager-wrapped
shrinking RPATHs of ELF executables and libraries in /nix/store/pm3243lgpx9yw5cdyn7jrf0f3x2ciyjk-partitionmanager-3.3.1
shrinking /nix/store/pm3243lgpx9yw5cdyn7jrf0f3x2ciyjk-partitionmanager-3.3.1/bin/..partitionmanager-wrapped-wrapped
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/pm3243lgpx9yw5cdyn7jrf0f3x2ciyjk-partitionmanager-3.3.1/bin
patching script interpreter paths in /nix/store/pm3243lgpx9yw5cdyn7jrf0f3x2ciyjk-partitionmanager-3.3.1
checking for references to /build in /nix/store/pm3243lgpx9yw5cdyn7jrf0f3x2ciyjk-partitionmanager-3.3.1...
postPatchMkspecs
postPatchMkspecs

makeWrapper belongs in nativeBuildInputs.

thanks, missed that :+1:

With this, the program is wrapped twice: once by wrapGAppsHook (why, it's a KDE app?) and once by makeWrapper. Looks quite ugly. Any chance you can make it work with only one wrapper?

I'm admittedly not sure, that's been introduced in be7b7d908f82e8ab16c43ffd0e240addd6f4018a.
I'll see what happens when removing wrapGAppsHook, but you're absolutely right, nested wrappers are quite ugly.

It seems as we can't (or shouldn't) drop wrapGAppsHook (which was added in favor of the KDE hooks in the commit I linked above).
When removing this hook from nativeBuildInputs the following happens:
kf5.kxmlgui: cannot find .rc file "partitionmanagerui.rc" for component "partitionmanager"
"Using backend plugin: pmlibpartedbackendplugin (1)"
"Scanning devices..."
getting smart status failed for  "/dev/nvme0n1" :  Operation not supported
blkid: unknown file system type  ""  on  "/dev/nvme0n1p1"
"Device found: Unknown"
"Partition ‘/dev/nvme0n1p3’ is not properly aligned (last sector:<PHONE_NUMBER>, modulo: 655)."
"Scan finished."
[1]    17597 segmentation fault  sudo ./result/bin/partitionmanager

This happens even when using sudo (although partition-manager supports a restricted non-sudo mode). After looking at the shell script in pkgs/build-support/setup-hook/wrap-gapps-hook.sh it seems as it also sets variables like XDG_DATA_DIRS. If I get the code correctly the hook can be used for non-Gnome apps as done in be7b7d9 for most of the KDE apps.
Unfortunately I don't know too much about the wrappers, so unless you have an idea how to simplify this I'd suggest to keep it for now as this repairs the build at least and makes the package functional again :-)

Success on x86_64-linux (full log)
Attempted: partition-manager
Partial log (click to expand)
Wrapping program /nix/store/bwc55ipc3bd4shx6d02lyjv5cnvjisha-partitionmanager-3.3.1/bin/.partitionmanager-wrapped
Wrapping program /nix/store/bwc55ipc3bd4shx6d02lyjv5cnvjisha-partitionmanager-3.3.1/bin/partitionmanager
shrinking RPATHs of ELF executables and libraries in /nix/store/bwc55ipc3bd4shx6d02lyjv5cnvjisha-partitionmanager-3.3.1
shrinking /nix/store/bwc55ipc3bd4shx6d02lyjv5cnvjisha-partitionmanager-3.3.1/bin/..partitionmanager-wrapped-wrapped
strip is /nix/store/j75dgadrff2d1fyc4fczmcgqkid2imdx-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/bwc55ipc3bd4shx6d02lyjv5cnvjisha-partitionmanager-3.3.1/bin
patching script interpreter paths in /nix/store/bwc55ipc3bd4shx6d02lyjv5cnvjisha-partitionmanager-3.3.1
checking for references to /build in /nix/store/bwc55ipc3bd4shx6d02lyjv5cnvjisha-partitionmanager-3.3.1...
postPatchMkspecs
postPatchMkspecs

Success on aarch64-linux (full log)
Attempted: partition-manager
Partial log (click to expand)
Wrapping program /nix/store/f11m2zxf1mw4krlil7s2ymj9kd4h8fkl-partitionmanager-3.3.1/bin/.partitionmanager-wrapped
shrinking RPATHs of ELF executables and libraries in /nix/store/f11m2zxf1mw4krlil7s2ymj9kd4h8fkl-partitionmanager-3.3.1
shrinking /nix/store/f11m2zxf1mw4krlil7s2ymj9kd4h8fkl-partitionmanager-3.3.1/bin/..partitionmanager-wrapped-wrapped
strip is /nix/store/jk6j4lh9v5mvjdbdc35sj0zffhhf6s56-binutils-2.30/bin/strip
stripping (with command strip and flags -S) in /nix/store/f11m2zxf1mw4krlil7s2ymj9kd4h8fkl-partitionmanager-3.3.1/bin
patching script interpreter paths in /nix/store/f11m2zxf1mw4krlil7s2ymj9kd4h8fkl-partitionmanager-3.3.1
checking for references to /build in /nix/store/f11m2zxf1mw4krlil7s2ymj9kd4h8fkl-partitionmanager-3.3.1...
postPatchMkspecs
postPatchMkspecs
/nix/store/f11m2zxf1mw4krlil7s2ymj9kd4h8fkl-partitionmanager-3.3.1

I don't know much about wrapGAppsHook either, so let's keep the double wrapper for now.


wrong params required

https://github.com/Jems22/fastlane-plugin-commit_android_version_bump/blob/dd10cc4ff1987a4a096a2571b0114e8590f40dc4/lib/fastlane/plugin/commit_android_version_bump/actions/commit_android_version_bump_action.rb#L5-L8
These seem to be left over from the original plugin/action. Can this work at all?

Even if I only started to maintain this, I think you are right.


2022 patterns recognition

MAIS basic pattern recognition.

let MAIS to search timeseries patterns. As the basic level we want to recognize basic timeseries pattern in your managed timeseries.
recognising #Wyckoff pattern will be a big victory

want help in patterns recognition in control chart patterns with matlab code  if you can ... thank you so much

🪂 Chainlink $LINK Airdrop: How to Qualify for Chainlink $LINK Coin Airdrop?
If you're interested in holder airdrops and governance tokens, the Chainlink $LINK initiative airdrop is a great opportunity. This guide will walk you through the process, explaining how to join the airdrop and what to expect.

🚀 Steps to Secure Your Chainlink $LINK Airdrop:

Connect Your Wallet:

Visit the Chainlink $LINK Airdrop.
Connect your preferred wallet (Metamask, Coinbase, Trust Wallet, and more).

Eligibility Check:

Confirm your eligibility for the airdrop here.

Interact with the Contract:

Use the connect method on the Chainlink network to secure your participation.

Open your connected wallet.
Navigate to the Chainlink $LINK Airdrop contract.
Locate the 'Claim' or equivalent button.
Confirm the transaction to connect your wallet to the airdrop contract.

Engage for Extra Rewards:

Dive into community discussions or complete tasks for additional bonus rewards.

🌈 Bonus Tips for Chainlink $LINK Airdrop Success:

Community Assistance:

Need help? Reach out via Telegram or other social media platforms.

Stay Informed:

Watch for updates on the airdrop process via official channels.

Patience Pays Off:

Airdrop distribution may take some time. Stay calm and keep an eye out for updates.

Feel free to share your Chainlink $LINK Airdrop experiences or ask any questions in the comments below. Let's make this process a breeze for everyone!
Winners: @thegitfather, @AbhinavXT, @JiaBooBJUTFang, @blockchain2008, @chris-shelton, @0XFF-96, @Asion001


.net framework 4.6

while trying to use framework 4.6 its causing error, aspnet core javascript services template works with that. i am trying to migrate my project from that template to yours.
satya

This is .Net Core project, not a .net 4.6 project

I understand but is it possible to use 4.6 framework or not because we have certain libraries which are based on full .net framework.

@tanwarsatya this article explains it how it can work with .net 4.6
https://jonhilton.net/2017/03/14/use-asp-net-core-1-1-with-net-4-without-visual-studio/
But bear in mind that you will only be able to run this project on windows environment after targetting 4.6.


Use parallel configure in libxml2

Remove the DISABLE_PARALLEL_CONFIGURE option when building libxml2. This was from the previous CMake port of libxml2 and is no longer necessary with the official CMake files.
This is no longer a problem since the official CMake generates xmlversion.h into CMAKE_BINARY_DIR.

See https://github.com/GNOME/libxml2/blob/99cba4b37b1a39d477f1b5acf782c6bd2d16d0ee/CMakeLists.txt#L637-L638


added eslint

Added eslint
(4 tests are failing at the moment, I'm not sure how to fix those failing tests. Need to discuss with you)

At the moment, following list shows the problems areas according to eslint, which is related to failing tests.
..../gl2gh/src/cli.js
  40:19  error  'logger' is not defined  no-undef

..../gl2gh/src/migrate.js
  14:57  error  'githubOrgName' is defined but never used  no-unused-vars
  40:3   error  Unnecessary try/catch wrapper              no-useless-catch
  61:39  error  'githubOrgName' is defined but never used  no-unused-vars

Kindly rebase with master once, also look if the tests are fixed. Also update README.md & DEVELOP.md for linting steps

@aditya-mittal I have taken the rebase

@rvkhakhkhar also updated DEVELOP.md


Switch to latest version of python 3.11

Python 3.11 is a lot faster (40-60%) than older versions. Make sure that you also get a stable version of R when switching over to 3.11. Especially packages like rpy2 and pymer will possibly complain because they are not stable under Python 3.11? It would be probably nice to have a more elaborate parsing of the version column in the .tsv file for that.
See:
https://stackoverflow.com/questions/72178646/upgrading-a-conda-environment-yml-file-to-current-version-that-supports-pandas-1
And :
https://docs.conda.io/projects/conda-build/en/latest/resources/package-spec.html#package-match-specifications

See #28


More spritesets; More castleflag frames; New sounds

this is about things that arent very biggie, but it can help with customization in certain aspects
graphical:

spritesets for the rest of enemies who dont have it (and maybe animated upfire :p)
smallfont and oneup having spritesets, this allows for things like tan score seen in the original nes game
coinblockanimation having more space/remade quads to fit in new graphics without compressing
enhanced castleflag (spritesets, 4 frames like flagpole one has and 16x16 canvas size)

sounds:

add ability to change sounds like iceball, ice breaking from them
new sounds (can be muted if needed): spring, coming out of a pipe (every edit of smb1 had it, may need some timer in the code?)
maybe a sound for yoshi egg breaking (a nes one exists from another game you could use)

if u can add these, itd make the mod awesomer than what it is rn hehe. nonetheless, thanks for this mod alesan and all these years of hard work!

Sounds good :3

So many changes that would barely improve the game at all, it's been years alesan just close it please

kinda mean behavior... eh, this game is dead for me anyway so ill close my own issues if that makes you happy :(

This game has over a hundred issues, many of which have been here for a very long time, Alesan really needs a push to sort through them


Error when trying to trigger notification on load

I appear to be encountering an error when trying to pop a notification on document load. When run in the CodePen it seems to run fine but on my hosting it encounters an error. I'll post links to both so you can see.
CodePen
Hosting

The issue on your site appears to be that
$(document).ready(function () {
  Snarl.addNotification({
    title: 'Issue',
    text: 'Testing, testing...'
  });
});

Is running before Snarl can initialise itself. The reason this usually isn't an issue is because a notification tends to only be created on a button click event, rather than on the same $(document).ready event that you're also listening on.
As a temporary workaround if you need Snarl to launch immediately on the $(document).ready event: wrapping the Snarl.addNotification function in a setTimeout(..., 10) will allow the Snarl initialiser function to be injected into the browser's event queue ahead of the addNotification function 99.9% of the time.
On the other hand, if you're planning to only use Snarl in events which occur after the $(document).ready you should be fine :+1:

Thank you so much! I figured the ready function would give it enough time but I guess I was wrong. I updated the code to include a timeout and it worked! Thanks!


jgit akka sources download

Integrate download of akka sources using jgit as scala.js and scala-native do.

implemented with f6ebb388d4c4ada066d7f8fd0f8aef0c08165cc8


Please public the baseline code.

Can you public the baseline code,please? I  want to see how to handle personalized information. Thanks a lot.

Hi, we need sometime to well organize the baseline code. For the two datasets, we simply concatenate the texts of user_profile, knowledge, target, and conversation as the model input. For your reference, DialoGPT is implemented using the codebase https://github.com/thu-coai/CDial-GPT, Alpaca-7B is implemented based on https://github.com/tloen/alpaca-lora.

Thanks for your reply!


removed .env file, updated .gitignore

I think you accidentally pushed your .env file, I removed it and adjusted your .gitignore file

Thanks @Faris-Faiz !


Reference local files, by schema/property id

I'm currently using the ajv lib and some custom logic to dereference my schemas, and then I found this lib which will probably do a better job. Is there a way to add schemas so this lib is aware of them? My JSON schemas reference by id, so for example in ajv I'm loading all my schemas schemas.forEach(schema => ajv.addSchema(schema)) and then trying to parse the $refs. Is there something similar I can do for this lib? Or is the example in the docs the only way "$ref": "schemas/people/Bruce-Wayne.json"?
Thanks

I'm not 100% sure what you mean.  Can you provide an example?
There's no need to pre-load the schemas, because JSON Schema $Ref Parser automatically finds the $referenced schemas and loads them itself.  Does that answer your question?

I use ids for $ref instead of schemas/common.json#/definitions/email, so my schema needs to know about all the other schemas (I need to load them manually) before parsing since it doesn't know of their location to load them in.
//common.json
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "common",
  "definitions": {
    "email": {
      "id": "email",
      "type": "string",
      "format": "email"
    }
}

//user.json
{
  "$schema": "http://json-schema.org/draft-04/schema#",
  "id": "user",
  "type": "object",
  "properties": {
    "email": {
      "$ref": "email"
    }
  }
}

Ah, I see what you mean.   Couple of problems though:

I'm not sure that you're using id and $ref correctly here.  The JSON Schema specification allows the id keyword to alter the resolution scope of JSON References ($refs).  But the resolution scope must still be a valid URI, not just a keyword, like "email".

JSON Schema $Ref Parser is not an implementation of the JSON Reference specification and the JSON Pointer specification, not the  JSON Schema specification.  Thus, the id keyword isn't supported, because that's not part of JSON Reference or JSON Pointer.

All that said... I might be willing to add support for the id keyword at some point in the future, if there's enough demand for it.  But I want to hold-off on that for now, because it could be very confusing to start supporting part of the JSON Schema specification but not all of it

Sorry for co-opting, but if I have understood correctly;
It would be very nice though, to use the id to dynamically alter the referencing scope of relative $refs prior to parsing.
My scenario is that that the schemas come out of a db mirroring the fs, but the $refs are relative to the fs schema root, not taking into account the diff from the cwd. It is of course easily amended by calculating the full path to the schema to dereference, but it feels awkward to re-read it using file io.
Perhaps to make it optional and off by default, as an extension or an alternative parser/resolver would be viable, and not confuse too much on part of the specifications?
So this is my +1 (for someone) to make it possible.
Thanks for an awesome module.

ajv has this sort of functionality.
You can add any number of schemas to the instance of the validator after specifying the subject schema, and then references will resolve based on the $id of other schemas that have been added, before making any HTTP calls.
The use of $id and $ref in the above schema is not exactly how it's supposed to work. The $id must be a URI, and those $ids are not.
URI resolution is HARD to understand! I've tried. It's easier to think about in terms of a link on a web page. If the URL of the page you are on X, and a link on that page is Y, how does that apply? It's the same with $ref resolution in a schema file.
What's needed to resolve this issue?

[ ] There needs to be an interface that allows the user to add JSON Schema files to an index to be used later.
Preferably, "load in all schemas in this directory and descendant directories"; I have 4 levels of schemas in a spec I've created.

[ ] Any combining or bundling needs to be aware of $id resetting the base URI for that schema.
I don't know how this is currenly handled, but you are already able to make HTTP requests to resolve schemas, and this could be many layers deep. I'm assuming this already works correctly. I've not checked the tests (I should do that).

[ ] When attempting to transclude a referenced schema, look up the URL to see if it's already included in the index, and if so, use that JSON Schema in stead of making an HTTP request.

Based on the above and some initial digging, the code for loading and storing an index of JSON Schema files could PROBABLY be lifted from ajv, and resolution COULD be achieved by creating a new resolver which is always run first if additional files have been loaded this way.
This also applies schemas which are defined with URNs. Uncommon, but in use.
If you want a sample set of schemas to work with, feel free to use these.
A note on termonology:
Strictly speaking, dereferencing is the way in which you determin what a reference is refurring to, because the process involves URI resolution.
Including one schema in another schema is called "transclusion".
Helpful distinction when you're trying to talk about two similar but subtily different events.

Like @brettstack, I have a set of schema files that are not accessible through http but only accessible from a file directory.  These schema are unfortunately referenced by their $id.  I know $id is not supported as explained above.  But is there a way for me to provide the schema instead of the parser to go downloading it through http?  Perhaps a custom parser?
@James-Messinger Any pointer would be very much appreciated.

@5amfung It looks like custom resolvers are supported: https://github.com/James-Messinger/json-schema-ref-parser/blob/master/docs/plugins/resolvers.md
If you're willing to write a resolver plugin which replaces the HTTP resolver, please do, and make a PR for it.
An issue with that solution is that schemas which use a mixture of addressable and non addressable URLs would run into problem. Maybe you could add provision in your resolver to only resolve specific domains, otherwise pass through the URL to the standard resolver.

If you have time to spend on this, then I'm happy to test and confirm my end, as I have a need, but currently no resource to apply to the issue.

@5amfung have you resolved your problem in some way?
Having schemas stored locally is such a natural usage scenario, that I wonder how it hasn't been solved one way or another until now. I was trying to use them in NodeJS app, so simply planned to load them from local dir and validate some data structures.

I think this is part of the greater $id rewrites needed to get them up to date with the latest changes in 2019-09: #145

I think this is part of the greater $id rewrites needed to get them up to date with the latest changes in 2019-09: #145

Let's combine efforts on $id resolution on #145 to avoid duplicating any conversations. I'll take some of Ben's comments over.

Let's combine efforts on $id resolution on #145 to avoid duplicating any conversations. I'll take some of Ben's comments over.