Pipe input from SDP string

Version information

fluent-ffmpeg version: 2.1.0
ffmpeg version: 3.2.4
OS: Ubuntu Linux

Code to reproduce
const stringToStream = require('string-to-stream');
const ffmpeg = require('fluent-ffmpeg');

// Create a readable stream from an SDP string (v=0\no=......)
let sdp = stringToStream(sdpString);

ffmpeg(sdp)
        .inputOptions(['-protocol_whitelist "pipe,udp,rtp"', '-f sdp'])
        .outputOptions(['-c copy', '-map 0']).format('flv').save('test.flv');

Expected results
FFMpeg get UDP stream from SDP (without SDP file) and save it to file (or publish to RTMP server).
This logic is working but I need to implement it with Fluent-FFMpeg:
cat test.sdp | ffmpeg -protocol_whitelist "pipe,udp,rtp" -f sdp -i - -c copy -map 0 \
-f flv "test.flv"

Observed results
I've got this Error: ffmpeg exited with code 1: pipe:0: Invalid argument
Checklist

[x] I have read the FAQ
[x] I tried the same with command line ffmpeg and it works correctly (hint: if the problem also happens this way, this is an ffmpeg problem and you're not reporting it to the right place)
[ ] I have included full stderr/stdout output from ffmpeg

I solved the problem. Input / output options (including keys and values) must have array item like this:
ffmpeg(sdp)
        .inputOptions(['-protocol_whitelist', 'pipe,udp,rtp', '-f', 'sdp'])
        .outputOptions(['-c', 'copy', '-map', '0']).format('flv').save('test.flv');

@aydinkn I'm facing this error : Output file #0 does not contain any stream

@suresh-borad my input stream compatible for flv, so i basically copy all the channels in the input stream to output file.
If your input stream incompatible for flv, you need to re encode your input stream to output file.
https://trac.ffmpeg.org/wiki/Map#Example9


Add docs for {today} token

Docs for https://github.com/mautic/mautic/pull/11722

@RCheesley the parent PR has been merged

Great, we need to merge this on the 5.x branch of Mautic/user-documentation then! 🚀


functions in traits cannot be declared async

Following the README.md example.
I have this cargo.toml:
[package]
name = "zero2prod"
version = "0.1.0"
authors = ["Begley Brothers Inc<EMAIL_ADDRESS>edition = "2018"

# See more keys and their definitions at
# https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]

[[test]]
name = "cucumber"
harness = false # Allows Cucumber to print output instead of libtest

[dev-dependencies]
cucumber = { package = "cucumber_rust", version = "0.8.3", features = ["macros"] }
# You can use any executor, we use Tokio in this example.
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }

and this ./tests/cucmber.rs file:
use std::{cell::RefCell, convert::Infallible};

use cucumber_rust::{async_trait, given, then, when, World, WorldInit};

#[derive(WorldInit)]
pub struct MyWorld {
    // You can use this struct for mutable context in scenarios.
    foo: String,
    bar: usize,
    some_value: RefCell<u8>,
}

impl MyWorld {
    async fn test_async_fn(&mut self) {
        *self.some_value.borrow_mut() = 123u8;
        self.bar = 123;
    }
}

#[async_trait(?Send)]
impl World for MyWorld {
    type Error = Infallible;

    async fn new() -> Result<Self, Infallible> {
        Ok(Self {
            foo: "wat".into(),
            bar: 0,
            some_value: RefCell::new(0),
        })
    }
}

#[given("a thing")]
async fn a_thing(world: &mut MyWorld) {
    world.foo = "elho".into();
    world.test_async_fn().await;
}

#[when(regex = "something goes (.*)")]
async fn something_goes(_: &mut MyWorld, _wrong: String) {}

#[given("I am trying out Cucumber")]
fn i_am_trying_out(world: &mut MyWorld) {
    world.foo = "Some string".to_string();
}

#[when("I consider what I am doing")]
fn i_consider(world: &mut MyWorld) {
    let new_string = format!("{}.", &world.foo);
    world.foo = new_string;
}

#[then("I am interested in ATDD")]
fn i_am_interested(world: &mut MyWorld) {
    assert_eq!(world.foo, "Some string.");
}

#[then(regex = r"^we can (.*) rules with regex$")]
fn we_can_regex(_: &mut MyWorld, action: String) {
    // `action` can be anything implementing `FromStr`.
    assert_eq!(action, "implement");
}

#[tokio::main]
async fn main() {
    let runner = MyWorld::init(&["./features"]);
    runner.run_and_exit().await;
}

and observe this result:
$ cargo test --test cucumber
    Updating crates.io index
  Downloaded futures-channel v0.3.13
  Downloaded typed-builder v0.7.1
  Downloaded inflections v1.1.1
  Downloaded futures-sink v0.3.13
  Downloaded ignore v0.4.17
  Downloaded gherkin_rust v0.10.0
  Downloaded futures-task v0.3.13
  Downloaded bstr v0.2.15
  Downloaded futures-macro v0.3.13
  Downloaded ctor v0.1.19
  Downloaded futures-executor v0.3.13
  Downloaded proc-macro-hack v0.5.19
  Downloaded tokio-macros v1.1.0
  Downloaded inventory v0.1.10
  Downloaded cucumber_rust v0.8.4
  Downloaded proc-macro-nested v0.1.7
  Downloaded inventory-impl v0.1.10
  Downloaded ghost v0.1.2
  Downloaded futures-io v0.3.13
  Downloaded async-trait v0.1.42
  Downloaded futures v0.3.13
  Downloaded globset v0.4.6
  Downloaded terminal_size v0.1.16
  Downloaded globwalk v0.8.1
  Downloaded cucumber_rust_codegen v0.1.0
  Downloaded crossbeam-utils v0.8.3
  Downloaded futures-util v0.3.13
  Downloaded tokio v1.2.0
  Downloaded futures-timer v3.0.2
  Downloaded futures-core v0.3.13
  Downloaded 30 crates (1.4 MB) in 1.49s
   Compiling proc-macro2 v1.0.24
   Compiling unicode-xid v0.2.1
   Compiling syn v1.0.60
   Compiling memchr v2.3.4
   Compiling libc v0.2.87
   Compiling autocfg v1.0.1
   Compiling serde_derive v1.0.123
   Compiling serde v1.0.123
   Compiling ryu v1.0.5
   Compiling once_cell v1.7.2
   Compiling proc-macro-hack v0.5.19
   Compiling log v0.4.14
   Compiling futures-core v0.3.13
   Compiling serde_json v1.0.64
   Compiling regex-syntax v0.6.22
   Compiling proc-macro-nested v0.1.7
   Compiling cfg-if v1.0.0
   Compiling itoa v0.4.7
   Compiling unicode-width v0.1.8
   Compiling bitflags v1.2.1
   Compiling pin-project-lite v0.2.5
   Compiling futures-sink v0.3.13
   Compiling unicode-segmentation v1.7.1
   Compiling peg-runtime v0.6.3
   Compiling fnv v1.0.7
   Compiling futures-task v0.3.13
   Compiling lazy_static v1.4.0
   Compiling slab v0.4.2
   Compiling pin-utils v0.1.0
   Compiling same-file v1.0.6
   Compiling futures-io v0.3.13
   Compiling inventory v0.1.10
   Compiling either v1.6.1
   Compiling vec_map v0.8.2
   Compiling strsim v0.8.0
   Compiling ansi_term v0.11.0
   Compiling inflections v1.1.1
   Compiling futures-timer v3.0.2
   Compiling termcolor v1.1.2
   Compiling pathdiff v0.2.0
   Compiling zero2prod v0.1.0 (/home/hedge/src/zero2prod)
   Compiling crossbeam-utils v0.8.3
   Compiling tokio v1.2.0
   Compiling thread_local v1.1.3
   Compiling textwrap v0.11.0
   Compiling futures-channel v0.3.13
   Compiling heck v0.3.2
   Compiling walkdir v2.3.1
   Compiling itertools v0.9.0
   Compiling quote v1.0.9
   Compiling aho-corasick v0.7.15
   Compiling bstr v0.2.15
   Compiling terminal_size v0.1.16
   Compiling atty v0.2.14
   Compiling shh v1.0.1
   Compiling num_cpus v1.13.0
   Compiling peg-macros v0.6.3
   Compiling regex v1.4.3
   Compiling textwrap v0.12.1
   Compiling clap v2.33.3
   Compiling peg v0.6.3
   Compiling globset v0.4.6
   Compiling futures-macro v0.3.13
   Compiling thiserror-impl v1.0.24
   Compiling async-stream-impl v0.3.0
   Compiling ctor v0.1.19
   Compiling inventory-impl v0.1.10
   Compiling ghost v0.1.2
   Compiling typed-builder v0.7.1
   Compiling tokio-macros v1.1.0
   Compiling async-trait v0.1.42
   Compiling cute_custom_default v2.1.0
   Compiling cucumber_rust_codegen v0.1.0
   Compiling ignore v0.4.17
   Compiling futures-util v0.3.13
   Compiling thiserror v1.0.24
   Compiling async-stream v0.3.0
   Compiling globwalk v0.8.1
   Compiling futures-executor v0.3.13
   Compiling futures v0.3.13
   Compiling gherkin_rust v0.10.0
   Compiling cucumber_rust v0.8.4
error[E0706]: functions in traits cannot be declared `async`
  --> tests/cucumber.rs:24:5
   |
24 |       async fn new() -> Result<Self, Infallible> {
   |       ^----
   |       |
   |  _____`async` because of this
   | |
25 | |         Ok(Self {
26 | |             foo: "wat".into(),
27 | |             bar: 0,
28 | |             some_value: RefCell::new(0),
29 | |         })
30 | |     }
   | |_____^
   |
   = note: `async` trait functions are not currently supported
   = note: consider using the `async-trait` crate: https://crates.io/crates/async-t
rait

error[E0432]: unresolved import `cucumber_rust`
 --> tests/cucumber.rs:3:5
  |                                                                       [58/1098]
3 | use cucumber_rust::{async_trait, given, then, when, World, WorldInit};
  |     ^^^^^^^^^^^^^ use of undeclared crate or module `cucumber_rust`

error: cannot determine resolution for the derive macro `WorldInit`
 --> tests/cucumber.rs:5:10
  |
5 | #[derive(WorldInit)]
  |          ^^^^^^^^^
  |
  = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `async_trait`
  --> tests/cucumber.rs:20:3
   |
20 | #[async_trait(?Send)]
   |   ^^^^^^^^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports
                                                                          [39/1098]
error: cannot determine resolution for the attribute macro `given`
  --> tests/cucumber.rs:33:3
   |
33 | #[given("a thing")]
   |   ^^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `when`
  --> tests/cucumber.rs:39:3
   |
39 | #[when(regex = "something goes (.*)")]
   |   ^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `given`
  --> tests/cucumber.rs:42:3
   |                                                                      [20/1098]
42 | #[given("I am trying out Cucumber")]
   |   ^^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `when`
  --> tests/cucumber.rs:47:3
   |
47 | #[when("I consider what I am doing")]
   |   ^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `then`
  --> tests/cucumber.rs:53:3
   |
53 | #[then("I am interested in ATDD")]
   |   ^^^^
   |                                                                       [1/1098]
   = note: import resolution is stuck, try simplifying macro imports

error: cannot determine resolution for the attribute macro `then`
  --> tests/cucumber.rs:58:3
   |
58 | #[then(regex = r"^we can (.*) rules with regex$")]
   |   ^^^^
   |
   = note: import resolution is stuck, try simplifying macro imports

error: aborting due to 10 previous errors

Some errors have detailed explanations: E0432, E0706.
For more information about an error, try `rustc --explain E0432`.
error: could not compile `zero2prod`

To learn more, run the command again with --verbose.

Change in your Cargo.toml:
cucumber = { package = "cucumber_rust", version = "0.8.3", features = ["macros"] }

To:
cucumber_rust = { version = "0.8.3", features = ["macros"] }

Replaced the readme with the example repo. For now, the proc-macro based approach is not really supported.
We'll put up a book soon that will explain all the options. 😄


Issue with using button to launch AddToHomeScreenInstance

I used your code sample to try to use a BUTTON tag to launch the AddToHomeScreenInstance, but no matter what I try, when I click on the button, the function launches the modal creates the the DIV ("adhs-container"), but then immediately closes/removes the DIV.
<script>   document.getElementById('addToHomeScreen').addEventListener('click', function () {   window.AddToHomeScreenInstance = new window.AddToHomeScreen({   appName: 'App Name',   appIconUrl: '/mobile/iOS.png',   assetUrl: '/_scripts/add-to-homescreen-1.9/assets/img/',   allowUserToCloseModal: true,   maxModalDisplayCount: -1   });   ret = window.AddToHomeScreenInstance.show('en');   }); </script>
If you'd like I could provide an example video or URL.
Do you happen to have a working sample?

hi @sunstarjeff i got it to work, i think you were missing an event.stopPropagation() in your click handler
Code: https://gist.github.com/philfung/f4b152aa3c57f29bc5b180a16562548a
Screenshot:

Thank you for your help!

np!  thanks for trying out the framework - appreciate if you can give the repo a star.


Implement azblob support

Use SDK: https://github.com/Azure/azure-sdk-for-rust

/assign

We are planning to migrate to https://github.com/Xuanwo/reqsign instead, PTAL.

Maybe we need https://github.com/Xuanwo/reqsign/issues/6

I have already achieved functions of read write delete azblob with stripping the sign function from the azure sdk for rust. it is now possible to authing requests using only the sign function of reqsign

Great work! And I'm reviewing https://github.com/Xuanwo/reqsign/pull/29 now, let's rock.

hi, I have finish basic functions of  supporting  azblob for  opendal and stripe authing  function from azure sdk for rust into reqsign repo. Now you can write read delete stat object in azure in behavior tests  But I don't know how to wrap list_object response into  stream . can i create a pull request and receive some advices from you?

can i create a pull request and receive some advices from you?

Of course, let's go!

Thanks for @D2Lark's work, we have azblob supports now! Let's set up the integration tests for it and prepare a new release.
ping @wubx for azblob account support.


How to handle TIFF format images

Hi. Can the program support reading and processing .tiff images? I have some problems with tiff images.

Looks like currently native browser support for tiff files is still pretty bad, a lot of extra work needs to be done to support this format, so there are currently no plans to support this format.


[Question] Why are dependencies not cached in GitHub actions?

This is not library-specific but would it not speed up the builds given 4 x 3 instances are run at a time, if we used the caching feature provided by GitHub actions, see docs.
I'm currently using this cache action, see my implementation - maybe you might want to use the ideas here (just a suggestion).

As I have just gained some experience there,  I can certainly do it and see if it stands to my changes ;)

