feat(wasm-dpp): implement function to produce generics from JsValue

Issue being fixed or feature implemented
This utility function helps to produce generics from JsValue in the situations where we don't really know what is exactly passed to the function. (E.g. we can have either InstantAssetLockProof or ChainAssetLockProof)
Usage sample:
use wasm_bindgen::__rt::Ref;
use crate::utils::{generic_of_js_val};

struct Internal {
    value: u8,
}

#[wasm_bindgen(js_name=jsValueToGeneric)]
pub async fn js_value_to_generic(
    js_value: JsValue,
) -> Result<JsValue, JsValue> {
    let internal: Ref<Internal> = generic_of_js_val::<Internal>(&js_value, "Internal")?;
    let internal_instance = internal.clone();
    ...
}

What was done?

Applied workaround as explained here https://github.com/rustwasm/wasm-bindgen/issues/2231#issuecomment-1147260391
How Has This Been Tested?

Locally on relevant code sample
Breaking Changes

Checklist:

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated relevant unit/integration/functional/e2e tests
[x] I have made corresponding changes to the documentation

For repository code-owners and collaborators only

[x] I have assigned this pull request to a milestone

@shumkov this function will be used in bindings tests


Tapo p125M not showing socket control

I know the 125M is technically a matter device (and I can't get Matter to work with my container install) but mine is not setup with Matter.  It connects, and shows the overheat status, and the wifi strength, but not the load, which is obviously what matters.
repeating in Logs:
Failed to setup Error communication with API: Cannot connect to host x.x.x.x:80 ssl:default [Connect call failed ('x.x.x.x', 80)]
Config entry 'Smart Plug' for tapo integration not ready yet: Error communication with API: Cannot connect to host x.x.x.x:80 ssl:default [Connect call failed ('x.x.x.x', 80)]; Retrying in background

Is the ip address reachable?

Is the ip address reachable?

Yep, that all works fine.  It is talking to the device (and I have two of them, same issue) since I can see the wifi signal for the device (as an example).

I'm seeing the same

I patched it in this PR: https://github.com/petretiandrea/home-assistant-tapo-p100/pull/405


Add getNode to XmlPath

From<EMAIL_ADDRESS>on March 29, 2011 18:55:40
XmlPath should include a getNode(..) method
Original issue: http://code.google.com/p/rest-assured/issues/detail?id=55

From<EMAIL_ADDRESS>on September 04, 2011 08:30:36
Status: Fixed


Keybinding not working, despite everything is correct

Type: Bug
The issues is: I have a Keybinding to "ctrl+[Backslash]", with a german keyboard, it mapped fine to the Keymap "ctrl+#" a while ago, but it suddenly stopped working. It shows the text  ""ctrl+[Backslash] maps to Strg+Y on the current layout" which is wrong. It seems that there is somewhere a bug or similar.
I tested with the shortcuts Troubleshout info, the result there was:
Everything worked fine, it does this:
Resolving ctrl+[Backslash]
 \ No keybinding entries.

Despite having a correct entry in keybindings.json
 {
        "key": "ctrl+[Backslash]",
        "command": "whatever",
        "when": "editorFocus"
}

I also used the FAQ here, but nothing really helped:
VS Code version: Code 1.75.0 (e2816fe719a4026ffa1ee0189dc89bdfdbafb164, 2023-02-01T15:29:17.766Z)
OS version: Linux x64 5.19.0-29-generic
Modes:
Sandboxed: No

System Info

Item
Value

CPUs
Intel(R) Core(TM) i5-9400F CPU @ 2.90GHz (6 x 3900)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: disabled_offdirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_renderer: enabled_onvideo_decode: disabled_softwarevideo_encode: disabled_softwarevulkan: disabled_offwebgl: enabledwebgl2: enabledwebgpu: disabled_off

Load (avg)
3, 3, 2

Memory (System)
15.37GB (7.22GB free)

Process Argv
--unity-launch

Screen Reader
no

VM
0%

DESKTOP_SESSION
ubuntu

XDG_CURRENT_DESKTOP
Unity

XDG_SESSION_DESKTOP
ubuntu

XDG_SESSION_TYPE
x11

Extensions: none

Same problem here, my user key bindings stopped working since 1.75.0
I had set "Editor FontZoom In" to "cmd +" and now it's set to cmd X, and if I want to change it back it shows "cmd+[BackBracket]" even though I have a German layout set up. Futhermore if I press enter to apply the change, nothing changes.
Version: 1.75.0
Commit: e2816fe719a4026ffa1ee0189dc89bdfdbafb164
Date: 2023-02-01T15:26:31.005Z (6 days ago)
Electron: 19.1.9
Chromium: 102.0.5005.194
Node.js: 16.14.2
V8: <IP_ADDRESS>-electron.0
OS: Darwin arm64 21.6.0
Sandboxed: No

/duplicate of #173325 which is currently pinned at the top of the Issues page and will be fixed in upcoming recovery release 1.75.1

Thanks for creating this issue! We figured it's covering the same as another one we already have. Thus, we closed this one as a duplicate. You can search for similar existing issues. See also our issue reporting guidelines.
Happy Coding!


fix target becomes to None  after random crop

Hi,
I found a  problem when calculating L1 loss and saw your TODO in l1_loss.py.
# TODO Handling an exception so that it can be handled even when the target data is empty

for a clean dataset, the main reason why target becomes to None is going through random crop augmention, so I simplely add a if ( ) in RandomCrop3D. When crop region is empty of target, just return original data and give up this augmention.

Hello.
Thank you very much for your valuable suggestion. 😊
We will review what you said as soon as possible.


Add long2022

Add Long2022
Closes #898
Only merge after SPAAM summer school

Including Naples to the site location would make it more specific.


changed initial worldpose data type and removed ununsed target transform in constraints

Overview

removed transform target from transform constraint - wasn't used by constraints as the transforms we're operating on are passed into initialize and apply functions.
changed initial world pose storage to be full transform (including scale) instead of just translation / rotation, so scaling based constraints don't have to manually store the initial scaling value.
added breaking changes entry for both changes and directions for users that might have used transform target for their own constraints

Misc:

added ctor for MixedRealityTransform to allow create from Unity Transform

Changes

Fixes: #8040 & #7841

/azp run

/azp run


Replace more uses of sfml_find_package with find_package

Description
In any green field CMake projects these days the expectation for dependencies is that they're found in the build scripts via find_package and consumed by downstream users in the config module via find_dependency. These two features handle a lot of tricky problems that make it feasible to compose large dependency graphs out of CMake projects. They're recommended for good reason.
My goal in this PR is to take a few more steps toward that solution. This is not the first PR of its kind and won't be the last. One of my goals is to entirely remove sfml_find_package.
Under the hood sfml_find_package is using find_package which is good but it was also doing a few other things we didn't need. It was supporting more complicated use cases than we actually needed so I simplified its input handling to only support how we're currently using it. There's no reason to believe our use of sfml_find_package will get more complicated over time.
After that I went on to convert our OpenGL, DRM, GBM, EGL, GLES, and UDev dependencies to use pure find_package/find_dependency. This required first making IMPORTED targets inside those dependency's respective find modules. This is canonical CMake usage. All good Find modules and Config modules these days are producing IMPORTED targets. This differs from how sfml_find_package worked where it generated INTERFACE targets which we then had to export. These IMPORTED targets correctly express to the build system how SFML doesn't "own" these targets. All targets found through find_package (conventionally) behave like this.
Along the way I realized that now we need downstream users to have access to these custom find modules we wrote. I'm referring to all the .cmake files in cmake/Modules. In the same way we need them in the build, we need to expose them to users so they too can find these dependencies. Typically projects don't think about this because they're using a config module from a 3rd party dependency or using a find module that ships with CMake (like FindBoost.cmake). If CMake already provides the find module then projects can expect that all consumers already have it. In our case we're writing find modules that don't exist anywhere but SFML so we need to make sure users get that code.
How was it we weren't doing this before? sfml_bind_dependency is roughly approximating what our find modules already do. In a sense we were duplicating code in our find modules and in sfml_bind_dependency to make sure that downstream users could find the libraries we were using. As soon as sfml_find_package is gone, sfml_bind_dependency will also disappear.
One more small step towards achieving the vision in https://github.com/SFML/SFML/issues/1991. One we're using find_package exclusively we'll be much better equipped to experiment with ways of removing all the vendored binaries and headers in extlibs.
See also:
https://github.com/SFML/SFML/issues/2459
https://github.com/SFML/SFML/issues/2078

SFMLBuildMaster: Build this please.

I was able to switch OpenGL over to pure find_package and thus use the imported OpenGL::GL target instead of the target we were creating ourselves.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

SFMLBuildMaster: Build this please.

https://github.com/microsoft/vcpkg/blob/86bdd8f99a9dab84e8eae40c92ae20ebc9045e83/ports/sfml/fix-dependencies.patch#L34-L36
Vcpkg seems to claim that we need to ensure the value of OpenGL_GL_PREFERENCE is propagated to consumers.

https://github.com/microsoft/vcpkg/blob/86bdd8f99a9dab84e8eae40c92ae20ebc9045e83/ports/sfml/fix-dependencies.patch#L34-L36
Vcpkg seems to claim that we need to ensure the value of OpenGL_GL_PREFERENCE is propagated to consumers.

We're not currently doing this in master so this PR doesn't make this situation any worse as far as I can tell. I'm still curious what are the ramifications of not doing that. I don't know about OpenGL to say.

The FindOpenGL module provides an OpenGL::GL target and an OPENGL_LIBRARIES variable for projects to use for legacy GL interfaces. When both a legacy GL library (e.g. libGL.so) and GLVND libraries for OpenGL and GLX (e.g. libOpenGL.so and libGLX.so) are available, the module must choose between them. It documents an OpenGL_GL_PREFERENCE variable that can be used to specify an explicit preference. When no such preference is set, the module must choose a default preference.
~ CMP0072

So it depends on the user's system of what's available and what to link to if both exist.

On second thought, I maybe do see how need to copy what Vcpkg is doing. I think we may need to change it to
            if(NOT OpenGL_GL_PREFERENCE)
                set(OpenGL_GL_PREFERENCE "LEGACY")
            endif()
            find_dependency(OpenGL COMPONENTS OpenGL)

In master as it stands today, users are not calling find_dependency(OpenGL) so they're instead getting our own OpenGL target that we create inside sfml_find_package which has the correct link libraries encoded in it. Once they start using OpenGL::OpenGL from FindOpenGL.cmake then they're getting a target we not longer control so we need to be sure to set the same parameters before find_package(OpenGL) as we do find_dependency(OpenGL).

https://gitlab.kitware.com/vtk/vtk/-/blob/master/CMake/vtk-config.cmake.in#L150
A maintainer of VTK confirmed to me that we do need to ensure that OpenGL_GL_PREFERENCE gets set before we call find_dependency(OpenGL). I'm now confident again that this PR is in a mergeable state.
SFMLBuildMaster: Build this please.


fails to parse overpass-turbo export due to BOM

e.g. the default overpass-turbo script:
/*
This is an example Overpass query.
Try it out by pressing the Run button above!
You can find more examples with the Load tool.
*/
node
  [amenity=drinking_water]
  ({{bbox}});
out;

click run
click export
then download/copy as raw OSM data

You'll get a file like this (though unzipped):
overpass-export-bom.osm.gz
When I try to process it, the osmio parser explodes with:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Error { pos: 1:1, kind: Syntax("Unexpected characters outside the root element: \u{feff}") }', /Users/mkirk/src/georust/osmio/src/xml/mod.rs:65:25
stack backtrace:
   0: rust_begin_unwind
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/std/src/panicking.rs:493:5
   1: core::panicking::panic_fmt
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/panicking.rs:92:14
   2: core::option::expect_none_failed
             at /rustc/9bc8c42bb2f19e745a63f3445f1ac248fb015e53/library/core/src/option.rs:1329:5
   3: core::result::Result<T,E>::unwrap
             at /Users/mkirk/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/result.rs:1037:23
   4: <osmio::xml::XMLReader<R> as osmio::OSMReader>::next
             at /Users/mkirk/src/georust/osmio/src/xml/mod.rs:65:22
   5: <osmio::OSMObjectIterator<R> as core::iter::traits::iterator::Iterator>::next
             at /Users/mkirk/src/georust/osmio/src/lib.rs:505:9
   6: osm2fgb::convert_xml
             at ./src/main.rs:63:20
   7: osm2fgb::main
             at ./src/main.rs:46:5
   8: core::ops::function::FnOnce::call_once
             at /Users/mkirk/.rustup/toolchains/stable-x86_64-apple-darwin/lib/rustlib/src/rust/library/core/src/ops/function.rs:227:5

If I open in vim, run :set nobomb and save it as: overpass-export-nobom.osm.gz, then osmio can successfully process the input.

Maybe a dupe of https://github.com/netvl/xml-rs/issues/155

So it seems that this is a known issue - xml_rs explodes when encountering a BOM.
The author prefers that, since the BOM exists  "outside of the xml", this should be fixed by every user of the crate, to be sure any BOM is stripped before handing input to the xml_rs crate.
Their suggestion is to build something like:
use bom_remover::BomRemover;

let file = File::open("file.xml").unwrap();
let file = BufReader::new(file):
let file = BomRemover::new(file);
let reader = EventReader::new(file);


Laravel-free package

To improve the adoption of this package outside of the Laravel ecosystem, I would suggest separating all of the Laravel functionality into a separate package that depends on this one. While nothing in the current package prevents me from using it outside of Laravel, the extra files and configuration that is included is confusing. A separate package would be able to declare dependencies on Laravel/Illuminate, which would be beneficial for compatibility.

Thanks for your suggestion. I will keep this in mind for the next version.


Implement page preview that 'plays' a page in the editor

Feature Description
Implement the in-page preview that plays back a page in the editor. Has a spec but no UX yet.
Product Brief

Do not alter or remove anything below. The following sections will be managed by moderators only.
Acceptance Criteria

Author is able to preview a single page
When previewing a page, it is a Workplace-level action to preview and play back the page the author is currently editing (especially important to test animations and videos)
When previewing a page, it hides a potential current selection on the Workspace
When previewing a page, it exits edit mode (masking mode)
When previewing a page, it plays back all animations and videos
When previewing a page, it automatically reverts (to normal Workspace mode) after all animations and videos have finished playing.

QA Instructions

Note from Grooming on Apr 15:

related to animations, UX needed, p1, probably for next sprint (or future)

@jauyong to create animations epic and add this to it.
This will be needed for the Dashboard as well

Moved out of Beta during grooming on Apr 29

I'm picturing this like the left half of the template details view: https://stories-new-wordpress-amp.pantheonsite.io/wp-admin/edit.php?post_type=web-story&page=stories-dashboard#/templates-gallery/template-detail?id=5&isLocal=false
If this is the case, we can go ahead and build this and then make UX tweaks to it just so the functionality is there.
Thoughts, @o-fernandez @samitron7 ?

I'm picturing this like the left half of the template details view: https://stories-new-wordpress-amp.pantheonsite.io/wp-admin/edit.php?post_type=web-story&page=stories-dashboard#/templates-gallery/template-detail?id=5&isLocal=false
If this is the case, we can go ahead and build this and then make UX tweaks to it just so the functionality is there.
Thoughts, @o-fernandez @samitron7 ?

Yeah, I think it should be pretty similar. Within the workspace the user would be on a page they are editing and they can click a button that just "previews" that page, similar to how it'd work in template details, instead of previewing the whole story on a new page.

on a page they are editing

Just to confirm, there will be no actual editing of the story (outside of the title getting updated) in the dashboard.
Otherwise I think I'm on the same page as you - care if I pull this into the next sprint to get up and running?

@BrittanyIRL Most likely, I'm going to add a play button down to the page action menu at the bottom of the page that allows you to click and play the individual page. Is ticket is in icebox so can I ask why we can't wait for UX here?

@samitron7 no worries! i was mostly checking in on this because it's been hanging out for a while (because it's not critical!) to see if it was similar to the template detail view because I have capacity the next day. Happy to wait.

