Redirect

Docs Build status updates of commit 41f7362:
:clock10: Full build: the average full build time is 72 min(s) 15 sec(s), this is based on the last 330 build(s) for this repository.

Docs Build status updates of commit 41f7362:
:warning: Validation status: warnings

File
Status
Preview URL
Details

.openpublishing.redirection.json
:warning:Warning

Details

docfx.json
:white_check_mark:Succeeded

docs-ref-autogen/com.microsoft.azure.cognitiveservices.language.luis.authoring.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.language.textanalytics.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.search.newssearch.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.search.videosearch.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.vision.computervision.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.vision.contentmoderator.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.vision.customvision.prediction.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.vision.customvision.training.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cognitiveservices.vision.faceapi.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cosmosdb.BridgeInternal.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.cosmosdb.DocumentClientException.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.keyvault.requests.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.appservice.AppServiceCertificate.DefinitionStages.WithGroup.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.appservice.AppServicePlan.DefinitionStages.WithGroup.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.appservice.DeploymentSlot.Update.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.appservice.FunctionApp.DefinitionStages.WithCreate.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.appservice.FunctionDeploymentSlot.Update.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.appservice.WebApp.DefinitionStages.WithCreate.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.appservice.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.batch.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.batchai.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.compute.VirtualMachine.DefinitionStages.WithGroup.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.compute.VirtualMachineScaleSet.DefinitionStages.WithGroup.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.compute.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.containerregistry.Registry.DefinitionStages.WithGroup.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.containerregistry.RegistrySourceTrigger.UpdateStages.SourceControlType.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.containerregistry.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.containerservice.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.cosmosdb.CosmosDBAccount.DefinitionStages.WithGroup.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.datalakestore.v2016_11_01.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.dns.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.edgegateway.v2019_03_01.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.eventgrid.v2018_05_01_preview.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.eventgrid.v2018_09_15_preview.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.eventgrid.v2019_01_01.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.eventgrid.v2019_06_01.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.graphrbac.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.ApplicationGetHttpsEndpoint.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.Autoscale.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.AutoscaleCapacity.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.AutoscaleRecurrence.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.AutoscaleSchedule.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.AutoscaleTimeAndCapacity.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.BillingMeters.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.BillingResources.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.BillingResponseListResult.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.CapabilitiesResult.yml
:white_check_mark:Succeeded
View (azure-java-stable)

docs-ref-autogen/com.microsoft.azure.management.hdinsight.v2018_06_01_preview.DaysOfWeek.yml
:white_check_mark:Succeeded
View (azure-java-stable)

This comment lists only the first 50 files in the pull request.

.openpublishing.redirection.json

[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.md'. However, file with different extension W:\jybz-s\docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.yml already exists in the Git repo in conflict with the redirection rule.  Docs will ignore the file W:\jybz-s\docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.yml and populate with the redirection rule instead. To resolve this warning, please remove the file W:\jybz-s\docs-ref-autogen/com.microsoft.azure.management.monitor.implementation.yml from git repository
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-autogen/com.microsoft.azure.management.monitor.md'. However, file with different extension W:\jybz-s\docs-ref-autogen/com.microsoft.azure.management.monitor.yml already exists in the Git repo in conflict with the redirection rule.  Docs will ignore the file W:\jybz-s\docs-ref-autogen/com.microsoft.azure.management.monitor.yml and populate with the redirection rule instead. To resolve this warning, please remove the file W:\jybz-s\docs-ref-autogen/com.microsoft.azure.management.monitor.yml from git repository
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-azure-tools.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-add-certificate-ca-store.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-authenticate.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-concepts.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-containers-samples.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-get-started.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-release-notes.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-security-samples.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-sql-database-samples.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-virtual-machine-samples.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-azure-web-apps-samples.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-configure-webapp-sources.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-manage-sql-elastic-pools.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-manage-storage-accounts.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-manage-virtual-machines.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-manage-virtual-networks.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-manage-vm-scalesets.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/java-sdk-virtual-machines-in-parallel.md'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.
[Warning] Master redirection file .openpublishing.redirection.json has a redirection rule on file 'docs-ref-conceptual/index.yml'. However, the file already exists in the Git repo in conflict with the redirection rule. Docs will ignore the file and populate with the redirection rule instead. To resolve this warning, please remove the original file in Git repo.

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Time format strings can't handle arbitrary 12/24 hour clock settings

The time format strings are locale-specific, and are specific to whether that locale uses a 24-hour clock or not.
24-hour time format strings contain H or HH and no tt whereas 12-hour formats contain h or hh and the tt where the AM/PM goes. The problem is that users can choose whether to use a 12 or 24 hour clock independently from their language. So they could choose French (24 hour clock) but then set their clock to 12-hour. That would cause formatted times to be broken.

Shouldn't have been auto-closed.


Fix log to say roles.yml not roles.json

Thanks! I'll get that fixed soon!

Eyy u noticed me xD

I get notifications. 😉


Move TCP decoder/encoder "how to" into the appendix

It's not a core Wallaroo concept and its very language specific. Source
and Sink are core concepts. The particulars of TCPSource being a framed
protocol is not a core concept.
The appendix isn't the correct place for this but it's a good place for
now until we figure it out.
[skip ci]

@SeanTAllen looks good to me, merging


New Layout/Template

I think the site would look better with this layout.
Horizontal Admin Free Website Template - Free-CSS.com.zip

Where it came from? what is the license of this files?

judging from the source code in the included files:
`/*=============================================================
Authour URI: www.binarytheme.com
License: Commons Attribution 3.0
http://creativecommons.org/licenses/by/3.0/

100% Free To use For Personal And Commercial Use.
IN EXCHANGE JUST GIVE US CREDITS AND TELL YOUR FRIENDS ABOUT US

========================================================  */`

great :) asked because most of theme sites doesn't allow to redistribute


Large Words Missing

I am finding that excessively long words or phrases are dropped from the word clouds, particularly if they are in a large font size.
So far, I have been unable to figure out where the issue is coming from.

I just ran into this as well.

我也遇到这个问题了，请问怎么解决的？

我也遇到这个问题了，请问怎么解决的？

Set css height and width 2 or more times bigger, then use transform scale to resize it to original, done.
先用css将高宽扩大2到三倍，然后用css 的transform缩小回来，当然留意缩小的顶点为左上角，搞定！


setTimout example?

Sorry for the basic question, how could asyncawait be used for the native setTimeout in Node?
I presume it would still have to use thunkify? If so, how might that be done?
From the examples I can see delay examples with bluebird, but I want to explore alternatives - partly for learning, and partly to avoid larger libraries that I don't understand (yet).
Really appreciated

@Jodes81, asyncawait is based around promises so with something callback-based like setTimeout you must wrap it in a promise-returning function first to be able to use it. However it doesn't matter which Promise library you use, and ES6 Promises will do fine.
The wrapped version and a little test function that calls it would look something like this:
/** Returns a promise that is resolved after `ms` milliseconds */
function delay(ms) {
    return new Promise(resolve => {
        setTimeout(resolve, ms);
    });
}

let test = async (() => {
    console.log('starting...');
    await (delay(500));
    console.log('after 0.5 sec');
    await (delay(500));
    console.log('after 1 sec');
});

Let me know if you still have questions, happy to help.


Question: ZP for FP?

I am reusing the ZP addresses reserved for fp operations. The documentation at https://xc-basic.net/doku.php?id=v3:memory_model says they are location in $15 - $3a, but it seems that the XCBasic3 preample zeroes addresses $16 - $3b.
I just want to verify that documentation is correct?

Hi @orlof
It's indeed starting at $16. I've updated the docs. Thanks for bringing it to my attention.


Make scalar code plain C

I discovered that minifb uses and compiles non-Rust code for a few use cases, one of which is to make the image scaling functions optimized on Linux in all profiles.
I'm not keen on this approach, as it means that minifb is reliant on a separate compiler to build the project. As an example, I am using minifb for one of my projects, and someone who wanted to run it got a compiler error when compiling it on Linux. They didn't have a C++ compiler installed:

