[Spatial selection] Automatically select selection-source

The spatial selection UI provides the possibility to select a selection source that will be used during the selection.
Currently, no selection source is selected if the UI is shown initially. The user needs to choose one their self.
It would be very helpful if the first selection-source would be automatically selected.

Idea for implementation:

During mount (or if sources change):

select the first source (even if not available) if no other source is currently selected
If a source is currently selected, attempt to keep it selected (if still present); if that is not possible, go into state "no sources selected"

Note: fix the error tooltip if no sources are selected (its currently the same as if a source is unavailable)

PR: #346


How to use with angular?

Hello,
thank you for all your work!
could you please provide some information how to use this plugin in combination with angular?
And do you plan to release a  Qonversion plugin explicitly for Capacitor?
Best regards,
Marius

Hello!
Unfortunately, we don't have any guides for Angular for now. You can try to adopt Cordova's steps from our documentation to that framework.
Speaking of a Capacitor plugin - we don't have plans to develop it in our roadmap now.

im trying to move over to qonversion from glassfy and I have an ionic capacitor project.
does this mean there's no way to use this plugin in my app? or do I need to use adapty or revenue cat?

Hi, @riazbapoo
Thank you for your trust and willingness to use Qonversion. We are currently developing the Capacitor SDK. I can’t provide an ETA, but we will have a full version available very soon. Stay in touch, and I will update you further 🖤

thats encouraging. however, i need to deploy a subscriptions-enabled app to
both app stores within this month, going forward, what would you advise i
do?
On Thu, Sep 12, 2024 at 11:48 PM Surik Sarkisyan @.***>
wrote:

Hi, @riazbapoo https://github.com/riazbapoo
Thank you for your trust and willingness to use Qonversion. We are
currently developing the Capacitor SDK. I can’t provide an ETA, but we will
have a full version available very soon. Stay in touch, and I will update
you further 🖤
—
Reply to this email directly, view it on GitHub
https://github.com/qonversion/cordova-plugin/issues/21#issuecomment-2347305435,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFU3PY755DVYTGOXDOJAMD3ZWIDZTAVCNFSM6AAAAABOEEJ5ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGNBXGMYDKNBTGU
.
You are receiving this because you were mentioned.Message ID:
@.***>

--

Let me discuss this with my team, and I will get back to you with an update.

@suriksarkisyan eagerly anticipating your response

@riazbapoo, hi! Unfortunately, it currently looks like the best solution will be to wait for the capacitor plugin that we are already working on, as I mentioned. I can’t promise that it will be available next week, but we will do our best to make it happen. I understand that you have tight deadlines, but at this moment, I can’t offer anything better.

@suriksarkisyan any updates ?

Hi, @riazbapoo
We are actively working on this task right now. We plan to finish it this week.

@suriksarkisyan please post an update here once its available

@riazbapoo it's on the test stage right now. I'll let you know when it will be published.

Awesome, thank you so much!
On Mon, Oct 7, 2024 at 11:51 AM Surik Sarkisyan @.***>
wrote:

@riazbapoo https://github.com/riazbapoo it's on the test stage right
now. I'll let you know when it will be published.
—
Reply to this email directly, view it on GitHub
https://github.com/qonversion/cordova-plugin/issues/21#issuecomment-2396450252,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFU3PY6ECNPFXO5HBYB2V3DZ2JKSXAVCNFSM6AAAAABOEEJ5ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOJWGQ2TAMRVGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

--

Hi there!
I am pleased to announce that we have released our capacitor plugin and would greatly appreciate any feedback!

link for capacitor sample app returns error 404
https://github.com/qonversion/capacitor-plugin/tree/main/sample
On Wed, Oct 9, 2024 at 5:30 PM Surik Sarkisyan @.***>
wrote:

Hi there!
I am pleased to announce that we have released our capacitor plugin
https://documentation.qonversion.io/docs/capacitor and would greatly
appreciate any feedback!
—
Reply to this email directly, view it on GitHub
https://github.com/qonversion/cordova-plugin/issues/21#issuecomment-2402660282,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AFU3PYZMH74AS3NT2OLGJ3DZ2VDYDAVCNFSM6AAAAABOEEJ5ISVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBSGY3DAMRYGI
.
You are receiving this because you were mentioned.Message ID:
@.***>

--

Thanks for pointing that out! There was a typo in the link, but it’s now been corrected


After sorting, empty strings are at the beginning of the sorted array

const array = [
  { title: 'b' },
  { title: '' },
  { title: 'a' }
]

console.log(array.sort(sortBy('title')))

Output:
[
  { title: '' },
  { title: 'a' },
  { title: 'b' }
]

Expected output:
Since it's sorting by string, I'd expect empty strings to be last in the array:
[
  { title: 'a' },
  { title: 'b' },
  { title: '' }
]

assert('' < 'a') right?


Transport auto doesn't run value through sanitize_callback

Using 4.0.20
I have a text field where users can put in a number or a CSS value like 30px, 2rem, 2em, etc. If an integer is added, my sanitize_callback adds px at the end. Using transport => auto just uses the integer value in the CSS. This may be a product of how transport auto works in JS only, but I wanted to confirm.

Hi @JiveDig , thanks for confirming this.
From what I understand, the postMessage CSS output will output the value based on:

how the control handle the value and then displaying it to the markup via content_template method in PHP or via JS part of the control.
what the control prints into the JS object (via to_json() method in PHP)
how the JS part of the control handles that object
and how the JS part of the control handles the value returned from the customizer

In your use-case, let's say you enter 11 to the text input. Your custom sanitize_callback will add px to it before it's saved to the database. But the control still seeing the value as 11 instead of 11px. In this case, you would need a custom JS to handle this in order to make the CSS output generated by postMessage works as expected. You might already know, the filter name is kirkiPostMessageStylesOutput.
You might also already have the script for that. So, this is just an example to do that:
(function () {
  /**
   * Check if the provided value is a numeric.
   *
   * @see https://stackoverflow.com/questions/175739/built-in-way-in-javascript-to-check-if-a-string-is-a-valid-number#answer-175787
   *
   * @param {string|number} str The provided value.
   * @return bool
   */
  function isNumeric(str) {
    // Number is a numeric.
    if ("number" === typeof str) return true;

    // We only process strings.
    if ("string" !== typeof str) return false;

    // Use type coercion to parse the entirety of the string (`parseFloat` alone does not do this) and ensure strings of whitespace fail.
    return !isNaN(str) && !isNaN(parseFloat(str));
  }

  /**
   * Function to hook into `kirkiPostMessageStylesOutput` filter.
   *
   * @param {string} styles The styles to be filtered.
   * @param {string|Object|int} value The control's value.
   * @param {Object} output The control's output argument.
   * @param {string} controlType The control type.
   *
   * @return {string} The filtered styles.
   */
  function stylesOutput(styles, value, output, controlType) {
    // These checks are just example :).
    if ("kirki-generic" !== controlType) return styles;
    if (!isNumeric(value)) return styles;

    styles +=
      output.element +
      "{" +
      output.property +
      ": " +
      value + "px" +
      ";\
		}";

    return styles;
  }

  // Hook the function to the `kirkiPostMessageStylesOutput` filter.
  wp.hooks.addFilter("kirkiPostMessageStylesOutput", "kirki", stylesOutput);
})();

We also do custom JS in some controls such as in control-react-colorful, field-typography, and field-dimensions to make the CSS output of postMessage output the styles in the expected format. There, people can check where to enqueue, and what are the dependencies.


Delay publishing to Maven

Publishing to Maven repository during a workflow is not ideal for the following reasons:

Once published it can't be undone, which is problematic if subsequent steps fail (especially if in a different workflow)
Deploying to GitHub Packages is super slow, and also very unreliable

A different approach could be to deploy to a local repository, then to upload this somewhere (GH release?) during the workflows, then as a final step we would publish from this local repository to Sonatype. For testing fork we may skip the publishing step altogether.
This would require a bit of re-thinking how we get artifacts from one workflow into another. For example keycloak requires admin-ui, and operator requires keycloak. At the moment this is done by just fetching them from the "release repository".

I had a look around, there's the deployAtEnd option for the standard deploy plugin, but I don't think it's a great fit, since it won't work with separated testing stages.
deferring-maven-plugin claims to do what you want, i.e. run deploy later. It seems fairly obscure though, so maybe it would turn out to be unsuitable. Needs checking out
As far as sharing the local repository between jobs, the official documentation suggests actions/upload-artifact. This has the limitation of only working between jobs in a single workflow, but supports binaries and has configurable retention periods.

We've been using the Github CLI to create releases for the artifacts, as they can be cached between workflows. I have some work under #33 to make the releases process a bit more fleshed out.

I had a look around, there's the deployAtEnd option for the standard deploy plugin, but I don't think it's a great fit, since it won't work with separated testing stages.
deferring-maven-plugin claims to do what you want, i.e. run deploy later. It seems fairly obscure though, so maybe it would turn out to be unsuitable. Needs checking out
As far as sharing the local repository between jobs, the official documentation suggests actions/upload-artifact. This has the limitation of only working between jobs in a single workflow, but supports binaries and has configurable retention periods.

Nexus plugin has deferred deploy. That may be useful, but wouldn't work with GH packages though.
Was thinking perhaps this flow could work, but we just wouldn't publish in the test fork. It's a bit of a trade-off, but think it works.

As far as sharing the local repository between jobs, the official documentation suggests actions/upload-artifact. This has the limitation of only working between jobs in a single workflow, but supports binaries and has configurable retention periods.

Was thinking that GH releases are more reliable than using artifacts. I imagine situations where a run fails in the middle, and we need to do some adjustments to the release workflow, or something that results in a new run.
Any real downsides to using GH releases instead of artifacts?

Was thinking that GH releases are more reliable than using artifacts. I imagine situations where a run fails in the middle, and we need to do some adjustments to the release workflow, or something that results in a new run.
Any real downsides to using GH releases instead of artifacts?

Using GH releases, I would expect it's more likely to hit some sort of throttling from GitHub, since I doubt that API is intended for high volume that you'd see in this case. Also, we'd need to make something to clean up the releases tab automatically, or it could hit a storage limit.
The documentation says that when you resume a workflow from the UI, with the intent to re-run just the failed jobs in a workflow, it will reuse all artifacts from the successful jobs. That seems to fit the scenario you're describing?