We should do this as part of #2910, which will be important for 1.0 Stable.

Being done as part of #3484, this ticket is now a dupe.


[WIP] warning for mismatched param names

This is the proposed fix for https://github.com/Microsoft/visualfsharp/issues/3467
Basically we will now show a warning when signature files and implementation files have mismatched argument names
This is WIP because wee must fix up the (many) occurrences of this problem in FSharp.Core and the compiler itself.
We also have to decide if the warning is on or off by default.  Given the severity of the problem for the debugging experience (See linked bug) I'm sure it should be on by default - even if that means upgrading F# version requires adding a --nowarn or changing code

We can put it in new project templates and enable it by default in the coreclr projects.

@dsyme is the fix here to use the implementation parameter names in IL instead of the signature parameter names? Then we don't even need the warning - it will just work by default.

@dsyme is the fix here to use the implementation parameter names in IL instead of the signature parameter names? Then we don't even need the warning - it will just work by default.

That would be a breaking change since the C#/.NET view of consuming the assembly would change.
Also the C#/.NET view would be logically different to the F# view, e.g. for named arguments, which greatly disturbs me.

We can put it in new project templates and enable it by default in the coreclr projects. It's too breaking to turn it on in the compiler by default.

I'm ok with that approach.

How does C# get around this for interface methods that have different parameter names than the parameter names on the same method in an implementing class?

I've added a Visual Studio CodeFix for this, it works very nicely, see #3531 for cases where I have been using it heavily

@saul For C#

no effect on debugging since they use the names of the implementation.

signature and implementation may not match, without warning, e.g. you get

A.M x = XX, y = YY
B.M x = XX, y = YY
B.M x = YY, y = XX

from
using System;

namespace ConsoleApp1
{
    class A
    {
        public virtual void M(string x, string y) { System.Console.WriteLine("A.M x = {0}, y = {1}", x, y);  }
    }
    class B : A
    {
        public override void M(string y, string x) { System.Console.WriteLine("B.M x = {0}, y = {1}", x, y); }
    }
    class Program
    {
        static void Main(string[] args)
        {
            (new A()).M(x: "XX", y: "YY");
            (new B()).M(x: "XX", y: "YY");
            ((A)(new B())).M(x: "XX", y: "YY");

            System.Console.ReadLine();
        }
    }
}

FWIW I think the optional feature is justified just on the basis of code hygiene and correctness alone

@saul I can definitely see the case for also implementing an optional warning on overrides

I think I'm being blind but I can't fix the codefix in this PR?

@saul Yes, missed a file - now added

Cheers Don. Looks like we're also missing the FSharp.Editor.fsproj change, too?

This is ready once CI is green, subject to review
@KevinRansom I presume the F# templates for .NET SDK are in the .NET SDK repo?

Cheers Don. Looks like we're also missing the FSharp.Editor.fsproj change, too?

@saul See https://github.com/Microsoft/visualfsharp/pull/3527/files#diff-2c15e8a33254afafc0e96c4f069e0aadR96

@saul Thanks for the feedback so far.  If you could give it a go that would be great

@dsyme for coreclr put it in here:  https://github.com/Microsoft/visualfsharp/blob/master/src/fsharp/FSharp.Build/Microsoft.FSharp.NetSdk.props
@dsyme lose the template changes, and  create an issue to add it and assign it to me.  I will add it in.

@dotnet-bot test Windows_NT Release_ci_part1 Build please

@KevinRansom  This is ready - when you merge can you create the tracking issue for templates?  Thanks


Deleting flashcards

When 2 or more flashcards are deleted and none is left application crashes.

Fixed in: 5c766fbb4bea5e96da0e16d94449b147bad02fcc


Provide a way to customize app name & desc

@zefhemel hey, here is my simplistic implementation of customizable manifest.json. What do you think?
If you like it I will update documentation and cli usage message too.

This looks reasonable. I think adding even more command line options doesn't make sense, I think configuration through environment variables is sufficient.
Could you add the extra configuration options to the website/Install/Configuration.md file as well? Then I think we're ready to go!
Thanks!

@zefhemel done!

Awesome, thank you!


Adding inertial_to_body_fixed_rotation and body_fixed_to_inertial_rotation functions to API documentation

Added here:
https://github.com/tudat-team/tudat-multidoc/commit/7aa7b006e790989f584b7c2d094febd73e03effc
will be rendered on the API website on next rebuild


Add Danbooru Lite by @satishbabariya

[X] Project URL:
[X] Update contents.json instead of README
[X] One project per pull request
[X] Screenshot included
[X] Avoid iOS or open-source in description as it is assumed
[X] Use this commit title format if applicable: Add app-name by @github-username
[X] Use approved format for your entry

@satishbabariya thank you!


Vulnerability roundup 110: dnsmasq-2.86: 7 advisories [9.8]

search, files

[ ] CVE-2021-45951 CVSSv3=9.8 (nixos-unstable)
[ ] CVE-2021-45952 CVSSv3=9.8 (nixos-unstable)
[ ] CVE-2021-45953 CVSSv3=9.8 (nixos-unstable)
[ ] CVE-2021-45954 CVSSv3=9.8 (nixos-unstable)
[ ] CVE-2021-45955 CVSSv3=9.8 (nixos-unstable)
[ ] CVE-2021-45956 CVSSv3=9.8 (nixos-unstable)
[ ] CVE-2021-45957 CVSSv3=9.8 (nixos-unstable)