Ideally, I'd like to not depend on a C/C++ compiler on Linux.
One option is writing the scalar functions in Rust into their own crate, make minifb depend on that crate and ensure the profile for that dependency is always optimized:
[profile.dev.package.minifb-scalar]
opt-level = 3
```although that means there is a second crate to be published on crates.io.

Another option is to just not optimize it, and instruct users of minifb to compile it with optimizations on all profiles:
```toml
[profile.dev.package.minifb]
opt-level = 3
```although that means slower minifb if we want its debug info in our program. (There's also `debug = true` I guess?)

What are your thoughts on this matter?

This discussion aside, I made this PR to remove the need for a C++ compiler to be installed.
In my experience, it is much more likely for a C compiler to be installed on someone's Linux machine. I hope it's a bit useful :)

Shoot, I didn't realize I was out of date...

I see. Yeah that makes sense
Thanks for merging!


Support ORGANIZER and ATTENDEE

It would be nice to be able to have a .setAttendee() or setAttendees([]) and a setOrganizer() method for Events.

We're using this library to generate event invitations and I also noticed a lot of addProperty use in our code.
Having more expressive methods for this in the library would be highly appreciated. I would even go so far as to implement setters for class, priority, transparency, status and whatever else there is.
Even though these would be thin wrappers around addProperty, I think it would be a benefit simply through being more expressive with the code you write. I'd probably be able to send a PR if there is interest in merging something like that.

+1

Attendee and organizer are typed CAL-ADDRESS. It only takes value parameter. For now, it is impossible to set ROLE or PARTSTAT etc.
How can this be fixed?

@oathcomrade Try this:
event.addProperty(
	"ATTENDEE", "MAILTO:" + meetingAttendee.email,
	{
		ROLE     : "REQ-PARTICIPANT",
		PARTSTAT : "NEEDS-ACTION",
		RSVP     : "TRUE",
		CN       : meetingAttendee.name.full
	} );


[BUG] Showing Dialog after closing it freezes the application

Bug description
Steps to reproduce

Create a modal MessageDialog
Call run_future
Call run_future again

Expected result
The second call to run_future works the same as the first call.
Actual result
On the second call to run_future, the dialog doesn't show up, but freezes the application.
The dialog can still be closed with the Esc key while invisible and the future returns the correct value, but the application remains frozen.
There's some weird stuff you can do with inspector. Once the dialog closes for the first time, the dialog disappears from the widget overview. However, if you selected the dialog before in the inspector, you can still edit it's properties and by setting the visible property from true to false and back to true, you can make the dialog visible again. Eventually, I ended up with a seg fault but I can't reproduce it...

Note: adw::MessageDialog is also affected by this.

Example
use gtk::glib::clone;
use gtk::glib::signal::Inhibit;
use gtk::prelude::*;

use std::rc::Rc;

fn main() {
    let application = gtk::Application::builder()
        .application_id("com.github.gtk-rs.examples.dialog")
        .build();

    application.connect_activate(build_ui);
    application.run();
}

fn build_ui(application: &gtk::Application) {
    let button = gtk::Button::builder()
        .label("Open Dialog")
        .halign(gtk::Align::Center)
        .valign(gtk::Align::Center)
        .build();

    let window = Rc::new(
        gtk::ApplicationWindow::builder()
            .application(application)
            .title("Dialog Example")
            .default_width(350)
            .default_height(70)
            .child(&button)
            .visible(true)
            .build(),
    );

    let question_dialog = gtk::MessageDialog::default();
    question_dialog.set_transient_for(Some(&*window));
    question_dialog.set_modal(true);
    question_dialog.add_button("test", gtk::ResponseType::Ok);

    button.connect_clicked(clone!(@strong window =>
        move |_| {
            let question_dialog = question_dialog.clone();
            gtk::glib::MainContext::default().spawn_local(async move {
                let answer = question_dialog.run_future().await;
                dbg!(answer);
                question_dialog.close();
            });
        }
    ));

    window.connect_close_request(move |window| {
        if let Some(application) = window.application() {
            application.remove_window(window);
        }
        Inhibit(false)
    });
}

Update
I was able to reproduce this without run_future. It seems like simply showing the dialog for the second time is enough to break the application.
use gtk::glib::signal::Inhibit;
use gtk::prelude::*;

use std::rc::Rc;

fn main() {
    let application = gtk::Application::builder()
        .application_id("com.github.gtk-rs.examples.dialog")
        .build();

    application.connect_activate(build_ui);
    application.run();
}

fn build_ui(application: &gtk::Application) {
    let button = gtk::Button::builder()
        .label("Open Dialog")
        .halign(gtk::Align::Center)
        .valign(gtk::Align::Center)
        .build();

    let window = Rc::new(
        gtk::ApplicationWindow::builder()
            .application(application)
            .title("Dialog Example")
            .default_width(350)
            .default_height(70)
            .child(&button)
            .visible(true)
            .build(),
    );

    let dialog = gtk::Dialog::default();
    dialog.set_transient_for(Some(&*window));
    dialog.set_modal(true);
    dialog.add_button("test", gtk::ResponseType::Ok);
    dialog.connect_response(|dialog, res| {
        dbg!(res);
        dialog.close();
    });

    button.connect_clicked(move |_| dialog.show());

    window.connect_close_request(move |window| {
        if let Some(application) = window.application() {
            application.remove_window(window);
        }
        Inhibit(false)
    });
}

Update 2
I think I've found the cause: Calling close on a dialog. This seems to leave the dialog in a inconsistent state for some reason. Using hide instead seems to work as exepected.

That's expected, yes. Calling close on a window basically destroys it. If you want to re-use it then you need to use hide()

Maybe we should make the close call take self by value instead of by reference , not gonna solve the problem but at least would somehow make things clearer to the end user

Maybe we should make the close call take self by value instead of by reference , not gonna solve the problem but at least would somehow make things clearer to the end user.

Yes, I think that would be good. It makes it more obvious that that window isn't supposed to be used afterwards. Also, the docs should be more clear I think. At least for me, the word "closing" isn't associated with "destroying" the entire widget.

From the docs: Requests that the window is closed. This is similar to what happens when a window manager close button is clicked. This function can be used with close buttons in custom titlebars.

Also, I've just found another annoying detail. If the user closes the dialog with the close button, this is the same as calling close (which kinda makes sense but also breaks the dialog when shown again). However, adw::MessageDialog always closes the dialog window, even when you clicked a regular response. So solve this, you need to register a "close_request" handler to prevent the closing. It's just very unexpected that this happens when you click regular responses...

This should probably be reported directly to adwaita and GTK

I agree. But what should be reported? Technically, this is something I stumbled over, but not really unexpected behavior if you have a closer look. What would have helped me a lot with the search for errors would be that presenting a closed window should throw a runtime warning or error.
So I guess if we implement a check for present in GTK that would also apply to adwaita. What do you think?

Calling show on a closed/destroyed widget could probably give a g_warning(), would that work?

Sounds good, I'm closing this then and try to report or fix this upstream.

I would still keep this open until we make it take Self instead of &Self


Python3 compatibility

For python3,
line 516 of https://github.com/datalogai/recurrentshop/blob/master/recurrentshop/engine.py
x = map(x.get, args)
should be:
x = list(map(x.get, args))
Otherwise, one would get the following error:

File "/usr/lib/python3.5/site-packages/recurrentshop-0.0.1-py3.5.egg/recurrentshop/engine.py", line 522, in call
if x[i] is not None:
TypeError: 'map' object is not subscriptable

fixed


Add icon for Viber, mamen & VLC

Viber - com.viber.voip
mamen - mv.com.dhiraagu.youth
VLC - org.videolan.vlc

Outdated icon style. Can be closed @Goooler


How to run?

 New to Go but want to test this out for getting consensus/beacon node data. I've installed chainid  and set up the configuration as suggested in the README (postgres db and ETH2 client). What am I supposed to do next?

@got3nks you may also want to set sync-committees.start-period if you are starting from a different point.  But I tested it just now locally and it works (although note that some items like proposer duties do not have a start-* feature so they will sync from genesis).

The period is the sync committee period.  One period is 256 epochs.
You can delete old data, once it has been finalized and summarized (if running the summarizer).


Asset selected in the Explore modal isn't displayed in the select input field

What happened:
When querying for Property value aggregates and trying to select a non-top level asset in the Explore page, upon selecting, the asset seems to be selected because the next field is shown. However, its name isn't displayed in the asset selection field.
What you expected to happen:
Asset name should be displayed in the selection field.
How to reproduce it (as minimally and precisely as possible):
https://user-images.githubusercontent.com/16140639/218096676-73696b46-cf23-4b0b-9ac9-dffc920814bd.mov
Screenshots

Anything else we need to know?:
This worked fine with grafana <=9 so the culprit must be the select, I would check the difference there between 8 and 9 first.
Note: Probably needs to be fixed before the next release of the plugin
Environment:

Grafana version: 9.4
Plugin version: 1.6
OS Grafana is installed on:
User OS & Browser:
Others:

It looks like this isn't a bug after all, just confusing test data. Asset Model was named "Asset" so it looked like it should have been able to be added into the select but that isn't the case


Update ms.topic

Cleaning up metadata.

@sarah-barrett : Thanks for your contribution to the Azure documentation! The author, @MikeRayMSFT, has been notified to review your proposed change.

internal source.  merging. @MikeRayMSFT  fyi


IvyArtifactRepository.layout is hard to customize in a type-safe way

Expected Behavior
One should be able to translate the following groovy code to the kotlin DSL easily, and in a type-safe way:
// groovy
repositories {
    ivy {
        url "http://repo.mycompany.com/repo"
        layout "pattern", {
            artifact "[module]/[revision]/[type]/[artifact].[ext]"
        }
    }
}

Current Behavior
It's not easy, because layout("pattern") returns a RepositoryLayout, and it's not obvious that this needs to be cast (and can be cast) to IvyPatternRepositoryLayout:
// kotlin
repositories {
    ivy {
        url = uri("http://repo.mycompany.com/repo")
        layout("pattern") {
            (this as IvyPatternRepositoryLayout).apply {
                artifact("[module]/[revision]/[type]/[artifact].[ext]")
            }
        }
    }
}

Quoting Paul Merlin on Slack thread:

The Gradle API should be enhanced to provide more type safe members

Just a nit pick, thanks to kotlin compiler's smart casts this can be shortened a bit:
// kotlin
repositories {
    ivy {
        url = uri("http://repo.mycompany.com/repo")
        layout("pattern") {
            this as IvyPatternRepositoryLayout
            artifact("[module]/[revision]/[type]/[artifact].[ext]")
        }
    }
}

I know, but i just find it weird to use a cast without using the result (other than indirectly using the smart cast magic). Maybe it's my Java background, but I find it more logical to make the cast and use the result to call apply() on it.

The problem is that the type of the layout is based on the passed in String, with only the value pattern resulting in an IvyPatternRepositoryLayout being made available.
So it might be simply easier to add a method like patternLayout that would take an Action<IvyPatternRepositoryLayout>.
My historical knowledge of this class is pretty limited, so there might be good reasons for the current API.
@gradle/dependency-management WDYT?

I don't think there are any good reasons for the current API. The allowable values for layout are: "gradle", "maven", "ivy" and "pattern". Of these, only "pattern" produces a mutable IvyPatternRepositoryLayout that makes sense to modify via an Action.
We should come up with an improved, type-safe alternative, and deprecate the current API.

Once the PR above is merged, a follow up PR will need to update the usage in the Gradle build itself once it uses a Gradle version containing the fix.


Generate a conventionless model configuration

Add a way to generate a complete model configuration that doesn't need to use conventions akin to the migrations model snapshot.
This code will build the model significantly faster, but will need to be regenerated on any model change or EF version upgrade.

This depends on being able to remove optional conventions easily https://github.com/aspnet/EntityFrameworkCore/issues/214


Added Docker Support

Docker Integration for the Project #125
Changes Made

Dockerfile Creation: Introduced a Dockerfile to containerize the project. This makes it easier for contributors and users to set up the project without worrying about dependencies.

Flask App Updates: Updated the Flask app to bind to <IP_ADDRESS> allowing it to be accessed outside of the container. Additionally, modified the port configuration using argparse for flexibility.

Building the Docker Container
Before running the application, you'll need to build the Docker container. To do this, navigate to the directory containing the Dockerfile and run:
docker build -t chatdev:latest .

This command will build a Docker image using the provided Dockerfile and tag it as chatdev:latest.
How to Run the Docker Container
To run the containerized application, use the following command:
docker run -it --rm -p 8000:8000 -e OPENAI_API_KEY=your_openai_api_key chatdev:latest

Replace your_openai_api_key with your actual OpenAI API key.
Once you have it running you can run the project as if it were your local system
Copying Files out of Docker
If you wish to copy files out of the Docker container and into the host machine, you can use the docker cp command. This can be handy, especially when chatdev finishes and you wish to upload the generated files into the webapp to be reviewed.
docker cp container_id:/path/in/container /path/on/host

Docker Image Pull Command
To pull the current Docker image (under my personal account), use:
docker pull manindrademel/chatdev:latest

Suggestion for Project Maintainers
It would be beneficial to set up a Docker account specific to this project. This way, the Docker image can reside under a more general name rather than an individual's account. I would be happy to assist in pushing the image to such an account once it's set up.
Additional Notes
The webserver in online_log/app.py will still be accessible on your local machine as we have exposed the http port on docker for this purpose.

Thank you for considering this integration. Looking forward to feedback!

Thank you for your contribution! I will make some modifications so that in the docker ChatDev can run GUI software.

can this be run in a headless environment or does it need a display and therefore cannot be run headless?

can this be run in a headless environment or does it need a display and therefore cannot be run headless?

Yes it can be run headless


support: add the max wait configuration for db

Ⅰ. Describe what this PR did
increase max wait parameter configuration
Ⅱ. Does this pull request fix one issue?

#2482
Ⅲ. Why don't you add test cases (unit test/integration test)?
Ⅳ. Describe how to verify it
Ⅴ. Special notes for reviews

Codecov Report

Merging #2481 into develop will decrease coverage by 0.14%.
The diff coverage is 50.00%.

@@              Coverage Diff              @@
##             develop    #2481      +/-   ##
=============================================
- Coverage      51.47%   51.32%   -0.15%
  Complexity      2659     2659
=============================================
  Files            523      523
  Lines          16938    16940       +2
  Branches        2052     2023      -29
=============================================
- Hits            8718     8694      -24
- Misses          7391     7394       +3
- Partials         829      852      +23

Impacted Files
Coverage Δ
Complexity Δ

...ava/io/seata/core/constants/ConfigurationKeys.java
0.00% <ø> (ø)
0.00 <0.00> (ø)

...ata/core/store/db/AbstractDataSourceGenerator.java
0.00% <0.00%> (ø)
0.00 <0.00> (ø)

...io/seata/server/store/DbcpDataSourceGenerator.java
100.00% <100.00%> (ø)
2.00 <0.00> (ø)

...o/seata/server/store/DruidDataSourceGenerator.java
100.00% <100.00%> (ø)
2.00 <0.00> (ø)

...obuf/convertor/BranchRegisterRequestConvertor.java
90.47% <0.00%> (-9.53%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalBeginResponseConvertor.java
92.59% <0.00%> (-7.41%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalCommitRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...otobuf/convertor/GlobalStatusRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...obuf/convertor/GlobalRollbackRequestConvertor.java
93.75% <0.00%> (-6.25%)
3.00% <0.00%> (ø%)

...protobuf/convertor/RegisterTMRequestConvertor.java
94.73% <0.00%> (-5.27%)
3.00% <0.00%> (ø%)

... and 16 more

add this to the script @a364176773

add this to the script @a364176773

ok

add this to the script @a364176773

PTAL

LGTM


Github pages deploy arguments

The Astro action for the github deploy guide has arguments that aren’t mentioned anywhere. Should I list and explain them?

Sounds good — thanks @mandar1jn!


Support for clickhouse

Add support for clickhouse for querying analytics through llm
I can help contribute to this.

We've now made some changes to how we'll manage the servers repo going forward.
TLDR: We're restructuring the MCP servers repository to focus on reference implementations only. New server implementations should be developed in separate repositories and can be added as links to our README, rather than submitted as PRs to this repository.
In line with that new approach, I'll close this out, but we'd be happy to include a link to this server if it's built in another repo. Please do submit a PR when it's ready!


directly save to filestream

What does the pull request do?
With large projects rebuilding a package from the delta packages was throwing an OutOfMemoryException.
What is the current behavior?
Rebuilding the packages was saving first into a MemoryStream and afterwards into the FileStream.
What is the updated/expected behavior with this PR?
Rebuilding directly saves the package to the FileStream
Checklist

[ ] Added unit tests (if possible)?
[ ] Added XML documentation to any related classes?

@hutterm Thank you for your contribution. I forgot to enable Github Actions for pull requests. Would it be possible to open a new PR or send a "blank" commit in order to run unit tests? :)

@hutterm Thank you for your contribution. I forgot to enable Github Actions for pull requests. Would it be possible to open a new PR or send a "blank" commit in order to run unit tests? :)

@hutterm LGTM! Thanks for your contribution :)


Revert: Add PB.targets directories to managedSourceDirectories

Reverts https://github.com/thesamet/sbt-protoc/pull/232
IntelliJ has been fixed, tested on 2021.1.1

Thanks for reporting that the underlying bug has been fixed. If this gets merged and released, it will re-introduce a bug to users of old version of intellij. Are there any downsides for not reverting ever, or at the very least postponing the time we revert until more users had a chance to upgrade to the latest IntelliJ?

I there have been reports that this causes issues that the newest IntelliJ can't compile an sbt project when this workaround is present.
Could you share more deails @jakubjanecek, please?

Yes, I think it started with version 2021.1 of IntelliJ. Because of this there are two folders marked as source in IDEA under src_managed and that's why we started getting "duplicate class error" (I don't remember the exact error). This does not happen when you use sbt shell integration of IDEA but I don't use it and I don't think it's even enabled by default.


Switch 'sigstore-probe' to copy the prober from the image rather than rebuilding every execution

Summary
Start work on #94.  We currently see a fair amount of build flakiness (failed to fetch go library X) in the GitHub sigstore probes.  By reducing this to two fetches (crane and the OCI image), we should hopefully see less flakiness.
Or I screwed everything up, and one probe will alert and we'll roll this back before trying again.  (I'll try to get this running in my fork as well, but I wanted to offer this for review since I'd been sitting on it half-done for a while.)

Release Note

Reduce external dependencies and work needed for sigstore-probe probes in staging and production.

Documentation
No documentation needed.

Successful execution, will fix DCO:
https://github.com/evankanderson/sigstore-probers/actions/runs/6697424637/job/18197276780

@bobcallaway should approve / merge this if he wants it this week.

why not just bake crane into the image?

We're currently building the prober image with ko, which produces a single-binary image.  (It doesn't even have cp to copy the file out of the image, or any other binaries besides the prober itself.)
I was trying to avoid adding a lot of new machinery (build new image with go / make / etc) in order to replace the existing images which we already have built and released.
I can look at building an image for these, but the retry action used later on means that we'll need to copy the binaries out of the image into some other location.

gcr.io/go-containerregistry/crane is regularly published

Is this still relevant?


For exiting changelog.js and Test.js, you need to type ctrl+C

Describe the bug
To exit from javascript files like changelog.js and Test.js, you need to type ctrl+C
To Reproduce
Steps to reproduce the behavior:

Go to the menu in FalconXOS(UFT)
Type '--access ch' or 'Debug.js'
You can only exit these files by typing ctrl+C

Expected behavior
These files should be exited by typing 'Exit'
This issue will be fixed in version .15(which should be released either tomorrow or the day after)

This issue has been fixed in version .15


Fix broken app-level event updating

Objective
As discovered in https://github.com/Leafwing-Studios/leafwing-input-manager/issues/538, there appears to be some real weirdness going on in how event updates are processed between Bevy 0.13 and Bevy 0.14.
To identify the cause and prevent regression, I've added tests to validate the intended behavior.
My initial suspicion was that this would be fixed by https://github.com/bevyengine/bevy/pull/13762, but that doesn't seem to be the case.
Instead, events appear to never be updated at all when using bevy_app. #12936 is likely responsible.
Solution
TBD.
Testing
I've written two parallel unit tests to cover the intended behavior:

Test that iter_current_update_events works as expected in bevy_ecs.
Test that iter_current_update_events works as expected in bevy_app

Outstanding

[x] figure out why the bevy_app version of this test fails but the bevy_ecs version does not
[x] figure out why EventRegistry::run_updates isn't working properly
[x] figure out why EventRegistry::run_updates is never getting called
[ ] figure out why event_update_condition is always returning false
[ ] actually fix the offending bug

Maybe I also ran across this while updating bevy-ui-navigation as a couple failing tests. At the time I just assumed there was something breaking change I wasn't understanding or the tests themselves were broken so I worked around it.
https://github.com/rparrett/bevy-alt-ui-navigation-lite/commit/d742bf28606b8416f2e87ece53a3578550e37cbf

looks like you have to add the event_update_system manually now if you're not using the default app https://github.com/bevyengine/bevy/pull/12936/files#diff-b2fba3a0c86e496085ce7f0e3f1de5960cb754c7d215ed0f087aa556e529f97fR94

looks like you have to add the event_update_system manually now if you're not using the default app

The event update system is being added already, but event_update_condition is always returning false.

@mockersf once this is merged, please bother me to replicate it on the 0.14 branch. I know this is non-trivial to cherrypick due to #13801.

After reverting my workaround and pointing at this branch, bevy-alt-ui-navigation-lite's tests are green again, for what it's worth.

Not currently. I'll think about how to write those 🤔

The FixedUpdate logic is working as expected: testing that was substantially harder than I expected but I'm quite happy with the net result.


wrong timestamp parser when xAxis type is 'time'

Version
4.8.0
Steps to reproduce
following timestamp is around 2020-08-04 10:11:00
option = {
    xAxis: {
        data: [1596507060,<PHONE_NUMBER>,<PHONE_NUMBER>], // second
        type : 'time'
    },
    yAxis: {},
    series: [{
        type: 'line',
        data:[220, 182, 191]
    }]
};

option = {
    xAxis: {
        data: [1596507060000,<PHONE_NUMBER>000,<PHONE_NUMBER>000], // milliseconds
        type : 'time'
    },
    yAxis: {},
    series: [{
        type: 'line',
        data:[220, 182, 191]
    }]
};

option = {
    xAxis: {
        data: [1596507060.000,<PHONE_NUMBER>.000,<PHONE_NUMBER>.000], // second with decimal
        type : 'time'
    },
    yAxis: {},
    series: [{
        type: 'line',
        data:[220, 182, 191]
    }]
};

What is expected?
According to https://echarts.apache.org/en/option.html#series-line.data, timestamp can be used as axis value when type is 'time'.

right parsing of x axis timestamp, timestamp is around 2020-08-04 10:11:00
What is actually happening?

timestamp displays 08:00:00
wrong xaxis interval
wrong y axis value trending

It may be not a bug but an incorrect usage. xAxis.data is just for the type of category. If the type is time, it can't be specified.

Category data, available in type: 'category' axis.

When the type of xAxis is time, the time should be specified as a dimension in the series.data.
Example:
option = {
    xAxis: {
        type : 'time'
    },
    yAxis: {},
    series: [{
        type: 'line',
        data:[
            [1596507060000, 220],
            [1596507160000, 182],
            [1596507260000, 191]
        ]
    }]
};

thanks.

@plainheart One more question, could we use Standard Unit like seconds as default timestamp unit, instead of javascript's milliseconds?

@wlbksy I'm afraid we can't. For a numerical timestamp, ECharts will parse it to a Date object by new Date(timestamp).

There is no information in the docs about that for type 'time' of X axis the data should be formatted as a tuple, where the first element is actual time and second is value for that time: [1596507060000, 12345]


Not compatible with RN 0.75.x

After upgrading RN from version 0.74.x to version 0.75.x, push notifications stopped working for Android. Is the lib compatible with RN 0.75.x?

curious here too!


JSON format value in addition to Binary, Text, XML

Sadly there is no JSON format (and beautifier) option in the value window mode. Only Binary, Text and XML

We have JSON format support in DBeaver EE. We are planning to move this feature to community version in 6.2.

This wiki page (https://github.com/dbeaver/dbeaver/wiki/Working-with-XML-and-JSON)  lists JSON as supported with no mention that this is a Enterprise version only.
The wiki page should be amended.

Verified

judging from milestones, 6.2 is up next in 2 weeks!

I downloaded 6.2 from "ea" and confirmed JSON works....

Love the color coding too!
Not to get greedy, but my next feature request would be for collapsing the blocks. ;-)
Also, it doesn't work on JSON that is in an array...

Am I blind or did you somehow re/move one of the features I use every day in the new v7.0.0? How do I view the value as JSON now ?!! I've hunted and hovered over every button, widget, icon, menu that I can see around this screen. It used to be prominent and easy to find. What happened?

Hi @daevidvincent. Cannot reproduce. Please tell the column type where JSON is not displayed.
Do you use PostgreSQL?

@kseniiaguzeeva I updated the image with a few more arrows. I'm not understanding your ask though. Its the column called rubric defined as jsonb array. Literally the same column (and screenshots from earlier in this thread). I use this column (and others like it) all the time.
There used to be a button/menu on the Value pane that showed various formats like XML, Binary, Text, and of course JSON (as of this ticket). Now, as per my callout bubble above, there is no button/menu that I can find that has those options anymore in v7.0.0 on Windows 10 (like there was in v6.x)

@daevidvincent your column has type Array (of json). It consists of one element.
We don't support inline json editor of array elements yet.

Huh. Interesting. I stand corrected! This is JSON not in an array and you're right, it formats just fine. I must be working too late... :-) Ignore me. :)


fix(publish): display full breadcrumb path for sidebar excluded notes

The aim of this PR is to fix breadcrumb display for sidebar excluded notes.
Before, the breadcrumb component in sidebar excluded notes, only showed the note itself without the full parental hierarchy. Sidebar excluded notes emerge from note properties like nav_exclude, nav_exclude_children or has_collection.
The changes in this PR imply that the logic for figuring out sidebar excluded notes is not part anymore of generating the sidebarconfig for autogenerated sidebar items. We did not point to this in the docs so nothing needs to change there. Its now part of the view rendering logic (DendronTreeMenu) and therefor not anymore implicitly effecting DendronBreadCrumb component (which is what this PR is after).
References

[[dendron://private/task.2022.10.27.breadcrumbs-number-issue]]

Pull Request Checklist
If you are a community contributor, copy and paste the PR template from Dendron Community PR Checklist and add it to the body of the pull request.
If you are a team member, copy and paste the template from Dendron Extended PR Checklist.
To copy the template, click on the Raw button on the gist to copy the plaintext version of the template to this PR.

I concern with the approach taken in the PR is that now the filtering of notes by the mentioned note properties is happening after NextjsExportPod so this will increase the json file tree.json inside data folder of nextjs-template.

I talked with @kevinslin and found that there is a better approach to take. Namely keeping the filtering inside sidebar.ts meaning tree.json won't increase in size and we rather place the note path into the page-props while building the site.

@kevinslin @hikchoi I made new changes with the mentioned new approach.


Add JSON and Date support to domain validation

Closed in favor of https://github.com/metarhia/globalstorage/pull/335.


chore: remove explicit permissions

https://github.com/bloomberg/stricli/settings/actions
All workflows have read/write permissions for all scopes, so this shouldn't be necessary

Nice, seems like that fixed it


Add spread to syntax highlighting

Fixes #173.
Generated tokens for:
def cmd [ ...$rest ] {
  [ ...$rest ]
  { ...$rest }
  all ...$rest
}
cmd ...$rest
^cmd ...$rest

def cmd [

...

keyword.control.nushell
meta.function.parameters.nushell
source.nushell

$rest

variable.parameter.nushell
meta.function.parameters.nushell
source.nushell

] {

[

...

keyword.control.nushell
meta.table.nushell
meta.function.body.nushell
source.nushell

$rest

variable.other.nushell
meta.table.nushell
meta.function.body.nushell
source.nushell

]
{

...

keyword.control.nushell
meta.expression.braced.nushell
meta.function.body.nushell
source.nushell

$rest

variable.other.nushell
meta.expression.braced.nushell
meta.function.body.nushell
source.nushell

}
all - keyword.other.builtin.nushell

...

keyword.control.nushell
meta.command.nushell
meta.function.body.nushell
source.nushell

$rest

variable.other.nushell
meta.command.nushell
meta.function.body.nushell
source.nushell

cmd - entity.name.type.external.nushell

...

keyword.control.nushell
meta.command.nushell
source.nushell

$rest

variable.other.nushell
meta.command.nushell
source.nushell

^ - keyword.operator.nushell

cmd ...$rest - same as above

Deleted a previous comment because I was mistaken and amended my PR 🪚

The only thing that I'm not quite sure about is having ...$rest as a custom command parameter instead of ...rest. They resolve to two different things.
...rest is all variable.parameter.nushell
where
...$rest is ... = keyword.control.nushell, $ = meta.function.parameter.nushell, and rest = variable.parameter.nushell
It may be ok like this, it just gives me pause.

...rest is all variable.parameter.nushell

Good call I'll see how hard to fix it 🕵🏼♂

...rest is all variable.parameter.nushell

@fdncred Fixed. Asked on Discord whether to extend it to flags too:
def cmd [ --flag ] {}
#         ^^ highlighted?
cmd --flag
#   ^^ here too

My answer from Disord was I think yes to both since -- and flag mean something different than --flag. Thanks for working on this stuff.

No prob! Ready to try again. Happy to roll back the last change if it doesn't feel right 👌🏼

Ready again. I wasn't happy with my first pass. But I discovered an expression that wasn't working before and fixed it. LGTM now.


Allow to not modify ProcessManager state

This PR resolves the issue.
Also small issues in the related Javadocs and tests was fixed.

@armiol PTAL.


Can't read back FTDI USB serial number in docker container

Summary of Problem
What are you trying to do?
Use node-serial inside node:14-apline docker container to read the serial number of an FTDI RS232 serial device.
What happens?
I mount the dev folder and run container in privileged mode and can read and write to the FTDI serial device but when I use  'SerialPort.list()' to read the USB details, the Vendor ID, Product ID, Serial Number etc.  are undefined. The only defined field is the path which correctly displays 'ttyUSB0'.
What should have happened?
Running this inside my host machine (Ubuntu 18.04.5 LTS) I can read back all the serial device details including Vendor ID, Product ID and Serial Number.
Code to Reproduce the Issue
See my repo: https://github.com/igd-tom/simple-serial-node-docker
After cloning the repo, the following commands are performed from the root directory:
docker build -t simple_serial_node .
docker run -v /dev:/dev --privileged simple_serial_node

Versions, Operating System and Hardware

SerialPort@: 9.0.7
Node.js v14
Ubuntu 18.04.5 LTS
Hardware and chipset? FTDI

Hi @igd-tom
are you still facing issues?
it looks like ther are a few ways to setup the access to the device, and some of these should avoid the use of --privileged ; however I've not been able to check if they change the data available as I dont have access to my Linux machine at the moment, and windows just behaves differently with docker.
some potentially useful resources:
https://stackoverflow.com/questions/24225647/docker-a-way-to-give-access-to-a-host-usb-or-serial-device
http://marc.merlins.org/perso/linux/post_2018-12-20_Accessing-USB-Devices-In-Docker-_ttyUSB0_-dev-bus-usb-_-for-fastboot_-adb_-without-using-privileged.html

Thanks for your response @GazHank. I managed to resolve it by tackling the problem in a different way. I used UDEV rules on the host OS to read back the FTDI chipset details and map to a specific symlink name which could then be accessed from the docker container.

Thanks @igd-tom since you have solved this, I'll close the issue.  Do let me know if you think any of the steps you took to solve this could be helpful for inclusion in the docs


Use go-version-file in pre-submit workflow

https://github.com/ianlewis/todos/blob/10bc0dc56d3cee04608d5c07fe0d9bbdb56322b3/.github/workflows/pre-submit.units.yml#L43

Fixed in a1c649031eceb235590e070b3eab934dbbf81289


Please consider fixing issues detected by repository checker

Notification from ioBroker Check and Service Bot
Dear adapter developer,
I'm the ioBroker Check and Service Bot. I'm an automated tool processing routine tasks for the ioBroker infrastructure. I have recently checked the repository for your adapter ring for common errors and appropiate suggestions to keep this adapter up to date.
Please see the result of the check below.
ioBroker.ring
   -

ERRORS:

[ ] :heavy_exclamation_mark: [E162] js-controller 4.0.0 listed as dependency but 4.0.24 is required as minimum, 5.0.19 is recommended. Please update dependency at io-package.json.
[ ] :heavy_exclamation_mark: [E204] Version "6.0.0" listed at common.news at io-package.json does not exist at NPM. Please remove from news section.

WARNINGS:

[ ] :eyes: [W044] dependency should not require a specific version. Use "~1.2.3" or "^1.2.3" syntax. Please update "@homebridge/camera-utils:2.2.6"
[ ] :eyes: [W115] "common.tier" is required in io-package.json. Please check https://github.com/ioBroker/ioBroker.docs/blob/master/docs/en/dev/objectsschema.md#adapter.
[ ] :eyes: [W173] Potential sensitive data "password" not listed at "protectedNative" in io-package.json
[ ] :eyes: [W174] Potential sensitive data "password" not listed at "encryptedNative" in io-package.json
[ ] :eyes: [W181] "common.license" in io-package.json is deprecated. Please define object "common.licenseInformation"
[ ] :eyes: [W184] "common.main" is deprecated and ignored. Please remove from io-package.json. Use "main" at package.json instead.
[ ] :eyes: [W184] "common.materializeTab" is deprecated for admin >= 5 at io-package.json. Please use property "adminUI".
[ ] :eyes: [W202] Version of package.json (6.0.0) doesn't match latest version on NPM (5.1.0)
[ ] :eyes: [W513] "gulpfile.js" found in repo! Think about migrating to @iobroker/adapter-dev package
[ ] :eyes: [W519] Consider adding plugin "@alcalzone/release-script-plugin-manual-review".

Please review issues reported and consider fixing them as soon as appropiate.
Errors reported by repository checker should be fixed as soon as possible. Some of them require a new release to be considered as fixed. Please note that errors reported by checker might be considered as blocking point for future updates at stable repository.
Warnings reported by repository checker should be reviewed. While some warnings can be considered as a suggestion and be ignored due to good reasons or a dedicated decision of the developer, most warnings should be fixed as soon as appropiate.
You may start a new check at any time by adding the following comment to this issue:
@iobroker-bot recheck
Please note that I (and the server at GitHub) have always plenty of work to do. So it may last up to 30 minutes until you see a reaction. I will drop a comment here as soon as I start processing.
Feel free to contact me (@iobroker-bot) if you have any questions or feel that an issue is incorrectly flagged.
And THANKS A LOT for maintaining this adapter from me and all users.
Let's work together for the best user experience.
your
ioBroker Check and Service Bot
Note: This issue replaces issue #731
@mcm1957 for evidence

This issue has been replaced by new isse #736
This issue can be closed.
your
ioBroker Check and Service Bot


keep topology defn during update

We found that the topology defn is changed during update process, which causes the messy state. The original topology definition should remain same during the whole topology lifecycle, while the packing plan shows the latest topology information during update/repack.
This PR keeps topology defn during update.
Tested in local scheduler with #2600.

Also, plz make sure no unit tests will break


header_rewrite: client-url:path and url:path don't work in string expansion

https://docs.trafficserver.apache.org/en/latest/admin-guide/plugins/header_rewrite.en.html#path
says PATH is deprecated as of ATS v7.1.x, please use e.g. %{URL:PATH} or
%{CLIENT-URL:PATH} instead.
However, when we try to use %{URL:PATH} or %{CLIENT-URL:PATH} in a string, they don't work, whereas %{PATH} does.
Reproduction:
a) Working/expected case
$ cat hdrs.config && curl -IXGET -x localhost:80 "http://httpbin.org/status/502" | grep Location
cond %{SEND_RESPONSE_HDR_HOOK}
cond %{STATUS} =502
  set-redirect 302 http://example.com/%{PATH} [QSA]

Location: http://example.com/status/502

b) using CLIENT-URL:PATH
$ cat hdrs.config && curl-IXGET -x localhost:80 "http://httpbin.org/status/502" | grep Location
cond %{SEND_RESPONSE_HDR_HOOK}
cond %{STATUS} =502
  set-redirect 302 http://example.com/%{CLIENT-URL:PATH} [QSA]

Location: http://example.com/%{CLIENT-URL:PATH}

c) using URL:PATH
$ cat hdrs.config && curl -IXGET -x localhost:80 "http://httpbin.org/status/502" | grep Location
cond %{SEND_RESPONSE_HDR_HOOK}
cond %{STATUS} =502
  set-redirect 302 http://example.com/%{URL:PATH} [QSA]

Location: http://example.com/%{URL:PATH}

I think I addressed this in #4568


Boxed closure in struct: trait bound is not satisfied

Is it possible to derive a builder for a struct with one field being a boxed closure?
e.g.
#[derive(macon::Builder)]
struct Test {
    f: Box<dyn Fn(usize) -> usize>,
}

fn main() {
    // works
    Test {
        f: Box::new(|x| x + 1),
    };
    // fails
    Test::builder().f(Box::new(|x| x + 1));
}

results in
macon-boxed-fn [ master][?][RUST 1.79.0]
:> cargo b
   Compiling macon-boxed-fn v0.1.0 (/mnt/data/projects/other/macon-boxed-fn)
error[E0277]: the trait bound `Box<(dyn Fn(usize) -> usize + 'static)>: From<Box<{closure@src/main.rs:11:32: 11:35}>>` is not satisfied
  --> src/main.rs:11:23
   |
11 |     Test::builder().f(Box::new(|x| x + 1));
   |                     - ^^^^^^^^^^^^^^^^^^^ the trait `From<Box<{closure@src/main.rs:11:32: 11:35}>>` is not implemented for `Box<(dyn Fn(usize) -> usize + 'static)>`, which is required by `Box<{closure@src/main.rs:11:32: 11:35}>: Into<Box<(dyn Fn(usize) -> usize + 'static)>>`
   |                     |
   |                     required by a bound introduced by this call
   |
   = help: the following other types implement trait `From<T>`:
             <Box<(dyn std::error::Error + 'a)> as From<&str>>
             <Box<(dyn std::error::Error + 'a)> as From<Cow<'b, str>>>
             <Box<(dyn std::error::Error + 'a)> as From<E>>
             <Box<(dyn std::error::Error + 'a)> as From<String>>
             <Box<(dyn std::error::Error + Send + Sync + 'a)> as From<&str>>
             <Box<(dyn std::error::Error + Send + Sync + 'a)> as From<Cow<'b, str>>>
             <Box<(dyn std::error::Error + Send + Sync + 'a)> as From<E>>
             <Box<(dyn std::error::Error + Send + Sync + 'a)> as From<String>>
           and 18 others
   = note: required for `Box<{closure@src/main.rs:11:32: 11:35}>` to implement `Into<Box<(dyn Fn(usize) -> usize + 'static)>>`
note: required by a bound in `TestBuilder::f`
  --> src/main.rs:1:10
   |
1  | #[derive(macon::Builder)]
   |          ^^^^^^^^^^^^^^ required by this bound in `TestBuilder::f`
2  | struct Test {
3  |     f: Box<dyn Fn(usize) -> usize>,
   |     - required by a bound in this associated function
   = note: this error originates in the derive macro `macon::Builder` (in Nightly builds, run with -Z macro-backtrace for more info)

For more information about this error, try `rustc --explain E0277`.
error: could not compile `macon-boxed-fn` (bin "macon-boxed-fn") due to 1 previous error

Hi @ziutech,
Thank you for taking time to play with Macon :)
I need to investigate further in order to fine the best solution. As a quick win, I suggest to add field/struct setting in order to disable Into support for setter?
I will check if it works and publish a new release with this new feature.

Hi @ziutech,
Sorry for the delay, I finally released 1.1.0 which should help fixing your issue. See Into argument section for the details.
In short:
#[derive(Builder)]
struct Foo {
  #[builder(Into=!)]
  dyn_trait: Box<dyn Fn(usize)->usize>,
}

Hi @ziutech,
Sorry for the delay, I finally released 1.1.0 which should help fixing your issue. See Into argument section for the details.
In short:
#[derive(Builder)]
struct Foo {
  #[builder(Into=!)]
  dyn_trait: Box<dyn Fn(usize)->usize>,
}

That's great! Thank you!


Incorporating Micrometer metrics for a counter for the number of jobs…

… inserted, triggers inserted, and triggers fired

Codecov Report

Merging #18 into master will increase coverage by 0.16%.
The diff coverage is 100%.

@@             Coverage Diff              @@
##             master      #18      +/-   ##
============================================
+ Coverage     79.67%   79.83%   +0.16%
  Complexity       26       26
============================================
  Files             7        7
  Lines           364      367       +3
  Branches         23       23
============================================
+ Hits            290      293       +3
  Misses           52       52
  Partials         22       22

Impacted Files
Coverage Δ
Complexity Δ

...n/com/salesforce/zero/quickquartz/QuickQuartzDb.kt
89.58% <100%> (+0.69%)
9 <0> (ø)
:arrow_down:

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6abff56...1ee4ae0. Read the comment docs.


Invoke function by AddressOf Pointer

Is your feature request related to a problem? Please describe.
VB6/VBA cannot invoke functions by a Pointer in a native way like it is done in C/C++.
Describe the solution you'd like
A VB-Ish syntax is needed. (shall be discussed)
Sure is that the function "template" needs to be stated in the syntax that shall be invoked.
Describe alternatives you've considered
Often the workaround of using CallWindowProc is used. Or better the low-level API DispCallFunc.
But if it can be avoided then it is "nice to have".
Additional context
Low-priority as only really needed in edge cases.

I have found some types of freebasic function pointer syntaxes at wikis below
https://www.freebasic.net/wiki/KeyPgFunctionPtr
https://documentation.help/FreeBASIC/ProPgProcedurePointers.html
https://www.freebasic.net/wiki/KeyPgOpProcptr
they are really far too flexible for vbers.
what i think maybe we can add function pointer follow these steps
Step 1.Basic support
'----------------------syntax1----------------------
Sub MySub(ByVal x As Long)
Debug.Print x
End Sub
Dim pSub1 As [Cdecl|Stdcall|Pascal|Syscall] Sub(x as long) = AddressOf mySub
Call pSub(123)
'
Function myFunction(ByVal x as long) as long
Return x
End Function
Dim pFunc1 As [Cdecl|Stdcall|Pascal|Syscall] Function(x as long) as long = ProcPtr(myFunction)
Or
Dim pFunc1 As [Cdecl|Stdcall|Pascal|Syscall] Function(x as long) as long = p_myFunction  'which p_myFunction get from any dlls
Debug.Print pFunc1(123)
'
'----------------------syntax2----------------------
Declare Function Subtract( x As Integer, y As Integer) As Integer
Declare Function Add( x As Integer, y As Integer) As Integer
myFunction = ProcPtr(Add)
Debug.Print myFunction(2, 3)   ' Or AddressOf Add
myFunction = ProcPtr(Subtract) ' Or AddressOf Subtract
Debug.Print myFunction(2, 3)
Function Add( x As Integer, y As Integer) As Integer
Return x + y
End Function
Function Subtract( x As Integer, y As Integer) As Integer
Return x - y
End Function
maybe both syntaxes of function pointer declarations should be consider
Step 2.Callback support
'----------------------example1----------------------
Function x2 (ByVal i As Integer) As Integer
Return i * 2
End Function
Function operation (ByVal i As Integer, ByVal op As Function (ByVal As Integer) As Integer) As Integer
Return op(i)
End Function
'
Debug.Print operation(4, AddressOf x2)
'
'----------------------example2----------------------
'thread Sub definition
Sub threadInkey (ByVal p As Any Ptr)
If p > 0 Then                                                '' test condition callback Function defined
Dim As Function (ByRef As String) As Integer callback = p  '' convert the any ptr to a callback Function pointer
Do
Dim As String s = Inkey
If s <> "" Then                                          '' test condition key pressed
If callback(s) Then                                    '' test condition to finish thread
Exit Do
End If
End If
Sleep 50, 1
Loop
End If
End Sub
'' user callback Function definition
Function printInkey (ByRef s As String) As Integer
If Asc(s) = 27 Then                                        '' test condition key pressed =
Print
Return -1                                                '' order thread to finish
Else
Print s;
Return 0                                                 '' order thread to continue
End If
End Function
'' user main code
Dim As Any Ptr p = ThreadCreate(@threadInkey, @printInkey)   '' launch the thread, passing the callback Function address
ThreadWait(p)
Maybe at this stop we can consider adding some new types such as
AnyPtr  which is *
AnyPtr2 which is **
AnyPtr3 which is ***
……
3.Other support
Such as Types
Type parent Extends Object
Dim As String s1
Dim As String s2
Declare Virtual Sub test()
Declare Virtual Operator Cast() As String
End Type
……

The tB solution will be similar but ultimately more flexible.  Something like:
Declare Delegate Function CallMe (...) As ...

Then:
Dim myProc As CallMe
myProc = SomeLongPtr
myProc(...)

This way you've not got a 1:1 mapping of definition and value as per the VB6 hack.   The delegate is basically a function-type (backed with a LongPtr of course).

FWIW, I'm strongly in favor of delegate-based design than tossing around naked pointers. The former can be statically analyzed and validated for code correctness. The latter cannot be. Even in the case where there might be no well-defined "interface" (for a lack of better term), a generic Action in the form of lambda expression with closures is also easy to statically analyze for correctness. There should be no need to streak in tB. :)

Delegate like dotnet will be just fine.
From FB's "Dim p as Any Ptr Ptr", I thought of "Dim p as AnyPtr2"
Would this be in consideration?

Would delegates require user mode API-backing? Needing call by pointer is far more common in native mode.

Nope, just a simple assembled indirect call.

Delegate syntax now supported in BETA 616.  Experimental.
    Private Delegate Function Delegate1 (ByVal A As Long, ByVal B As Long) As Long

    Private Sub Command1_Click()
        Dim myDelegate As Delegate1 = AddressOf Addition
        MsgBox "Answer: " & myDelegate(5, 6)
    End Sub

    Public Function Addition(ByVal A As Long, ByVal B As Long) As Long
        Return A + B
    End Function

What is a delegate?  -- it's a function pointer type.  It's just a LongPtr type that the compiler can associate with a function definition, allowing you to call function pointers directly in tB, without needing to go through DispCallFunc and other such high level functions.
In a future update (soon), AddressOf will return a delegate type rather than LongPtr, so that compiler warnings about mismatched conversions will be avoidable.

Delegate support is more refined in BETA 617.   In particular, the AddressOf operator now returns a delegate type, rather than a generic LongPtr, for both class-instance and non-class based AddressOf syntax.
This means that the compiler can now help promote type safety by ensuring delegate types match as the function pointers are passed around (i.e. correct params, return type and calling convention) and this type checking also occurs when you use AddressOf to assign to a proper delegate type rather than the generic LongPtr type.
For backwards compatibility reasons, coercing to a standard LongPtr is of course supported, but coercing from a LongPtr into a explicit delegate type should use CType(Of delegateType)(longPtrValue) syntax to avoid compiler warnings.  Such compiler warnings can be converted to errors if you prefer to be more strict in usage.

Now that we have delegates, I want to consider if we can go one better. In .NET, it annoys that I have to re-define the delegate & callback:
Private Delegate Function LongComparator CDecl ( _
    ByRef a As Long, _
    ByRef b As Long _
) As Long

Private Declare PtrSafe Sub qsort CDecl _
Lib "msvcrt" ( _
    ByRef pFirst As Any, _
    ByVal lNumber As Long, _
    ByVal lSize As Long, _
    ByVal pfnComparator As LongComparator _
)

Private Function Comparator CDecl( _
    ByRef a As Long, _
    ByRef b As Long _
) As Long
    Comparator = a - b
End Function

...

qsort z(0), UBound(z) + 1, LenB(z(0)), AddressOf Comparator

What I would like to do is maybe something like:
Private LongComparator Comparator
  '<define the callback
End LongComparator

The idea being that instead of repeating the prototype, it can be defined in one place with the delegate and then referenced. The tB IDE can then show the prototype as a CodeLen feature so that we still see something like:
Private LongComparator Comparator ('Function Comparator CDecl( _
    ByRef a As Long, _
    ByRef b As Long _
) As Long')

in the IDE. That would then eliminate the need to copy'n'paste the prototype between the delegate definition and the functions meant to be used for the delegate.

One of the major benefits of delegates is actually seeing BASIC syntax for the callback or wndproc you need to write... Don't think it should be hidden away again in favor of an opaque prototype that's completely different from how every other method is defined in the language... There's a big usability and learning curve penalty for breaking an otherwise completely consistent, omnipresent pattern.

Yeah an intellisense support for auto completing a prototype would work too. The downside is that if the delegate's signature is altered, the functions would need to be updated. If the function is directly assigned, the compiler should have no trouble flagging the now mismatched prototype but a quick fix would be needed to make it easy and wouldn't help in the cases where the assignments are indirect.
The drop-downs on the top may not be the best place, though as it can be possible to define delegate in one place and use it on an entirely another place. In Visual Studio when adding an event, it offers to both auto complete the delegate assignment as well create an event handler stub. Something similar can be achieved but that would be limited to the flow of creating a delegate, set up the assignment and then define the callback. The alternate flow of defining the delegate, defining the callback procedure then finally setting up the assignment would not be covered.
The original idea would work no matter the flow being used and would be always explicit allowing the compiler to flag the mismatched prototype even if it wasn't yet assigned. I agree with your criticism that it's not good to make it opaque which is why I thought of using the CodeLens feature to avoid this.


[d3d9] Grand Theft Auto IV - ingame light sources flicker

In Grand Theft Auto IV, ingame light sources will flicker at certain camera angles when the graphics option Night Shadows is enabled.
The apitrace also reproduces the issue on wined3d, so I'm not convinced this is strictly a DXVK bug per se, but to my knowledge this doesn't happen on Windows d3d9 drivers.
Software information
Grand Theft Auto IV: The Complete Edition (Steam appid 12210)
System information

GPU: Radeon RX 5700 XT
Driver: Mesa 22.1.7
Wine version: Proton 7.0-4
DXVK version: 1.10.3

Apitrace file(s)

GTAIV.trace.tar.gz

I decided to install Windows, and lo and behold, I can also reproduce on native drivers too. It looks like it's definitely just a game bug. Too bad...

Fixable. It either depend on nvapi, d3d9.supportDFFormats = False dxvk option (fixed in current master and 1.10.x git branches), or maybe it was forced Mip LOD Bias (-1)

Fixable. It either depend on nvapi, d3d9.supportDFFormats = False dxvk option (fixed in current master and 1.10.x git branches), or maybe it was forced Mip LOD Bias (-1)

Can you elaborate? I'm using AMD hardware here so I doubt nvapi stuff would help, but regardless I tested on a GTX 1070 with native nvapi and the bug was still happening. d3d9.supportDFFormats = False doesn't make a difference, master builds are the same, and I'm not sure how to force Mip LOD Bias? I saw something like that for d3d11 in dxvk.conf, but nothing about d3d9.

libstrangle can do via STRANGLE_PICMIP=-1 environment variable or via launcher script with parameter.


Adding JS Array Examples

The JS Array bindings haven't been fully added yet (exists at https://github.com/Z3Prover/z3/pull/6393) but these examples demonstrate their usage.
Anything I'm forgetting to change/update when adding this example?

@microsoft-github-policy-service agree [company="{DeepReason Inc.}"]

very cool. These will work when z3 gets upgraded to using array bindings in a future release.
I will either merge but comment or wait with the merge.

it looks like some of the samples don't build. maybe z3 needs update?

correct, I have to deploy a new version of z3 before they have a chance of building

@walnutwaldo - I wonder can you "touch" this pull request to trigger a new build? (I don't see how to do this easily from the UI on this end, so I guess a simple push will do the trick).

Error:  Client bundle compiled with errors therefore further build is impossible.
Error: z3-js runtime error: 3150ee54e4ef0f952c06404754fa1e4130e85798, z3-failed, const arr = Z3.Array.const('arr', Z3.Int.sort(), Z3.Int.sort());
const [idx, val] = Z3.Int.consts('idx val');

const conjecture = arr.store(idx, val).select(idx).eq(val);
Z3.solve(Z3.Not(conjecture));, Error: main.ts (1,16): Property 'Array' does not exist on type 'Context<"main">'.
main.ts (5,10): Argument of type 'Probe<"main">' is not assignable to parameter of type 'Bool<"main">'.
  Type 'Probe<"main">' is missing the following properties from type 'Bool<"main">': not, and, or, xor, and 14 more.
    at runMicrotasks (<anonymous>)
error Command failed with exit code 1.

hmm, we are not on 4.12?

Right, we are still on 11.0 so the update didn't get pushed.
I have the token.

My bad, the package.json should use the latest z3 now

OK, this one looks like a legitimate regression:
Error: z3-js runtime error: b9be8bd823fa69da4efa6bd43516cef1f3c933c5, z3-failed, const solver = new Z3.Solver();
Error:  Client bundle compiled with errors therefore further build is impossible.
const vector = new Z3.AstVector<Arith>() as AstVector<string, Arith>;
for (let i = 0; i < 5; i++) {
    vector.push(Z3.Int.const(`int__${i}`));
}

const length = vector.length();
for (let i = 0; i < length; i++) {
    solver.add((vector.get(i) as Arith).gt(1));
}
solver.add(Z3.Distinct(...vector));
await solver.check();
solver.model(), Error: main.ts (3,63): Type 'Arith<"main">' does not satisfy the constraint 'Ast<string, unknown>'.
  The types of 'ctx.isModel' are incompatible between these types.
    Type '(obj: unknown) => obj is Model<"main">' is not assignable to type '(obj: unknown) => obj is Model<string>'.
      Type predicate 'obj is Model<"main">' is not assignable to 'obj is Model<string>'.
        Type 'Model<"main">' is not assignable to type 'Model<string>'.
          The types returned by 'entries()' are incompatible between these types.
            Type 'IterableIterator<[number, FuncDecl<"main">]>' is not assignable to type 'IterableIterator<[number, FuncDecl<string>]>'.
              Type '[number, FuncDecl<"main">]' is not assignable to type '[number, FuncDecl<string>]'.
                Type at position 1 in source is not compatible with type at position 1 in target.
                  The types of 'domain(...).cast' are incompatible between these types.
                    Type '(expr: CoercibleToExpr<"main">) => Expr<"main", AnySort<"main">, unknown>' is not assignable to type '(expr: CoercibleToExpr<string>) => Expr<string, AnySort<string>, unknown>'.
                      Types of parameters 'expr' and 'expr' are incompatible.
                        Type 'CoercibleToExpr<string>' is not assignable to type 'CoercibleToExpr<"main">'.
                          Type 'Expr<string, AnySort<string>, unknown>' is not assignable to type 'CoercibleToExpr<"main">'.
                            Type 'Expr<string, AnySort<string>, unknown>' is not assignable to type 'Expr<"main", AnySort<"main">, unknown>'.
                              Types of property 'sort' are incompatible.
                                Type 'AnySort<string>' is not assignable to type 'AnySort<"main">'.
                                  Type 'Sort<string>' is not assignable to type 'AnySort<"main">'.
                                    Type 'Sort<string>' is not assignable to type 'Sort<"main">'.
                                      The types of 'ctx.name' are incompatible between these types.
                                        Type 'string' is not assignable to type '"main"'.

I disabled the failing example from the page (remove tag z3-js) and it builds with 4.12.1.
You should merge your fork and push to it again.

Ah I've actually seen this failing example before. Not sure what causes it but I know how to fix it when I get to my laptop.

No rush, the build is clear now and ready for testing the pull request.
I presume it exposes a bug in the API bindings. This will trigger a new release, which is relatively easy for me at this point (I introduced a regression today that has to be resolved),
and then we can get the guide into an updated state.


Search for Vaal skill gems show results for normal version

It doesn't seem to know about vaal gems or detect the vaal attribute properly. It just returns results as if you searched the normal version of the skill gem.
Also the poe.ninja price is based on the gem being 20% quality, regardless of the gems actual quality.

@coldcode69 Thanks for reporting. I have added support for vaal gems which will be included in an update later this week.
As for the poe.ninja prices, poe.ninja does not have price information for all level/quality combinations. We try to match the closest possible quality/gem combination which is also displayed below the price: https://i.imgur.com/Ft6A7mk.png


Get an approved name for Paranext

The team would really like a long term name for this product.  It seems like their is an organizational level decision on whether this will keep the name Paratext or assume a new name.

If we would use a new name we could open up polls to organizations on coming up with a name.
If we keep the name Paratext, we need some sort of way to distinguish this application from Paratext 9.

We were able to discuss this in Dallas with about 6 people with some creative ideas.  We were thinking about 2 different pulls that affect the naming of Paranext.  The first is the pull to show that we are building something new and open that the BT community would understand is open source and a platform for the community.  The second challenge is that we don't want to alienate the brand and lose momentum of long term adoption of users by leaving the Paratext name behind.  There was some forward movement behind using Paranext for the near future (2-n years).
Two ideas for the longterm would be to rename it in the future possibly to NEXT, and keep a subtitle that points to Paratext.  The second idea is that we would rename to Paratext X or Paratext 10 when we deemed it was complete enough for users (not all users but a number we feel comfortable with).
The longterm branding is unknown, but has some solid ideas.  In the meantime we thought that Paranext with some milestone branding would be the best for the next couple of years.  Paratext tech demo could be Paratext Genesis.  The next milestone could be something like Paratext Exo or Paratex Exodus.  That way we can clearly distinguish that when people have tried Paratext, but we are on a new milestone they can cleary know that this is a new version.  This can also help us communicate to other people in the Biblcal Tools Community what milestone they might want to come in and build extensions on, etc.

This year we will be working on "Paranext Genesis".  The focus of Genesis will be on a technical demonstration.  Working in collaboration with the BT community will be of the utmost importance.

[ ] Present at the PAC on Feb 8, 2023:

The development naming scheme "Paranext "  will be presented as fact.  The first milestone is Genesis - the technical demo for 2023.  Tentatively, the next milestone will be Exodus, the MVP.

The ultimate goal of Paranext is to eventually become "Paratext X".   This will be presented as our current intention, once the Paranext project reaches a sufficient level of maturity.  Once Paratext X is produced we will move Paratext 9 fully into maintenance mode.

The concept of "Next.Bible" being the platform, and Paratext X being the product (from a marketing standpoint) will not be presented to the PAC, it is noise at this point, but something to keep in consideration over the next several years.

@GlennPruitt Today at our Scrum review we talked about the possibility of eventually calling it something like Paratext Studio. This gives the sense of it being a platform where you might add a whole lot of other things to it. This keeps it separate but also links it to Paratext (v9). Additionally it can have its own version numbering starting at v1 and not need to start at v10 (X). We are not set on this but thought I would mention it since we discussed it.

@irahopkinson  I love the name Paratext Studio.  I agree with everything you mentioned but I have one big hesitation.  Unfolding Word has two main products; translationCore and translationStudio.  The name Paratext Studio could appear to be a merger of our products (or a takeover of their product).  If the relationship between our orgs continues to improve greatly, and if we end up reusing a lot of translationStudio in Paranext, then that could be a very good name indeed.  However, until that time I'd like to see how things progress between our orgs.  BTW, I'm not totally sold on Paratext X, but we have some time before we get to that point.  On the other hand I am pretty much sold on Paranext Genesis.

@GlennPruitt, @darren8c, I'm going to call this task finished.


Erratic casting in Rl.Image variable declaration

Haxe Code:
class Main {
	static function main() {
		var logo:Rl.Image = Rl.loadImage("Assets/logo.png")
		Rl.imageFormat(logo, Rl.PixelFormat.UNCOMPRESSED_R8G8B8A8);
		Rl.initWindow(800, 450, "Spatial");
		Rl.setWindowIcon(logo);
		...

C++ Output:
	void Main_obj::main(){
	            	HX_STACKFRAME(&_hx_pos_e47a9afac0942eb9_4_main)
	HXLINE(   5)		const char* this1 = HX_("assets/logo.png",72,b4,d1,0d).utf8_str();
	HXDLIN(   5)		cpp::Struct< Image > logo = LoadImage(this1);
	HXLINE(   6)		ImageFormat(&(logo),PIXELFORMAT_UNCOMPRESSED_R8G8B8A8);
	HXLINE(   7)		const char* this2 = HX_("Spatial",a4,f0,48,6a).utf8_str();
	HXDLIN(   7)		InitWindow(800,450,this2);
	HXLINE(   8)		SetWindowIcon(logo);

Build Output;
Error: Main.cpp
./src/Main.cpp(34): error C2664: 'void ImageFormat(Image *,int)': cannot convert argument 1 from 'cpp::Struct<Image,cpp::DefaultStructHandler> *' to 'Image *'
./src/Main.cpp(34): note: Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
C:/Users/ACER/Code/Haxe/lib/raylib-hx/source/lib/src/raylib.h(1231): note: see declaration of 'ImageFormat'

try the latest commit

Sorry for the delay, the issue still persists unfortunately :(

will look into it more then

I've been able to get around this by using RlImage directly

/** Image, pixel data stored in CPU memory (Ram) **/
typedef Image = cpp.Struct<RlImage>;

https://github.com/foreignsasquatch/raylib-hx/blob/main/source/Rl.cpp.hx#L249

Is there a reason why we're using the cpp.Struct<> cast here? perhaps i'm missing something

Im using cpp.Struct so it doesnt create a dynamic array when creating for example Array

I think this can be closed? because this is very use case specific

I'd argue that it's a pretty common use case. Plus it practically renders all Rl.Image objects incompatible with any of raylib's image functions. But as I have no solutions in mind, I guess closing is fine

will fix again


bug: Failed to find branch dev

Action

cargo update

Description

there is not git branch "dev" in "github.com/tauri-apps".is it default branch or v1?

Suggestion

# Cargo.toml
- tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
- tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace", branch = "dev" }
+ tauri-plugin-autostart = { git = "https://github.com/tauri-apps/plugins-workspace" }
+ tauri-plugin-single-instance = { git = "https://github.com/tauri-apps/plugins-workspace" }

Seems like they have recently changed the branches. I was able to execute cargo update three days ago (https://github.com/kiimesoft/runmath/commit/a03885a85094b8481996af41cccd08120c421f4b) and all was ok.
I'll update it later. We should use v1

Let's keep this opened until I fix It ☺


Update Composer dependencies (2020-06-17-00-11)

Visual regression test passed!
View the visual regression test report


Link fix at powerapps-docs/developer/common-data-service/overview.md

Developer Guide for Dynamics 365 Customer Engagement (on-premises)

https://docs.microsoft.com/en-us/powerapps/developer/common-data-service/overview


labels on response status tabs still not well adjusted

It's an issue with <paper-tabs> or <paper-badge>. When the window resize (or container size change) paper-tabs will adjust to new sizes. paper-badge will stay in the same position which may cause layout to break.
Either remove paper-badge or fix it.

Fixed in e38799b84389bfdf5d58393149f700d57e112639


Unreal Engine's Movie Render Queue crashing when Source Data Override Plugin is set to Project Acoustics

Hello,
Whenever I try to render a still or sequence using the Movie Render Queue while the Source Data Override Plugin is set to "Project Acoustics," Unreal Engine crashes. I have lots of crash logs I could share if it's helpful. I'm wondering if it's related to the error I posted about earlier, which is #152. What's the best way to proceed? Should I just disable it every time I want to do a render? I am using it in-game, but we'd also like to render sequences/stills from the projects, although the audio for those doesn't matter.
Aidan

Could you post the crash logs please

Most Recent - CH_VR_Experience_UE5.log
Additional 1 - CH_VR_Experience_UE5.log
Additional 2 - CH_VR_Experience_UE5.log

Here's an example of me reproducing the error - https://share.vidyard.com/watch/kDVQxrMB4PXPBVe8fDmw4h?

Thanks for the report. The only thing I see in the logs is it appears that Movie Render Queue is using a buffer size that we don't support. Which means that our plugin doesn't initialize. But it's bad that it causes the editor to crash.
For now, you can disable the plugin for the renders, especially since you don't need audio for them. I'll file a bug and we'll investigate how we can handle this situation better.

Thanks, Kyle!

@aidannewsome circling back to this issue, we did do an update for UE5.2 which hardened some of the initialization paths.  It's possible that we fixed this crashing using in that update, but we haven't confirmed this to be the case.  If this is still happening for you with the latest plugin, please let us know.  We still don't support buffer sizes of less than 256, but hopefully we don't crash anymore.


Nav, settings, theme updates, sidebar, jumpto links

This PR adds the styles and interactions for the nav and theme settings menu. These are very complex UI elements with nuanced interaction and varied content so I can't say for certain that these are 100% done but they are in a good spot for now.
Since jump-to links are so varied in content, there is a global state for SSR called jumpToState that is set in each layout file. These are not set for every single layout yet and you may reach routes with stale content. I am waiting until more of the pages are in a "finished" state before a final universal "jump-to" pass

looks good overall! this is a ton of work and i noticed some nice UI animations.
i found two issues i think we need to fix:

i can't scroll the jump to list when its longer than the window
we need to set jumpToState(null) on the text detail pages and a couple new ones that were added after this branch branched off of main. (they retain the jump to options of the previous page) could we have the BaseLayout default to jumpToState(null) if the wrapping template doesn't set it? or maybe the object should be passed to BaseLayout which then calls jumpToState(null) if something isn't passed.

i'm fine to have these addressed in this PR or in a followup right after

Thanks!
Former dealt with in the latest commit.
The latter should be addressed in a follow-up. I didn't want to finish all of the jumpState stuff while the other pages are in motion. And no, unfortunately, can't set jumpState(null) on the base layout because of DOM to fence execution order, the outermost element gets its fences processed last.