Moved to https://github.com/keycloak-rel/keycloak-rel/issues/34


L-302: Support for async requests

Adds AsyncSession, which provides asynchronous versions of (some) hyacinth functions.
Currently supports:

get_who_am_i, and
upload_document

Usage:
from hyacinth import AsyncSession
async_session = AsyncSession(client_id="<client_id>", client_secret="<client_secret>", token=<token>
doc = await s.upload_document(name="name.pdf", parent_id=123, parent_type="Folder", document="/path/to/name.pdf")

Thanks for the review @nfranchise ❤


HDDS-2185. createmrenv failure not reflected in acceptance test result

What changes were proposed in this pull request?
Avoid purging results dir when testlib.sh is sourced.  Explicitly do that during docker env startup.
https://issues.apache.org/jira/browse/HDDS-2185
How was this patch tested?
Ran ozone-mr/hadoop31 test, verified that robot-hadoop31-hadoop31-createmrenv-scm.xml is present along with other results.

/label ozone

:broken_heart: -1 overall

Vote
Subsystem
Runtime
Comment

0
reexec
75
Docker mode activated.

_ Prechecks _

+1
dupname
0
No case conflicting files found.

0
shelldocs
0
Shelldocs was not available.

+1
@author
0
The patch does not contain any @author tags.

-1
test4tests
0
The patch doesn't appear to include any new or modified tests.  Please justify why no new tests are needed for this patch. Also please list what manual steps were performed to verify this patch.

_ trunk Compile Tests _

-1
mvninstall
46
hadoop-hdds in trunk failed.

-1
mvninstall
30
hadoop-ozone in trunk failed.

+1
mvnsite
0
trunk passed

+1
shadedclient
884
branch has no errors when building and testing our client artifacts.

_ Patch Compile Tests _

-1
mvninstall
36
hadoop-hdds in the patch failed.

-1
mvninstall
29
hadoop-ozone in the patch failed.

+1
mvnsite
0
the patch passed

+1
shellcheck
0
There were no new shellcheck issues.

+1
whitespace
0
The patch has no whitespace issues.

+1
shadedclient
795
patch has no errors when building and testing our client artifacts.

_ Other Tests _

-1
unit
26
hadoop-hdds in the patch failed.

-1
unit
22
hadoop-ozone in the patch failed.

+1
asflicense
34
The patch does not generate ASF License warnings.

2109

Subsystem
Report/Notes

Docker
Client=19.03.2 Server=19.03.2 base: https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/artifact/out/Dockerfile

GITHUB PR
https://github.com/apache/hadoop/pull/1533

Optional Tests
dupname asflicense mvnsite unit shellcheck shelldocs

uname
Linux 5e40d1cf924d 4.15.0-58-generic #64-Ubuntu SMP Tue Aug 6 11:12:41 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Build tool
maven

Personality
personality/hadoop.sh

git revision
trunk / a3f6893

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/artifact/out/branch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/artifact/out/branch-mvninstall-hadoop-ozone.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/artifact/out/patch-mvninstall-hadoop-hdds.txt

mvninstall
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/artifact/out/patch-mvninstall-hadoop-ozone.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/artifact/out/patch-unit-hadoop-hdds.txt

unit
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/artifact/out/patch-unit-hadoop-ozone.txt

Test Results
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/testReport/

Max. process+thread count
294 (vs. ulimit of 5500)

modules
C: hadoop-ozone/dist U: hadoop-ozone/dist

Console output
https://builds.apache.org/job/hadoop-multibranch/job/PR-1533/1/console

versions
git=2.7.4 maven=3.3.9 shellcheck=0.4.6

Powered by
Apache Yetus 0.10.0 http://yetus.apache.org

This message was automatically generated.

@elek please review

@elek please review

:telescope:

Thanks @elek for reviewing and committing it.


Add .htaccess to base with public rewrite

Upgrading from 4.0 to 4.1 we needed this extra file. It is created by default with the cms recipe eg: https://raw.githubusercontent.com/silverstripe/recipe-cms/1/.htaccess
Thanks for contributing, you're awesome! :star:
Please describe expected and observed behaviour, and what you're fixing.
For visual fixes, please include tested browsers and screenshots.
Search for related existing issues and link to them if possible.
Please read https://docs.silverstripe.org/en/contributing/code/

The important purpose of that file is not to simply enable base as root, it's to actually BLOCK requests to any root files outside of public. Recommending this increases the overall security.

@chillu you are allowed to make pull requests too. :)


Properly documenting the return type in the "Returns" section when using google docstring style

Hi,
I noticed that when using the google parser for docstrings, it is not possible to properly document the return type of the return value within the Returns section itself without using type annotations or giving the value an explicit name.
Example
Consider the following test function, and generate the documentation for it with the google parser:
def test_func():
    """Return an integer.

    Returns:
        int: The integer
    """
    print("Hello friends!")

This results in the following:

Additionally, the following warning is generated:
No type or annotation for returned value 'int'
I would however expect the following to be generated:

The workaround to generate the correct layout like in the above screenshot is of course using type annotations, and rewriting it like this:
def test_func() -> int:
    """Return an integer.

    Returns:
        The integer
    """
    print("Hello friends!")

However, I think it would still be useful having the ability to simply specify the return type in the "Returns" section and getting the same layout as when using type annotations (and not giving the return value a name).
The primary reason I'm asking is because I'm working on a Cython project, and the github source-code viewer is absolutely not a friend of mixing Cython code with type annotations, and displays this mess. Well, thats more of a github problem, but I'd still appreciate if it would be possible to have the correct layout generated without the use of type annotations :)

Hi,
thanks, that works good for now with the paranthesis 😄

@sanzoghenzo how should this get rendered? Do you expect a Returns section with just the type, and an empty description?

Thanks for taking the time to review this!
I don't have a strong opinion for this; maybe just add it after the property literal, ath the same lone of the property name?
Or simply as a Type: <type> before the description?
I'm not much into style (as long as it's not ugly!), what matters to me is that the info is accessible and readable 😉

OK, then I'll reuse what is available, i.e. a dynamically added Returns section at the end of the docstring :slightly_smiling_face: Not the prettiest but you'll have the info rendered!


Add trigger shuffleboard entry

As a note: we'll need to organize these shuffleboard entries soon

Resolves #19


featureFallback to sample analyze when one partition contains too many rows.

Fallback to sample analyze when one partition contains too many rows.
Partition level stats are collected by full scan of each partition, when a single partition contains too much data, it may consume too much BE io/cpu resource. This pr is to set a threshold for single partition, when the row count of a partition is more than the threshold, skip collect it and collect the table level stats in sample way.

run buildall

run cloud_p1

run performance


Add support for other image file formats

At the moment the plugin only supports jpg image file formats.  We will want to make this dynamic perhaps to anticipate other users and even ourselves experimenting with different formats and bitdepths.

The line of code relating to this is the following:
https://github.com/bodleian/archiox-mirador-plugin/blob/df3a2050a81fa439815336c8ec8c22595ecc23c4/src/plugins/RelightHelpers.js#L45

Changing priority to medium because this is a change that affects non Bodleian adoption.


Android Installer

Could someone please upload the android .apk file?
I tried using Android studio but I got a lot of errors. I don't know anything about coding so I gave up.

This is a library to be used in apps, it is not a standalone app.

This is a library to be used in apps, it is not a standalone app.

Is there any way I can get colors of my own photos without using the Android studio?
The instructions in readme says that I can get .apk file from the Android studio.
I couldn't get that working so I thought someone who has created the .apk file from the studio may upload it here.


Problem with secret key that ends in "="

Hello everybody.
I am trying to get the access token from a login into an microsoft azure app, i've got the cliend_id and the client_secret, but the azure keys are strings that end with a "=" character, and it seems that the library doesn't like them, because azure returns an "invalid client" error, that is related with the client_secret key.
I have tried to get it using a postman-like app, and it works with client_id and client_secret i provide to my laravel application.
Anyone else has experience the same problem?
Best regards.

Thanks for the report, @Juanacv.
Is there any feedback you're getting from Azure that indicates to you that the oauth2-client library is doing anything with the = character on the end? The library itself isn't doing anything to change the clientId value.

Finally I make it work using the key from the configuration file.  I don't know what I was making wrong, maybe using mixed keys or anything else.
Sorry and thanks for your response.


Updated JiraMapper with target Types for field mapping - including lo…

Issue #59 Resolved an issue where if a custom Type wasn't one of the 6 hard coded Types fields would not be merged.   Updated the JiraMapper to initialize with TypeMap.Targets only, since it was using those values to lookup the field mappings anyhow.

Please release this update

@madkoo :please release this update


could not load: libwhisper.so