CVE details
CVE-2021-45951
Dnsmasq 2.86 has a heap-based buffer overflow in check_bad_address (called from check_for_bogus_wildcard and FuzzCheckForBogusWildcard).
CVE-2021-45952
Dnsmasq 2.86 has a heap-based buffer overflow in dhcp_reply (called from dhcp_packet and FuzzDhcp).
CVE-2021-45953
Dnsmasq 2.86 has a heap-based buffer overflow in extract_name (called from hash_questions and fuzz_util.c).
CVE-2021-45954
Dnsmasq 2.86 has a heap-based buffer overflow in extract_name (called from answer_auth and FuzzAuth).
CVE-2021-45955
Dnsmasq 2.86 has a heap-based buffer overflow in resize_packet (called from FuzzResizePacket and fuzz_rfc1035.c).
CVE-2021-45956
Dnsmasq 2.86 has a heap-based buffer overflow in print_mac (called from log_packet and dhcp_reply).
CVE-2021-45957
Dnsmasq 2.86 has a heap-based buffer overflow in answer_request (called from FuzzAnswerTheRequest and fuzz_rfc1035.c).

Scanned versions: nixos-unstable: 5aaed40d22f.
Cc @edolstra
Cc @fpletz
Cc @globin

These CVEs (except the last one) appear to be disputed by the author; I couldn't find a fix when I looked. CVE-2021-45957 appears to have been patched a while ago in a package update.
Closing for now, feel free to reopen if these CVEs are still vulnerable @ckauhaus.


ios bug

what a strange bug?
screenshots enclose
It seems that styles are not applied at all
Version 3.3.7 is used

screenshots were made in the latest version of the simulator xcode for ios 5
in browser safari last version, analogous situation

please provide a reduced test case in jsfiddle, jsbin or similar. this is likely a problem with whatever else you're doing in your site/app, as 3.3.7 works just fine in iOS Safari.

@patrickhlauke Unfortunately I can not put the code on the specified services, since this application is using cordova

then i'm afraid we won't be able to help further on this. I'd suggest asking on stackoverflow or similar - see https://github.com/twbs/bootstrap/blob/master/CONTRIBUTING.md#using-the-issue-tracker

@patrickhlauke
Cut out a piece of code
https://jsfiddle.net/wormen/grnhck2e/
But can see that it works really well
When leaping over protocol file:// everything is different

I'm afraid we don't officially support this sort of embedding/use in Cordova/etc, so can't provide any help/support on that, sorry.


Chore: update various crates' object and wast dependencies

This somewhat cuts down on duplicate dependencies. wast is used in a much older version (11.0.0) by witx, and can be updated without issues there as well, but this at least gets us from 3 copies to 2.

[ ] This has been discussed in issue #..., or if not, please tell us why
here.
This hasn't been discussed, it's just a bit of maintenance.
[x] A short description of what this does, why it is needed; if the
description becomes long, the matter should probably be discussed in an issue
first.
[ ] This PR contains test cases, if meaningful.
n/a
[x] A reviewer from the core maintainer team has been assigned for this PR.
If you don't know who could review this, please indicate so. The list of
suggested reviewers on the right can help you.