I have created Project for this repo and also randomly sorted all the open issues under Backlog (long term) and To do (near term), but I'll leave it to you all to decide where they correctly belong.

Wow, nice, thank you so much!


Website: team-member related pages

The admin page for managing Team Members and PhET Fellows has been ported to React and is available to test.  This also involved refactoring methods used in the Supporters admin so we should do a regression test for that page as well.
What To Test

https://ox-dev.colorado.edu/admin/team-members

Add a new team member of every type
Update a team member, testing every available field across types
Delete a team member
Changes for PhET Fellows can be seen at https://ox-dev.colorado.edu/en/phet-global/community
Changes for all other Team Member types can be seen at https://ox-dev.colorado.edu/en/about/team

https://ox-dev.colorado.edu/admin/supporters - regression test

Add a new supporter
Edit an existing supporter
Test rearranging order of supporters
Delete a supporter
Changes can be seen at https://ox-dev.colorado.edu/en/our-supporters

https://ox-dev.colorado.edu/en/about/team & https://ox-dev.colorado.edu/en/phet-global/community (PhET Fellows Section)

Test general layout and accessibillity of this page.
Test this page in all supported browsers:

[ ] Latest macOS, Safari (Time = )
[x] Windows 10/11, Chrome (Time = 3)
[ ] Windows 10/11, Firefox (Time = )
[ ] Latest iOS, Safari (Time = )

Test this page with supported screen readers:

[ ] Windows 10 + Latest Chrome + Latest JAWS (Time = )
[ ] Windows 10 + Latest Firefox + Latest NVDA (Time = )
[ ] macOS + Safari + VoiceOver (Time = )

This page is not localized and does not need to be tested in non-english locales.
https://ox-dev.colorado.edu/en/phet-global/community should be tested in English, one non-english RTL locale (e.g. ar_SA), and one non-english LTR locale (e.g. es)

Changes made while on ox-dev will not affect production.  We can copy the current state of team members and supporters from production to ox-dev at any time if needed in this test, just ping @mattpen.
Issues should be opened in https://github.com/phetsims/website-meteor and assigned to @mattpen.

FAQs for QA Members

There are multiple tests in this issue... Which test should I do first?
Test in order! Test the first thing first, the second thing second, and so on.

How should I format my issue?

We typically assign the developer who opened the issue in the QA repository.

My question isn't in here... What should I do?
You should:

Consult the QA Book.
Google it.
Ask Katie.
Ask a developer.
Google it again.
Cry.

Assigning to @KatieWoe for priority

I was unable to create a new team member (Director) in the first test. Bellow is the console error.

I needed to run GRANT USAGE, SELECT ON SEQUENCE team_member_id_seq to phet; in the database.  I have a script to run these commands in production when we switch.  Creating new team members should work now.

Part 1 Fully tested on Win 11 Chrome

Does anyone know why there are so many duplicates on the supporters page? Is this a bug? They seem duplicated to the point that they both seem to be in the same place on the edit page (you can only move Alpha Productions down, not move the second one up).

That looks like a problem specific to ox-dev. I doubt this is a bug.

Is there an easy fix? It does make testing a bit hard.