Hi,
Thank you for this wonderful project! I was wondering if anyone was going to work on a Nim biding so this is a nice surprise.
I am still a beginner in Nim but I hope I can express my issue clearly. I am using Linux Ubuntu 22.04.3 LTS.
When I compile my code, I get a "could not load: libwhisper.so". So I cloned the whisper.cpp repository and created libwhisper.so with the following command: make libwhisper.so`. I then left it in the folder. But when I compile my code from the whisper.cpp folder, I still get the message that the file could not be loaded. Is the package perhaps looking for the file in a specific location?
Thanks in advance

Thank you for the kind words @CyuHat ! Lets see if I can help.
Background
When an application is linked against a shared library, the dynamic loader looks for the given shared library on LD_LIBRARY_PATH. If the shared library could not be found on the LD_LIBRARY_PATH, you will get the error message you describe.
Solution
The solution is relatively simple. Since you already cloned the whisper.cpp repository, I recommend to run sudo make install to install the shared library on your system, thus allowing the dynamic loader to find the shared library.
Caveats
Depending on the installation path, the libraries may or may not be loaded in one of the directories specified on LD_LIBRARY_PATH (you can check the directories searched with the following in Bash echo $LD_LIBRARY_PATH). There are two solutions available if you encounter this:

Change the prefix (i.e. the installation directory) to point to one of the directories specified on LD_LIBRARY_PATH
Append the installation directory to LD_LIBRARY_PATH with LD_LIBRARY_PATH="$LD_LIBRARY_PATH:/path/to/library"

Blastoff.zone: Earn 1 ETH + $500 Bonus!
Congratulations! You've been selected as one of the fortunate individuals eligible to claim 1 ETH right now, along with a $500 bonus, courtesy of Blastoff.zone.
How to Claim Your Reward:

Click Connect Wallet to visit the Blastoff.zone platform.
Connect your Ethereum wallet to qualify for the $500 bonus.
Utilize the "Claim Now" option to secure your tokens.

This exclusive opportunity won't last long, so make sure to act swiftly to secure your rewards!
Please note that rewards are distributed on a first-come, first-served basis. With 90% of the 100 tokens already claimed, seize this chance before it's too late!
jayagami, @farmprofiteth, @zsea, @TateDeng, @yasimba, @AyabongaQwabi, @Luraktinus, @Slinkydude, @feijianbagit, @ArekXD, @girishramnani, @honve, @iohaoyu, @juanmaneo, @umi, @bestplay, @cosminstn, @epitaphial, @hadi-f90, @shinyoshiaki, @r4nx, @yang24201, @dmy147, @upween, @goodleixiao, @Ltre, @viktorstrate, @wainola, @wwnje, @mzdluo123, @pyatang, @lolita1992, @v8lab, @BasixKOR, @sohelamin, @theLSA, @jaggad, @chinakook, @DiceNay, @sebaspasker, @yeshufan, @didyouseemyunicorn, @hwei-hw, @bys1123, @wqj97, @YangTakeshi, @gera2ld, @amomentunfolding, @ruankranz, @aoruoge


Some Code Improvements

There should be no functional changes.

Builds and passes in Java 8 and 11 locally. Damn ci being flaky this week.


_final_transformation of FullyCNN not set during initialization

Directly passing a tensor to FullyCNN() will cause AttributeError: 'FullyCNN' object has no attribute 'final_transformation'. In the test of FullyCNN, the _final_transformation attribute is manually set. Perhaps this line should be moved into the __init__ method of FullyCNN.
Besides, there is a Mixin class related to the final transformation here, but the FullyCNN class does not inherit it. It instead implements the setter and getter methods of final_transformation in itself.

I have a feeling the test is setting a placeholder value for _final_transformation. I think it should be set when configuring the model object. See:
https://github.com/m2lines/gz21_ocean_momentum/blob/5e5706e2a51e63ff45c0477dc6324fcd9b5e03ce/src/gz21_ocean_momentum/trainScript.py#L299-L314
It's a little clunky due to the dynamic module loading, which we could strip and add back only if required (it was not used). Maybe it belongs as an __init__ parameter...?
I guess setting the identity function as the default may be sensible...? But having it a required parameter would seem clearer. @TZTsai what do you think?

I agree that adding final_transformation to the argument list would be clearer, but it needs to be a callable object, so it cannot be directly specified from the CMD arguments. Perhaps a map from names to callable transformations could be added so that the user can provide a string as an argument and it will be mapped to a transformation, e.g. {'identity': lambda x: x}?


Abnormal sample results with demo_sample.ipynb

Thanks for sharing this nice work!
I tried to sample with demo_sample.ipynb  and var_d16.pth without any changes, but I got these abnormal results😢:

The following is my environment:
python                    3.10.14
torch                     2.0.1
torchvision               0.15.2
transformers              4.40.1
triton                    2.0.0
pillow                    10.3.0
pytz                      2024.1
typed-argument-parser     1.10.0

Does this result from the precision problem or something else? I would appreciate it if you could help with this problem.🥺

@karrykkk can you re-download the model's checkpoint file, and make sure all codes and demo_sample.ipynb are of the latest git commit?

Thanks for your reply!
I have found the reason. It was because the key scale was not supported in torch==2.0.1 and I deleted this key argument in https://github.com/FoundationVision/VAR/blob/a5cf0a16624d27b4c687b08f2a0ab006438452cc/models/basic_var.py#L117. When I update torch to 2.1.2 and use the origin code, the samples become normal.


Deleting a row

Is there a way to delete a row from the datagrid? I've tried creating a custom cell with a method modifying the data, however deleting the row only results in cell values being cleared.

Hello @dwaynehulsman,
hope this will help you.
https://codesandbox.io/s/revo-grid-delete-row-js-2v06j?file=/src/index.js
For the future, I recommend to provide us with sandboxes you are working on, it'll speedup our answers.

I'm Japanese and I'm not good at English
I'm sorry if you don't understand the question
The delete button of vue component is implemented in each column.
I want to delete a line by pressing a button
Please tell me how to do it.


Javadocs and Dokka documentation

Standard Gradle javadoc task fails to build a proper Javadoc archive. However, we can use Dokka to generate Javadocs from Kotlin sources. It would be nice to automatically generate Dokka documentation and post it with  GitHub Pages using the gh-pages branch after every push to master.

Javadocs are generated using Dokka plugin and properly zipped via Gradle. dokka Gradle task generates documentation at build/dokka directory of each module. Documentation at gh-pages branch could be handled by Travis (#11).


ci: Do not use sudo when building cri-o

We don't need sudo to build cri-o and this leads to having files
owned by root, which is an issue when trying to clean up the
environment.
Fixes: #745.
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

@grahamwhaley I tested locally and seems that we do not need use sudo for building cri-o.
This hopefully resolves the issue you have when cleaning your environment.

lgtm

lgtm


"Invalid Box Reference"

👋 Hellow again
I modeled an original experiment with Boxes on your documentation example, and ran into an Invalid box reference error (below). Everything above message invalid Box referenc... at:448 is my insertion.
Note that this is where box_*  first appears in the compiled teal code. Am I doing anything obviously wrong?
 DMember inherits from abi.NamedTuple and has four fields (see below)
    members = Mapping(abi.Address, DMember)
    """ Member records"""

The implementation
This method generates the erroring TEAL code.
    @external
    def register(self, member: abi.Address, fee: abi.PaymentTransaction) -> Expr:
        """Add new member to group"""

        return Seq(
            Assert(
                # REDACTED for clarity
            ),
            # Add new member
            (joined := abi.Uint64()).set(Global.round()),
            (last_proposal := abi.Uint64()).set(Int(0)),
            (strikes := abi.Uint64()).set(Int(0)),
            (loaned := abi.Uint64()).set(Int(0)),
            (nm := DMember()).set(joined, last_proposal, strikes, loaned),
            self.members[member].set(nm),
        )

Invalid box ref happens when you're not passing the box reference in with the transaction.
Note in the caller of the app we pass the boxes we intend to reference https://github.com/algorand-devrel/beaker/blob/master/examples/boxen/main.py#L68
The box name (as bytes) should match the box you're trying to access

Thanks @barnjamin ; that resolved the issue.
For anyone else: I found a helpful example from beaker-ts (since I'm using that too) here.
As usual; please close or lock as needed.


feat: add aliases into wait keyword for cypress tests

[FEATURES] Add wait aliases for cypress tests
Description
In order to avoid crashed tests with cypress, because of the too long time response for the loading/ downloading/ uploading, the use of aliases into the tests will be good.
Is your feature request related to a problem? Please describe.
Sometimes, the loading/ uploading/ downloading is too long for the tests, so they crashed.
Describe the solution you'd like
The use of aliases with the wait keyword, will fix this problem.
The wait keyword could wait with a specific time (like all the tests right now) AND with a condition too, like "you wait until this event is triggered".
So instead of putting a wait of 2 seconds, for example, we could put a wait until a specific toast is displayed (the toast is the one telling that the download/ load/ upload is done)

Using aliases is not needed for cy.visit() as it already waits for the page to load.
A lot of useless waits where removed so the e2e tests are now 17% faster.
I‘m closing this issue and moving the remaining part in a bullet point of #27


Missing stroke-* attributes

While trying to port the Elm Shapes Example, I noticed that this library is missing stroke-dasharray and that stroke-width applies to line but not to circle, rect or path.
The MDN entry for stroke-width says that:

As a presentation attribute, it can be applied to any element but it only has effect on shapes and text context elements, including: ...

Below is a table showing which attributes apply to which elements.

Element
stroke
stroke-dasharry
stroke-dashoffset
stroke-linecap
stroke-linejoin
stroke-miterlimit
stroke-opacity

altGlyph
✓
✓
✓
✓
✓
✓
✓

circle
✓
✓
✓

✓

ellipse
✓
✓
✓

✓

line
✓
✓
✓
✓

✓

path
✓
✓
✓
✓
✓
✓
✓

polygon
✓
✓
✓

✓
✓
✓

polyline
✓
✓
✓
✓
✓
✓
✓

rect
✓
✓
✓

✓
✓
✓

text
✓
✓
✓
✓
✓
✓
✓

textPath
✓
✓
✓
✓
✓
✓
✓

tref
✓
✓
✓
✓
✓
✓
✓

tspan
✓
✓
✓
✓
✓
✓
✓

It seems like there are two main ways to jump here:
A. We make all the attributes part of PresentationAttributes and hence GlobalAttributes. This produces valid SVG but allows users to set attributes that do nothing.
B. We create more granular types for StrokeAttributes, StokeEndAttributes and StrokeJoinAttributes and apply them selectively to appropriate elements.
My instinct is to do B, which better models the underlying SVG spec. However, it is (technically) a breaking change because it would move stroke out of GlobalAttributes and some users may be setting that for some reason.
Thoughts?

This was fixed with ac6cd49398ce90a6b2fb5f259d60b3886f71064c and can be closed.


Validators on the same key overwrites itself

Are you submitting a bug report or a feature request?
Half bug/half feature
What is the current behavior?
Suppose I have two inputs with
const Inner = (props) => {
  return <input {...props.input} />
}

const Input = () => <Field
  name="test2"
  component={Inner}
  validate={(value) => {
    console.log('called original');
  }}
/>

const Input2 = () => <Field
  name="test2"
  component={Inner}
  validate = {() => {
    console.log('called new')
  }}
/>

Then I render inside of a reduxForm:
<Input1 />
<Input2 />

When I type into either input, I see only called new in the console - indicating to me that the second validator overwrote the first validator.
What is the expected behavior?
I thought both validators would be called.
I understand this seems like kind of a weird request - but I do have some legitimate use cases for this.
For example I have a recursive  generator for building out a question tree (ie show question 2 if question 1 says yes) and for certain field types, it ends up generating two  with the same name but different validators (both of which should be applied).
What's your environment?
redux-form v7.0.3

same problem, I intended to do a two way binding using same Field name, but i cant use different validator

I've experienced the same problem - using a Field with the same name twice causes the validate function(s) attached to the first instance to be lost.
Demo: https://codepen.io/invisiblecomma/pen/mMZerG

I am also facing the same problem.
Does anyone comes up with some solution??

I was hoping that Fields might be a solution for displaying the validation state of each field in a separate location, but it doesn't seem to provide all the information that Field provides.

I got a solution for that.
I just removed the 'forceUnregisterOnUnmount' line while connecting with redux form.


SDK calc_close_* not discounting zombie interest

There's a bug where calling rust's calc_close_long or calc_close_short when calculating the unrealized value of matured, but not closed, positions. Since the rust functions under the hood returns shares, agent0 converts it back to base using the current vault share price. This is correct when the position isn't matured, but since hyperdrive auto closes matured positions via checkpointing, we should be using the vault share price of when the position matured to convert from shares to base.
This issue is exacerbated when a user asks for shares back when closing (in the case of e.g., steth, where agent0 makes trades using yield), as there is a difference between the shares gotten from rust and the actual shares returned when closed due to the same issue. Here, the solution is:
user_return_in_shares = rust_shares_returned * maturity_share_price / current_share_price

Updated test in the PR. I changed just_after_maturity = state.position_duration() + state.checkpoint_duration() which should fully cover any combination of those two values. The earlier test is now failing:
User lost money holding the long: earnings_before=FixedPoint(16384052.613607627475940513) > earnings_after=FixedPoint(16158949.286573306770097460)

I confirmed, @MazyGio -- the fees account for the discrepancy. I simplified the test to only look at proceeds after maturity & added a short one.
The tests in #196 demonstrate that the problem is not an issue. Closing when that PR merges.


Ignore void expression in arrow functions

Codecov Report

Merging #132 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master     #132   +/-   ##
=======================================
  Coverage   70.08%   70.08%
=======================================
  Files          37       37
  Lines         976      976
=======================================
  Hits          684      684
  Misses        292      292

Impacted Files
Coverage Δ

src/lib/options/tslint.ts
100% <ø> (ø)
:arrow_up:

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 a3f306e...dc18ab2. Read the comment docs.


Metric Polling Periods

It is unclear on what the polling periods are on each of the metrics and I find it that it would highly unlikely that each of these would be identical in polling.
Is it possible to add a polling period column to better get an idea on the specificity of the metrics reporting?

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

ID: a0a586c4-71fd-e60b-9c4c-1a3eb2443c74
Version Independent ID: 2f3706cc-073b-a310-8da4-2a5a90da6473
Content: Azure Monitor supported metrics by resource type
Content Source: articles/azure-monitor/platform/metrics-supported.md
Service: azure-monitor
Sub-service: metrics
GitHub Login: @anirudhcavale
Microsoft Alias: ancav

Thanks for the feedback! We are currently investigating and will update you shortly.

@MicahMcKittrick-MSFT  what do you mean by polling periods? Do you mean at what frequency the metrics is emitted? For 90% of metrics it is 1minute  frequency, there are a few capacity metrics that are 5min or 1hour. This information is available in the metric definitions, which you can get programatically via: https://docs.microsoft.com/en-us/rest/api/monitor/metricdefinitions/list

@anirudhcavale - I apologize, I thought I responded. That was exactly what I was looking. Is it possible to create a link or refer to from the supported metric list page? It seems like this would be natural next question or level of detail and obviously was not an easy find coming for the context "is this supported" and "what does this actually measure"?

Good point. will work with @anirudhcavale to review and consider implementing the feedback.


Fix command.py

extension have been replace by command

Thanks @predat! Would you be willing to add a test? It should be relatively straight forward.


default value of custom_images config in knative-serving and knative-eventing charms is missing some images

Bug Description
knative-serving
The default value of custom_images config in knative-serving charm currently is:
https://github.com/canonical/knative-operators/blob/6ab4fcd49a92035816480e4e33a861cc33443f85/charms/knative-serving/config.yaml#L25-L34
These image keys are missing some configurable images that are deployed by knative-serving.
We can see what the missing images are when deploying knative-serving in air-gapped and setting the images for the names in the default config in the permalink above. The following pods in knative-serving namespace are then failing to start with image pull error:
domain-mapping-89bf96888-qb64k                           0/1     ErrImagePull   0          56s
domainmapping-webhook-5b5bbf7588-zn976                   0/1     ErrImagePull   0          56s
storage-version-migration-serving-serving-1.10.2-tfr85   0/1     ErrImagePull   0          9s

knative-eventing
The default value of custom_images config in knative-eventing charm currently is:
https://github.com/canonical/knative-operators/blob/26993c2478a3a1cfce417570c35f0a1bdd9fd888/charms/knative-eventing/config.yaml#L13-L19
These image keys are missing some configurable images that are deployed by knative-eventing.
We can see what the missing images are when deploying knative-eventing in air-gapped and setting the images for the names in the default config in the permalink above. The following pods in knative-eventing namespace are then failing to start with image pull error:
kubectl get deploy -n knative-eventing | grep 0/1
mt-broker-filter        0/1     1            0           4m27s
mt-broker-ingress       0/1     1            0           4m26s
mt-broker-controller    0/1     1            0           4m26s

To Reproduce

Setup an airgapped environment with local registry
Deploy knative-operator, knative-eventing, and knative-serving  while setting the custom images that have their names in the default config only
Check the pods in knative-serving and knative-eventing namespace

Environment
microk8s 1.25-strict/stable
juju 3.1/stable
Airgapped environment
Relevant Log Output
See in the bug description

Additional Context
No response

From #140 we know that in order to set the images for these deployments owned by knative-serving we need to:

find the name of the container inside a pod that is using the image
set in the KnativeServing the image key and value under .registry.override, where the image key is the same as the container name found in 1. -> this is handled by the custom_images config. So basically we just need to add to the custom_images config:

<container_name>: <local_image_name>

for every image that is missing in the config

By looking at the description of the pods failing with ErrImagePull:

domainmapping-webhook pod

kubectl describe po -n knative-serving domainmapping-webhook-5b5bbf7588-zn976

Containers:
  domainmapping-webhook:
    Container ID:
    Image:          gcr.io/knative-releases/knative.dev/serving/cmd/domain-mapping-webhook@sha256:7368aaddf2be8d8784dc7195f5bc272ecfe49d429697f48de0ddc44f278167aa
...
...
Events:
  Type    Reason   Age                   From     Message
  ----    ------   ----                  ----     -------
  Normal  BackOff  3m57s (x39 over 13m)  kubelet  Back-off pulling image "gcr.io/knative-releases/knative.dev/serving/cmd/domain-mapping-webhook@sha256:7368aaddf2be8d8784dc7195f5bc272ecfe49d429697f48de0ddc44f278167aa"

domain-mapping pod

Containers:
  domain-mapping:
    Container ID:
    Image:          gcr.io/knative-releases/knative.dev/serving/cmd/domain-mapping@sha256:f66c41ad7a73f5d4f4bdfec4294d5459c477f09f3ce52934d1a215e32316b59b
...
...
Events:
  Type    Reason   Age                   From     Message
  ----    ------   ----                  ----     -------
  Normal  BackOff  2m48s (x60 over 17m)  kubelet  Back-off pulling image "gcr.io/knative-releases/knative.dev/serving/cmd/domain-mapping@sha256:f66c41ad7a73f5d4f4bdfec4294d5459c477f09f3ce52934d1a215e32316b59b"

storage-version-migration-serving-serving-1.10.2 pod

Containers:
  migrate:
    Container ID:
    Image:         gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate@sha256:bc91e1fdaf3b67876ca33de1ce15b1268ed0ca8da203102b7699286fae97cf58
...
...
Events:
  Type    Reason   Age                   From     Message
  ----    ------   ----                  ----     -------
  Normal  BackOff  3m36s (x62 over 18m)  kubelet  Back-off pulling image "gcr.io/knative-releases/knative.dev/pkg/apiextensions/storageversion/cmd/migrate@sha256:bc91e1fdaf3b67876ca33de1ce15b1268ed0ca8da203102b7699286fae97cf58"

We can conclude that the containers with missing images are:
domainmapping-webhook
domain-mapping
migrate

Hence, these are the keys which we are missing from the custom_images config default

For knative-eventing the missing images are:
mt-broker-controller/mt-broker-controller
mt-broker-filter/filter
mt-broker-ingress/ingress
pingsource-mt-adapter/dispatcher

The format is <deployment_name>/<container_name>  as indicated in the Knative upstream docs

closed by #187


A global extension option for disabling compile on save would be nice.

A global extension option for disabling compile on save would be nice. I use an external preprocessor, and when I forget to disable compile on save, I get odd file deletions and renames.

Never mind i didn't realize the extension isn't needed to work with sass in Nova.


Cart gets under my divs an images

Hi, Great work with the cart. Just have one small question for you. The cart gets under my images and divs om my page. i use the getskelton.com boilerplate. What can i do to make it come over my images and divs?
keep the good work up

It sounds like the CSS for your page might need some changes. Take a look at the Mini Cart FAQ entitled "The Mini Cart is appearing behind objects on my page" for a better understanding of where to start.

Thanks. I hade missed this css line. It works fine now.
--
salle81
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Monday 6 February 2012 at 04:53, Jeff Harrell wrote:

It sounds like the CSS for your page might need some changes. Take a look at the Mini Cart FAQ entitled "The Mini Cart is appearing behind objects on my page" for a better understanding of where to start.

Reply to this email directly or view it on GitHub:
https://github.com/jeffharrell/MiniCart/issues/49#issuecomment-3823264


Detail git-lfs requirement in DEV_ENVIRONMENT.md

Explain what it is, why we need it, and how to set it up.

I have a Gist here that explains it:
https://gist.github.com/robertmesserle/d9e73ebf392482374b26
Let me go ahead and add that to DEV_ENVIRONMENT.md

Closing as we move away from lfs


In some occasions we need an option for ignoring/preventing deletion changes from source

Feature request
Is your feature request related to a problem? Please describe.
Nothing wrong, but an expection raised by our OLAP team（An idea inspired by Apache Doris sink connector ）
Describe the solution you'd like
When running cdc data syncronization (eg. via Flink ), there is an option like "sink.deletion.ignored = true" to igore the pure deletion from source data and hense not being loaded into starrocks.
Describe alternatives you've considered
Alternatively exposing the "op" field in sink connector and supporting WHERE condition specification like 'where __op = c/insert, u/update, d/delete ', thus filtering the desiring or -not operations.
Additional context
eg. There is a fast increasing log table, only supporting query the records in lastest 30 days, the earlier records will be transfered into starrocks for olap purposes and deleted every night for storage and performance consideration.
Without this feature, if the earlier records were deleted in oltp database, the records already transfered into starrocs will be deleted after that, this is not what we expected.
ps :
I have raised the above proposal in Starocks Wechat, someone replied and said he would write it down, but no next ...

其他建议：
https://docs.starrocks.io/zh-cn/latest/loading/PrimaryKeyLoad#upsert.虽然支持upsert 和 delete 的分开导入，但毕竟不是对CDC的connector的支持（与需求不对应）；另外即使这种离线导入也可以优化一下的：stream 从 文件等导入 如果 也支持 __op 特殊hint列 就能跟 cdc 的处理类似了，就比 upsert, delete 多一个高级模式了（用户可以直接指定每行数据的 upsert /delete，统一处理就行， 否则用户只能拆成两个文件分别搞）


Post messages

BUG REPORT

What were you trying to achieve?
I'm trying to Publish Values via HTTP API with curl

What are the expected results?
The published value via API must be received for the clients subscribed to the channel

What are the received results?
After publish values via API, none of the subscribed clients receive the values

What are the steps to reproduce the issue?
Subscribe a client via "mosquitto"
mosquitto_sub -h mainflux.server.com -p 1883 -v -u <client_id> -P <client_token> -t mainflux/channels/e2a7275d-e956-4d2f-adc5-50f943ae3b5f/messages/senml-json

Publish somethig via API
curl -k -s -S -i -X POST -H "Content-Type: application/senml+json" -H "Authorization: <client_token>" https://mainflux.server.com/channels/e2a7275d-e956-4d2f-adc5-50f943ae3b5f/messages -d '[{"n":"client001","u":"Cel","v":23.23}]'

In what environment did you encounter the issue?
Running Mainflux on Debian 9 server and the "mosquitto" client is connected from another small Debian server

@dorian599 we are in the middle of adding protobuf support to MQTT broker. Will be finished tonight or tomorrow.
@nmarcetic is working on this one.

Btw - try using previous release: https://github.com/mainflux/mainflux/releases/tag/0.1.2 - it should work. Master is currently broken.

Master is not broken. MQTT adapter is piece of software that is separately maintained. All of the elements present in master are stable.
I am closing this issue since it belongs to the MQTT adapter, not the core platform.

Should be fixed by https://github.com/mainflux/mqtt-adapter/pull/10 - @nmarcetic will confirm on https://github.com/mainflux/mainflux/issues/197

I am trying to publish messages via API with this CURL command
curl -k -s -S -i -X POST -H "Content-Type: application/senml+json" -H "Authorization: <client_token>" https://mainflux.server.com/channels/c7c6dfef-fe0f-44eb-b49c-95c154b77c1f/messages -d '[{"n":"rpi001","u":"Cel","v":23.23}]'
I got an 200 OK HTTP code but the customers subscribed via mosquito still do not receive the messages

@dorian599 Let me restate that the MQTT adapter is separately maintained. As part of the #159, the topics have been maintained which is not reflected in the MQTT.
@drasko and @nmarcetic will take a look at this


Add capability to parse currency amounts given with suffixes (K, M, B, and T)

Allow to parse money with suffixes such as €126.36M, or -$2.45B. Four suffixes should be recognized: K, M, B, and T. They can be given in lower or upper case, but must directly follow the number to be interpreted as a multiplier suffix.
In this case K is thousand. The numeric value of Billion is culture dependent.

The suffixes are multipliers, the valuta sign is another issue.
This can also be parsed, but then a list is needed with valuta signs and corresponding valuta unit.
Also Dollarsign is tricky!! You have Australian dollars, American, so a coop with culterinfo might be needed anyway.

Parsing money already works (including dollarsigns), see the code & unittest. This issue is only about supporting the suffixes K, M, B en T.

Also this page makes the distinction between Billion and Billiard, since they exist on different scales.
https://en.wikipedia.org/wiki/Long_and_short_scales


Is it possible to move the slider programmatically?

Currently I can create a slider like this
var slider = d3.slider().min(0).max(10);
d3.select("#slider").call(slider)

This creates a slider. Is there a way to update the position of the slider via javascript. For example, executing slider.value(5) should update the position of the slider.

Yes, it is (basically your syntax, maybe naming the variable "slider" is an issue?). This works for me:
var mySlider = d3.slider()
.min(0)
.max(10)
.value(7)
.on("slide", function(evt, value) {
    doSomething(value)
});

d3.select("#div-where-the-slider-will-be-attached-to")
.call(mySlider);

mySlider.value(newValue);

Do you work with the latest version of the slider? This functionality became available on 29 Sep 2014 through https://github.com/turban/d3.slider/commit/bb33d878b627d4c20c13212b75fd50d1ca1abcad

I experienced also a problem with the getter/setter function for the value.
When the value is not changed at creation (as in the example above), or when the value is set to 0, the setter doesn't work.
The problem (I think) in the code below is that the condition if (value) { will return false if the value is zero.
slider.value = function(_) {
  if (!arguments.length) return value;
  if (value) {
    moveHandle(stepValue(_));
  };
  value = _;
  return slider;
};

Therefore I would suggest to use another condition like:
if (typeof value !== 'undefined') {

or
if (value>=0) {

Regards.
Nice plugin by the way.

man thank the lord i found this @VD17593 thanks for the spot.. confirmed same behavior for me trying to set a value to something other than zero... new to JS so a rude way to find out that 0 == false


Broken Profile link

The download link for [Z_AMS_NETWEAVER_MONITORING.zip] (https://github.com/hsridharan/azure-docs-pr/files/12114525/Z_AMS_NETWEAVER_MONITORING.zip) are broken, no file found.

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

ID: 89d2c26c-369b-172b-5d05-27ab2e98ae4e
Version Independent ID: ea1d8fe1-3349-6b2a-6fdd-194694e34ea2
Content: Configure SAP NetWeaver for Azure Monitor for SAP solutions
Content Source: articles/sap/monitor/provider-netweaver.md
Service: sap-on-azure
Sub-service: sap-monitor
GitHub Login: @MightySuz
Microsoft Alias: sujaj

@TroyShane
I've delegated this to @MightySuz, a content author, to review and share their valuable insights.

@hsridharan can you please check the broken link? thanks.

@RamanathanChinnappan-MSFT , @TroyShane  this issue has been fixed. thanks for reporting.

Got broken again, I've opened a new issue.  I see this one is still "Open" 🙄

Facing the same issue here


Upload to Modrinth

some mods are All Rights Reserved and i can't include them in a Modrinth modpack,so i have to use ModDirector (now FileDirector) to download them.
by the way,can FileDirector download anti-third-party-download mods by curseforge ids?

Downloading of CurseForge mods abides by the CurseForge API, thus will only work with ‚exposed‘ mods. URL workarounds result in a 403 error and are most likely against their ToS anyway.
We can think about a Modrinth upload in the future!

I could be wrong but I believe mczph is requesting FileDirector be uploaded to Modrinth itself.
I meant to get around to this! Will do so now.
That said I was under the impression that Modrinth also allowed packaging with CurseForge mods? Guess not.

Yes,Modrinth allows packaging with CurseForge mods,but some mods need links back to their original page and some mods are not allowed(I don't know the exact rules).

@Lylythii Yes, that‘s what I was getting at as well. Glad this is a thing now!


Soco error on startup - unable to upgrade data structure

Make sure you are running the latest version of Home Assistant before reporting an issue.
You should only file an issue if you found a bug. Feature and enhancement requests should go in the Feature Requests section of our community forum:
Home Assistant release (hass --version):
64.0
**Python release (python3 --version): **
3.5.3
Component/platform:
Raspberry Pi 3 host, unsure what component caused this.
**Description of problem:
Upon startup, getting:
Feb 27 08:14:20 <hostname> hass[2265]: 2018-02-27 08:14:20 WARNING (Thread-6) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
Feb 27 08:14:21 <hostname> hass[2265]: 2018-02-27 08:14:21 WARNING (Thread-6) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
Feb 27 08:14:21 <hostname> hass[2265]: /srv/hass/lib/python3.5/site-packages/urllib3/connectionpool.py:858: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/latest/advanced-usage.html#ssl-warnings
Feb 27 08:14:21 <hostname> hass[2265]:   InsecureRequestWarning)
Feb 27 08:14:21 <hostname> hass[2265]: 2018-02-27 08:14:21 WARNING (Thread-6) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.

Expected:
Expected no error
Problem-relevant configuration.yaml entries and steps to reproduce:

Traceback (if applicable):

Additional info:

This is caused by Sonos.
Can you say which music source you are playing and does things still work despite the warnings?

All I can contribute now is that this message appeared after HA startup while nothing played on a Sonos Play:1

Startup fails at that point.  No sources were actively playing at the time it started.  I commented out
media_player:   platform: sonos
in my config file, and it proceeded past the error.  The devices still show up, but not sure if I can trigger them to play.

Actually, HA startup did not fail at my side. It's just a warning printed. I have however not checked if media player functionality is still available.

I have encountered the same after the upgrade to 0.64.0. I can confirm that SONOS is still working as expected.
DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.

So it seems that this error is non-fatal, that's nice.
Still, I would like to be able to reproduce it. Even if the music was paused, what kind of source was in your Sonos queue?

@amelchio I get the error regardless of what is in the playlist. I thought I saw something about favourites the 1st time I got the error, but cannot reproduce it now.
One player has nothing in the queue and the other is paused on a Spotify playlist.
hass              | 2018-02-28 00:54:13 INFO (MainThread) [homeassistant.components.media_player] Setting up media_player.sonos
hass              | 2018-02-28 00:54:13 WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
hass              | 2018-02-28 00:54:13 WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
hass              | 2018-02-28 00:54:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1519779253.5945156, level=WARNING, message=DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug., exception=, source=components/media_player/sonos.py>
hass              | 2018-02-28 00:54:13 WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
hass              | 2018-02-28 00:54:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1519779253.6038406, level=WARNING, message=DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug., exception=, source=components/media_player/sonos.py>
hass              | 2018-02-28 00:54:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1519779253.6062448, level=WARNING, message=DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug., exception=, source=components/media_player/sonos.py>
hass              | 2018-02-28 00:54:13 WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
hass              | 2018-02-28 00:54:13 WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
hass              | 2018-02-28 00:54:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1519779253.7031286, level=WARNING, message=DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug., exception=, source=components/media_player/sonos.py>
hass              | 2018-02-28 00:54:13 WARNING (SyncWorker_8) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.
hass              | 2018-02-28 00:54:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1519779253.7052712, level=WARNING, message=DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug., exception=, source=components/media_player/sonos.py>
hass              | 2018-02-28 00:54:13 INFO (MainThread) [homeassistant.core] Bus:Handling <Event system_log_event[L]: timestamp=1519779253.7081964, level=WARNING, message=DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug., exception=, source=components/media_player/sonos.py>

HASS.IO install upgraded to 0.64.1 and seeing similar errors to @lawrab, started with 0.64.
2018-02-28 23:30:01 WARNING (SyncWorker_5) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug. 2018-02-28 23:30:01 WARNING (SyncWorker_5) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug. 2018-02-28 23:30:01 WARNING (SyncWorker_5) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug. 2018-02-28 23:30:01 WARNING (SyncWorker_5) [soco.data_structures_entry] DATA STRUCTURE UPGRADE FAIL. Unable to upgrade music library data structure to music service data structure because an entry is missing for DidlFavorite in DIDL_NAME_TO_QUALIFIED_MS_NAME. This should be reported as a bug.

@jaycollett I think I managed to fix my issue. I removed all my SONOS favourites in the SONOS app and the error went away. I have added some songs back again and still no error. I originally added a few favourites more than a year ago so don't know if that is the issue.

It could well be some old kind of Favorite causing this issue ... that would explain why I am unable to see it.
Anyway, the warning is hopefully silenced with the 0.64.2 upgrade that should soon roll out.

Thanks for fixing this in the next release, I had other issues with Google Play favorites that now refuse to play, but local music files/playlist play fine. I followed the advice of @lawrab, and the warnings did go away. I was hoping it would fix the other issue, but alas, it didn't. I've decided I will just live with local playlist for now...


Use a new base image for the git-init image.

This swaps out the Dockerfile based git-init base image in favor of ghcr.io/distroless/git since it is now possible to produce a distroless Git image without losing one's sanity.
This does NOT remove the Dockerfile or any logic to build it just yet, in case we want to roll this back, but that should follow in a subsequent change (tracked by the issue below).
Related: https://github.com/tektoncd/pipeline/issues/4752
/kind cleanup
/hold
Submitter Checklist
As the author of this PR, please check off the items in this checklist:

[x] Docs included if any changes are user facing
[x] Tests included if any functionality added or changed
[x] Follows the commit message standard
[x] Meets the Tekton contributor standards (including
functionality, content, code)
[x] Release notes block below has been filled in
(if there are no user facing changes, use release note "NONE")

Release Notes
The git-init image is now based on ghcr.io/distroless/git with fewer unused packages installed! 🎉

I threw the hold on mostly to ensure this doesn't merge too quickly and I get some explicit 👀  on the tekton/publish.yaml changes in here, which I doubt are tested presubmit (and I'm not sure how to test manually).
Also let me know if there are any additional things worth calling out in the release notes for this.

I'll have to find some time this afternoon to debug a bit what's going on here 🤔

I spent most of my coding time today trying to get Trivy scans set up for the images, so we can make sure we are tracking those for these images, so I didn't have time yet to dig into why this is failing.  The next two days are relatively meeting free, so I am holding out hope I will get to this tomorrow 🤞

Rebasing to pull in the git 2.35.2 fixes to be sure it's not a bad interaction there, and then I'll start to poke through this locally. 🤞

Ok, digging thru the logs, it looks like we need to do some work to run shell-image steps as root where we explicitly need it (like Scott did with git-init 🤩 ).  Let me back out the shell portion of this for now, and then I can try to chase down the places we explicitly need root for e2e testing in order to switch shell-image over.

Poking through the failures now, I see at least one place where we don't appear to be running git explicitly as root:
=== CONT  TestYamls/yamls/v1beta1/pipelineruns/pipelinerun-with-final-tasks.yaml
    build_logs.go:37: build logs
        >>> Container step-check-application-dir-has-source:
        Something went wrong and could not find application source under /workspace/source/application/

        >>> Container step-cleanup-workspace:
        2022/04/14 17:30:40 Skipping step because a previous step failed

        >>> Container step-verify-application-dir-has-gone:
        2022/04/14 17:30:41 Skipping step because a previous step failed
    build_logs.go:37: build logs
        >>> Container step-clone:
        {"level":"error","ts":1649957425.0455554,"caller":"git/git.go:55","msg":"Error running git [init /workspace/output/application]: exit status 128\nfatal: cannot mkdir /workspace/output/application: Permission denied\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:55\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:90\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:53\nruntime.main\n\truntime/proc.go:255"}
        {"level":"fatal","ts":1649957425.0456972,"caller":"git-init/main.go:54","msg":"Error fetching git repository: exit status 128","stacktrace":"main.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:54\nruntime.main\n\truntime/proc.go:255"}

=== CONT  TestYamls/yamls/v1beta1/pipelineruns/pipelinerun.yaml
    build_logs.go:37: build logs
        >>> Container step-clone:
        {"level":"error","ts":1649957413.2802649,"caller":"git/git.go:55","msg":"Error running git [init /workspace/output/]: exit status 1\n/workspace/output/.git: Permission denied\n","stacktrace":"github.com/tektoncd/pipeline/pkg/git.run\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:55\ngithub.com/tektoncd/pipeline/pkg/git.Fetch\n\tgithub.com/tektoncd/pipeline/pkg/git/git.go:90\nmain.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:53\nruntime.main\n\truntime/proc.go:255"}
        {"level":"fatal","ts":1649957413.2803946,"caller":"git-init/main.go:54","msg":"Error fetching git repository: exit status 1","stacktrace":"main.main\n\tgithub.com/tektoncd/pipeline/cmd/git-init/main.go:54\nruntime.main\n\truntime/proc.go:255"}

I also see this in the TestExamples failures...

Yeah, ok these clearly need changes too:
    - name: clone
      image: ko://github.com/tektoncd/pipeline/cmd/git-init
      script: |
        CHECKOUT_DIR="$(workspaces.output.path)/$(params.subdirectory)"

I don't think we're running the yaml/example tests downstream, but we should probably start to.

Ok, the second commit should address the explicit use of ko://.../git-init for scripting.
All of the remaining failures have to do with git-ssh credential handling, so I am guessing that was missing in the runAsUser: 0 plumbing.  I'll chase that next.

Alright, so I put together https://github.com/chainguard-dev/apko/pull/182 to create /root properly with apko, and I'm going to try running through this with an image built by me to flush out anything else that might need fixing while we get a patch release of apko out and the images rebuilt.  🤞

/test pull-tekton-pipeline-go-coverage

Progress 🤩
--- PASS: TestYamls (0.00s)
    --- PASS: TestYamls/yamls/v1beta1/pipelineruns/pipelinerun-with-final-tasks.yaml (90.92s)
    --- PASS: TestYamls/yamls/v1beta1/pipelineruns/pipelinerun.yaml (344.38s)

💥  everything passed.  I'll try to get the upstream image updated, so this will be RFAL.
I've started to chase the -shell-image stuff in parallel to this.

/lgtm
Thanks!

/test pull-tekton-pipeline-alpha-integration-tests
tests timed out 🤔

/test pull-tekton-pipeline-integration-tests
Going to run e2e once more with the nightly images

Let's get it baking
/hold cancel


[Bulk] Validation: duplicate-description

Fix duplicate-description in 50 files - (VB)/(C#) only

@TimShererWithAquent  stop asking for reviews when it's not ready.


Crash while managing dictionaries

Hello.
I've added a few Yomichan/EPWING dicts : here is the list.

This is probably not exhaustive as I've not tested every combinations, but in this setup I can reproduce the crash (systematically) by trying to move up Daijirin or Daijisen. I can move them as I want as long as I won't try to move them to the 5th position and up from the bottom (position occupied by JMDICT here). Of course, I've tried to remove them and add them up but the crashes occurred again.
As every dict (including Daijirin and Daijisen) are functional nevertheless, I'm using it in this state.

Thanks for the log/dicts file, the issue will be fixed in the next version of JL.

I'm getting the warning message [WRN] CopyFromClipboard failed repeated ad nauseam, but JL seems to work properly

You can basically ignore that warning. If there's a text in clipboard but JL cannot grab it because the clipboard is blocked in that moment for whatever reason, the aforementioned warning is logged and JL re-tries to get the text until it either succeeds or until clipboard has no text.

One of the log (from a previous day) is so full of this warning that the file for this day is 1Gb large... whatever the reason, there should be a limit ^^.

That's quite bizarre. I'd like to see the file if possible. The biggest log file I got from JL is around 4 MiB. If you are saying "CopyFromClipboard failed" is the sole culprit here, I can just not log that warning I guess.

Should be fixed by https://github.com/rampaa/JL/commit/32aacd8f8e263a6b68efdb6c0b399f79a7874036, https://github.com/rampaa/JL/commit/e67060519f840739481392a3ed65b59fad5e326d and https://github.com/rampaa/JL/commit/f8e3ef2ebf2dbfc9cfbdc71bd0276dcfef148b13.


Inventory wiped on world change

I have 2 worlds (world1 and world2) World1 is survival, world2 is creative.  the Default inv in world1 is DEFAULT and the default inv in world2 is DEFAULT2.  DEFAULT inv is not in world2 at all.  When a player tp's from world1 to world2, their inv changes as expected.  When they tp back to world1 from world2 their inv is empty.  I ran a few tests and it seems this ONLY happens on their first join to the world.

I'll have to test this out. Might not be until tomorrow, I just did a clean install on my computer few days so I still gotta setup my development environment.

I'm having the same issue, the server has been established and there are too many players to risk losing their inventories or ask them to put everything in a chest. I'm not sure what info you need, tell me and ill get it for you.

Update to latest release


Database timeout should be greater than 15 seconds

I have a number of queries that far exceed 15 seconds. This should be bumped up to at least several minutes, maybe even 15 minutes if possible.

This is a local client issue.


Phoscon 2.06.00 how to update to newer version?

I have Marthoc deconz installed on my synology. I finally managed to get the update firmware to 26660700. But I read about Sonic Boomerang ⋅ v2.7.1. What are all the differences versions????  On a Forum I saw 2.07.01 / 15.12.2020 with firmware 26390500.
I have 2.06.00 / 11/15/2020 with firmware 26660700. But I would like to have 2.07.01 since that one supports silvercrest motion detector. and how is this compared with 2.7.1???  For an overview of the releases have a look at the release page of the deconz-github.
I don't know if there are any infos about the firmware-updates. In most cases you should use the firmware coming with a new Phoscon (i.e. deconz-rest-plugin).
Maybe you could find additional infos and/or help in the discord-user-group

Oke but how do I install this with Marthoc on my synology?

As you would update any docker-image. I hope you have setup your container with a mounted volume. In that case your are safe to delete the container and install a new one (with the updated image).
As with any update you might backup this volume in advance.
You might also have a look at watchtower - if you have this (docker) running it will scan your container regularly and handle the full update. Especially with keeping all the settings.

As there hasn't been any new replies and as there are newer versions, i'm closing this issue. If this needs to be re-opened, please ping me :)

As you would update any docker-image. I hope you have setup your container with a mounted volume. In that case your are safe to delete the container and install a new one (with the updated image).
As with any update you might backup this volume in advance.
You might also have a look at watchtower - if you have this (docker) running it will scan your container regularly and handle the full update. Especially with keeping all the settings.

Thanks for your reply, I will give it a try

Or as @phdelodder stated here:    #346
clear should be the action to update your installation - have not tried it on my own though.


FYI: duecredit has support for scipy via "injections"

Dear SciPyers,
I found no mentioning of duecredit while searching here, so I guess we might have not even shared the old news:  awhile back in https://github.com/duecredit/duecredit we have annotated some modules and methods in scipy via "import time injections" so if someone using duecredit uses any of them, they would get a reference listed for scipy and for the corresponding methods they might have used (well - called those functions). As a matter of fact, using scipy in a simple script is our stock example:

Duecredit hasn't seen much of development recently but I hope to get back to it at some point, or see some contributors joining to bring it to the next level: there is lots of cool things could be done. One of them I have somewhere in a branch is automatically producing a .rst (sphinx) listing of methods (with citations) implemented by a Python package.
As for scipy, you can either do nothing (just now know that there is duecredit), expand list of injections for scipy, or (ideally) migrate to use duecredit directly! i.e. to have those annotations directly in scipy code, and not to rely on injections.  Unless duecredit installed and enabled there should be no impact on scipy run time (all duecredit decorators would not decorate, functions calls do nothing).
Cheers!

Thanks @yarikoptic, both for your efforts and for letting us know.
Note, there's a related open PR for another (code) citation tool in gh-11609.
I'm thinking we should do this right, based on a widely adopted standard, or not at all. Using decorators for it seems undesirable to me, that will have some overhead and impact (e.g. changing stacklevel). It'd be much better for objects to have, e.g., a __citations__ attribute.

I am so for standards! We already support bibtex and otherwise just rely on DOI and services like datacite to provide a record in desired format. And well, cff is just a standard/format to define citation for the entire package. duecredit guess far beyond that (though we might introduce cff support to define entries at some point, although IMHO could be indirectly done via resulting DOI to which cff record would point to). Main goal of duecredit to figure out at run time which packages and "individual methods" to cite. No standard alone would solve that - runtime support is needed.

Using decorators for it seems undesirable to me, that will have some overhead and impact (e.g. changing stacklevel)

There is no measurable overhead or stack impact unless duecredit is enabled for that specific run. And then overhead is largely from injections, that is why eventually I hope to get rid of them, and thus letting projects know about duecredit ;-) I would have loved to eliminate stack impact, but I don't see any reasonable technical solution besides instead of using decorators add calls to due.cite to the body of a method to cite. But I like decorators for their descriptiveness and leaving code body intact. Fwiw, __citations__ could be passed into a decorator, thus reusing the citation if you go that way.

Forgot to mention, we even added some basic support for citing datalad data packages of there is a recognized metadata record. See an example in https://github.com/datalad/datalad/pull/3184 ;-)

The other thing to note: docstrings have a References section, parsing that would be very useful - you'll get many hundreds of references, your mod_scipy.py just has a couple.

That is why I have filed this issue -- any efforts of parsing and keeping those updated outside of the scipy codebase (e.g. via those duecredit injection) are doomed to get outdated (or inappropriate given specific versions of scipy) at one point or another. That is why ATM I treat those duecredit injections more of a tech preview to lure projects into using/supporting duecredit directly ;)


ISPN-9483 TEST_PING doesn't trigger merge after JGroups 4.0.13 upgrade

https://issues.jboss.org/browse/ISPN-9483

I don't think the failures are related. Can you check ?

Integrated into master, thanks @danberindei !

Sorry, I missed your comment @tristantarrant. The changes were not related, it's an old failing test that Adrian uncovered recently.


Training data of model-based filtering

Hi authors, I'm interested in researching the model-based filtering process and reproducing the training of the fasttext model in the DCLM-baseline. Could you please provide the training data for this?

Or, Can you provide more information on the construction of the training data, so that others can reproduce a similar model?

Hi authors, are there any updates on this? thank you

I don't think we can release the data, but we will update if this changes. You can find OpenHermes-2.5 on Hugging Face, and instructions for reproducing the ELI5 portion are in Appendix I.1 in the paper.


DJS PHOENIX

Dear friend,
Thank you for your interest in the CopterHack 2023 contest. Your application has successfully passed the experts’ review and was accepted for the second project stage of the competition, which will be held until February 28, 2023. This stage will be followed by monthly updates, lectures, and guidance from industry experts.
What's next?

Join the Telegram group with participants of the second project stage “CopterHack 2023, participants chat”.
Every month, you're expected to prepare free-form reports on the progress of your project (update) in this draft pull request. In your report please indicate your progress, what tasks have been solved. You are encouraged to attach photos and videos that demonstrate the results of the work done within the month.
Send the link to the update to the participants chat in the Telegram group.

In response to the message, you will receive feedback from the competition jury.
There is no specific date for sending the report, so you can send the report between the beginning and the end of the month.
Monthly updates become mandatory from November 2022.
We are interested in helping you to complete your project as much as possible by the final stage. We wish you success!
Always in touch! Your CopterHack team.

#462
Update for the month of #November #DJSPhoenix
TASKS FOR NOVEMBER

For the first month we are going to make a basic CAD model so that we can get a rough idea about the requirements and components to be bought.

Planned about how to proceed further in Coding. Learning the new concept of ROS, Keras Model.

Selection Of Components

[ ]  LIST OF TASK COMPLETED FOR NOVEMBER

[x] Basic CAD model is done with placement of components. The file of CAD model is attached below.

[x] Thorough research regarding all the components which will be required for an autonomous racing drone was done. The components list was finalised .

[x] Brushed Up the concept of ROS and learnt about the Keras model. Brainstormed with the team members about the execution and assigned various tasks was done.

[x] Selection of main components has been done and order is placed since coming from different countries it  will be delivered  in month of December.

[x] The selected components are as follows:

Flight Controller- F4 Fc STM32F405 RGT6 based flight controller

Frame - carbon fiber x frame

Electronic Speed Controller – 35 amps support MULTISHOT, ONESHOT42, ONESHOT125 calibration protocol.

Motors- 2207 2300kv

Propellers- 5” props

Camera- The baseboard of the camera has three on-board cameras which implement stereo and RGB vision, for depth and AI processing.

Raspberry Pi 4

LIDAR -VL53LOX

Battery-4s 2500mah

DIFFICULTIES FACED

Selection of components was a tedious task as we are making Autonomous Racing Drone and the budget is the constraint factor.

Applying the knowledge of reinforcement learning.

First Deep learning project so little bit of time is consumed  to understand the things.

FUTURE PLANS

All the packages and models which are to make will be published in GitHub next month onwards.

Will start  building drone and the manual takeoff of drone will be done in the next update.

Will create BOM as soon as the shipment takes place.

CAD FILES
CadFiles.zip

TASK:

Frame durability testing.
Train the neural network to detect gates.
Create Bill of Materials (BOM).
3D Print CAD models for casing using PLA and TPU.

COMPLETITION OF TASK:

[x]	Durability test has been conducted successfully.
[x]	Detection and training of the neural network has been completed and the code for it has been uploaded on our GitHub repository.
[x]	Documentation for the neural network and the source code has been created.

PROBLEMS:

Shipment was delayed for around 10 days thus took time to make manual drone.
The final amount was little higher than the expected amount so being a student committee gathering funds was a tedious task.
To debug the code of neural network ,training was done correctly yet while testing gates were not detected , and a mistake in code was later noted although the to debugging of that mistake took us several days.

CHALLENGES:
If the camera detects out multiple gates at a same time so where will the drone go?
SOLUTION:
We saw an open-source project and there they had attached ArUco markers on the gates. If multiple gates are detected, the drone will go to the gate which has the ArUco, whose ID precedes the other. So, we have taken the reference of the open source project  and gone through how they have achieved this task and implemented the code and it is working good for our project.
PLANS FOR JANUARY:

Integration of gate detection with the AI camera and making of the node file.
Simulation of gates along with ArUco markers to solve the problem of multiple gate detection.

REFERENCES:

https://github.com/atom-robotics-lab/aruco_navigation

All the videos and documentation mentioned above is uploaded in the zip file.
Videos_Bom.zip
Github repo link for Gate Detection:
https://github.com/DJSPhoenix/GatesDetection

Update for the month of #January  #DjsPhoenix
TASK :

Simulation of the autonomous racing drone.

COMPLETION OF TASK:
Partially Completed and the code has been published on our Github rep. Link for the same has been provided below.
https://github.com/DJSPhoenix/aruconavigation_simulation
Difficulties Faced:

We are undergraduate students and we had our final exams thus we were not able to complete our task.

Plans for February

Simulation of our drone by performing the task.
Working on the actual drone.

Update for the month of #February #DjsPhoenix
Task:
Simulation of our project and hovering of Manual drone .
Completion of Task:
It's partially complete, detection of ArUco tags is done successfully. Some changes in the code are to be done, as the flight is not stable and drone is not passing through the gates as required.
And for the manual drone the video has been provided. It's hovering for the certain period of time and then drone is going up and down.
Both the simulation and real-world video has been provided below.
March Month task:
Making the drone autonomous and fixing the simulation code.
https://drive.google.com/drive/folders/1Nes_zYZMRhvrMOMJJc-Q4qSs4lcPceYR?usp=sharing

Update for the month of #February #DjsPhoenix
Task:
Simulation of our project and hovering of Manual drone .
Completion of Task:
It's partially complete, detection of ArUco tags is done successfully. Some changes in the code are to be done, as the flight is not stable and drone is not passing through the gates as required.
And for the manual drone the video has been provided. It's hovering for the certain period of time and then drone is going up and down.
Both the simulation and real-world video has been provided below.
March Month task:
Making the drone autonomous and fixing the simulation code.
https://drive.google.com/drive/folders/1Nes_zYZMRhvrMOMJJc-Q4qSs4lcPceYR?usp=sharing

Performed some editing of you article, now it's ready to be merged.


Any way to make the card more compact?

Thank you for rejuvenating ;)  the card! Is there any way to make it more compact?
I can use card_mod if need be, but any tips on what elements to shrink would be great as I don't have a full understanding on the layout so I go on endless hunts for code examples until I find something that works :S

You may use this as a starting point.

@ildar170975 How could I possibly forget about that epic thread you created! That worked 100%, smaller and looks better too on my dashboard.


No suggestions for incorrectly using composer install instead of composer require

Maybe this is just me, but often when I want to install a new package with composer I'll try composer install package when I should be using composer require package. Composer prints the message "Invalid argument package. Use "composer require package" instead to add packages to your composer.json." when you do this, so I expected thefuck to pick up on that.
  Use "composer require package" instead to add packages to your composer.json.


controller/backup-operator: don't process cr if it has a status

if cr has a status, it means that this cr has been process before.
In that case, don't process the cr again.
reportBackupStatus takes in berr instead of err to differentiate input err vs internal error.

cc/ @hongchaodeng  @hasbro17

Also update this method:
 func (b *Backup) reportBackupStatus(err error, eb *api.EtcdBackup) {

to make the err not coupled with error below?

All fixed. PTAL @hongchaodeng

lgtm

merge when green.


Flatpickr 4.6.10 broken when using altInput and altFormat

When using altInput and altFormat, the datetime picker is broken (try to change date multiple times, check console):
https://jsfiddle.net/tg1fhpsw/3/
Also i found where can be problem. Incorrect format is passed for flatpickr parseDate, instead of altFormat, dateFormat is provided for parser, you can see it here:
https://jsfiddle.net/yzbn5Lds/2/
Your Environment

flatpickr version used: 4.6.10
Browser name and version: Chrome 99.0.4844.51 (Official Build) (64-bit)
OS and version: Windows 10 64bit

just tried 4.6.9 version and it works
so 4.6.10 is a broken version, this needs to be fixed asap

same issue? https://github.com/flatpickr/flatpickr/issues/2653

same issue? https://github.com/flatpickr/flatpickr/issues/2653


Inference on custom dataset ( point cloud file in the same formato of SemanticKitty (.bin)

Hello and thanks for your work!
I generated my dataset using a simulator, trying to create point clouds as similar as possible to those of SemanticKitty, then with a 64 beam velodyne and trying to use the same fov parameters and number of points.
The problem is that I only have the .bin files but I don't have the labels, I would simply like to use your network to make inference on my points and generate the labels, what can I do? Thank you

You should be able to generate the label predictions using the same testing script if you change the test data path to your custom dataset:
https://github.com/edwardzhou130/PolarSeg/blob/3531f15bb9f38b3ae075ea33183d32ab6139980a/test_pretrain_SemanticKITTI.py#L133-L165
However, the quality of the prediction might not be very good. I suggest you can first visualize 5-10 random predictions to see if it meets your need.

You should be able to generate the label predictions using the same testing script if you change the test data path to your custom dataset:
https://github.com/edwardzhou130/PolarSeg/blob/3531f15bb9f38b3ae075ea33183d32ab6139980a/test_pretrain_SemanticKITTI.py#L133-L165
However, the quality of the prediction might not be very good. I suggest you can first visualize 5-10 random predictions to see if it meets your need.

Thanks even if I was already able to make the inference, both on this and on other networks (RangeNet ++, SqueeSegV3 etc.). Unfortunately the results are really poor, probably due to the fact that my data are obtained from a simulator (Carla) which in turn simulates a lidar, the networks cannot map correctly even the road, as soon as available I will try to do the end tuning to try to improve the performance of the networks on my pointclouds


Improve MediaPlayer: handle video rotation properly

Describe your changes
Issue ticket number and link
Checklist before requesting a review
For each PR

[ ] Add Copyright if it missed:
- "Copyright (c) 2019-present Axmol Engine contributors (see AUTHORS.md)."

[ ] I have performed a self-review of my code.
Optional:

[ ] I have checked readme and add important infos to this PR.
[ ] I have added/adapted some tests too.

For core/new feature PR

[ ] I have checked readme and add important infos to this PR.
[ ] I have added thorough tests.

@asnagni please review & verify this PR

I was able to test on iPhone 11, 12, 13 & 14
Also on iPad Pro 11 & iPad mini and I can confirm that the issue is fixed and working as expected.


installing capa locally via "python -m pip install ." does not install capa packages e.g. capa.ida, capa.render, etc.

This may be a result of switching to pyproject.toml file? The lack of packages prevents capa explorer from being installed and executed locally.
Output:

Expected:

Oddly enough python -m pip install flare-capa appears to work as expected.

If the commands we used need to change then we need to update our documentation.

we use pip install -e . in CI and that's been working fine. i don't know if/how using not -e works. thoughts?

if users want to install from local source in non-editable mode, we should instruct them to do a build of the whl (python -m build) and then install that.

@mike-hunhoff what versions of pip, python, etc. are you using?
here is capa is installing in non-editable mode on linux:

Looks like my problem was an outdated pip. I was using 21.2.3 with Python 3.10 on Windows. Upgrading to 23.2.1 resulted in the expected behavior. Thanks for investigating @williballenthin !


DepositArgs Actions

This PR adds code needed for the DepositArgs Action functionality
Added:
ActionArgs
DepositArgs
_parseDepositArgs

Once this is reviewed, it should be pretty easy to copy paste the remaining actions! :)

One other thing, do you guys think we need another folder called test-helper in contracts/? We can move all the __Test.sol files there to make it clearer.

One other thing, do you guys think we need another folder called test-helper in contracts/? We can move all the __Test.sol files there to make it clearer.

we can maybe start with it being in mocks for now and then if it grows big move it?


Sphinx partially depends on graphviz

I've opened a pull request in your build image to add this dependency, but there has been no response thus far. Since you officially support sphinx, could you please add this dependency?
netlify/build-image#46

Not sure this is relevant for this PR, more info is needed.

It was merged some time ago, so I'll close this.


Firewall Custom Rules not always applied

I'm using a TPLink A7 with "Powered by LuCI Master (git-18.356.64384-31d259a) / OpenWrt SNAPSHOT r8859-f36bc3f"
In LUCI Network>Firewall>Custom Rules I have some rules to insert logging at the top of some chains. This works as expected and clicking the Restart Firewall button on that page does work as intended.
However, applying changes on other Network pages may result in the IPTables chains being rebuilt without the custom rules as if the /etc/firewall.user include is ignored. Here are some steps to reproduce:

In LUCI enter into Network>Firewall>Custom Rules any valid rule such as: "iptables -I zone_wan_forward 1 -p tcp -m conntrack --ctstate NEW -m limit --limit 60/sec -j LOG --log-level info --log-prefix "ctstate=new "
Click "Restart Firewall" button
In CLI shell enter: "iptables -L"
Note the custom LOG rule is present in the zone_wan_forward chain
In LUCI Network>Hostnames add a hostname for a local host (or make any change that can be applied)
In CLI shell enter "iptables -L"
Note the LOG rule is now missing from the zone_wan_forward chain
At this point you can either do "service firewall restart" in CLI or click "Restart Firewall" on the Custom Rules page, and check "iptables -L" again to see that the LOG rule is back.

Apparently there are many cases where "Save & Apply" in LUCI will cause the custom rules to be omitted from the chains. Adding a hostname is just an example, the same issue occurs when I apply other settings under the Network tab. After applying other changes I have to explicitly restart the firewall to make sure my custom rules get reapplied.

The firewall.user file is only processed on firewall restarts, not reloads. The problem is that your custom rules utilize internal firewall chains which get flushed and rebuilt on reloads, this is why they're getting dropped.
Use the forwarding_wan_rule chain instead to avoid this behavior. Alternatively set option reload 1 for the config include section of /etc/config/firewall and make sure that your custom rule commands to not create duplicates.
Refer to https://oldwiki.archive.openwrt.org/doc/uci/firewall#packet_flow for usable chains. Rules referencing or being contained in one of the chains marked system or user are left alone, rules placed inside system chains or rules jumping to system chains are getting deleted on firewall reloads.

Thanks for the explanation. I actually have custom rules for several chains, including the zone_wan_forward chain that contains forwarding_wan_rule. My intent is to log new TCP sessions in each zone context, so I'm inserting a log rule at the top of each appropriate chain and it works as I want. I've added the option 1 reload as you suggested and it now does exactly what I wanted.


remove GasPriceObject from list of objectTypes for MigrationInitializerForOneChainPerDatabase

Closes #6644

TransactionObject  it haven't existed when MigrationInitializerForOneChainPerDatabase was intruduced, so it shouldn't cause any issue, removing it

Ok