Turns out more lockfile updates are needed to make this pass :( I won't be able to get to that today, and probably not for another few days.

The latest wast is 20.0.0 - should we just go all the way to that?
I'll prepare the corresponding PR in WASI for witx now.

The latest wast is 20.0.0 - should we just go all the way to that?

Ah, good call—we definitely should!

Landing it as update for object.

The latest wast is 20.0.0 - should we just go all the way to that?

Let's land wast update independently.


[Feature Request] : Background in Landing Page and Improve the form UI

Is there an existing issue for this?

[X] I have searched the existing issues

Feature Description
want to add Background in Landing Page and making the UI of form more Animated.
Record

[X] I agree to follow this project's Code of Conduct
[X] I want to work on this issue
[X] I'm willing to provide further clarification or assistance if needed.

What landing page bro Gimme ss can't understand

Something from these types of backgrounds can be added in the main page

Go @anmol-284

Give some animation but don't make the website slow

Yeah i take care of it

If u have any problem please open a question/answer tab in the discussion section of this repo plz it would be helpful
and always look at it for announcement plz of any changes we will make regarding issues

@anmol-284 Please see the discussion tab and join discord plz


why can't write the data with same timestamp(nanosecond) and same kv pair?

why can't write the data with same timestamp(nanosecond) and same kv pair?for example,write data like this twice:
test,host=server02,region=us-west value=0.12<PHONE_NUMBER>702900257
test,host=server02,region=us-west value=0.12<PHONE_NUMBER>702900257
in influxdb0.8,it's ok,diff this two with seq number, but in influxdb0.9, can't do,without seq number.

This is by design in 0.9. If you need two points with the same nanosecond timestamp, create additional series by adding tags. For your example, it's not legitimate to have two data points at the same timestamp since they'd either be identical values, or different values (which would be impossible because you'd have a sensor reporting two different values for the exact same moment in time).

Got it ! Thx !


Global Variable error help, please?

Hi Dr. Jung,
I am receiving an error message when using InterCom:
Error in registerNames(names, package, ".__global__", add) :
  The namespace for package "InterCom" is locked; no changes in the global variables list may be made.

I was hoping you could, please, help find a solution?
I did some googling and found that there are two ways around this, I think.
https://stackoverflow.com/questions/30959050/why-am-i-getting-namespace-is-locked-in-rstudio This one says to place add=F like so:
  utils::globalVariables(c("Background_signaling_interactome", "LR", "Ligands", "Receptors",
                            "TF_TF_interactions", "dummy.var", "intermediates",
                             "non_interface_TFs"), package="InterCom", add=FALSE)

However that was unsuccessful.
The other option is on this page: https://github.com/STAT545-UBC/Discussion/issues/451
I am not sure if that page provides an actual solution. Other than the first solution.
The data I am using is the one from the recent nature paper featuring your package. https://human-pancreas-dev.cells.ucsc.edu
Here is an example of the full example:
mat <- read.table("~/Projects/fetal-pancreas-7-10wpc/exprMatrix.tsv", header=T, sep="\t")
meta <- read.table("~/Projects/fetal-pancreas-7-10wpc/meta.tsv", header=T, sep="\t", as.is=T, row.names=1)
anno.tbl <- tibble::rownames_to_column(meta, "cellnames")
anno.tbl$nCount_RNA <- NULL
anno.tbl$nFeature_RNA <- NULL
anno.tbl$phase <- NULL
anno.tbl$age <- NULL
library(InterCom)
InterCom(mat,
         anno.tbl,
         "HUMAN",
         sighot.cutoff=0.1,
         sighot.percentile=70,
         consv.thrs=0.05,
         ncores=16,
         sig.cutoff=0.9,
         z.score.cutoff=2,
         "Pancreas",
         'temp',
         "~/Projects/fetal-pancreas-7-10wpc/InterCom/"
)

Creating input parameters file

Tissue :  Pancreas
 Preparing data
Error in registerNames(names, package, ".__global__", add) :
  The namespace for package "InterCom" is locked; no changes in the global variables list may be made.

> sessionInfo()
R version 4.1.0 (2021-05-18)
Platform: x86_64-pc-linux-gnu (64-bit)
Running under: Ubuntu 20.04.2 LTS

Matrix products: default
BLAS:   /usr/lib/x86_64-linux-gnu/blas/libblas.so.3.9.0
LAPACK: /usr/lib/x86_64-linux-gnu/lapack/liblapack.so.3.9.0

locale:
 [1] LC_CTYPE=en_US.UTF-8       LC_NUMERIC=C               LC_TIME=en_US.UTF-8
 [4] LC_COLLATE=en_US.UTF-8     LC_MONETARY=en_US.UTF-8    LC_MESSAGES=en_US.UTF-8
 [7] LC_PAPER=en_US.UTF-8       LC_NAME=C                  LC_ADDRESS=C
[10] LC_TELEPHONE=C             LC_MEASUREMENT=en_US.UTF-8 LC_IDENTIFICATION=C

attached base packages:
[1] stats     graphics  grDevices utils     datasets  methods   base

other attached packages:
[1] InterCom_0.1

loaded via a namespace (and not attached):
 [1] igraph_1.2.6     Rcpp_1.0.6       magrittr_2.0.1   tidyselect_1.1.1 lattice_0.20-44
 [6] R6_2.5.0         rlang_0.4.11     fansi_0.5.0      stringr_1.4.0    plyr_1.8.6
[11] dplyr_1.0.6      tools_4.1.0      parallel_4.1.0   grid_4.1.0       utf8_1.2.1
[16] RSpectra_0.16-0  DBI_1.1.1        ellipsis_0.3.2   assertthat_0.2.1 tibble_3.1.2
[21] lifecycle_1.0.0  crayon_1.4.1     Matrix_1.3-3     purrr_0.3.4      reshape2_1.4.4
[26] vctrs_0.3.8      glue_1.4.2       taRifx_<IP_ADDRESS>   stringi_1.6.2    compiler_4.1.0
[31] pillar_1.6.1     generics_0.1.0   pkgconfig_2.0.3

Thank you again for your work on this project. I am excited to use InterCom!

Thanks for flagging this issue, somehow i never experienced this before but could reproduce it with your example. I just committed a fix for this, which does not rely on any global variables anymore but only creates package global variables. That should do the trick.
Let me nevertheless make a comment regarding the script you were using. The data you referenced contains Ensembl gene Id's, which are not directly usable by InterCom. Instead, you must supply gene symbols, since all the background data is built solely on gene symbols. Therefore, please make sure to transform the input matrix to carry counts based on gene symbols before invoking InterCom.
Having said that, there are a few considerations here, which determine the output of InterCom:

Depending on how you map the Ensembl Id's to gene symbols, the number of actually mapping genes varies. Especially the Markov Chain model of intracellular signaling is very sensitive to this, as it is conceptually not the same whether a gene is not in the dataset at all or it is consistently not expressed. Thus, it matters how Id mapping is performed. For the results shown in the manuscript, we used the org.Hs.eg.db R-package version 3.10 (See here). Newer versions of this package give different mappings and could change the resulting cell-cell interactome slightly.
Multiple Ensembl Id's map to the same gene symbol making it necessary to aggegrate the resulting duplicate symbols. I'd propose to do this by using the maximum-value for aggregation.

In any case, i'll upload a script for reproducing the results in the paper in a couple of days.
Please let me know whether the initial issue of the global variables is fixed and open another issue for further inquiries not related to this.

Hi Dr. Chung - the initial issue of global variables is fixed. Thank you.


Leveraging Qiskit Runtime tutorial does not run

Environment

Qiskit Nature version: 0.5.2
Python version:  3.9
Operating system:  Mac OS Ventura

What is happening?
07_leveraging_qiskit_runtime tutorial does not run in quantum lab. I also could not get it to work in a local notebook

How can we reproduce the issue?
Run 07_leveraging_qiskit_runtime notebook
What should happen?
Notebook should run
Any suggestions?
No response

By the look of that screenshot you are not using the latest version of the tutorial. You report that you are using Qiskit Nature version 0.5.2 for which you can find the correct version of the tutorial in one of these places:

on the website here
on the stable/0.5 branch on Github here

Updating your notebook will fix that issue for you.

As per the Quantum Lab: I do not know what version of Qiskit Nature they currently install, but I would hope that they provide the tutorials of the installed version correctly. If not, I suggest you open an issue with them.

@mrossinek a user reported an issue with this tutorial here https://github.com/Qiskit/qiskit-ibm-runtime/issues/690 and I am running into the same issue. Does the tutorial need to be updated or is this a bug on the runtime side?
The Quantum Lab is using the stable/0.5 version of the tutorial

As I said before: I do not believe you are using the correct tutorial version. We fixed exactly this issue in version 0.5.2 so you have got to make sure to update that tutorial file.
Here is a screenshot of the correct tutorial which clearly differs from your screenshot in the description of this issue:

Note how num_electrons is being set in the ActiveSpaceTransformer

References:

original issue #990
PR which fixed it on main #995
PR which fixed it on stable/0.5 #996
this got merged on Dec. 7th 2022 in 837812394c0569ad66b91ec6991d39b009f3c8b8
the same day we released version 0.5.2: https://github.com/Qiskit/qiskit-nature/releases/tag/0.5.2

Apologies for not being clear - I was referencing a different issue that an external user brought up. Running this job always fails

The error message shown is a bit sparse, not quite sure what is going on but I would suspect this to be related to the VQEClient-server side code. I was able to reproduce this both on stable and on main. Here is an example error message from the server side:

2023-03-01T07:43:56.566363610Z --- Logging error ---
2023-03-01T07:43:56.567343290Z Traceback (most recent call last):
2023-03-01T07:43:56.567394420Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/result/result.py", line 368, in _get_experiment
2023-03-01T07:43:56.567416307Z     exp = self.results[key]
2023-03-01T07:43:56.567521804Z IndexError: list index out of range
2023-03-01T07:43:56.567649830Z
2023-03-01T07:43:56.567673334Z The above exception was the direct cause of the following exception:
2023-03-01T07:43:56.567690449Z
2023-03-01T07:43:56.567709055Z Traceback (most recent call last):
2023-03-01T07:43:56.567726978Z   File "/provider/programruntime/program_starter_wrapper.py", line 91, in execute
2023-03-01T07:43:56.567751671Z     final_result = self.main(backend, self.messenger, **self.user_params)
2023-03-01T07:43:56.567770587Z   File "/code/./program.py", line 136, in main
2023-03-01T07:43:56.567788031Z     result = vqe.compute_minimum_eigenvalue(operator, aux_operators)
2023-03-01T07:43:56.567809134Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/minimum_eigen_solvers/vqe.py", line 546, in compute_minimum_eigenvalue
2023-03-01T07:43:56.567826970Z     opt_result = self.optimizer.minimize(
2023-03-01T07:43:56.567844812Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/optimizers/spsa.py", line 512, in minimize
2023-03-01T07:43:56.567862045Z     get_eta, get_eps = self.calibrate(fun, x0, max_evals_grouped=self._max_evals_grouped)
2023-03-01T07:43:56.567880840Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/optimizers/spsa.py", line 333, in calibrate
2023-03-01T07:43:56.567899811Z     losses = _batch_evaluate(loss, points, max_evals_grouped)
2023-03-01T07:43:56.567917372Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/optimizers/spsa.py", line 744, in _batch_evaluate
2023-03-01T07:43:56.567934515Z     results += _as_list(function(batch))
2023-03-01T07:43:56.567951739Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/minimum_eigen_solvers/vqe.py", line 620, in energy_evaluation
2023-03-01T07:43:56.567969577Z     sampled_expect_op = self._circuit_sampler.convert(expect_op, params=param_bindings)
2023-03-01T07:43:56.567986497Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/opflow/converters/circuit_sampler.py", line 214, in convert
2023-03-01T07:43:56.568003691Z     sampled_statefn_dicts = self.sample_circuits(circuit_sfns=circs, param_bindings=p_b)
2023-03-01T07:43:56.568021038Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/opflow/converters/circuit_sampler.py", line 351, in sample_circuits
2023-03-01T07:43:56.568079464Z     circ_results = results.data(circ_index)
2023-03-01T07:43:56.568098711Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/result/result.py", line 187, in data
2023-03-01T07:43:56.568117575Z     return self._get_experiment(experiment).data.to_dict()
2023-03-01T07:43:56.568135090Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/result/result.py", line 370, in _get_experiment
2023-03-01T07:43:56.568151082Z     raise QiskitError(f'Result for experiment "{key}" could not be found.') from ex
2023-03-01T07:43:56.568168021Z qiskit.exceptions.QiskitError: 'Result for experiment "50" could not be found.'
2023-03-01T07:43:56.568184906Z
2023-03-01T07:43:56.568203340Z During handling of the above exception, another exception occurred:
2023-03-01T07:43:56.568219783Z
2023-03-01T07:43:56.568236859Z Traceback (most recent call last):
2023-03-01T07:43:56.568253111Z   File "/usr/lib64/python3.9/logging/__init__.py", line 1083, in emit
2023-03-01T07:43:56.568270579Z     msg = self.format(record)
2023-03-01T07:43:56.568306913Z   File "/usr/lib64/python3.9/logging/__init__.py", line 927, in format
2023-03-01T07:43:56.568323483Z     return fmt.format(record)
2023-03-01T07:43:56.568341124Z   File "/usr/lib64/python3.9/logging/__init__.py", line 663, in format
2023-03-01T07:43:56.568358956Z     record.message = record.getMessage()
2023-03-01T07:43:56.568458450Z   File "/usr/lib64/python3.9/logging/__init__.py", line 367, in getMessage
2023-03-01T07:43:56.568512753Z     msg = msg % self.args
2023-03-01T07:43:56.568532120Z TypeError: not all arguments converted during string formatting
2023-03-01T07:43:56.568548579Z Call stack:
2023-03-01T07:43:56.568646422Z   File "/usr/lib64/python3.9/threading.py", line 937, in _bootstrap
2023-03-01T07:43:56.568663466Z     self._bootstrap_inner()
2023-03-01T07:43:56.568678338Z   File "/usr/lib64/python3.9/threading.py", line 980, in _bootstrap_inner
2023-03-01T07:43:56.568693653Z     self.run()
2023-03-01T07:43:56.568710889Z   File "/opt/app-root/lib64/python3.9/site-packages/anyio/_backends/_asyncio.py", line 867, in run
2023-03-01T07:43:56.568727548Z     result = context.run(func, *args)
2023-03-01T07:43:56.568742388Z   File "/provider/server/main.py", line 75, in execute_program
2023-03-01T07:43:56.568758185Z     starter.execute()
2023-03-01T07:43:56.568774575Z   File "/provider/programruntime/program_starter_wrapper.py", line 98, in execute
2023-03-01T07:43:56.568789492Z     logger.error(
2023-03-01T07:43:56.568804083Z Message: 'Error executing program job cfvg4d4akfev56ped4c0'
2023-03-01T07:43:56.568817940Z Arguments: (QiskitError('Result for experiment "50" could not be found.'),)
2023-03-01T07:43:56.568866164Z webserver-starter - ERROR Failed to execute program: 'Result for experiment "50" could not be found.'
2023-03-01T07:43:56.568887140Z Traceback (most recent call last):
2023-03-01T07:43:56.568894428Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/result/result.py", line 368, in _get_experiment
2023-03-01T07:43:56.568902408Z     exp = self.results[key]
2023-03-01T07:43:56.568909220Z IndexError: list index out of range
2023-03-01T07:43:56.568914624Z
2023-03-01T07:43:56.568921988Z The above exception was the direct cause of the following exception:
2023-03-01T07:43:56.568926877Z
2023-03-01T07:43:56.568932342Z Traceback (most recent call last):
2023-03-01T07:43:56.568939358Z   File "/provider/server/main.py", line 75, in execute_program
2023-03-01T07:43:56.568945230Z     starter.execute()
2023-03-01T07:43:56.568950580Z   File "/provider/programruntime/program_starter_wrapper.py", line 102, in execute
2023-03-01T07:43:56.568956370Z     raise ex
2023-03-01T07:43:56.568961686Z   File "/provider/programruntime/program_starter_wrapper.py", line 91, in execute
2023-03-01T07:43:56.568966840Z     final_result = self.main(backend, self.messenger, **self.user_params)
2023-03-01T07:43:56.568972976Z   File "/code/./program.py", line 136, in main
2023-03-01T07:43:56.568978198Z     result = vqe.compute_minimum_eigenvalue(operator, aux_operators)
2023-03-01T07:43:56.568984479Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/minimum_eigen_solvers/vqe.py", line 546, in compute_minimum_eigenvalue
2023-03-01T07:43:56.569018945Z     opt_result = self.optimizer.minimize(
2023-03-01T07:43:56.569026345Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/optimizers/spsa.py", line 512, in minimize
2023-03-01T07:43:56.569032050Z     get_eta, get_eps = self.calibrate(fun, x0, max_evals_grouped=self._max_evals_grouped)
2023-03-01T07:43:56.569038804Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/optimizers/spsa.py", line 333, in calibrate
2023-03-01T07:43:56.569055632Z     losses = _batch_evaluate(loss, points, max_evals_grouped)
2023-03-01T07:43:56.569062332Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/optimizers/spsa.py", line 744, in _batch_evaluate
2023-03-01T07:43:56.569068617Z     results += _as_list(function(batch))
2023-03-01T07:43:56.569075728Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/algorithms/minimum_eigen_solvers/vqe.py", line 620, in energy_evaluation
2023-03-01T07:43:56.569081629Z     sampled_expect_op = self._circuit_sampler.convert(expect_op, params=param_bindings)
2023-03-01T07:43:56.569087368Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/opflow/converters/circuit_sampler.py", line 214, in convert
2023-03-01T07:43:56.569092798Z     sampled_statefn_dicts = self.sample_circuits(circuit_sfns=circs, param_bindings=p_b)
2023-03-01T07:43:56.569098633Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/opflow/converters/circuit_sampler.py", line 351, in sample_circuits
2023-03-01T07:43:56.569104062Z     circ_results = results.data(circ_index)
2023-03-01T07:43:56.569109585Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/result/result.py", line 187, in data
2023-03-01T07:43:56.569115422Z     return self._get_experiment(experiment).data.to_dict()
2023-03-01T07:43:56.569121065Z   File "/opt/app-root/lib64/python3.9/site-packages/qiskit/result/result.py", line 370, in _get_experiment
2023-03-01T07:43:56.569126650Z     raise QiskitError(f'Result for experiment "{key}" could not be found.') from ex
2023-03-01T07:43:56.569132163Z qiskit.exceptions.QiskitError: 'Result for experiment "50" could not be found.'

Looks to me like some indexing error while trying to parse the results on the server side.

This error doesn't seem to happen if we turn off the measurement_error_mitigation, we'll check if there were any changes in the structure of the result. Until then setting measurement_error_mitigation=False could be a workaround for the users.

Closing this as per https://github.com/Qiskit/qiskit-nature/pull/1124.


Update SCDataFrame name to CytoDataFrame

Description
This PR updates the name of the class SCDataFrame to CytoDataFrame to help increase the alignment with other existing software in the same space and also to make the name more immediately recognizable to the single-cell domain.
A minor change to poetry-dynamic-versioning is also made to help avoid changes to the __init__.py.
Closes #49
What kind of change(s) are included?

[ ] Feature (adds or updates new capabilities)
[ ] Bug fix (fixes an issue).
[x] Enhancement (adds functionality).
[ ] Breaking change (these changes would cause existing functionality to not work as expected).

Checklist
Please ensure that all boxes are checked before indicating that this pull request is ready for review.

[x] I have read and followed the CONTRIBUTING.md guidelines.
[x] I have searched for existing content to ensure this is not a duplicate.
[x] I have performed a self-review of these additions (including spelling, grammar, and related).
[x] These changes pass all pre-commit checks.
[ ] I have added comments to my code to help provide understanding
[ ] I have added a test which covers the code changes found within this PR
[x] I have deleted all non-relevant text in this pull request template.

Thanks @jenna-tomkinson for the review! Merging this in after making a change based on your comments.


Missing mandatory column error is being thrown for the siteID column in the WWMeasure table

column siteID is missing in input data, and from my understanding of the dictionary it is required in table WWMeasure.

From what I'm seeing in the latest (online) version of the dictionary, siteID is only in the Site table? So, I'm not sure why its throwing this error in the WWMeasure.

i found it as a fK in the measures table (WWMeasure -> measures, SiteID -> siteID)

and measuresRequired=mandatory

Closing, as it seems to work correctly now.


[AMBARI-24275] - Unable to Restart Hive When Using An Ambari-Managed MySQL Server

What changes were proposed in this pull request?
During restart of Hive, the following is observed:
Traceback (most recent call last):
  File "/var/lib/ambari-agent/cache/common-services/HIVE/<IP_ADDRESS>.0/package/scripts/mysql_server.py", line 63, in <module>
    MysqlServer().execute()
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 353, in execute
    method(env)
  File "/usr/lib/ambari-agent/lib/resource_management/libraries/script/script.py", line 958, in restart
    self.stop(env, upgrade_type=upgrade_type)
TypeError: stop() got an unexpected keyword argument 'upgrade_type'

How was this patch tested?
----------------------------------------------------------------------
Total run:1200
Total errors:0
Total failures:0
OK
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 01:04 min
[INFO] Finished at: 2018-07-10T15:32:05-04:00
[INFO] Final Memory: 20M/619M
[INFO] ------------------------------------------------------------------------

Refer to this link for build results (access rights to CI server needed):
https://builds.apache.org/job/Ambari-Github-PullRequest-Builder/3073/
Test PASSed.


update image asset

Description
Can we update image asset to reflect most recent Adobe Target UI?
Related Issue
The screenshot here does not reflect the steps to create a custom mbox. For example, the documentation states for the user to go to implementation, but the screenshot shows setup -> preferences
Motivation and Context
This is more readable for the end user.
Screenshots (if appropriate):
From:

To:

Types of changes

[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Checklist:

[x] I have signed the Adobe Open Source CLA.
[x] My code follows the code style of this project.
[x] My change requires a change to the documentation.
[x] I have updated the documentation accordingly.
[x] I have read the CONTRIBUTING document.
[x] I have added tests to cover my changes.
[x] All new and existing tests passed.

Let me know if there are any inaccuracies with the items I’ve checked off on the pull-request checklist.


HBASE-27414  adjust hfilelink alternative paths order

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m 17s
Docker mode activated.

Hi Duo
Would you mind taking a look on this ? @Apache9

Let's blame to see why we use this order in the past?

The order is changed in this commit
https://github.com/apache/hbase/commit/f70ed5ab6de7cc71592a1714c9a3cc03b115c7fd

Triggerred another pre commit check run.
Let's wait for the result.

:confetti_ball: +1 overall

Vote
Subsystem
Runtime
Comment

+0 :ok:
reexec
1m  8s
Docker mode activated.

Thanks all for helping. @binlijin @Apache9 @saintstack


Bug sur serveur cauldron 1.7.10 (logs)

Bonjour,
J'ai ce message dans les logs de mon serveur cauldron 1.7.10
[10:47:05] [Server thread/WARN]: Could not find Build Craft Wrench definition. Wrench integration with other mods may fail
J'ai aussi ça:
[10:47:11] [Server thread/ERROR]: Could not find an empty enchantment ID to add enchanments
et ça:
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderio.soulBound when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherArrow when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
Je ne sais pas s'il y a qu'a moi que ça fais ça
Mais svp quelqu'un peut aider? merci

English please ?!

Am 17.01.2015 um 19:33 schrieb Masterchief1450<EMAIL_ADDRESS>Bonjour,
J'ai ce message dans les logs de mon serveur cauldron 1.7.10
[10:47:05] [Server thread/WARN]: Could not find Build Craft Wrench definition. Wrench integration with other mods may fail
J'ai aussi ça:
[10:47:11] [Server thread/ERROR]: Could not find an empty enchantment ID to add enchanments
et ça:
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderio.soulBound when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherArrow when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
Je ne sais pas s'il y a qu'a moi que ça fais ça
Mais svp quelqu'un peut aider? merci
—
Reply to this email directly or view it on GitHub.

Hello,
I have a message of IT IN THE newspapers of my waiter(server) cauldron 1.7.10 [10:47:05 [thread Server / WARN]: impossible to find to Build definition Key Small business sector(Crafts). Key integration with other mods can fail
I also have that:
[10:47:11 [Waiter(Server) thread / error]: impossible to find a delight ID empty to add enchanments and that:
[10:47:11 [thread Server / WARN]:. Impossible to find the delight with the name enchantment.enderio.soulBound during the analysis of recipes(receipts) enchanter [10:47:11 [thread Server / WARN]: impossible to find the delight with the enchantment.enderzoo.witherArrow name during the analysis of recipes(receipts) enchanter.
[10:47:11 [thread Server / WARN]:. Impossible to find the delight with the enchantment.enderzoo.witherWeapon name during l

I have this message in my server logs* Server cauldron 1.7.10
[10:47:05] [Server thread/WARN]: Could not find Build Craft Wrench definition. Wrench integration with other mods may fail.
Something about
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderio.FrogLegs when parsing enchanter recipes.
[10:47:11] [Server thread/ERROR]: Could not find an empty enchantment ID to add enchanments
and this*
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderio.soulBound when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherArrow when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
I do not know if it's just me - but please can anyone help? Thank you

Can someone help me please? ;(

please

What version of enderio do you have?
On Jan 17, 2015 8:21 PM, "mattymaats"<EMAIL_ADDRESS>wrote:

I have this message in my server logs* Server cauldron 1.7.10
[10:47:05] [Server thread/WARN]: Could not find Build Craft Wrench
definition. Wrench integration with other mods may fail.
Something about
[10:47:11] [Server thread/WARN]: Could not find enchantment with name
enchantment.enderio.FrogLegs when parsing enchanter recipes.
[10:47:11] [Server thread/ERROR]: Could not find an empty enchantment ID
to add enchanments
and this*
[10:47:11] [Server thread/WARN]: Could not find enchantment with name
enchantment.enderio.soulBound when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name
enchantment.enderzoo.witherArrow when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name
enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
[10:47:11] [Server thread/WARN]: Could not find enchantment with name
enchantment.enderzoo.witherWeapon when parsing enchanter recipes.
I do not know if it's just me - but please can anyone help? Thank you
—
Reply to this email directly or view it on GitHub
https://github.com/CrazyPants/EnderIO/issues/1704#issuecomment-70392394.

there are just marked " enderio1.7.10.jar "
I downloaded it on the site
www9minecraft.net

9minecraft is a site full of viruses and old mods, please use our website for dowmloads. In the future please look on the minecraft forums and curseforge for mods.

thanks!!!! :)

This issue was fixed in the latest release on that site (2.2.6)


May I ask why the generated audio has Electric current sound in the voiceless part?

me too!
using the pretrained weights (charactr/vocos-mel-24khz), i have tried several audio samples,  the same problem occurred.

me too!


Training from scratch on TPU

Is it possible to train Albert from scratch in another language using a TPU v3 (128Gb)?
Could you give an estimated training time? Days, weeks, months?
What is a reasonable corpus size? 1B words? Should the seq_length be reduced from the default 512?

Yes, you can. I trained with my own language (~1B words).
However you have to adjust batch size from 4096 to ~512 with other configs is set default.
The running time is  ~3 weeks to get ~1M steps.

Thanks @ngoanpv! Just what I needed to know.
For preparing the dataset, did you build your own custom vocabulary using Sentencepiece? Did you use the default dupe_factor of 40? If so, did that lead to a more than 1Tb training data set?

Yes, I use Sentencepiece to build vocab and use dup_factor = 10 is ok.

Any idea of training on GPU, not TPU? I am using Nvidia's V100, for the base model, I can only set the train_batch_size=32.
BTW, what learning rate did you use ?
Thanks

@ngoanpv: Forgot to ask what model architecture this is for. Base/large/xlarge/xxlarge?

Just made some tests. I am not able to get as high batch size as you mentioned, @ngoanpv.
I am able to train on a batch_size of 392 on the base model, and 144 on the large model.
Does anyone have experiences regarding whether this is too low? And/or if it would be necessary to reduce the sequence length from the default 512 to get reasonable results. Other alternatives?

@ngoanpv Could you please post the spm_train command that you used for training the sentencepiece model? Does it work with:
spm_train --input corpus.txt --model_prefix=model_cased --vocab_size=32000 --character_coverage=0.99995 --model_type=unigram --control_symbols="[MASK],[UNK],[CLS],[SEP]"

🤔

Hi @stefan-it. Commenting with my experiences here.
I ended up using model_type=bpe, since the Bert paper mentions that WordPiece is similar to bpe. I cant find native support for building a vocabulary based on WordPiece.
I really dont think the order of the control-symbols matters. They are just IDs. I ended up using this config
--unk_piece=[UNK] --pad_piece=[PAD] --user_defined_symbols=[CLS],[SEP],[MASK]
I needed to make the following addition to make SentencePiece run on my entire corpus:
--input_sentence_size=10000000 --shuffle_input_sentence=true
The vocab-files created by SentencePiece are slightly different from what is supported by AlBert/Bert. Trimming away the frequencies (cat vocab.txt | cut -d$'\t' -f1 > newvocab.txt) is easy but not really required.
It does however use "_" instead of "##" for tokens. This will prevent it from working. A simple search/replace will fix this.
An alternative solution here is to not build the vocab from scratch but instead use the multilinugual-cased vocab-file that comes with the pre-trained Bert weights.

@peregilk I really run with batch size 512.
@stefan-it  I run with python module
import sentencepiece as spm
spm.SentencePieceTrainer.Train('--input=<inputname>  --vocab_size=30000 --model_prefix=prefix_name --pad_id=0 --unk_id=1 --pad_piece=<pad> --unk_piece=<unk> --bos_id=-1 --eos_id=-1 --control_symbols=[CLS],[SEP],[MASK],<pad> --user_defined_symbols=(,),",-,.,–,£,€')

Thanks, @ngoanpv. Tried again, and was able to get it above 500 by turning off the dropout-layers.

Thanks for your anwers on vocab generation :heart:
I'll try it again and report back results here :)

If you turn off dropout, you may be able to use a larger batch size.

@ngoanpv and @wxp16, I did a training for a v3-8 TPU and a Tesla V100 from a DGX-1, using batch sizes 512 and 24 (couldn't fit 32). What amazes me is that for both these settings, training time was the same...took about 30 hours to train for my wikipedia corpus, running 125k iterations. The V100 I used has 32Gb, which is 1/4 of the 128Gb available on the v3-8 TPU. With a batch size 16x greater, shouldn't the TPU training also be around 16x times faster? At least from the logs I can see that the TPU processes around 560 examples/sec, while the V100 logged around 25 examples/sec. The examples/sec seem proportional to the batch size used, but the training time remains the same.

@peregilk I really run with batch size 512.
@stefan-it I run with python module
import sentencepiece as spm
spm.SentencePieceTrainer.Train('--input=<inputname>  --vocab_size=30000 --model_prefix=prefix_name --pad_id=0 --unk_id=1 --pad_piece=<pad> --unk_piece=<unk> --bos_id=-1 --eos_id=-1 --control_symbols=[CLS],[SEP],[MASK],<pad> --user_defined_symbols=(,),",-,.,–,£,€')

@ngoanpv did you do a lowercase in your corpus prior to training sentencepiece?

Here to share some of my experience using an RTX 2080TI.
Used a learning rate of 1e-4, batch size 12 on the first 150k steps that took around 30 hours.
Update:
My best performing model was around 260k steps where I reached a full epoch. The 260k step Turkish Albert I trained outperformed the "stock" mBert on my intent classification task, though the reason to that is mBert not being fine-tuned,
Now training from scratch and using a batch size of 55 with sequence length 128.

@ahadsuleymanli Thank you for sharing your experience. Can you specify the size of your data?

When you say TPU v3 (128Gb), do you mean the TPU-v3 with 128 cores?
When training with small batch sizes, are you seeing drop in performance compared to higher batch sizes?

@steindor. Sorry for the confusion. I mean a v3-8 with 128GB of memory. 8 cores.
I have done quite a lot of experiments on this after this post was written. Increasing the batch size is in general very positive to training. My advise is to increase it until you start noticing instability in the mlm-accuracy/loss. You will see minor instability long before you get the "collapse" I discussed in this thread. Stop increasing as soon as you see this instability.
However, the adamw optimizer is not doing a good job with large batch sizes. And even with training on a v3-8 on the smaller sequence lengths, you will notice this. On the large machines (like the 128 cores pods you are mentioning) it simply is no point in doing maximum batch size using the adamw optimizer. We had great results with using the LAMB optimizer in BERT. This is all based on training BERT. I have not enough experience with this using ALBERT.
Read the "76 minutes-paper". https://arxiv.org/abs/1904.00962

@peregilk  Thank you for the response and the article. Interesting regarding the performance of LAMB vs adam, I will be training ALBERT with V3-256 TPU in the coming weeks, will be useful trying out both optimizers. Any insights into how very large batch sizes do with LAMB? ( > 4096)

@steindor I have some experience with training above 4k. I have also done some experiments on figuring out the optimal batch size and lr here. I dont mind discussing this with you, but it is a bit outside of this thread. Take a look at https://github.com/digitalepidemiologylab/covid-twitter-bert. From my github handle you should be able to find my contact information there.

@peregilk Thank you for the response and the article. Interesting regarding the performance of LAMB vs adam, I will be training ALBERT with V3-256 TPU in the coming weeks, will be useful trying out both optimizers. Any insights into how very large batch sizes do with LAMB? ( > 4096)

Looking forward to know about how your experiment went!.
Best regards,

@peregilk Thank you for the response and the article. Interesting regarding the performance of LAMB vs adam, I will be training ALBERT with V3-256 TPU in the coming weeks, will be useful trying out both optimizers. Any insights into how very large batch sizes do with LAMB? ( > 4096)

Looking forward to know about how your experiment went!.
Best regards,


[Feature]: AssertionError: Speculative decoding not yet supported for RayGPU backend.

🚀 The feature, motivation and pitch
Hi,
Do you guys have any workaround for the Speculative decoding not yet supported for RayGPU backend. error or idea when the RayGPU backend will support speculative decoding?
I run vllm server with the following command:
python3 -u -m vllm.entrypoints.openai.api_server \
       --host <IP_ADDRESS> \
       --model casperhansen/mixtral-instruct-awq \
       --tensor-parallel-size 4 \
       --enforce-eager \
       --quantization awq \
       --gpu-memory-utilization 0.96 \
       --kv-cache-dtype fp8 \
       --speculative-model mistralai/Mistral-7B-Instruct-v0.2 \
       --num-speculative-tokens 3 \
       --use-v2-block-manager \
       --num-lookahead-slots 5

However, I got AssertionError: Speculative decoding not yet supported for RayGPU backend.
Alternatives
No response
Additional context
No response

I am having the same issue
python -m vllm.entrypoints.openai.api_server --model /home/llama3_70B_awq --port 8000 --tensor-parallel-size 2 --gpu-memory-utilization 0.95 --kv-cache-dtype fp8 --max-num-seqs 32 --speculative-model /home/llama3_8B_gptq --num-speculative-tokens 3 --use-v2-block-manager

running into this as well

Running into this as well

Running into this as well

This issue should have been resolved by #4358

This issue should have been resolved by #4840


Remove deperecated methods from GCE

Remove all references of deprecated methods from GCE
Fixed a StackOverflow bug in Subnetwork.java where new getter/setters recursively calling themselves.

I will try to wait for the tests to pass before merge.

Changes Unknown when pulling<PHONE_NUMBER>8830e76410b6c8eb51da6652f2b963 on shinfan:master into ** on GoogleCloudPlatform:master**.


any specific steps required for setup on picroft?

Hey @forslund ; just this weekend finished transitioning from a Mycroft Linux x86 install on an older piece of hardware; to a raspberry pi 3B+;  on the previous system, spotify was working well enough; (but for a few issues which we initially worked through) - in the end I had remote device working, without local playback (even w/ librespot installed)
--
now with the pi, I think I went through similar installation steps, spotify skills looks OAauth'd and connected through the skills account settings;
I also installed https://dtcooper.github.io/raspotify/;
Have left it overnight, and rebooted the picroft a few times, but still:
 what spotify devices are available?
 >> I couldn't find any Spotify devices.

any recommendation for debug/etc?  (whatever I figure out I'll contribute/fix if I can )

I've started some better picroft documentation:https://github.com/forslund/spotify-skill/blob/feature/device-instructions/README.md
The short-short version is: install raspotify set device name and user / password in the raspotify config file, then reboot or restart the raspotify service

hm OK! I was missing explicit configuration on the raspotify, but after doing so and a restart of that services, and a restart of the entire pi ... still didn't work;
started over:
(.venv) pi@picroft:~ $ msm remove mycroft-spotify
INFO - building SkillEntry objects for all skills
INFO - Best match (1.0): mycroft-spotify by forslund
INFO - Successfully removed mycroft-spotify
INFO - invalidating skills cache
(.venv) pi@picroft:~ $ msm install spotify
INFO - building SkillEntry objects for all skills
INFO - Best match (0.9): mycroft-spotify by forslund
INFO - Downloading skill: https://github.com/forslund/spotify-skill
INFO - Successfully ran requirements.sh for mycroft-spotify
INFO - Installing system requirements...
INFO - Installing requirements.txt for mycroft-spotify
INFO - Successfully installed mycroft-spotify
INFO - invalidating skills cache

on the raspotify side, looks like the config file doesn't work
, see https://github.com/dtcooper/raspotify/issues/279
: oops, it isn't /etc/default/raspotify.conf it is /etc/default/raspotify ;o
after editing it and restarting, I now see the device as a playback item for "real" spotify clients (iphone)
but still:
 spotify devices                                                                      DEBUG output
 >> I couldn't find any Spotify devices.

so spotify on the pi for me is neither showing the local playback device nor the soundbar;  all on same network/subnet

ugh; I just went back to https://account.mycroft.ai/skills, and all my spotify stuff is gone! ;/ is that normal? (because of the remove/install?)

waited for:
mycroft.skills.mycroft_skill.mycroft_skill:handle_settings_change:308 | Updating settings for skill SpotifySkill
~~~~   |   643 | mycroft.skills.settings:save_settings:111 | Skill settings successfully saved to /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json

confirmed the pulled remote config is now correct again

 13:41:47.662 | INFO     |   643 | Playback Control Skill | Resolving Player for: music spotify
~~~~.670 | INFO     |   643 | mycroft.util:wait_while_speaking:58 | mycroft.utils.wait_while_speaking() is depreciated, use mycroft.audio.wait_while_speaking() instead.
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
 13:41:52.609 | INFO     |   643 | SpotifySkill | Handling "music spotify" as a genric query...
 13:41:52.609 | INFO     |   643 | SpotifySkill | Checking users playlists
 13:41:52.879 | INFO     |   643 | SpotifySkill | Checking artists
Removing event mycroft-spotify.forslund:launch_librespot
 13:41:53.174 | INFO     |   643 | SpotifySkill | Checking tracks
 13:41:53.521 | INFO     |   643 | SpotifySkill | Checking albums
 13:41:53.869 | INFO     |   643 | SpotifySkill | ('music spotify', 'fast soul music (spotify exclusive commentary version)', 0.4880597014925373)
 13:41:53.870 | INFO     |   643 | SpotifySkill | Checking tracks
 13:41:54.405 | INFO     |   643 | SpotifySkill | Spotify confidence: 0.5561403508771929
~~~~'https://api.spotify.com/v1/search?query=music+spotify&type=track&offset=10&limit=10', 'offset': 0, 'previous': None, 'total': 682}}, 'name': None, 'type': 'track'}
Removing event mycroft-playback-control.mycroftai:PlayQueryTimeout
 13:41:57.431 | INFO     |   643 | Playback Control Skill | Playing with: mycroft-spotify.forslund
 13:41:57.933 | INFO     |   643 | Playback Control Skill | Audio service status: {}
 13:41:59.028 | INFO     |   643 | SpotifySkill | Device detected: DeviceType.DESKTOP
 13:41:59.029 | ERROR    |   643 | SpotifySkill | Unable to get a default device while trying to play something.

 >> Spotify couldn't start playback: There are no Spotify devices available.

If your other devices sees it but not the skill that would indicate that it's in discover mode and not actually logged in but I can't tell for sure.
Gonna try to get time to verify the picroft guide from scratch tonight

For me the instructions worked, but after a couple of hours librespot seemed to lose connection to spotify.
Can you try the branch new-managed and run
systemctl disable raspotify
systemctl stop raspotify

This would make the skill responsible for launching librespot as it needs it.

OK flipped the skill to
(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ git status
HEAD detached at origin/new-managed
nothing to commit, working tree clean

, then disabled and stopped the services;
but then what? (wouldn't I need to reload the skill or restart mycroft? - else the skill is still running on the previous code?)
 13:22:31.136 | INFO     | 18069 | mycroft.skills.skill_loader:load:114 | ATTEMPTING TO LOAD SKILL: mycroft-spotify.forslund
 13:22:31.340 | INFO     | 18069 | mycroft.skills.settings:get_local_settings:78 | /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
Removing event mycroft-spotify.forslund:SpotifyLogin
Removing event mycroft-timer.mycroftai:ShowTimer
Removing event mycroft-spotify.forslund:SpotifyLogin
 13:22:36.387 | INFO     | 18069 | mycroft.skills.skill_loader:_communicate_load_status:280 | Skill mycroft-spotify.forslund loaded successfully

(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ msm list -i | grep spotify
INFO - building SkillEntry objects for all skills
INFO - building SkillEntry objects for all skills
INFO - invalidating skills cache
mycroft-spotify	[installed]

, still no spotify devices <<

hmmmm i went back to account skills and the spotify config is empty again :( ...
https://account.mycroft.ai/skills
(how is it possible this keeps getting reset? or is that normal?)
(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ cat /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
{"__mycroft_skill_firstrun": false, "user": "", "Spotify": 1, "password": "", "use_ducking": false, "default_device": ""}(.venv)

(also note; if we disable raspotify to be controlled only by mycroft skill ... then other devices won't be able to play off the mycroft speaker anymore ;/)

The spotify skill should reload automatically when you switch branch,
I can't say what's happening on the backend with the settings. It will be removed if no mycroft-core skill manifest contains the skill. But that shouldn't be the case when switching branch. it will switch from a stable id to an "unstable" id but should still exist.
The skill will start librespot with the credentials set on mycroft-home so it should launch librespot and other devices can control it. It will also restart librespot if you request playback and it doesn't see the librespot device (some communication error has occured).
If the skill settings are available the skill should start librespot for you. and ps aux | grep librespot should show something. If the settings are empty it will not start librespot until it receives user / password.

reset the account skills again, picroft confirms receipt;
(fair enough on the uncertainty of account settings loss, it is wonky for sure; just causing a pain in debugging this as suddenly I realize ACK! my settings are wiped, so it invalidates some testing results)
confirming after this,
(.venv) pi@picroft:~ $ ps aux | grep librespot
pi       28445  0.1  0.6  29092  6140 pts/0    Sl   02:53   0:00 librespot -n mycroft-kitchen -u <USERNAME> -p <PASSWORD>

(yikes, PW plain text in the settings and process commands ;o)
reloaded mycroft CLI:
spotify devices                                                                              DEBUG output
 >> I see the Spotify devices named: mycroft-kitchen and [AV] back den soundbar

woohoo! it sees itself and the soundbar now

(should i drop it back to main branch and retest to see if this managed consideration is relevant?)

Great that it works, I'd like to get away from the plaintext u/p issue there by supporting discovery (U/P is sent encrypted over http(s) to the player) But I'll need a day or so to focus on the issue. Maybe during my vacation :)
The "managed" shouldn't do anything different than the raspotify system service so it be cool if you could see if you can get it working without the spotify skill managing. I think it's better to not to have the skill manage librespot and leave that to the system.

Wellp, this didn't go so well.  After I reverted back to master branch, and re-enabled raspotify service & started it, and resarted again, the spotify integration stopped working again.
:(
 list spotify devices                                                                 voice.log                                                               --- 13.79
 >> I'm not sure I understood you.
 play classical on spotify
 >> Give me a moment to check for that
 >> I'm not sure how to play classical on spotify

What does ps aux | grep librespot show? Does the user/pass parameters exist there?

yes librespot process args retained the login info, and yes it is running
w/ librespot running (as previously) spotify devices detect it and it is a usable spotify playback device for OTHER devices (just not mycroft)
the /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.jsonson DID have my retained user/pass too (which is why i thought it would be working)
BUT: bah; https://account.mycroft.ai/skills lost the userpass again (!)

when I updated the account skills, logs show:
 14:00:47.045 | INFO     |   638 | mycroft.skills.mycroft_skill.mycroft_skill:handle_settings_change:308 | Updating settings for skill SpotifySkill
~~~~   |   638 | mycroft.skills.settings:save_settings:111 | Skill settings successfully saved to /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
Removing event mycroft-spotify.forslund:SpotifyLogin

, no seeming difference though to /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.jsonson ...
retesting:
 list spotify devices                                                                 DEBUG output
 >> There are no Spotify devices available.                                           skills.log, other

Going back to managed ...
(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ git checkout origin/new-managed
Note: checking out 'origin/new-managed'.

 13:58:25.100 | INFO     |   638 | mycroft.skills.skill_loader:reload:108 | ATTEMPTING TO RELOAD SKILL: mycroft-spotify.forslund
Removing event mycroft-spotify.forslund:SpotifyLogin
Removing event mycroft-spotify.forslund:MonitorSpotify
 13:58:25.181 | INFO     |   638 | mycroft.skills.skill_loader:_execute_instance_shutdown:146 | Skill mycroft-spotify.forslund shut down successfully
 13:58:25.342 | INFO     |   638 | mycroft.skills.settings:get_local_settings:78 | /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
Removing event mycroft-spotify.forslund:SpotifyLogin
Removing event mycroft-spotify.forslund:SpotifyLogin
 13:58:30.033 | ERROR    |   638 | SpotifySkill | librespot failed to start.

THEN disabled librespot (I guess did this in wrong order)
(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ sudo systemctl disable raspotify
Removed /etc/systemd/system/multi-user.target.wants/raspotify.service.
(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ sudo systemctl stop raspotify

mycroft had no change in the logs;
rechecking the state;
(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ ps aux | grep librespot
pi        7606  0.0  0.0   7348   476 pts/1    S+   14:03   0:00 grep --color=auto librespot

(.venv) pi@picroft:~/mycroft-core/skills/mycroft-spotify.forslund $ cat /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
{"__mycroft_skill_firstrun": false, "user": "SNIP", "Spotify": 1, "password": "SNIP", "use_ducking": true, "default_device": ""}

, librespot isn't running (makes sense at this moment), and the cached skills are still there
as we've seen though, the account skills page was wiped ;/
https://account.mycroft.ai/skills - FIXED again
 13:58:36.294 | INFO     |   638 | mycroft.skills.skill_manager:send:64 | New Settings meta to upload.
~~~~ycroft.skills.settings:_emit_settings_change_events:411 | Emitting skill.settings.change event for skill @8fd6a191-0c8d-431e-89fd-7637c1297f9b|mycroft-spotify|20.02
 14:03:10.276 | INFO     |   638 | mycroft.skills.mycroft_skill.mycroft_skill:handle_settings_change:308 | Updating settings for skill SpotifySkill
~~~~   |   638 | mycroft.skills.settings:save_settings:111 | Skill settings successfully saved to /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
Removing event mycroft-spotify.forslund:SpotifyLogin
 14:03:13.300 | ERROR    |   638 | SpotifySkill | librespot failed to start.

hmmm, not sure why librespot is failing to start
rebooted the mycroft shutdown -r now
,
 14:06:00.492 | INFO     |   633 | mycroft.skills.skill_loader:load:114 | ATTEMPTING TO LOAD SKILL: mycroft-spotify.forslund
 14:06:00.555 | INFO     |   633 | mycroft.skills.settings:get_local_settings:78 | /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
Removing event mycroft-spotify.forslund:SpotifyLogin
 14:06:00.863 | INFO     |   633 | mycroft.skills.skill_loader:_communicate_load_status:280 | Skill mycroft-spotify.forslund loaded successfully

OMG after reboot the account settings are lost again :haircut_man:
FIXED again ... ffs
cat /home/pi/.config/mycroft/skills/mycroft-spotify.forslund/settings.json
{"__mycroft_skill_firstrun": false, "user": "SNIP", "Spotify": 1, "password": "SNIP", "use_ducking": true, "default_device": ""}

ugh still
 14:08:22.129 | ERROR    |   633 | SpotifySkill | librespot failed to start.

Sorry for the late reply, did you get the skill to start librespot again? Or is it still failing?

hey @forslund ; it is OK :) - I have not gotten it to work; (in fact is in the same state, and the sad state of not being able to voice activate spotify)

UPDATE: we worked through various issues; identified USER ERRORS - forslund is tracking various "troubleshooting/usability" improvements that will come out of this in order to allow users to "help themselves" a bit more easily

A couple of thoughts / ideas from the issues here:

Make Picroft a managed platform or always try librespot if available like @TheLastProject  suggests in PR #132.
Validate set username with the info from spotify-connect and warn if they differ. (both in logs and in audio when spotify is invoked)
In the long run remove the need to set username in settings.
Revert change in settingsmeta (causing home to discard the settings) until home can handle updating settingsmeta
Add a check for librespot error code to determine if the login failed (instead of the generic "librespot failed to launch" error).


Project with type Modules skips index.cjs

Hi team,
In addition to this related issue where prompt.cjs wasn't working, the same is true for index.cjs, which is required for projects with "type": "module" specified in the package.json
We need to add index.cjs to the hooksfiles variable.  I will submit a PR.

PR submitted: https://github.com/jondot/hygen/pull/434

G'day @jondot! Any chance we could perhaps get this one in?

I published hygen-neo with fix similar to #434 (https://github.com/blikblum/hygen/commit/e8f23c610439cd14888b32a4523b8b44b6013626). It has tests and improved typing


The express$NextFunction's check fails on next('route')

In Express docs: http://expressjs.com/en/4x/api.html#app.methods

callbacks can invoke next('route') to bypass the remaining route callback(s).

I was trying to use next('route') in my callbacks. And I've got this output:
`return next('route');`
                                 ^^^^^^^ string. This type is incompatible with the expected param type of
 95: declare type express$NextFunction = (err?: ?Error) => mixed;
                                                 ^^^^^ Error. See lib: flow-typed/npm/express_v4.x.x.js:95

Maybe it would be better to use something like this in the declaration of the express$NextFunction:
declare type express$NextFunction = (err?: ?Error | 'route') => mixed;

Closed in 969ba9d


Import function cleaning / error handling

If user does not choose a file, etc... Not a focus for v1.0.0.

If user selects option and does not have file select. If user does not choose option and has "Select an option" chosen

Do this before v1.0.0 release. Let's get this polished.


Extensive integration and stress test

Status quo

foundational testing

Evaluate codcoverage
Expand the coverage of testing:

logstream

Design Canvas

From GUI perspective and Back-End

Link to feature: https://jinaai.productboard.com/feature-board/planning/features/7156666


Disable test_postgres_package_redirect_fail in 1.1.latest

resolves flakey failures in 1.1.latest
We've already done the same for 1.0.latest:
https://github.com/dbt-labs/dbt-core/blob/cda94850ed50ab9408596e02dac3f7fdcdf572fb/test/integration/012_deprecation_tests/test_deprecations.py#L119-L131
And left a comment to the same effect in 1.2.latest (after converting to new functional testing framework):
https://github.com/dbt-labs/dbt-core/blob/cfaaad5d3b98e9596e423017182d528b69f2ea6a/tests/functional/deprecations/test_deprecations.py#L107-L108
Checklist

[x] I have read the contributing guide and understand what's expected of me
[x] I have signed the CLA
[x] I have run this code in development and it appears to resolve the stated issue
[x] This PR includes tests, or tests are not required/relevant for this PR
[x] I have opened an issue to add/update docs, or docs changes are not required/relevant for this PR
[x] I have run changie new to create a changelog entry

I'm not sure why "Structured Logging Schema Check" is failing. We've made a number of changes to this test since v1.1, and it's not what we have scheduled to run on a twice-daily basis, so I'd prefer to move forward with this fix in the meantime.


PathDet Dataset Curation - CULane

Description
Parse the CULane Dataset which can be downloaded from this link to create a dataset comprising input images in PNG format and a single drivable path as the ground truth, derived as the mid-line between the left/right edges of the ego lane.
Please create a script called process_culane.py in this folder (https://github.com/autowarefoundation/autoware.privately-owned-vehicles/tree/main/PathDet/create_path/CULane) which is responsible for creating the ground truth and saving the data.
The ground truth drivable path information should be stored as a list keypoints defining the path in a JSON format. The drivable path keypoints should be sampled with a vertical (y image axis) displacement of 10 pixels to match the ground truth format used in other datasets.
Please ensure that keypoints are stored in relative coordinates, where the top left-most corner of the image is 0,0 and the bottom right-most corner of the image is 1,1, and all other coordinates are floating point values in the range (0,1) for x,y directions.
Please ensure ground truth images are stored in PNG format
Please also save a semantic drivable path mask which is drawn upon the input RGB image alongside the ground truth drivable area for data auditing purposes as well as a binary drivable path mask in PNG format, where drivable path pixels are assigned a value of 255, and non-drivable path pixels are assigned a value of 0.
Data Summary:
RGB image in PNG Format
Drivable path keypoints in JSON Format
Binary Drivable Path Mask in PNG format
Semantic Drivable Path Mask draw on top of RGB image in PNG format (not used during training, only for data auditing purposes)
Note
Please work on the path-det-dataset-curation branch

2024/12/16

[ ] Crop out bottom part containing the car (should be 190 pixels height, so we have 400 px in height remaining, but please test it carefully).

[ ] Crop width left and right so new width : new height = 2 : 1.

[ ] Update relative coords to account for new image size.

[ ] Temporal downsampling by a factor of 5 (basically take 1 skip 4).

[ ] Refactor the JSON and output dir structure as in slides p. 22.

2024/12/23
Housekeeping minor stuffs

[ ] Bottom crop : 160.
[ ] Adjust horizontal crop to be 2:1 ratio.
[ ] Make it default arg.
[ ] Default sampling rate to 5.
[ ] Also update README.md

Post-processing

[ ] Data audit
[ ] Kaggle-ing it the same way with TuSimple

Completed


Supports Node 16.X?

Hello i'm trying to install this package in updated node version and i have error when install this dependency

You know if this dependency supports node 16?
From node 14 seems works fine
package.json:

Read the error message, you have a cache permission issue. mineflayer supports node 16, and you bug has nothing to do with this package.

Nevermind seems a issue about executed by root instead a normal user


Unused 'fps' attribute on publish instances in Maya

Describe the bug
I noticed the openpype.hosts.maya.api.lib.collect_animation_data() method also collects fps.
The returned dictionary is used to build the attributes for publish instances, e.g. for Alembics, Redshift Proxies in the Creators in openpype/hosts/maya/plugins/create However NONE of the extractors except for the extract_playblast actually use this data -- and even there it's only used for the representation dictionary it creates at the end. Thus it's confusing on the other publish families.
Should this get moved maybe explicitly to create_review if it is actually useful there so it's only added to those instances and doesn't clutter the others? If redundant there too then we just need to remove it completely in collect_animation_data.
Expected behavior
I'd expect the attribute to not be there at all if it's unused since it confuses the user into thinking influences anything but it doesn't.
[cuID:OP-2251]

If anyone can let me know whether I should remove it from create_review too or keep it around only there then I'll set up a PR accordingly.

This was resolved with #2486


OpenStack ignore missing volume mountpoint

Seems like after some operations, the mountpoit of volume can
get missing. Let's ignore that fact and log warn.
Fixes BZ:
https://bugzilla.redhat.com/show_bug.cgi?id=1304740

@ladas, are you planning on adding the tests to this PR?

Talked to @ladas offline.  This is happening in one environment in what might actually be a fluke.  We can forgo tests for now to see if this fixes that environment.  If we still see strangeness in that env, then he can go back and add testing around this to get a better sense of what might be the fallout of this change.


Approve and add new nodejs version

Description
Could you please merge this PR https://github.com/actions/node-versions/pull/191
It adds new nodejs releases.
Thousands of projects depends on this data.
Platforms affected

[ ] Azure DevOps
[ ] GitHub Actions - Standard Runners
[ ] GitHub Actions - Larger Runners

Runner images affected

[ ] Ubuntu 20.04
[ ] Ubuntu 22.04
[ ] Ubuntu 24.04
[ ] macOS 12
[ ] macOS 13
[ ] macOS 13 Arm64
[ ] macOS 14
[ ] macOS 14 Arm64
[ ] macOS 15
[ ] macOS 15 Arm64
[ ] Windows Server 2019
[ ] Windows Server 2022

Image version and build link

Is it regression?

Expected behavior

Actual behavior

Repro steps

Hi @zdm , We cannot approve/merge PR for other repositories. As the PR is  already raised in node-versions , You could request the same team. Thanks ,closing the issue.

But readme in that project says that I should create issues here.


Make DropDownButton looks like default Mahapps button

Hello
How can I change style/appearance of DropDownButton to looks like a button?
I have tried changing styles but every style looks different from that button on the following image.

And how can I change a margin in each menu item? Because in each menu item in DropDownButton there is a space on the left and right side.

@GWawrzeniecki Here is a short example of a custom DropDownButton. The Menu item style can be changed if you set the ItemContainerStyle.
            <mah:DropDownButton Margin="5"
                                BorderThickness="0"
                                Padding="0"
                                BorderBrush="{DynamicResource MahApps.Brushes.Button.Border}"
                                ButtonStyle="{DynamicResource MahApps.Styles.Button}"
                                Content="Genres"
                                DisplayMemberPath="Name"
                                ItemsSource="{Binding Source={x:Static models:SampleData.Genres}}">
                <mah:DropDownButton.Icon>
                    <iconPacks:PackIconMaterial Margin="6 0" Kind="BookMusic" />
                </mah:DropDownButton.Icon>
            </mah:DropDownButton>

Awesome! Thank you very much


CMake: clean-up after Brotli update

Commit google/brotli@641bec0 ensures that Brotli honors the BUILD_SHARED_LIBS option in CMake, making commit 43323c0 and 6f20853 redundant.
Resolves #1694.

Rebased and re-titled as some of these changes were landed in commit c3779422fd5bbae2c27e72761af6a5a51f64fa81 and e9a672f71f4e336bc87d85e050c37b35a664d265.


DPCpp compilable path_tracer

This is not all the changes needed to run in sw_emu. but i have the remaining of the changes on a branch. that I will rebase on this.

What is needed in addition ?
I am able to run this branch on sw_emu (but I never checked the result as it is quite slow due to the use of single task).

This is not all the changes needed to run in sw_emu. but i have the remaining of the changes on a branch. that I will rebase on this.

What is needed in addition ?
I am able to run this branch on sw_emu (but I never checked the result as it is quite slow due to the use of single task).

There is a bug in the sycl runtime that prevent the output from being correct.
but i have a bypass for it.

I am not sure if we should but the context parameter at the start or end of function parameter.

In the general case, I would say at the start of the functions so that we can still use C++ optional parameters.


Add documentation for spark logs

What does this PR do?
Updates conf.yaml.example and README.md

LGTM! Just left a couple comments.

Nice - thanks for the detailed review!


Upgrade versions

Tried this out locally. Merging now to get out an insertion PR for tonight.

/cc @ToddGrun


Incorrect imports of schemars type

Current and expected behavior
Compile error on mismatched types.
The hard coded import in schema.rs file can change with feature flags.
This type changes with the preserve_order flag in schemars.
Possible solution
This line:
https://github.com/kube-rs/kube/blob/b92dc5ba25b0ab91c979b0dfe5cb9306ba157def/kube-core/src/schema.rs#L5
Should be changed to:
use schemars::MapEntry as Entry;

or just use schemars::MapEntry; and change the match lower down in the code (line 104-114).
Additional context
Transfer of issue from https://github.com/GREsau/okapi/issues/109
Relevant code in schemars https://github.com/GREsau/schemars/blob/5268080b014152912a910e3fe8524c4c876407de/schemars/src/lib.rs#L306-L309
Environment
All
Configuration and features
No response
Affected crates
kube-core
Would you like to work on fixing this bug?
no

This might also be a good first issue.

Ouch, good catch.


Remote ip not resolved correctly after haproxy

When using interlock and haproxy remote ip cannot be resolved correctly. Example in PHP code
["REMOTE_ADDR"] return proxy IP (example <IP_ADDRESS>)
["HTTP_X_FORWARDED_FOR"] return docker host internal id in my case it is <IP_ADDRESS>
even http heade cannot give correct ["HTTP_X_FORWARDED_FOR"] gives again docker host internal ip <IP_ADDRESS>
Expexted result should be that client real IP is resolved.

From the interlock documentation:
**backend_options: specify a list of additional options for the backend ({"backend_options": ["forceclose", "http-no-delay"]}) -- see http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4.1 **
Check the related post here
http://serverfault.com/questions/331079/haproxy-and-forwarding-client-ip-address-to-servers
Hope this will help :)

Actually I believe this is already fixed. Could you try the latest version
and confirm it's working?  Thanks!
On Friday, January 23, 2015, ManMohanVyas<EMAIL_ADDRESS>wrote:

From the interlock documentation:
**backend_options: specify a list of additional options for the backend
({"backend_options": ["forceclose", "http-no-delay"]}) -- see
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4.1
http://cbonte.github.io/haproxy-dconv/configuration-1.5.html#4.1 **
Check the related post here
http://serverfault.com/questions/331079/haproxy-and-forwarding-client-ip-address-to-servers
Hope this will help :)
—
Reply to this email directly or view it on GitHub
https://github.com/ehazlett/interlock/issues/14#issuecomment-71173103.

Closing as this header should be added in the latest version.  Please re-open if needed.