Well, syncing is going to be difficult.  Part of this changeset included a mongo upgrade, which makes a database dump/restore difficult.  As long as you are on ox-dev, you can delete the duplicates.  Would that be ok - or is that a lot of work? (I'm aware of phetsims/website-meteor#473 and working on a fix today)

I can do that, though we can't delete anything right now due to https://github.com/phetsims/website-meteor/issues/473

Just an FYI- Amy is going to update her twitter handle. The link currently takes you to an account that no longer exists.

QA is done

This was deployed to production! Closing.


CI for mne study template

With @sappelhoff we agreed today that a better workflow for MNE study template would be to set up the CIs to use datalad to fetch different datasets. Since it's relatively lightweight to get one subject with datalad, this can be used to run tests on many different datasets and work in a test driven manner. So, the workflow would be something like:

add datalad to Circle CI in one pull request
next pull request, add one dataset to .circle/config.yml and iterate until circle passes
next pull request, add another dataset and iterate until circle passes

This way, you are guaranteed not to break datasets that already work.

Sounds great. CircleCI can be a pain, let me know if you get stuck with something that does not make sense.

closed by #35


x/net/http2: spec violation 6.5.3

What version of Go are you using (go version)?

$ go version
1.19

Does this issue reproduce with the latest release?
No
What operating system and processor architecture are you using (go env)?
go env Output
$ go env

What did you do?
I run HTTP2 spec test and there are four tests that cannot be passed.
spec test repo: https://github.com/summerwind/h2spec
command: ./h2spec -p 8888 -k -t -v http2
What did you expect to see?
all the tests passed
What did you see instead?

test code:

func main() {
	server := &http.Server{
		Addr:         ":8888",
		ReadTimeout:  5 * time.Second,
		WriteTimeout: 10 * time.Second,
	}

	http.HandleFunc("/", func(w http.ResponseWriter, r *http.Request) {
		w.Write([]byte(fmt.Sprintf("Protocol: %s", r.Proto)))
	})

	if err := server.ListenAndServeTLS("./examples/tls/server.crt", "./examples/tls/server.key"); err != nil {
		log.Fatal(err)
	}
}

4.2 was deemed incorrect: #25023 (comment) <IP_ADDRESS> is #26321
6.5.3 seems to be a new failure?
cc @neild @tombergan

@seankhliao These pr cause 6.5.3 failure: https://go-review.googlesource.com/c/net/+/124735. It seems that it's expected.

In that case there seems to be nothing new here not tracked in other issues.


How to generate config.yaml file for inferencing wav2vec_small_960h using fairseq-interactive

I am trying to run and generate a transcript for a single audio file using wav2vec_small_960h.pt model and fairseq-interactive. I need config.yaml file for running fairseq-interactive command so how to generate this file?

Did you get some solution on your own to solve this issue. I am facing the same problem. I want  config.yaml file


Fix Count Organization Apis

Closes: #240 and #288

@nnn will you review this PR?

@brylie, won't have time today, perhaps @frenchbread or @marla-singer have?

@brylie @nnn I will take it

@manzapanza Something wrong with gitHub, can't upload screen.
Organization logo has a wrong size. You can see right size this https://nightly.apinf.io/organizations/apinf


Integration issues not using cloud polling in v0.5.0

Just providing some feedback on the latest v0.5.0 update.
After installing the v0.5.0 update, HA had some problems maintaining a connection to the Midea 22 Pint Smart Dehumidifier (MAD22S1WWT) using 'Midea Air' app, which was previously working under v0.4.x. It initially failed, and then came back for a short while for some unknown reason, then failed again, and never returned (after multiple restarts, etc).
So I removed the integration, and started from scratch. The short version is that if 'Use cloud API to poll devices' was disabled, I was unable to pair device; if 'Use cloud API to poll devices' was enabled, it paired perfectly first time. The following is just more detail.
Details:

I tried multiple times adding without using 'Use cloud API to poll devices', with no luck. I tried both 'basic' and 'advanced' , with every combination of options that I could think of, including with and without defining the IPV4 address, and with and without defining a name (in case it was looking for a name that did not exist). Each time I got the same error.

Appliance IPv4 address is missing
We were unable to discover an appliance called Dehumidifier with the id<PHONE_NUMBER>0938 on the local network.

If you know appliance's IPv4 address, please enter it below to add it to Home Assistant.

You can also provide token and key if you have them. If not, we will obtain them from Midea cloud.
Invalid username or password (Unable to get valid token for id=30786325860938 ip=<IP_ADDRESS>:6444 version=3)

I did supply the reserved static IPV4 address, with no luck. I do not have a token or key (not sure where I would get this info). Also the IP in the error is not the defined IP on the network, and as far as I know, nothing is defined on that IPV4 address. Not sure where it is getting that address from, or the id.

Edit: One more detail. I noticed that it would kick me off the Midea Air app during this process, requiring me to log back in. Don't know if this is significant.

After trying many times I gave up and selected 'Use cloud API to poll devices'; it worked perfectly the first time. No issues!

Just thought I would let you know. If you need any additional error codes, etc. Please let me know and I can replicate the experiment.
Thanks again for all your hard work! Very much appreciated.

hello @oadslug new version 0.6.0-beta has been published. You can see details in #32. Integration now has possibility to wait to discover devices locally, or use cloud while waiting. You can access details using config menu or during setup.

Thank you!!! I won't have a chance to test this for a few days. But I will report back once I get a chance. Feel free to close issue — whichever you prefer. Thanks.

Hi,
I am not sure if this error is related to this topic, but with 0.6-beta the humidifier often gets unavailable and in the log I see the following error. With the NetHome plus app everything is working fine - so I beliebe it is related the the custom component and not my network…
Logger: custom_components.midea_dehumidifier_lan.hub
Source: helpers/update_coordinator.py:219
Integration: Midea Air Appliances (LAN)
First occurred: 03:21:02 (223 occurrences)
Last logged: 19:16:33
Error fetching Luftentfeuchter data: Unable to send data after 5 retries, last error timed out for sn=000000P0000000Q1A0681CAD4B810000 id=18691697883547 address=<IP_ADDRESS> version=3
Error fetching Luftentfeuchter data: Unable to send data after 5 retries, last error No results from sn=000000P0000000Q1A0681CAD4B810000 id=18691697883547 address=<IP_ADDRESS> version=3 for sn=000000P0000000Q1A0681CAD4B810000 id=18691697883547 address=<IP_ADDRESS> version=3

Thanks @u20p17 based on your input ans some tests, I'll make integration less strict in assuming device is off. It will now wait for 5 minutes or so without response from device to decide is is unavailable.

Another error I get at the moment is the following:
Logger: custom_components.midea_dehumidifier_lan.hub
Source: custom_components/midea_dehumidifier_lan/api.py:52
Integration: Midea Air Appliances (LAN) (documentation, issues)
First occurred: 19:28:38 (32 occurrences)
Last logged: 20:32:58
Error while setting appliance {'api_version': 3, 'id': '1869169788****', 'ip_address': '<IP_ADDRESS>', 'name': 'Luftentfeuchter', 'token_key': '', 'token': '***************************************************************************************', 'type': '0xa1', 'unique_id': '000000P0000000Q1A0681CAD', 'discovery': 'LAN'}, full configuration {'username': '', 'password': '', 'appkey': '3742e9e5842d4ad59c2db887e12449f9', 'appid': 1017, 'broadcast_address': [], 'scan_interval': 15, 'include': ['0xa1'], 'devices': [{'api_version': 3, 'id': '1869169788', 'ip_address': '<IP_ADDRESS>', 'name': 'Luftentfeuchter', 'token_key': '****', 'token': '************************************************************************************************************************', 'type': '0xa1', 'unique_id': '000000P0000000Q1A0681CAD', 'discovery': 'LAN'}]}, cause Timeout while connecting to appliance <IP_ADDRESS>:6445
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 917, in get_appliance_state
response = sock.recv(512)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/midea_dehumidifier_lan/hub.py", line 582, in _process_appliance
appliance = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/midea_dehumidifier_lan/api.py", line 52, in appliance_state
return midea_beautiful_api.appliance_state(
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/init.py", line 130, in appliance_state
return get_appliance_state(
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 926, in get_appliance_state
raise MideaNetworkError(
midea_beautiful.exceptions.MideaNetworkError: Timeout while connecting to appliance <IP_ADDRESS>:6445
Might be related to the one before?

Yes, the previous one may occur when there is timeout trying to open connection. Integration tries 5 times over 10 seconds and if each fails, it considers device offline. As it seems people have more instable network, I'll now add on top that this has to repeat on each attempt during 5 minutes (configurable). I think I'll trop the updated version tomorrow.

@u20p17 I've updated beta version with behavior described above. You may redownload it to test if you want.

Hi,
now I see the dehumidifier twice as a device (and both are unreachable).:

Furthermore I get these errors in the log file:

Logger: custom_components.midea_dehumidifier_lan.hub
Source: custom_components/midea_dehumidifier_lan/util.py:186
Integration: Midea Air Appliances (LAN) (documentation, issues)
First occurred: 18:15:12 (1 occurrences)
Last logged: 18:15:12
Error 'Invalid token Non-hexadecimal digit found' while setting up appliance 000000P0000000Q1A0681CAD********, full configuration {'username': '', 'password': '', 'appkey': '3742e9e5842d4ad59c2db887e12449f9', 'appid': 1017, 'broadcast_address': [], 'scan_interval': 15, 'include': ['0xa1'], 'devices': [{'api_version': 3, 'id': '1869169788', 'ip_address': '<IP_ADDRESS>', 'name': 'Luftentfeuchter', 'token_key': '*****************************************************', 'token': '************************************************************************************************************************', 'type': '0xa1', 'unique_id': '000000P0000000Q1A0681CAD', 'discovery': 'LAN'}]}
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 486, in _authenticate
byte_token = binascii.unhexlify(self.token)
binascii.Error: Non-hexadecimal digit found
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/midea_dehumidifier_lan/hub.py", line 219, in async_discover_device
appliance = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/midea_dehumidifier_lan/util.py", line 186, in appliance_state
return midea_beautiful_api.appliance_state(
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 959, in appliance_state
appliance.identify(cloud, use_cloud)
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 755, in identify
self._valid_token(cloud)
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 740, in _valid_token
self._authenticate()
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 488, in _authenticate
raise AuthenticationError(f"Invalid token {ex}") from ex
midea_beautiful.exceptions.AuthenticationError: Invalid token Non-hexadecimal digit found

Logger: custom_components.midea_dehumidifier_lan.hub
Source: custom_components/midea_dehumidifier_lan/util.py:186
Integration: Midea Air Appliances (LAN) (documentation, issues)
First occurred: 18:30:15 (1 occurrences)
Last logged: 18:30:15
Error 'Timeout while connecting to appliance <IP_ADDRESS>:6445' while setting up appliance 000000P0000000Q1A0681CAD********, full configuration {'username': '', 'password': '', 'appkey': '3742e9e5842d4ad59c2db887e12449f9', 'appid': 1017, 'broadcast_address': [], 'scan_interval': 15, 'include': ['0xa1'], 'devices': [{'api_version': 3, 'id': '1869169788', 'ip_address': '<IP_ADDRESS>', 'name': 'Luftentfeuchter', 'token_key': '*************************************************', 'token': '************************************************************************************************************************', 'type': '0xa1', 'unique_id': '000000P0000000Q1A0681CAD', 'discovery': 'LAN'}, {'discovery': 'IGNORE', 'api_version': 3, 'id': '1869169788', 'ip_address': '<IP_ADDRESS>', 'name': 'Dehumidifier 4', 'token_key': '', 'token': None, 'type': '0xa1', 'unique_id': '000000P0000000Q1A0681CAD********'}]}
Traceback (most recent call last):
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 926, in appliance_state
response = sock.recv(512)
socket.timeout: timed out
The above exception was the direct cause of the following exception:
Traceback (most recent call last):
File "/config/custom_components/midea_dehumidifier_lan/hub.py", line 219, in async_discover_device
appliance = await self.hass.async_add_executor_job(
File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
result = self.fn(*self.args, **self.kwargs)
File "/config/custom_components/midea_dehumidifier_lan/util.py", line 186, in appliance_state
return midea_beautiful_api.appliance_state(
File "/usr/local/lib/python3.9/site-packages/midea_beautiful/lan.py", line 935, in appliance_state
raise MideaNetworkError(
midea_beautiful.exceptions.MideaNetworkError: Timeout while connecting to appliance <IP_ADDRESS>:6445

Logger: custom_components.midea_dehumidifier_lan.appliance_coordinator
Source: helpers/update_coordinator.py:219
Integration: Midea Air Appliances (LAN) (documentation, issues)
First occurred: 18:16:12 (2 occurrences)
Last logged: 18:31:15
Error fetching Luftentfeuchter data: Unable to get state of device Luftentfeuchter: Invalid token Non-hexadecimal digit found

Hi @u20p17 , looking at this seems that integration's configuration got corrupted somehow - token was corrupted. Can you remove the integration, re-download the beta and re-install it?

Did it and up to now I do not get any errors (Y) Thanks!


Please add support for Typescript

Hi, I'd love to use this for my project but I'm working with typescript which isn't currently available. Please consider adding support for it in the future. Appreciated

Hello, you can already use non-typescript modules in your Typescript project:

with a mixture of @ts-ignore and declare var varname:any (I'd recommend checking the official doc or some stackoverflow threads for precise up-to-date instructions)
or with external type declaration file. The Typescript-recommended way to add definitions to non-typescript libraries is to publish them on @types. They have extensive documentation on how to do it. For example, this is how it was handled for poisson-disk-sampling.

The project already features precise jsdoc annotation which should be of help in both cases.


Formatting not applied when source file autosaved

Diagnostic Data

Python version (& distribution if applicable, e.g., Anaconda): 3.12
Type of virtual environment used (e.g., conda, venv, virtualenv, etc.): venv
Operating system (and version): Win 11 Enterprise
Version of tool extension you are using: v2024.4.0

Behaviour
Expected Behavior
With auto save on in VSCode, Black formatting is not applied on auto saves.
Actual Behavior
Nothing. Blaxk formatting only occurs when pressing Ctrl-S.
Reproduction Steps:
Load Python file
Enabled VSCode auto save
Make a change that Black would correct
Observe file is auto saved but no formatting occurs
Press Ctrl-S
Observe Black formatting takes place.
Logs:
2024-10-15 15:06:52.624 [info] [Trace - 3:06:52 PM] Received response 'textDocument/formatting - (2)' in 37ms.
2024-10-15 15:06:52.670 [info] [Trace - 3:06:52 PM] Sending notification 'textDocument/didChange'.
2024-10-15 15:06:58.692 [info] [Trace - 3:06:58 PM] Sending notification 'textDocument/didChange'.
2024-10-15 15:07:01.176 [info] [Trace - 3:07:01 PM] Sending notification 'textDocument/didChange'.
2024-10-15 15:07:03.489 [info] [Trace - 3:07:03 PM] Sending request 'textDocument/formatting - (3)'.
2024-10-15 15:07:03.491 [info] [Trace - 3:07:03 PM] Received notification 'window/logMessage'.
2024-10-15 15:07:03.491 [info] /home/xxxxx/venv_312/bin/python3.12 -m black --stdin-filename /home/xxxxx/python/scratch.py -
2024-10-15 15:07:03.491 [info] [Trace - 3:07:03 PM] Received notification 'window/logMessage'.
2024-10-15 15:07:03.491 [info] CWD formatter: /home/xxxxx/python
2024-10-15 15:07:03.520 [info] [Trace - 3:07:03 PM] Received notification 'window/logMessage'.
2024-10-15 15:07:03.520 [info] reformatted /home/xxxxx/python/scratch.py
All done! ✨ 🍰 ✨
1 file reformatted.
2024-10-15 15:07:03.524 [info] [Trace - 3:07:03 PM] Received response 'textDocument/formatting - (3)' in 35ms.
2024-10-15 15:07:03.570 [info] [Trace - 3:07:03 PM] Sending notification 'textDocument/didChange'.

The extension just contributes a formatter. VS Code decides if it should be triggered on autosave or not. The issue here is that VS Code does not trigger formatting on autosave, it triggers it on explicit save.
see here https://github.com/microsoft/vscode/issues/128090#issuecomment-875310572


Avoid linking libpython3.6m.so to /usr/lib/

Expected Behavior
The program should pull the python library from the conda env /lib/ folder.
Actual Behavior
Currently you require linking the lib folder for linux installs:
sudo ln -s $HOME/miniconda3/lib/libpython3.6m.so /usr/lib/libpython3.6m.so
This requires a python 3.6.8 base Anaconda install. What people should do is use a conda environment to install Python 3.6.8. Linking to this file in /usr/lib breaks the environment encapsulation, though.
Manually linking the library like the above is bad practice. Requiring python 3.6.8 is fine, but if you are going to do so you should support conda environments.
Potential Solution
Retrieve the library from the python env path.
Reproducing the Problem
This can be reproduced on Ubuntu by installing the latest version of Anaconda, making an environment with 3.6.8 and not linking the library using the command above.
System Information
Ubuntu 20.04 LTS
Checklist

[x] I have completely filled out this template
[x] I have confirmed that this issue exists on the current master branch
[x] I have confirmed that this is not a duplicate issue by searching issues

[x] I have provided detailed steps to reproduce the issue

As for now, the better workaround I have found is to set the LD_LIBRARY_PATH in the conda environment.
Resources for this:
https://conda.io/projects/conda/en/latest/user-guide/tasks/manage-environments.html#macos-and-linux
https://docs.conda.io/projects/conda-build/en/latest/resources/use-shared-libraries.html
https://stackoverflow.com/questions/39298681/anaconda-python-virtualdev-cant-find-libpython3-5m-so-1-0-on-windows-subsystem
https://stackoverflow.com/questions/46826497/conda-set-ld-library-path-for-env-only

Hey @nbstrong! sorry for the delay here, linking is not required. Removed from the foundation file by https://github.com/QuantConnect/Lean/pull/6558


RainTree Unit Test Generation Tooling

Description
Tooling (in the form of python scripts and documentation) to generate RainTree unit tests.
Issue
Fixes #314
Type of change
Please mark the relevant option(s):

[x] New feature, functionality or library
[ ] Bug fix
[x] Code health or cleanup
[ ] Major breaking change
[ ] Documentation
[x] Other: Test Tooling

List of changes

Python code that simulates RainTree using BFS (Breadth First Search)
Python script that generates a Golang RainTree unit test using the results of the simulation
Makefile target to help generate RainTree unit tests for a specific number of nodes
Supporting README documentation

Demo

Testing

Generate a new test with the following command:

rainTreeTestOutputFilename=/tmp/answer.go numRainTreeNodes=12 make p2p_test_generator

Copied the output from /tmp/answer.go to module_raintree_test.go
Add comments to the tree visualizaiton
Run make test_p2p

//                                                                                val_1
//                                     ┌────────────────────────────────────────────────────────────────────────┴───────────────────────────────────┬─────────────────────────────────────────────────────────────────────────────────────────────────────────┐
//                                   val_5                                                                                val_1                                                                                val_9
//            ┌────────────────────────┴────────────┬──────────────────────────────────┐                                     ┌──────────────────────┴────────────┬────────────────────────────────┐                                  ┌────────────────────────┴──────────────┬──────────────────────────────────┐
//          val_7                                 val_5                             val_10                                 val_3                               val_1                            val_6                             val_11                                   val_9                              val_2
//    ┌───────┴────┬──────────┐             ┌───────┴────┬─────────┐          ┌────────┴─────┬──────────┐            ┌───────┴────┬─────────┐            ┌───────┴────┬─────────┐         ┌───────┴────┬─────────┐          ┌────────┴─────┬──────────┐             ┌────────┴────┬──────────┐          ┌───────┴────┬─────────┐
//  val_8        val_7      val_10        val_6        val_5     val_8      val_11         val_10     val_5        val_4        val_3     val_6        val_2        val_1     val_4     val_7        val_6     val_1      val_12         val_11     val_2         val_10        val_9      val_12     val_3        val_2     val_9

func TestRainTreeCompleteTwelveNodes(t *testing.T) {
    originatorNode := validatorId(1)
    var expectedCalls = TestNetworkSimulationConfig{
        originatorNode:  {1, 6},
        validatorId(2):  {3, 2},
        validatorId(3):  {2, 2},
        validatorId(4):  {2, 0},
        validatorId(5):  {2, 4},
        validatorId(6):  {3, 2},
        validatorId(7):  {2, 2},
        validatorId(8):  {2, 0},
        validatorId(9):  {2, 4},
        validatorId(10):  {3, 2},
        validatorId(11):  {2, 2},
        validatorId(12):  {2, 0},

    }
	testRainTreeCalls(t, originatorNode, expectedCalls)
}

Required Checklist

[x] I have performed a self-review of my own code
[x] I have commented my code, particularly in hard-to-understand areas
[x] I have tested my changes using the available tooling
[x] I have updated the corresponding CHANGELOG

If Applicable Checklist

[ ] I have updated the corresponding README(s); local and/or global
[x] I have added tests that prove my fix is effective or that my feature works
[ ] I have added, or updated, mermaid.js diagrams in the corresponding README(s)
[ ] I have added, or updated, documentation and mermaid.js diagrams in shared/docs/* if I updated shared/*README(s)

I'm not sure this is worth merging until this is implemented in golang...
In my mind, the main reason to bring this in the codebase is for dynamic generation of these tests.
The counter point is that having a source of truth (even if a different language and tool) is worth it.
@deblasis wyt?

I'm not sure this is worth merging until this is implemented in golang...

I think developing both in parallel is helpful. The python "simulator" also helped me understand how RainTree works, so hopefully it'll help others.

In my mind, the main reason to bring this in the codebase is for dynamic generation of these tests.
The counter point is that having a source of truth (even if a different language and tool) is worth it.

I kind of see those points as supporting rather than counters.

Multiple implementations for validation
Python is a "simulator" while Golang is something that can function as part of a node
I already have some follow-up work on top of the python codebase to help us evaluate (theoretically) how RainTree will behave, and we can expand on it.
When we work with the research community, the python implementation will be easier to approach and understand.
Automatic test generation
I'm biased because I put a lot of effort into this 😅

Consensus is required if this is what we need to move forward on this issue. ^^

Sounds good. We can discuss next week as a team.

Multiple implementations for validation

This is always nice - but is this needed within the core repository? Can we link alternative validations in a README.md?

Python is a "simulator" while Golang is something that can function as part of a node

Exactly, that's why I'm not sure a 'simulator' is even necessary for the core repo

I already have some follow-up work on top of the python codebase to help us evaluate (theoretically) how RainTree will behave, and we can expand on it.

I'm also fearful of duplicating work when we are going to need the golang generator for the testing suite.

When we work with the research community, the python implementation will be easier to approach and understand.

This is a good pro for python - although I don't think golang is that intimidating to academics (in my experience)

Automatic test generation

Python can only do this is two processes - generate and run. Why golang we can embed scenarios and fuzzing directly in the package

I'm biased because I put a lot of effort into this 😅

While I sympathize :(, unfortunately I don't think this is a consideration at this time. Keep in mind I also put a ton of effort in the golang simulator that pre-existed the python one. (I'm not saying we should use the golang simulator either. We need a clean - V1 standard - library for raintree validation)
I’m very weary of bloating the codebase with a bunch of tooling especially when it’ll be deprecated by the golang generator.

Multiple implementations for validation

This is always nice - but is this needed within the core repository? Can we link alternative validations in a README.md?

Python is a "simulator" while Golang is something that can function as part of a node

Exactly, that's why I'm not sure a 'simulator' is even necessary for the core repo

I already have some follow-up work on top of the python codebase to help us evaluate (theoretically) how RainTree will behave, and we can expand on it.

I'm also fearful of duplicating work when we are going to need the golang generator for the testing suite.

When we work with the research community, the python implementation will be easier to approach and understand.

This is a good pro for python - although I don't think golang is that intimidating to academics (in my experience)

Automatic test generation

Python can only do this is two processes - generate and run. Why golang we can embed scenarios and fuzzing directly in the package

I'm biased because I put a lot of effort into this 😅

While I sympathize :(, unfortunately I don't think this is a consideration at this time. Keep in mind I also put a ton of effort in the golang simulator that pre-existed the python one. (I'm not saying we should use the golang simulator either. We need a clean - V1 standard - library for raintree validation)
I’m very weary of bloating the codebase with a bunch of tooling especially when it’ll be deprecated by the golang generator.

@andrewnguyen22 Your response makes sense.

Python has a lot of nice visualization libraries (e.g. such that the tree visualizer) and some things I used for benchmarking (not ready for review yet), but I can move those into a PR in the rain-tree-simulator library which lets us keep it as a reference + visualization purposes but not keep the code in here. Would that work?

I had originally scoped this task to simply fixing & reformatting the python simulator I had (which took a couple of days), but given other priorities and that this will need to be done from scratch, we will likely need to push it out at least at least a couple iterations out.

Re-opening this pull request. I'm going to update the documentation here and link to the other repo as a reference

@andrewnguyen22 I've opened up a PR here: https://github.com/pokt-network/rain-tree-sim/pull/2/files
This change is not just a link/pointer to avoid the "unit test generation" black box.


How to add Parameters on send message , i need to add UserId : String , message: String? , when create dic and send it in request invoke

Response Appeared :{"type":3,"invocationId":"1","error":"Failed to invoke 'SendMessage' due to an error on the server. InvalidDataException: Error binding arguments. Make sure that the types of the provided values match the types of the hub method being invoked."}
Request :   let params = ["toUser" : "ff93c9a5-a014-43d6-93e2-20952a300260" , "message" : self.msgTextField.text ?? "" ]
        self.chatHubConnection?.invoke(method: "SendMessage", params) { error in
                    if let e = error {
                        print("ServerError\(e)")
                    }
                }
        }

Does your hub method take an array? If not have you tried passing arguments as you would to a regular method?
self.chatHubConnection?.invoke(method: "SendMessage",  "ff93c9a5-a014-43d6-93e2-20952a300260", self.msgTextField.text) { error in
    if let e = error {
        print("ServerError\(e)")
    }
}

https://blog.3d-logic.com/2019/07/28/swift-client-for-the-asp-net-core-version-of-signalr-part-1-getting-started/

How to add array as parameter with different datatype like
let parameters = [
"UserId": 1,
"isOwner": true
]
@moozzyk

What are you trying to achieve? What you provided does not seem to be a valid use case or payload - it is neither a struct nor an array. How does your method on the server look like?
Also, this issue is closed and your question seems unrelated to the original issue. Ideally you should open a new issue and provide details.


No module named 'torch.fx'

use pytorch==1.6.0
run train.py
No module named 'torch.fx'

Could you be more specific of your question?

how did you correct it in the end? i meet the same problem!!!!


This is awesome!!

I've been playing with your project for a few hours. You really need to continue the research it's very promising ;-)
I want to "transport" a payload of JSON with your lib. I played with quiet.js but some things seems broken.
A few questions :

What are you using it for?
Do you have some docs so I can try different freqs and different speed of transmission?
Have you imagined something using checksums or anything else to guaranty the message?

Thx ;-)

Thanks man! I'm very happy that you like it - those kind of 'issues' on the GitHub are really motivating :D Please find answers for your questions below:

'What are you using it for?'
I'm using only pure JavaScript and Web Audio API without any other dependency. The goal is to use Phase Shift Keying modulation to send symbols between two machines. It is already working but performance is poor. I already started to rewriting core of the lib in order to move heavy computations to Web Workers. On multi core machines it would work much faster. It's still not finished - I only need to find some time to do it :)

'Do you have some docs so I can try different freqs and different speed of transmission?'
So far there is only some kind of developer sandbox here:
https://audio-network.rypula.pl/example/01-001-physical-layer-full/physical-layer-full.html
When I was testing some of the scenarios it looks like in theory it's possible to have speeds around 10 B/s (80 bits/s). That speed is enough to send keyboard keys in the real-time while typing. You could basically write text on the other machine without big delay.

'Have you imagined something using checksums or anything else to guaranty the message?'
Yes - in future. Entire v1.x is only about Physical Layer (like in OSI model). It will give you only packets with arrays of received symbols. In v2.x I'm planning to implement some kind of Ethernet frames (Data Link Layer) with SRC and DEST address and some basic checksum. It would return not symbols but real bytes. Every new major version of the lib would add new layer to the network stack. You can verify road map here: https://audio-network.rypula.pl/changelog.html

Recently I'm not working directly on the lib but it doesn't mean that the project is dead. Now I'm writing second part of the article about the project for polish Programista Magazine. First part was published on September 2016 (https://programistamag.pl/transmisja-danych-dzwiekiem-w-javascript-od-podstaw/). The plan is to translate it into English and publish on the page somewhere in 2017.
As you can see this project is still in very 'alpha' state. I treat current lib core more like as a proof of concept than some finished piece of code.
One question to you: How big JSON structures are you planning to send?
Thanks,
Robert

Hi,
I am using this library in my project. I have following doubts kindly clarify if possible.

Sometimes, data what I send in binary format will receive in wrong order. Due to this binary to text conversion is getting failed. I have crossed checked with binary to text converter in online what ever data is passed to convert its correctly converting. Actually data is received in wrong order by receiver. This is frequently happening when i tried with big text. its goes correct in order I have crossed checked in other online tools to convert string to binary.
Is there any way I can receive data faster because its receiving bit by bit. Can we make this process speed. If yes, kindly tell the process.
Kindly reply asap.
Thanks,
K Mohammad Mujahid

Hello,
Thanks for your question and sorry for ultra big delay. I's my hobby project and my time is limited. Please find answers below:

It's hard to tell if why this is happening. I think it could more more beacuse bits getting corrupted and you get just wrong bit instead of reversed order. Transmitter is buffering the data in the array and it's just picking it one by one. There is no chance that it will pick some bit in the middle.
In general existing solution that you can find in the npm package of Audio Network lib uses PSK modulation. I was pretty new to the DSP and was more learning than implementing some solution that I was 100% sure. I realized later that it could be written much better so I started rewriting whole PhysicalLayer. It not yet mentioned in on the website and not yet availabe as npm package. For more info please read my answer at the issue #3. In general existing solution will be soon deprecated and it's no longer maintained. It will be replaced by FSK modulation with better synchronization mechanism. My plan is to add it to the npm package in Fall 2017. Aditionally it will be more flexible and could be easly extended to use OFDM technique.

Thanks


Feature request: allow RecordingIndicatorEnabled to be explicitly set

When you enable mixed reality capture (PeerConnection.LocalVideoTrackSettings.enableMrc=true), the recording indicator is automatically enabled and appears in the HoloLens display as a flashing white video camera icon on a red background.
I believe the low level APIs allow the indicator to be independently enabled, e.g. search either of these for RecordingIndicatorEnabled:

external/webrtc-uwp-sdk/webrtc/xplatform/webrtc-apis/windows/wrapper/impl_webrtc_MRCVideoEffectDefinition.h
https://docs.microsoft.com/en-us/windows/mixed-reality/mixed-reality-capture-for-developers

I have confirmed in a simple Windows.Media.Capture.MediaCapture sample app that the indicator can be set on or off via the mrc video effect and am assuming that it would work in the context of WebRTC as well.
While this seems like a small thing, it is a requirement for us that the indicator be disabled.  This is one of the customizations we applied to the m62 build we have been using.  We would be prepared to do our own custom build of this project to disable it by default, but if it could be added as a configuration API option, completely analogous to LocalVideoTrackSettings.enableMRC, that would be fantastic.  We could then use the official NuGet packages without modification and our integration of WebRTC would become very simple.
I believe this would require API changes in webrtc-uwp-sdk to export that config option.  Is that potentially in scope for this project?

Hi @kspark-scott,
Yes that sounds a priori like the kind of thing we'd like to support. Do you have a time constraint for this feature?

Excellent news @djee-ms.  I just confirmed with the boss that we do not need this for Ignite (i.e. I wouldn't try to do the customized build just for this).  We are just finalizing a release now, so ideally this would be available for the next one -- we expect it to be our HL2 preview release -- which is tentatively in the late November, early December time frame.

The build is already running though 😅
NuGet packages should be out today. Turns out it was fairly quick and easy to integrate thanks to your pointers.

💯 (Couldn't find a "thunderous applause" emoji)

Fixed in 08e83d32d061894d5671e98efbdba3701f16a40f.


Add the versionFormat - detect_without_autoincrement

Hi @chiarnglin ,
It would be great to have the detect_without_autoincrement option that we have been using inside Azure Pipelines available on GitHub actions as well. In our model, we would want the team to set the application version manually during a sprint, rather than auto-setting it using a template.

https://github.com/ServiceNow/sncicd-publish-app/blob/d0227d08f3bf3184c18fada2a732a02a590a8da4/src/App.ts#L262
https://github.com/ServiceNow/sncicd-publish-app/blob/d0227d08f3bf3184c18fada2a732a02a590a8da4/lib/src/App.js#L249

https://github.com/ServiceNow/sncicd-publish-app/blob/d0227d08f3bf3184c18fada2a732a02a590a8da4/src/App.ts#L262
https://github.com/ServiceNow/sncicd-publish-app/blob/d0227d08f3bf3184c18fada2a732a02a590a8da4/lib/src/App.js#L249

I think the feature we're looking for is to provide a field for how many versions to auto increment in x, y, z, with default set to 0, 0, 0. That way, you can elect to not auto-increment if it doesn't fit your pipeline, or you can choose to sophisticated auto increment behaviors beyond just x.y.z+1

I think the feature we're looking for is to provide a field for how many versions to auto increment in x, y, z, with default set to 0, 0, 0. That way, you can elect to not auto-increment if it doesn't fit your pipeline, or you can choose to sophisticated auto increment behaviors beyond just x.y.z+1

I think the auto-increment is causing us issue because we are not publishing our app from DEV. We move the application to TEST using GIT Repo and its from TEST that we are publishing it. Which means, the auto-increment would always leave the app version in DEV out of sync. This could particularly cause an issue when a clone is done. Because during clone, whatever version is available on production is what is restored in DEV, while that version would have never existed in DEV. Its actually a matter of serious concern.

I think the auto-increment is causing us issue because we are not publishing our app from DEV. We move the application to TEST using GIT Repo and its from TEST that we are publishing it. Which means, the auto-increment would always leave the app version in DEV out of sync. This could particularly cause an issue when a clone is done. Because during clone, whatever version is available on production is what is restored in DEV, while that version would have never existed in DEV. Its actually a matter of serious concern.

Lemme see if I get this right

Dev: 1.2.3
Git repo after Source Control commit: 1.2.3
Test: 1.2.3, finish testing
Publish from test to App Repo using GitHub Action: 1.2.4
Test after publishing: 1.2.4
Stage/Prod install from App Repo: 1.2.4
7. Back to Dev: 1.2.3 is now out of sync with actual Prod 1.2.4?

Lemme see if I get this right

Dev: 1.2.3
Git repo after Source Control commit: 1.2.3
Test: 1.2.3, finish testing
Publish from test to App Repo using GitHub Action: 1.2.4
Test after publishing: 1.2.4
Stage/Prod install from App Repo: 1.2.4
7. Back to Dev: 1.2.3 is now out of sync with actual Prod 1.2.4?

Yes! You got it right!

Yes! You got it right!

@chiarnglin,
What I also did today was to clone the instance 905 (DEV in DPP) with 907 (ACC in DPP). I had an application which was in 4.0.1 version on ACC, which was copied over to DEV during clone. Since DEV didn't have 4.0.1, it picked a random version 1.0.7 in DEV.

@chiarnglin,
What I also did today was to clone the instance 905 (DEV in DPP) with 907 (ACC in DPP). I had an application which was in 4.0.1 version on ACC, which was copied over to DEV during clone. Since DEV didn't have 4.0.1, it picked a random version 1.0.7 in DEV.

@ramyaramdasan
Sorry for the delay, the cloning behavior you describe is definitely surprising and unexpected for developer users, and I agree this needed to be addressed. To get this fixed faster (and because I haven't heard of anyone specifically asking for auto-increment), I've simply removed the incrementing logic from the GitHub Action completely. I may need some help verifying the fix actually works as intended. Published as version 1.2.0.
https://github.com/ServiceNow/sncicd-publish-app/releases/tag/1.2.0 #


Add note to find_by instructions, use string

When using find_by query, using integer in the query hash value even when the field type in Contentful is integer doesn't work
days_in_returned_meals = ContentfulMeal.find_by(day:3).load.map(&:day)
=> [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 1, 3, 1, 3, 3, 3, 3, 3, 3, 1]
[34] pry(main)> count_of_returned_meals = days_in_returned_meals.count
=> 27

Using string returns what I want
[35] pry(main)> days_in_returned_meals = ContentfulMeal.find_by(day:"3").load.map(&:day)
=> [3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3]
[36] pry(main)> count_of_returned_meals = days_in_returned_meals.count
=> 24

count should be 24

field type for day is integer

Hey @goalaleo,
This looks to be a bug with a former release, please let me know which version you are using.
Using current master, I find it to work just fine
require 'contentful_model'

ContentfulModel.configure do |config|
  config.access_token = "fea8c6496cdfd56862f6b8e8649e47805cdc6a9bdfc474313442121f74e93005"
  config.space = "ld68u68xigco"
end

class Test < ContentfulModel::Base
  self.content_type_id = 'test'
end

puts "find_by with integer: Should return Wednesday"
puts Test.find_by(day_of_week: 4).load.map { |e| "#{e.name} - #{e.day_of_week}" }

puts "find_by with string: Should return Tuesday"
puts Test.find_by(day_of_week: '3').load.map { |e| "#{e.name} - #{e.day_of_week}" }

puts "raw query with integer: Should return Monday"
puts Test.params('fields.dayOfWeek' => 2).load.map { |e| "#{e.name} - #{e.day_of_week}" }

puts "raw query with string: Should return Friday"
puts Test.params('fields.dayOfWeek' => '6').load.map { |e| "#{e.name} - #{e.day_of_week}" }

puts "All entries"
puts Test.load.map { |e| "#{e.name} - #{e.day_of_week}" }

Output:
davemac@davemac models_47 :) $ bundle exec ruby test.rb
find_by with integer: Should return Wednesday
Wednesday - 4
find_by with string: Should return Tuesday, and does
Tuesday - 3
raw query with integer: Should return Monday, and does
Monday - 2
raw query with string: Should return Friday, and does
Friday - 6
All entries
Tuesday - 3
Wednesday - 4
Sunday - 1
Saturday - 7
Monday - 2
Friday - 6
Thursday - 5

Please let me know if this helps
Cheers

I will close the PR, but we can re-open if continue to find this is true
Cheers

Hi,
I looked at one of my commits from 19. October, and you seem to be right.
The gem version used was contentful_model (<IP_ADDRESS>). I'm currently using the
newest 0.2.0version, and this bug seems to be fixed:
[3] pry(main)> ContentfulMeal.find_by(day: 3).load.count
=> 24
[4] pry(main)> ContentfulMeal.find_by(day: "3").load.count
=> 24


Make strict optional and remove its default usage from the readme example

Could someone take a look at this PR?


Carbon::now()->format(H:i:s) fetch time from server cache

Carbon method fetch server previous time during 5 minutes interval in cron.
Example: my cron hit after every 5 minutes. i was assigning file_name with carbon::now()->format(H:i:s)  method.
But when again cron hit carbon method method fetch previous time not current time and seconds.

Hi there,
Welcome to Laravel and we are glad to have you as part of the community.
Unfortunately this GitHub area is not a support area for general application issues. This is only for issues/bugs with the framework code itself.
Can I suggest closing your issue ticket here? Instead try asking your question on one of the many great community support areas that will likely give you a better answer more quickly:

Laravel Slack (https://larachat.co/)
Laravel.io Forum (https://laravel.io/forum)
Laracasts Forum (https://laracasts.com/discuss)
StackOverflow (http://stackoverflow.com/questions/tagged/laravel)

Thanks in advance.


Adding docker images to match

Thank you for contributing to Homarr! So that your Pull Request can be handled effectively, please populate the following fields (delete sections that are not applicable)
Category

One of: Feature

Overview

Add a number of high usage docker images to match the type of service to

Issue Number (if applicable)

N/A

New Vars (if applicable)

N/A

Screenshot (if applicable)

N/A

Just a quick comment, did you manually order the imports alphabetically or does your ide do that on purpose ?
I only add dependencies by typing the name and then pressing enter so it auto appends it in the import statement
Other than that great work ! 👍🏼 This should improve matching a lot

Will merge tomorrow on desktop because you've selected the master branch as target

Ahh the alphabetical thing was my habits, happy to change it back if you think it will be an issue?

Ahh the alphabetical thing was my habits, happy to change it back if you think it will be an issue?

It's not i was just curious if some tools did it for you


commit

issue number #247

added concatenatedword program in C++

@Ayan-thecodeking add the issue number

@Ayan-thecodeking there is no file

@Ayan-thecodeking there is no file

so s0rry...now please check again


[test] 无法访问网站

2211
is
网站挂了

Currently at actions-cool/issue-helper. And this is default comment.

Currently at actions-cool/issue-helper. And this is default comment.

Currently at actions-cool/issue-helper. And this is default comment.

Currently at actions-cool/issue-helper. And this is default comment.

Currently at actions-cool/issue-helper. And this is default comment.

Currently at actions-cool/issue-helper.


Move transaction attribute to transaction builder function

transaction attribute fields in sdk/sdk.go could be moved to transaction builder functions in core/transaction/TransactionBuilder.go

fixed


[BEAM-12763] Remove redundant build from copy path in copyJavaThirdPartyLicenses rule

Without this change a redundant /build/ appears on the copy path, leading to the rule doing nothing.
Before, after clearing sdks/java/container/build and sdks/java/container/java8/build.
> Task :sdks:java:container:java8:copyJavaThirdPartyLicenses NO-SOURCE
file or directory '/home/rebo/git/src/github.com/apache/beam/sdks/java/container/build/build/target/third_party_licenses', not found
Skipping task ':sdks:java:container:java8:copyJavaThirdPartyLicenses' as it has no source files and no previous output files.
:sdks:java:container:java8:copyJavaThirdPartyLicenses (Thread[Execution worker for ':',5,main]) completed. Took 0.0 secs.
:sdks:java:container:java8:dockerPrepare (Thread[Execution worker for ':',5,main]) started.

The job then fails to build the Dockerfile.
Step 13/18 : ADD target/third_party_licenses /opt/apache/beam/third_party_licenses/
ADD failed: stat /var/lib/docker/tmp/docker-builder213254890/target/third_party_licenses: no such file or directory

However, a subsequent run succeeds but still produces the same error:
> Task :sdks:java:container:java8:copyJavaThirdPartyLicenses NO-SOURCE
file or directory '/home/rebo/git/src/github.com/apache/beam/sdks/java/container/build/build/target/third_party_licenses', not found
Skipping task ':sdks:java:container:java8:copyJavaThirdPartyLicenses' as it has no source files and no previous output files.
:sdks:java:container:java8:copyJavaThirdPartyLicenses (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.0 secs.
:sdks:java:container:java8:copyLicenses (Thread[Execution worker for ':' Thread 3,5,main]) started.

It's not clear why the 2nd run succeeds at all, or how the license files are making it the second time around, however, this PR resolves the issue immeadiately.
After the fix in this PR, the rule produces the following
> Task :sdks:java:container:java8:copyJavaThirdPartyLicenses
Caching disabled for task ':sdks:java:container:java8:copyJavaThirdPartyLicenses' because:
  Caching has not been enabled for the task
Task ':sdks:java:container:java8:copyJavaThirdPartyLicenses' is not up-to-date because:
  No history is available.
Watching 12568 directories to track changes
Watching 12859 directories to track changes
:sdks:java:container:java8:copyJavaThirdPartyLicenses (Thread[Execution worker for ':' Thread 3,5,main]) completed. Took 0.341 secs.
:sdks:java:container:java8:copyDockerfileDependencies (Thread[Execution worker for ':' Thread 3,5,main]) started.

and the Dockerfile succeeds on the first try.

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[ ] Choose reviewer(s) and mention them in a comment (R: @username).
[ ] Format the pull request title like [BEAM-XXX] Fixes bug in ApproximateQuantiles, where you replace BEAM-XXX with the appropriate JIRA issue, if applicable. This will automatically link the pull request to the issue.
[ ] Update CHANGES.md with noteworthy changes.
[ ] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.

GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

This PR is fixing an issue that occurs when building a container with a clean docker cache. So if you follow these steps you can probably replicate it:

Delete sdks/java/container/build and sdks/java/container/java8/build. (You might have to avoid some read-only directories, just delete everything else)
Run ./gradlew -Pdocker-pull-licenses :sdks:java:container:java8:docker. It should fail with a complaint about a missing third_party_license directory.
Run the same command again. It should work this time.

The specific error that it fails with is:
Step 13/18 : ADD target/third_party_licenses /opt/apache/beam/third_party_licenses/
[...]
ADD failed: stat /var/lib/docker/tmp/docker-builder099525146/target/third_party_licenses: no such file or directory

I can confirm that making this change fixes the issue on my machine at least.


Possible solution to issue #1

Hello @sindresorhus!
I saw issues #1 , and I tried to solve it. At first I tried to use the prototype to change the toString () method, but after a few hours, I came up with this solution.
I hope this is what you are looking for with #1.

Also, it doesn't seem like it does what's mentioned in https://github.com/sindresorhus/mimic-fn/issues/1#issuecomment-255179247.

Hello @kevva,
Thank you for the directions.
I thought the output would be something like this:
/* function wrapper () {
     return foo () {};
} */
function foo () {}

but now I realize that output should be something like this:
/* [wrapped with function foo() {}] */
right?

but now I realize that output should be something like this:
/* [wrapped with function foo() {}] */

Almost. It should be: /* [wrapped with foo()] */

Actually, let's just make it:
/* Wrapped with foo() */

Closing for lack of activity. Open a new PR if you're still interested in finishing this.


net/frr: Add FRR profile selection (defaults directive)

closes #2124

can you revert the last one? It will go into 1.20, I already have a PR open and we add it afterwards.

Merge now, fix changelog later?

On 13. Dec 2020, at 07:39, Michael<EMAIL_ADDRESS>wrote:

@mimugmail approved this pull request.
Tested the patch here, looks good :)
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub, or unsubscribe.

Yes, last commit should go into 1.20 section recently merged. Thx

Merged, thanks ❤


SCRUM - pipeline_annotations:: downloadDistiLD messy output

currently the downloadDistiLD function separately downloads the two annotation files for GWAS SNPs and HapMap LD blocks with assigned SNPs and gene annotations.  The function uses the log file as the outfile.  The next function, buildDistiLDTracks then snips off the log file suffix to separately convert the SNP file and LD block file.  The multiple files should be handled by ruffus and allow the explicit passing of multiple input files to buildDistiLDTracks.

Resolved many moons ago.


Tensorflow-GPU on Docker freezes after calling tf.Session()

System information

Have I written custom code: No
OS Platform and Distribution : Centos 7 and Ubuntu 16.04 running Nvidia-docker
TensorFlow installed from (source or binary): pip install tensorflow-gpu
TensorFlow version: all versions from 1.6 to 1.9
Python version: both 2.7 and 3.4
CUDA/cuDNN version: nvidia/cuda:9.0-cudnn7-devel-ubuntu16.04 (On Centos 9.1/7.1.3, On Ubuntu driver only)
Exact command to reproduce:
>>import tensorflow as tf
>>sess = tf.Session()
Run on native pip:
I have successfully built tensorflow outside docker and it run properly
Bazel version: N/A
GPU model and memory: GTX 745/ 4GB
Mobile device: N/A

Describe the problem
Hi, i am struggling with the problem of using tensorflow inside nvidia-docker. I have successfully installed nvidia-docker and tested with nvidia-smi.
I used the docker image from nvidia, it works on Ubuntu but in Centos, whenever it runs tf.Session for both files or intepreter (type in python in terminal) it stucks even if I interupted by Control+C, Control+Z. The only way to get out is close the terminal window.
It seems that there are some problems with stdout.
Same problems:
https://stackoverflow.com/questions/45068455/tensorflow-app-freezes-in-docker-container
https://github.com/tensorflow/tensorflow/issues/1947
Thanks in advance!

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Bazel version
GPU model and memory
Mobile device

@tensorflowbutler updated already

IPlease keep in mind that the TensorFlow GitHub Issues page is for tracking bugs and feature requests. It is not a way to escalate a Stack Overflow support question that is not getting enough attention. Thanks!
It seems the issue is resolved at Stack Overflow. Can you please close this bug?

I have the same problem.
I have 2 1070 ti gpu.
ubuntu 18
when I use tensorflow to check gpus it freeze, no matter I am in docker or I directly run on system.

I updated the GPU driver and the problem vanished!

It has been 14 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 29 days with no activity and the awaiting response label was assigned. Is this still an issue?

It has been 44 days with no activity and the awaiting response label was assigned. Is this still an issue?

We are closing this issue for now due to lack of activity. Please comment if this is still an issue for you. Thanks!


Issue reporter does nothing when "Create on GitHub" is pressed

Does this issue occur when all extensions are disabled?: Yes

VS Code Version:
1.60.2
OS Version:
Windows 11 x64 22000

Steps to Reproduce:

Help -> Report Issue
Fill out the report as shown:

Click "Create on GitHub"
(nothing happens)

Signing out and signing back in does not fix the already-open issue reporter, and the already-open issue reporter has captured information about my extension bisect that I lose when I close it (the bisect is how I ended up in the Issue Reporter). Also when I close and re-open the Issue Reporter, the extension is disabled (automatically, as a result of it being the culprit that the extension bisect discovered). So, this workaround isn't ideal and it might be the case that bug reports are just not getting filed by the extension bisect tool (which is fantastic, btw).

@0xabu was unable to reproduce on 1.84.2


A calculator feature

I noticed that several channels on the Discord could use a simple calculator as those classes are heavier in math. What specific features and functionality would you like to see?

A simple expression evaluator is a good place to start, something that can do things like
1 + 4(3/2)
we can start thinking about other things after that

Closed in #96


Add aliases to etcd-snapshot s3 flags for parity with k3s server

Is your feature request related to a problem? Please describe.

Describe the solution you'd like

Add aliases for all etcd-snapshot flags that do not have the etcd -prefix. Achieve flag parity with k3s server s3 commands
Describe alternatives you've considered

Additional context

The original etcd-snapshot command flags where shortened to make CLI more convenient and prevented the user from typing "etcd" over and over again.
Backporting

[X] Needs backporting to engine-1.21, release-1.22, release-1.21.

Validated using commit id from master branch: d71b3358714711c2f95bc6cc6020320b6f6e5f0f. Snapshot was created successfully in s3 bucket as well as locally. All params were prefixed with etcd
$ k3s -v
k3s version v1.22.4+k3s-d71b3358
$ sudo k3s etcd-snapshot  --etcd-s3  --etcd-s3-bucket=<bucket>  --etcd-s3-access-key=<key>    --etcd-s3-secret-key=<secret> --etcd-s3-region=<region>


Get appeal document uploader step in line with prototype.

It was decided after user research to place the letter checkboxes above the dropzone area
and to have the other checkbox (problems uploading) below the dropzone area.
Markup changes and styling to support this without having nested forms.

:+1:


[ace] Add support for MacOSX

[ace] Add support for compilation on MacOSX

Which triplets are supported/not supported? Have you updated the CI baseline?

ace:x64-osx should now be supported

Awesome, thanks for the PR!


CLOUD-49027 Fix Uluwatu buttons depends on write permissions

@akanto plz review

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2217/

Jenkins build finished, all tests passed.
Refer to this link for build results: http://ci.sequenceiq.com/job/cloudbreak-pull-request/2218/


Keep the date up-to-date

The time stamp on the article does not indicate there were changes.
Currently, it shows

when the article was edited 18 days ago

Keeping the dates accurate helps with identifying wherever changes took place or not. Thank you.

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

ID: 83542ba8-dadd-aa43-7416-168b560ee554
Version Independent ID: c77925cc-eb92-f67c-bc09-441cba18f3d0
Content: Manage and find data on Azure Blob Storage with Blob Index (Preview)
Content Source: articles/storage/blobs/storage-manage-find-blobs.md
Service: storage
Sub-service: common
GitHub Login: @mhopkins-msft
Microsoft Alias: mhopkins

@SeanFeldman Thanks for reporting this. I have assigned the issue to the content author to investigate further and update the document as appropriate.

@SeanFeldman Thanks for reporting this. I went ahead and updated the date because several updates have been made since April.
Just so you're aware, we only change this date when significant updates have been made to an article. So, I wouldn't necessarily expect it to match the latest commit.
Thanks again for letting us know,
~ Mark

Is there an ETA of when Blob Index feature will be generally available?


xtensor-zarr: test both flat and nested cases across versions

This PR updates the xtensor-zarr data generation program to test both flat and nested (dimension_separator = "." and "/") formats for zarr-v2 and zarr-v3.
cc @davidbrochart : please check that the C++ style looks reasonable to you

@grlee77 that looks great, thanks!


Unable to add tools to floating toolbar

Filament Version
v3.1.33
Plugin Version
v3.2.20
PHP Version
PHP 8.2.10
Problem description
I am unable to add some tools to the floating toolbar. For example, I have added link via the config file and tried adding it to the singular instance on the form but it does not render a link button in the floating toolbar. It is visible in the fixed toolbar at the top and there are no errors or warnings in the console.
I have another question as well. Can we hide the right side of the top toolbar? The section with the undo/redo/fullscreen buttons? I do not want them.
Expected behavior
I expected a link modal to render that would allow me to input link details. Or inject the relevant UI/styles for typography. The only tools that worked are the ones that are there by default. I can add and remove the grid tool to the floating toolbar but not link or heading or bulleted-list.
Steps to reproduce
Open the config file and set the floating_menu_tools array to ['link', 'heading'] and, if unsuccessful, will not see any buttons rendered in the floating menu.
Reproduction repository
No response
Relevant log output
No response

Yea. There's an issue with them at the moment.
Personally I wouldn't use an inline element like a link in the floating menu though as it only shows on new lines with no content.
But I'm working on it.


Zkppsnark implementation

zkppsnark implementation
zp_ipa_pc added
coresponding fixes

tests: cargo t zk_tests

Where are the tests?
sudo cargo test --lib -- provider::zk_ipa_pc::test::test_multiple_polynomial_size --nocapture
I see the one above. How are you checking ppzksnark, etc?
If a random dev were to come they would first run sudo cargo test --lib -- --list and see what tests there are.
Or posting the tests that you ran on the PR is super helpful.
Thanks!

Where are the tests?
sudo cargo test --lib -- provider::zk_ipa_pc::test::test_multiple_polynomial_size --nocapture
I see the one above. How are you checking ppzksnark, etc? If a random dev were to come they would first run sudo cargo test --lib -- --list and see what tests there are. Or posting the tests that you ran on the PR is super helpful.
Thanks!

Specific tests for the PR can be run using sudo cargo test zk_tests


chore(main): release 1.15.4

:robot: I have created a release beep boop
1.15.4 (2023-09-25)
Bug Fixes

do not create deutschland tour event on deploy (5524957)

Miscellaneous Chores

stabilize flakey test failing on single quote in name (75e6e52)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/rotex1800/registration/releases/tag/v1.15.4 :sunflower:


Setting format doesn't work

If you set the format, the internal format parameter will be manipulated. However, the path is not affected by that change.

Hey, as said in #8, I am not using this package anymore, but will certainly merge any tested pull request. Thanks


Multiple Choice Exercises in Ines Template have no "Hint"

I've written the Hint explicitly before the options.

Flor will delete hints


Please include support windows 10 on verify VBA signatutes

Today i tried to enable security setting in gpo under
User Configuration\Administrative Templates\Microsoft Office 2016\Security Settings\Trust Center
policy setting is "set the minimum operating system for verifying agile VBA signatures", i tried to enable , but windows 10 os option is not available ,but only Four os are there namely:
windows xp
windows vista
windows 7
windows 8
Thanking  you for your content

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

ID: 047d2b74-e963-a006-cb74-29257c409647
Version Independent ID: 4f274c79-18ae-2c36-19a3-cfb73d7e6cf3
Content: Privacy options in Office 2016
Content Source: DeployOffice/security/privacy-options-in-office.md
Service: o365-proplus-itpro
GitHub Login: @DHB-MSFT
Microsoft Alias: danbrown

I'm investigating/checking.

I will close this issue as it is not directly related to a documentation issue. Feel free to post to TechCommunity on any issues.


kotlin plugin Version up 1.3.31 to 1.3.40

Measures
kotlin plugin Version up 1.3.31 to 1.3.40
reference
https://github.com/JetBrains/kotlin/blob/1.3.40/ChangeLog.md
https://blog.jetbrains.com/kotlin/2019/06/kotlin-1-3-40-released/

@russhwolf I guess this can be closed now that this repo moved to 1.3.41 :)

Yeah, seems like it can. I'm not a repository owner here but maybe one of the Jetbrains folks can do it @ilmat192 @olonho


Thub update

introduced .env.local file in /mnt/hdd/app-data/thunderhub to persist on updates as discussed with @apotdevin
update to v0.8.4
change password when Password_B is changed

Thanks for the quick change ⚡


METAL-925: Add requirements placeholders for cachito

/lgtm

/retest
this change definitely does not influence the CI jobs
I'm retesting one time before overriding

besides openshift-ironic-agent-image-main-e2e-metal-ipi-serial-ipv4 the other 2 tests completed deployment
overriding all the jobs

/override ci/prow/e2e-metal-ipi-ovn-dualstack ci/prow/e2e-metal-ipi-serial-ipv4 ci/prow/e2e-metal-ipi-virtualmedia


[webdav] filer: no entry is found in filer store with percona XtraDB Cluster

Describe the bug
run for i in {1..100};do curl -v -XPUT -T ok http://<IP_ADDRESS>:7333/webdav/test_3_ok_new_$i; done > /tmp/curl_test_3_ok_new 2>&1
grep
grep -B 10 405 /tmp/curl_test_3_ok_new
> PUT /webdav/test_3_ok_new_11 HTTP/1.1
> Host: <IP_ADDRESS>:7333
> User-Agent: curl/7.61.1
> Accept: */*
> Content-Length: 3
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
} [3 bytes data]
* We are completely uploaded and fine
< HTTP/1.1 405 Method Not Allowed
--
> PUT /webdav/test_3_ok_new_84 HTTP/1.1
> Host: <IP_ADDRESS>:7333
> User-Agent: curl/7.61.1
> Accept: */*
> Content-Length: 3
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
} [3 bytes data]
* We are completely uploaded and fine
< HTTP/1.1 405 Method Not Allowed
--
> PUT /webdav/test_3_ok_new_86 HTTP/1.1
> Host: <IP_ADDRESS>:7333
> User-Agent: curl/7.61.1
> Accept: */*
> Content-Length: 3
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
} [3 bytes data]
* We are completely uploaded and fine
< HTTP/1.1 405 Method Not Allowed

webdav logs:
I1121 08:51:57.268557 webdav_server.go:211 WebDavFileSystem.OpenFile /webdav/test_3_ok_new_11 242
I1121 08:51:57.270483 filer_client.go:42 read /webdav/test_3_ok_new_11 <nil>: filer: no entry is found in filer store
I1121 08:51:57.276002 webdav_server.go:424 WebDavFileSystem.Write /webdav/test_3_ok_new_11
I1121 08:51:57.277242 filer_client.go:42 read /webdav/test_3_ok_new_11 <nil>: filer: no entry is found in filer store
I1121 08:51:57.277269 webdav_server.go:434 WebDavFileSystem.Write GetEntry <nil>: filer: no entry is found in filer store
I1121 08:51:57.277282 webdav_server.go:628 WebDavFile.Stat /webdav/test_3_ok_new_11
I1121 08:51:57.278120 filer_client.go:42 read /webdav/test_3_ok_new_11 <nil>: filer: no entry is found in filer store
I1121 08:51:57.278163 webdav_server.go:508 WebDavFileSystem.Close /webdav/test_3_ok_new_11

System Setup
3.59
pxc + proxysql

mysql_servers =
(
	{
		address = "<IP_ADDRESS>"
		port = 3306
		hostgroup = 0
		status = "ONLINE"
		weight = 1
		compression = 0
		max_replication_lag = 0
	},
	{
		address = "<IP_ADDRESS>"
		port = 3306
		hostgroup = 0
		status = "ONLINE"
		weight = 1
		compression = 0
		max_replication_lag = 0
	},
	{
		address = "<IP_ADDRESS>"
		port = 3306
		hostgroup = 0
		status = "ONLINE"
		weight = 1
		compression = 0
		max_replication_lag = 0
	}
)

filer.toml:
[mysql2]
enabled = true
createTable = """
  CREATE TABLE IF NOT EXISTS `%s` (
    `dirhash`   BIGINT NOT NULL,
    `name`      VARCHAR(766) NOT NULL,
    `directory` TEXT NOT NULL,
    `meta`      LONGBLOB,
    PRIMARY KEY (`dirhash`, `name`)
  ) DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_bin;
"""
hostname = "<IP_ADDRESS>"
port = 6033
username = "seaweedfs"
password = "pass"
database = "seaweedfs"
connection_max_idle = 100
connection_max_open = 100
connection_max_lifetime_seconds = 600
interpolateParams = true

Is this a synchronization issue for mysql cluster?

Is this a synchronization issue for mysql cluster?

Perhaps, although it is stated that all replicas are synchronous. If you connect to only one replica of the database, then there is no problem.

Another option is that requests to create and get  Entry run simultaneously.

UPDATE: I’ve also changed the term “synchronous” (which the use of is inaccurate and misleading) to “virtually synchronous.” This term is more accurate and already used by both technologies’ founders, and should be less misleading.

Galera delivers write transactions synchronously to ALL nodes in the cluster. (Later, applying happens asynchronously in both technologies.)

https://www.percona.com/blog/battle-for-synchronous-replication-in-mysql-galera-vs-group-replication/

https://docs.percona.com/percona-xtradb-cluster/8.0/wsrep-system-index.html#wsrep_slave_threads
The problem was solved after setting wsrep_slave_threads = 1


Error in MatchRequest with GeometriesGeoJson

Hello,
I am trying to execute a MatchRequest using the following parameters:

Profile: "car",
Coordinates: osrm.NewGeometryFromPointSet(*points),
Timestamps:  timestamps,
Radiuses:	 accuracy,
Annotations: osrm.AnnotationsNodes,
Overview:    osrm.OverviewFull,
Geometries:  osrm.GeometriesGeojson,

This results in the following error:

json: cannot unmarshal object into Go struct field Matching.geometry of type geo.PointSet

When I try with osrm.GeometriesPolyline6, the request works fine. For now I only care about the Matching.Geometry part of the response, but I am wondering what information I may be losing by making this switch.
Thanks

Hi @amehta1128, thanks for reporting the issue!
I don't think any information is lost when using "polyline6" vs "geojson" (according to OSRM docs it would be smth like {"type": "LineString", "coordinates": [[120.0, 10.0], [120.1, 10.0], [120.2, 10.0], [120.3, 10.0]]} instead of polyline, i.e. points only, no extra info).
But this definitely needs to be fixed (I think we'll be able to do it soon).

Should be fixed now


how to

--Hi,
your tool is a fascinating job and i want to know how you find all the soluces ?
Which is the mathematical method ?
thank you --

I wrote a solution in 'C++'.
You just try every piece in every position until they all fit in.
Potentially 8 nested for loops, but in reality just one recursive function.
Colin.
At 09:44 04/12/2023, you wrote:

--Hi,
your tool is a fascinating job and i want to
know how you find all the soluces ?
Which is the mathematical method ?
thank you --

Reply to this email directly,
https://github.com/keiichiw/a-puzzle-a-day-solver/issues/15view
it on GitHub, or
https://github.com/notifications/unsubscribe-auth/AEGO7ZQX3SDYRZ7JTXROMCTYHWLRPAVCNFSM6AAAAABAFVN3EWVHI2DSMVQWIX3LMV43ASLTON2WKOZSGAZDGNBSG42DMMAunsubscribe.
You are receiving this because you are
subscribed to this thread.Message ID:
@.***>

Hey
Would it be possible for you to adjust the code and try to find all possible placement for one day? I am solving this puzzle, one day per day and I found 3 different solution for 4th of January and then I went googling if anyone has the list of all solutions and found your page with 4th version of 4th of January
BR

Hello,
I am sorry to say that I don't remember where I made this posting.
The program written by keiichiw in the Rust
language does list every possible solution for a given day.
I know this because I wrote my own program in
C/C++ which does exactly this, and I wrote some
Perl to compare the results of each program for
every one of the 372 (12x31) possible days.
The only difference was the order they were produced.
My program also produces an analysis, here it is for 5th January:
Analysis of 83 solutions for month 1 day 5
2 solutions with 0 flips
6 solutions with 1 flips
34 solutions with 2 flips
23 solutions with 3 flips
16 solutions with 4 flips
2 solutions with 5 flips
Piece 1 is flipped in 46 solutions
Piece 2 is flipped in 55 solutions
Piece 3 is flipped in 50 solutions
Piece 6 is flipped in 51 solutions
Piece 7 is flipped in 15 solutions
Best Wishes,
Colin.
At 18:06 05/01/2024, you wrote:

Hey
Would it be possible for you to adjust the code
and try to find all possible placement for one
day? I am solving this puzzle, one day per day
and I found 3 different solution for 4th of
January and then I went googling if anyone has
the list of all solutions and found your page
with 4th version of 4th of January
BR

Reply to this email directly,
https://github.com/keiichiw/a-puzzle-a-day-solver/issues/15#issuecomment-1879069957view
it on GitHub, or
https://github.com/notifications/unsubscribe-auth/AEGO7ZVYNRQBPGSLRM5RDCTYNA6KTAVCNFSM6AAAAABAFVN3EWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQNZZGA3DSOJVG4unsubscribe.
You are receiving this because you
commented.Message ID:
@.***>


Add BADGE_DOMAIN env

That points to our https://badge.buildkite.com.
This will fix the svg not showing on our status badges page.

This seems like a worthwhile change, but does the CSP policy definitely explain why those SVGs aren't loading?
Our CSP is set to "report only", so my understanding is that it shouldn't be blocking images from loading.
#706 is a related issue.

The CSP error mentioned in #706 is fixed in #720.
Current production has no CSP error ✌ ✨

Somehow on production right now we don‘t have this BADGE_DOMAIN env:
<%= image_tag "#{ENV["BADGE_DOMAIN"]}/sample.svg?status=passing" %>

ENV["BADGE_DOMAIN"] is nil so they tried to load from /sample.svg.
The CSP policy is needed because loading images from a subdomain budget.buildkite.com is not included in current img_src:
policy.img_src     :self, 'https://buildkiteassets.com/', 'https://buildkite.com/', Matomo::URL

We could also change the existing one to *.buildkite.com. I‘m fine with both, but slightly preferred to be specific 😄

Thank you so much @JuanitoFatas!


Directional Vectors

Dear Authors,
Can you please verify and confirm if there is a bug?
Tensor after grouping: torch.Size([32, 3, 512, 32]) after Line
After ball querying around an anchor point, the sampled neighborhood points are:
[[-0.43345895  1.0695219   0.23178683]
[-0.4364147   1.1959834   0.3461398 ]
[-0.32737926  1.2161976   0.20860705]
[-0.37404662  1.2161976   0.15377748]
[-0.44473666  1.1490581   0.12246026]
[-0.45984167  1.2161976   0.13207951]
[-0.43345895  1.1510899   0.29191628]
[-0.43345895  1.1312102   0.2010018 ]
[-0.46045053  1.2161976   0.21825439]
[-0.39841616  1.2161976   0.28159994]
[-0.41827857  1.2161976   0.18159038]
[-0.43345895  1.0695219   0.23178683]
[-0.43345895  1.0695219   0.23178683]
[-0.43345895  1.0695219   0.23178683]
...
[-0.43345895  1.0695219   0.23178683]]
However, once the anchor points are subtracted from these neighbor points (to get directional vectors). After Line the directional vectors are as follows.
[[ 0.02699158 -0.1466757   0.01353244]
[ 0.02403584 -0.0202142   0.1278854 ]
[ 0.13307127  0.         -0.00964734]
[ 0.08640391  0.         -0.06447691]
[ 0.01571387 -0.06713951 -0.09579413]
[ 0.00060886  0.         -0.08617488]
[ 0.02699158 -0.0651077   0.07366189]
[ 0.02699158 -0.0849874  -0.01725259]
[ 0.          0.          0.        ]
[ 0.06203437  0.          0.06334555]
[ 0.04217196  0.         -0.03666401]
[ 0.02699158 -0.1466757   0.01353244]
[ 0.02699158 -0.1466757   0.01353244]
[ 0.02699158 -0.1466757   0.01353244]
...
[ 0.02699158 -0.1466757   0.01353244]]
Though the anchor point was [-0.43345895  1.0695219   0.23178683] instead, another point  [-0.46045053  1.2161976   0.21825439] was used to subtract.
P.S: This behavior is not seen for the first anchor point.
Please check.
Thanks and Regards,
Shivanand

Hi Authors,
Can you please check this?
Thanks in Advance

@yuchenlichuck Can you please check this issue?

could you make your example shorter? It would be easier for me to understand. Could you try just five points. and make the line you are referring to bold.

In the description above, I am using only one anchor point and its neighborhood points (nsample=32).
I have shorted my problem statement by half now. Please check.

@sheshap Yes, I had a similar problem with the Ball_Query module. I printed the Neigh_idx and found that the index of the anchor point is many times not the first (Neigh_idx[0]), but the second or third (Neigh_idx[1] or Neigh_idx[2])). This leads to the use of incorrect anchor coordinates when finding relative coordinates. Fortunately, however, the indexes of all points except the anchor point are still in ascending order of distance, so even if the incorrect anchor point is used, the deviation of coordinates is not too big.
In order to use the correct anchor coordinates, my solution at that time was to splice the anchor indexes directly before  Neigh_idx in addition to the anchor indexes. This can ensure that the index of the anchor point must be the first index.

@ZhengGongzi Thanks for your input. Would your approach still give the reported accuracy in the paper?

@sheshap I only used the ball query module in my experiments. I verified the module and my experiments concluded that the neighborhood index is correct, except that the anchor point index is not always in the first position, which I suspect is related to some underlying mechanism of the .cu file. I think this is easy to handle, because the anchor coordinates are available, just make sure you can subtract the correct anchor coordinates, and the ordering of the points shouldn't have an effect on the results.

@ZhengGongzi I see what you are mentioning. The problem here is are we repeating the right anchor point? and then subtract it from neighborhood points. In the above example it is not the case. I don't mind where the anchor point is but if we do not use right anchor point to subtract then we are having incorrect directional vectors representing a given neighborhood.

Thanks for the observations and solutions.


[BUG/ISSUE] Menu shouldn't continue selected if closed

Before submitting the issue

[X] I have checked that the bug is not a duplicate or, if it is, it needs to be reopened
[X] I have checked that I am running the latest version of WingetUI
[X] I have tried resetting and reinstalling WingetUI and the issue persisted or happened again
[X] I have checked the FAQ section for solutions

Describe the bug
The ... menu shouldn't be selected if you click away from it. I believe the current section title should automatically be selected when the ... menu is closed (except if you click in another section title)
To Reproduce
Steps to reproduce the behavior:

Go to any section
Click on the .... menu
Close the menu (by clicking elsewhere)
Menu will continue selected

Screenshots

Obs: I believe the menu should continue selected only when options/logs/about section is open:

Edit: I've added an observation

@martinet101 This issue is somewhat useless. I think there's no need to fix it if you believe it's time-consuming/not worth it. Maybe it would be simpler to just unselect the menu if its context menu is closed

I don't know, I'll see if it can be fixed easily

Fixed!