updated the AddAttributeCommand to make use of specified attributes

After this will need to merge add commands's multi-attribute parser in to align the command formats, and to ensure that add command also creates the correct type of attributes.


Frontend/backend framework choice

We'll probably want to use Meteor for the persistence layer (#36), so we need to decide if we want to switch to Meteor completely or use an Aurelia frontend with a Meteor backend.
Here are some pros and cons for both options
Aurelia frontend with Meteor backend

Pros

We have a good form system built

Cons

It may be harder to integrate Aurelia with Meteor

Full-stack Meteor

Pros

Other APInf projects use Meteor
It's more common so there are more libraries available which could reduce the amount of code needed

Cons

We'll have to rewrite most of the code

Goal

[x] Choose a frontend framework
[ ] Choose a backend/REST framework

Good points. We should make a decision soon, to continue the project. What is your preference?

We had a leadership meeting this morning, and it was decided that we can use this project as an innovation experiment. Basically, I am hoping that Aurelia will introduce us to new best practices for front-end architecture. So, we are free to move forward, and possibly fail, with Aurelia.

It is also worth mentioning that we can treat this project as a stand-alone tool, kind of like a microservice. There is a general need in the OpenAPI community for an open source visual design tool, so we have a chance to meet that need.

cc: @bajiat @ccsr

So should we use Meteor or something else for the backend? I'm more familiar with Go and Python, but we can also use Node.js.

If possible, I would like for us to use a single language (JavaScript) for front/backend. What Node.js MVC framework(s) might we compare?
For a specific suggestion, I recommend the Sails.js framework, and have worked with it a bit.

For the sake of innovation experiment, my suggestion is Mean, it gives a good scaffold on front-end as well as back-end testing.

Cool, lets add consider Mean and Sails.js for a comparison. Any other suggestions?
FWIW, GitHub has a list of web application frameworks.

Using the GitHub web aplication frameworks list, we can compare Sails.js and MEAN directly (to a certain extent).

Observations:

MEAN has more forks/branches

MEAN: 2,954
Sails.js: 1,691

Sails.js has more stargazers

Sails.js: 16,739
MEAN: 9,900

Sails.js seems to have more recent activity (although the scales are ambiguous)

Here is a closer look at the development activity for MEAN and Sails.js. The highlighted area starts at 2016-01-01 and extends to 2017-03-24.

As an aside, would are some thoughts on using Django for the backend?

I prefer Flask since it's light and easy to use. Django is also fine, but I haven't used it that much.

Cool. Flask sounds good. Let me check with @bajiat.

@ccsr agreed that Flask sounds good, particularly since we want to keep the backend as simple as possible.

Next decision, what database do you want to use with Flask?

After a quick search, I think we should stick close to the recipe shown in Web API Development with Flask . That means:

Flask (of course)
SQAlchemy (orm)
MySQL, MariaDB, or Postgres

What would this mean in practise for integration with APInf?

It means that APInf would retrieve the OpenAPI document via an HTTP endpoint. We will have to figure out a simple way for the API Owner to get the HTTP endpoint from the OpenAPI Designer, and add it to the API Documentation settings.

The backend will use Flask with SQAlchemy


iOS App  crashes on launch with MissingResourceException with Compose UI

Describe the bug
when i create a kmp projects and added my resources in shared module and tried to access my resources in ios app of kmp project it works properly . but when i  tried by creating a xcframework from my shared  kmm module and intergrating the Xcframwork in another new sample ios app  facing  issue as (org.jetbrains.compose.resources.MissingResourceException) resource not found .
Affected platforms

iOS

Versions

Libraries:

Compose Multiplatform version:1.6.10

Kotlin version: 1.9.14

Duplicates https://github.com/JetBrains/compose-multiplatform/issues/4643

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Image rebase never happens

This commit: 74f2212ba737e7223c8762b917a0bf229c420f72 broke rebasing. It no longer occurs no matter what the circumstances.

Fixed in PR #223


validate message on checkbox form elements

Hello
Not sure how to address this but inside of form elements there is the helpText message missing on <Checkbox/>. I think it might be not available from the mwc itself but maybe rmwc should fill the gap to support error messages for checkboxes. Or did I overlook some option how to address this currently?
Cheers

I would file an issue upstream for this one. I know someone that was using the text field helper text component to accomplish this but it’s definitely not something that I know of.
Another option is to use a list item with a checkbox in it that provides a place for primary and secondary text.

I created this issue https://github.com/material-components/material-components-web/issues/4537
Hopefully required prop will be supported soon and the helpText prop as well. I will use the TextFieldHelperText component for now.

Thanks! I’ll leave this open until we get some feedback.

@jamesmfriedman the material team don't seem to implement this into their core (don't ask me why..)
But I really think that this should be part of the core - maybe @rmwc should take over? I currently bump into it with every form I create because having required prop on checkboxes is almost on every GDPR consent complied form.

a simple screenshot / mockup would help me give you some more guidance. It would be trivial for you to extend the existing checkbox and add the particular UI you need. Happy to point you in the right direction on that.
As far as adding it to RMWC, the form elements are extremely complex. I know the Material team works really hard on the design language and internationalization, I'd imagine they have a someone valid reason for not including it, but we can still find a way for you to meet your requirements.

@jamesmfriedman thanks for coming back. I am using a form wide message helper and toggle the validation class on the checkbox component. For me its fine like this, I just though I raise this issue  that RMWC would toggle Checkbox error color similar like Select or Textfield elements. Feel free to close it. Hopefully there will be some efforts from MWC to raise the same behaviour to all form components.


[ASTPrinter] Intorduce 'IntroducerKeyword' name kind

For more fine grained annotations. For now, it's handled as the same as Keyword name kind.
Fix an issue where extension wasn't marked as "keyword".
Also, move static priting out of SkipIntroducerKeywords guard because 'static' is not an declaration introducer.
(Preparation for #38453)

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test

@swift-ci Please smoke test


Update customization.md

This PR is related to issue #872.
It resolves the occurrence of kyverno-svc.kyverno.svc by updating it to kyverno-svc.<namespace where Kyverno will be installed>.svc.
The purpose of this PR is to address the creation of extra Secrets in non-Kyverno namespaces (like Helm), which could conflict with user-created Secrets. Updating the Secret naming convention ensures proper recognition and utilization of existing Secrets, improving installation reliability and consistency.

Please direct your changes to the release-1.7 branch.

You have merged, not cherry picked. You'll probably need to start over here.

Here is the PR addressing the same issue..

Remember to sign off on all git commits, per the terms of CNCF project contributions.

Got it


Aliased Border Radius When Adding Border to Component

Description
I encountered an issue where border radiuses appear aliased or pixelated when a border is applied around components (e.g., a button). This behavior occurs across various devices. Please see the linked Snack example for reference
Steps to reproduce

Install the Application
See issue

React Native Version
0.74.5
Affected Platforms
Runtime - Android, Runtime - iOS
Output of npx react-native info
System:
  OS: Windows 10 10.0.19045
  CPU: (20) x64 13th Gen Intel(R) Core(TM) i7-13800H
  Memory: 41.62 GB / 63.62 GB
Binaries:
  Node:
    version: 20.11.1
    path: C:\Program Files\nodejs\node.EXE
  Yarn:
    version: 1.22.19
    path: C:\Program Files (x86)\Yarn\bin\yarn.CMD
  npm:
    version: 10.8.3
    path: C:\Program Files\nodejs\npm.CMD
  Watchman: Not Found
SDKs:
  Android SDK: Not Found
  Windows SDK: Not Found
IDEs:
  Android Studio: AI-233.14808.21.2331.11709847
  Visual Studio:
    - 16.11.35229.62 (Visual Studio Community 2019)
Languages:
  Java: 17.0.11
  Ruby: Not Found
npmPackages:
  "@react-native-community/cli": Not Found
  react:
    installed: 18.2.0
    wanted: 18.2.0
  react-native:
    installed: 0.74.5
    wanted: 0.74.5
  react-native-windows: Not Found
npmGlobalPackages:
  "*react-native*": Not Found
Android:
  hermesEnabled: Not found
  newArchEnabled: Not found
iOS:
  hermesEnabled: Not found
  newArchEnabled: Not found

Stacktrace or Logs
-No Stacktrace-

Reproducer
https://snack.expo.dev/@berkearas/aliased-border-radius-when-adding-border-to-component
Screenshots and Videos
Button WITHOUT BORDER

Button WITH BORDER

Button RADIUS ZOOMED

@BerkeAras-SMM In the snack you provided, android and web look fine, ios doesn't, but the buttons in all 3 cases look exactly the same. I think it's a simulator/emulator problem only. I have seen similar behaviour in my emulator for quite some time.

@BerkeAras-SMM In the snack you provided, android and web look fine, ios doesn't, but the buttons in all 3 cases look exactly the same. I think it's a simulator/emulator problem only. I have seen similar behaviour in my emulator for quite some time.

Hi, @spyshower.
This issue happens on Real Devices and without Expo Go too. Fyi

Duplicate of https://github.com/facebook/react-native/issues/41226
Fixes for this have been shipped in 0.76+


[nitpick] /messages "dir" parameter is ambiguous

Required. The direction to return events from. One of: ["b", "f"]

This is ambiguous and not immidiately clear what each of these two values do, even if it can be deduced, it should be declared explicitly.

related: https://github.com/matrix-org/matrix-doc/issues/2420

I'd say #2420 is the original issue on this, i'll close this and put the message on there as well.
Duplicate of #2420

Oh wait no, that issue is more related to undefined behaviour with real-world examples, this is more a clarification issue, i'll re-open this


Add no-more-secrets

What does this project do?
It reads a text file and displays it with a special fade-in animation in your terminal.
It also includes a default text if you don't want to use your own.
The README has a very nice preview.
Why is that entertaining?
This is a recreation of the effect in the movie Sneakers. (I won't spoil the movie here.)
How hard did you laugh? Was it just a silent giggle or was it full blown laughing and howling and screaming "OH MY GOD! EVERYONE! OH MY GOD! THIS IS THE FUNNIEST THING EVER! YOU'VE GOT TO SEE THIS!!!"
Um, it reminded me of this good movie I've seen a few years ago.

Oh, sorry. This already existed.

All good mate! 😉


search with git dorks?

Is your feature request related to a problem? Please describe.
hello, can gitleaks search by using git dorks?
cc @zricethezav

I don't know what you are asking

Provide a more full description of what you were thinking then reopen the issue if you want.


Cannot use linuxPackages.nvidiaPackages.production due to misspelling "ssha256"

Describe the bug
A recent commit fc1f9fe updated the production nvidia driver to 550.142, but the persistencedSha256 attribute has a misspelling for sha256 that causes an error when trying to build a system using the driver.
    persistencedSha256 = "ssha256-yQFrVk4i2dwReN0XoplkJ++iA1WFhnIkP7ns4ORmkFA=";

Steps To Reproduce
Steps to reproduce the behavior:

Configure a NixOS system to use linuxPackages.nvidiaPackages.production for its nvidia driver package.
Attempt to build the system.
Observe the follow error message:

 … while evaluating definitions from `/nix/store/563952p6ih60l9v31jkdkd2d1qayd3d2-source/nixos/modules/hardware/video/nvidia.nix':

 error: unknown hash algorithm 'ssha256', expect 'md5', 'sha1', 'sha256', or 'sha512'

Expected behavior
The nvidia driver should build properly
Metadata
 - system: `"x86_64-linux"`
 - host os: `Linux 6.6.57, NixOS, 24.11 (Vicuna), 24.11.20241017.b5cd423`
 - multi-user?: `yes`
 - sandbox: `yes`
 - version: `nix-env (Nix) 2.24.9`
 - nixpkgs: `/nix/store/7z1d5gzwhjxn9xx8d32pcak33pfyisk0-source`

Notify maintainers
@Kiskae

Note for maintainers: Please tag this issue in your PR.

Add a :+1: reaction to issues you find important.

You can temporarily use the mkDriver helper with the corrected hashes, until the fix reaches unstable.


Create Book Category API Unit Tests

This task tracks the unit tests for create book category API.

Unit tests completed.


WebP Support

Are there any plans to update the plugin to support the native WebP and AVIF support in Kirby 3.6?

Yes. So far, I didn't have the time to check out 3.6 but I will definitely do so. Since the plugin only calculates coordinates and manipulates GD and IM cropping, it hopefully works out of the box or only needs minor modification.

Great :)
I think it will need a small modification as you now tell srcset which filetypes you would like:
    $shotsrcset = $shot->srcset([
      ['width' => 640, 'format' => 'webp'],
      ['width' => 640, 'format' => 'jpg'],
      ['width' => 640, 'format' => 'avif']
    ]);

I'm willing to pay/donate whoever can make AVIF/WebP support on Kirby 3.6 happen on this one. I feel I got the need for this plugin for the first time, but I already optimized everything on this certain website to show AVIF and WebP.
And it would probably take me much more time to figure out how to patch this.

FocusCrop ultimatly uses the the thumb() method as far as i can see, and I can only see about 3 occorances of that in the plugin code. It's this same method that does the webP avif magic in K3.6. So i think really it just needs a small tweak to those three lines to add the extra options that generates the WebP/Avif

The good news is that this works out of the box without any mods:
<?php
  // you need a Kirby image object like this
  $image = $page->images()->first();
  echo $image->focusCrop(1200, 600, ['quality' => 80, 'format' => 'avif']);
  echo $image->focusCrop(1200, 600, ['quality' => 80, 'format' => 'webp']);
  echo $image->focusCrop(1200, 600, ['quality' => 80, 'format' => 'jpeg']);
?>

@HashandSalt So, wait, does it now work or does it not work? I'm a bit confused.
Does it work with all the methods to generate srcsets yet?

@renestalder the focusCrop method works out of the box without any mods to the plugin. This works already because it already accepts an options arrary and passes it through to ->thumb().
The srcset feature will need a tweak as it needs to know the desired format.

@renestalder to help out @flokosiol i added support for the format option on the srcSet. I have tested this as far as I can so hopefully it will fly now, but i cant promise :) There is a pending PR for it.

Thanks @HashandSalt for checking this out and for your PR as well. Highly appreciated!
But I think focusScrset() already supports WebP out of the box, because the the default Kirby srcset() method has not been changed for 3.6 and so should focusSrcset neither.
I successfully tested the following code with Kirby 3.6.0 and the latest Focus plugin:
<img
  src="<?= $image->focusCrop(1000, 1000, ['format' => 'webp'])->url() ?>"
  srcset="<?=
    $image->focusSrcset([
      '800w' => [
        'width' => 800,
        'height' => 800,
        'format' => 'webp',
      ],
      '1400w' => [
        'width' => 1400,
        'height' => 1400,
        'format' => 'webp',
      ]
    ]);
  ?>"
>

@renestalder  Would be awesome, if you could check if this works for you, too.

@flokosiol ahhhhh when i messing around with it today, i didnt think to put the format into each width array. I thought it was a seperate thing. Thats a better way, for sure.

Just for the record … I saw, that I didn't create a new release after introducing the focusSrcset presets in August. Totally unrelated to this issue, but I quickly caught up on that. At leaset, we got that fixed :)
I'll close this one, but if you ran into any issues @renestalder – don't hesitate to re-open it.
And thanks again @HashandSalt for your commitment!

Awesome folks, thanks. I will get that tested.


Added notranslate class to Sir Trevor wrapper

This is to disable Chrome's translation functionality.

:+1: :rocket: great stuff!


If the user doesn't grant Notifications on the Notification screen, or we detect notifications are off at any other point, send them to a screen that tells them how to turn on Notifications

We can do the same thing we did for Bluetooth, I am happy to implement it.

I copied what you did and created a PR for it
On Mon, Apr 13, 2020 at 00:05 Madhava Jay<EMAIL_ADDRESS>wrote:

We can do the same thing we did for Bluetooth, I am happy to implement it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/covid19risk/covidwatch-ios/issues/54#issuecomment-612781172,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADHTCKPBMKEQLLTHNSZSKQ3RMK2SRANCNFSM4MGW3VOQ
.


Suggestion: remove 'variations'

Motivation
Reduce the dependency footprint. Right now, due to https://github.com/RationalJS/future/issues/53, I cannot update my bs-platform version to 8.
Since these variations are very simple and short, they could be documented instead of being a part of the source code. There's also the option of making each variation a separate npm module, but it might be overkill.
I'll be happy to submit a PR if you agree with this suggestion.

@leeor Seems good with me. Happy to accept PR.
1 Suggestion i have to is to prefer reason-promise over Future library - Future library does not handle event loop starvation properly

PR merged, thanks @sikanhe.

Actually, #37 was closed without merging, so I'm reopening this.

In master - need to add back readme/guide - will open up a new issue for that


Examples Fail

The examples in the downloaded folder aren't working. The hamburger menu is also sitting on top of the text.

Stackoverflow is a better place for doubts and implementation issues (don't forget to provide your failing code).


Run longer sim tests on demand on self-hosted runner

Motivation
As part of automated testing we want to run longer sim tests at critical moments of our development pipeline.
Exploration
from https://github.com/ChainSafe/lodestar/pull/4756#issuecomment-1312079997
Self hosted runners operate differently: they don't start from a clean slate but just run on bare metal and do not clean up. Instead Github self hosted runners run on fresh VMs that are destroyed after the fact.
From an offline exchange with Pari:

L: When using Github self hosted runners, every registered runner can run exactly 1 job at a time? Do you know if that can be customized? In your usage of it with kurtosis is there any issue with clean-up after the fact? Being used to Github own runners where you get a fresh environment every time that is destroyed after the fact, using self hosted has some challenges
P: yeah so you can't customize it - we had the same issue on our system. So the fix is to register multiple runners on the same physical host so you "hack" it in. When no jobs are running, nothing changes about the usage anyway. The correct way to do it would be to use something like:

Actuated: https://blog.alexellis.io/blazing-fast-ci-with-microvms/
Kubernetes with the autoscaling option to spin up more runners when there are pending jobs
Amazon's free autoscaling service for github runners

But in practice, Github makes this hard so incentivize using their runner services. I have an explicit job that cleans up kurtosis post run irrespective of fail/success - so i haven't had any stale file issues there.

IMO we should not run every sim test on the self hosted runner, but instead do:

Run on Github runners on commit a light version of the sim tests that are okay with low power machines. Sim tests have shown to be very stable with correct business logic
Run on self hosted runners only on demand for key commits on key PRs + on merge to master + before release. This less frequent tests could do much longer runs with more nodes.

This approach makes sense because the workflow must be different:

Requires more setup phase
Must assume another test is running in the background, so ports, paths must not conflict
Requires a tear-down phase

The current SIM tests setup take ~9min to execute on Github runners. There is no way we can reduce the time unless we change the number of assertions or the number of epochs to run.
I believe when SIM tests extends with more use cases, then we have to split those in different scenarios to decrease the execution time and at that time we can think of splitting between Gihub runners and self hosted runners.
For the team down phase on self-hosted runners, our sim tests uses docker to bootup containers of different clients. So the cleanup is quite easy to just remove all the containers from docker.

@nazarhussain sim tests on commit taking 10-15 min is perfectly okay. The longer runs on demand should be of ~60-90 minutes

By the way, if you want a no-maintenance method to achieve that, you can use cirun.io for the same.

@nazarhussain sim tests on commit taking 10-15 min is perfectly okay. The longer runs on demand should be of ~60-90 minutes

As our sim tests are still in reasonable threshold we don't need self hosted on demand runner. In future if needed we can reopen the issue.

@nazarhussain sim tests on commit taking 10-15 min is perfectly okay. The longer runs on demand should be of ~60-90 minutes

As our sim tests are still in reasonable threshold we don't need self hosted on demand runner. In future if needed we can reopen the issue.

Could be considered for benchmarks, those take 25-30 minutes and produce a lot of false positives all the time.


New version: LinwoodCloud.Butterfly version 1.2.0

Auto-updated by vedantmgoyal2009/winget-pkgs-automation in workflow run 2699
Microsoft Reviewers: Open in CodeFlow

Oh thanks, I didn't know that


Implement selectors

See https://github.com/SpongePowered/Sponge/pull/243.

Continuation of #4.

Ok, AFAIK this is good.

@kenzierocks Did you test?

Limited testing, I'll run some extensive ones ASAP.

...apparently it didn't apply an AT when I rebased, let me patch that.

Alright, should be good, if anyone wants something specific tested I can test that.

Tested more, everything works, I'll work on the merge conflicts.

And good.

Has this been updated for the latest has()/isInverted() changes to the API?

Locally, yes, but I'm still implementing extent support.

Alright I think it's good. Currently impl acts like vanilla for resolving wherever it was applicable.


Update readme.md

Adding pg-promise - promise-based high-level framework for PostgreSQL.

Please read and adhere to the contributing guidelines.

Please read and adhere to the contributing guidelines.

I did that. Are you saying that I missed something? It would help if you point it out then.

@sindresorhus I've gone through the requirements 5 times, I don't see anything where this PR wouldn't adhere to. So what is wrong with this PR?

One thing is to give the Pull request a good name

One thing is to give the Pull request a good name

Ok, done! :)

For me the Pull request still says Update readme.md

For me the Pull request still says Update readme.md

I don't know why it changed back, so I changed it again.


Review implementation of AddElementsFromKafkaHandler

The implementation of AddElementsFromKafkaHandler that uses Flink to add data from Kafka contains some code that looks unnecessarily complicated and there's no Javadoc to explain why it's done this way:

The invoke method on GafferSink receives an Iterable of Elements. This will normally be a small batch of Elements created from a single Kafka entry. Presumably this is passed to a GafferSink which passes it to a GafferAdder to avoid the expense of creating an AddElements operation for each small batch. If a flatMap was called after the map in doOperation in AddElementsFromKafkaHandler then the sink would receive a never-ending iterable of elements which could be passed to a single AddElements operation - only one of these would ever need to be created. There would be no need for a GafferAdder.
The GafferAdder maintains a ConcurrentLinkedQueue of elements. It looks like it's assumed that elements will be continually added to the queue whilst the AddElements operation is simultaneously running and pulling data from it. This means that if the AddElements operation is slower than the ingest from Kafka (e.g. because Accumulo is under load) then it will eventually run out of memory, i.e. there is no way of back pressure being applied to earlier functions in the stream. There should be a test to check that back pressure is applied.

If the design is correct then there should be some Javadoc to explain why it's done this way.
Marked as a possible bug in case the OOM issue is true.

@gaffer01 - I switched to using a flatMap function to reduce the nested iterable. However, flink calls the sink with each individual element, whether or not I use an iterable in the flatMap. There doesn't seem to be a way around that.
I've changed the queue of elements we give to AddElements to be a blocking queue with a maximum customisable size (defaults to 1,000,000). If the queue is full then flink will be blocked from adding more elements. This should fix the back pressure issue.

Merged into develop.


dotnet dev-certs https --trust will fail on Linux platform

At least on Unbuntu 18.04, dotnet dev-certs https --trust will fail on a message "Specify --help for a list of available options and commands."
you could see <https://stackoverflow.com/questions/55485511/how-to-run-dotnet-dev-certs-https-trust> to get more detail.

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

ID: 3e087007-7838-e0f9-d713-22182a5d9704
Version Independent ID: 2f32c7c3-8667-0e88-495b-c0c888572964
Content: Hosting ASP.NET Core Images with Docker over HTTPS
Content Source: aspnetcore/security/docker-https.md
Product: aspnet-core
Technology: aspnetcore-security
GitHub Login: @Rick-Anderson
Microsoft Alias: riande

Per doc
dotnet dev-certs https --trust is only supported on macOS and Windows. You need to trust certs on Linux in the way that is supported by your distro.


Add destroy, disable, enable ops for azure server groups

@JargoonPard PTAL

Until we get the backend capabilities built for enable and disable those actions should not be added into this commit. Remove the functions and drop down entries that are not part of the active work.

I didn't see any changes that you made to the serverGroup.write.service.js file from the one that's in core.   Can you point them out please?

LGTM


Loading a view with a HotKey throws: System.InvalidOperationException: Collection was modified; enumeration operation may not execute.

Describe the bug
Avalonia crashes when a new View is loaded after using a HotKey.
To Reproduce

Create a new Project

Add a UserControl to MainWindowView
<UserControl Content="{Binding ViewModel}"></UserControl>

Add a ViewModel Property and a function to load a new View to MainWindowViewModel.

public class MainWindowViewModel : ViewModelBase
{
    private ViewModelBase _viewModel;

    public MainWindowViewModel()
    {
        LoadView();
    }

    public ViewModelBase ViewModel
    {
        get => _viewModel;
        set => this.RaiseAndSetIfChanged(ref _viewModel, value);
    }

    public void LoadView()
    {
        ViewModel = new HotKeyViewModel(this);
    }
}

Create a View containing a Button with a HotKey, like this
<Button HotKey="f1" Command="{Binding ButtonClickCommand}" Content="{Binding SomeText}"/>

Create a ViewModel for the view

class HotKeyViewModel : ViewModelBase
{
    public HotKeyViewModel(MainWindowViewModel mainWindowViewModel)
    {
        ButtonClickCommand = ReactiveCommand.Create(mainWindowViewModel.LoadView);
        SomeText = Guid.NewGuid().ToString();
    }
    private string SomeText { get; }
    public ReactiveCommand<Unit, Unit> ButtonClickCommand { get; set; }
}

Expected behavior
When the button is clicked, the LoadView function is called and the view is replaced.
The expected behavior occurs when the user clicks the button with the cursor.
But when the HotKey is used, the application crashes.

OS: Windows 10
Version 0.10.6 and prior

Additional context
Related Issues and pull requests
https://github.com/AvaloniaUI/Avalonia/issues/5054
https://github.com/AvaloniaUI/Avalonia/pull/5055
Exception
Unhandled exception. System.InvalidOperationException: Collection was modified; enumeration operation may not execute.
   at System.Collections.Generic.List`1.Enumerator.MoveNextRare()
   at Avalonia.Input.KeyboardDevice.ProcessRawEvent(RawInputEventArgs e) in /_/src/Avalonia.Input/KeyboardDevice.cs:line 224
   at Avalonia.Input.InputManager.ProcessInput(RawInputEventArgs e) in /_/src/Avalonia.Input/InputManager.cs:line 37
   at Avalonia.Win32.WindowImpl.AppWndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in /_/src/Windows/Avalonia.Win32/WindowImpl.AppWndProc.cs:line 468
   at Avalonia.Win32.WindowImpl.WndProc(IntPtr hWnd, UInt32 msg, IntPtr wParam, IntPtr lParam) in /_/src/Windows/Avalonia.Win32/WindowImpl.WndProc.cs:line 33
   at Avalonia.Win32.Interop.UnmanagedMethods.DispatchMessage(MSG& lpmsg)
   at Avalonia.Win32.Win32Platform.RunLoop(CancellationToken cancellationToken) in /_/src/Windows/Avalonia.Win32/Win32Platform.cs:line 157
   at Avalonia.Threading.Dispatcher.MainLoop(CancellationToken cancellationToken) in /_/src/Avalonia.Base/Threading/Dispatcher.cs:line 61
   at Avalonia.Controls.ApplicationLifetimes.ClassicDesktopStyleApplicationLifetime.Start(String[] args) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 116
   at Avalonia.ClassicDesktopStyleApplicationLifetimeExtensions.StartWithClassicDesktopLifetime[T](T builder, String[] args, ShutdownMode shutdownMode) in /_/src/Avalonia.Controls/ApplicationLifetimes/ClassicDesktopStyleApplicationLifetime.cs:line 148

It seems to be fixed in 0.10.7


Bcmohad 13629 v1 || updated flow with bug fixes

Deployment Tracker:
Flow : check_for_existing_open_case_with_same_PHN (Deactivated) - Old Flow (PD)
Flow: display_warning_for_duplicate_phn(Deactivated) - Old Flow(PD)
Flow: MAiD_Prevent_Duplicate_Phn - New Flow

@ahshaik1 There are three file names indicated in the deployment tracker above, but there is only one file change. Can you explain why? Thanks!

@ahshaik1 There are three file names indicated in the deployment tracker above, but there is only one file change. Can you explain why? Thanks!

Hi Sunil,
The two files are post deployment steps I Tried to mention it with (PD) written next to it.


adding plink outputs

Hey, I'd like to add plink output files using the human/rnaseq vcf files. this will be very useful for the future GWAS pipeline and certainly will be used as test input for new modules!
Best regards, Davi!

@FriederikeHanssen Hey, am i allowed to squash and merge now?

yes, go ahead :)


Fixed Broken Links

Fixed a broken link pointing to an old version of SIG Product Management to PM SIG. Adjusted the links pointing to the blogs after the new blog cutover so there is no redirection page
/assign @justaugustus
Signed-off-by: Kendrick Coleman<EMAIL_ADDRESS>

/assign @justaugustus

/lgtm


add option to purge plugins directory

/etc/sensu/plugins is not purged by puppet even when manage manage_plugins_dir is set to true. This seems very counterintuitive to me.

@yyejun thanks - this fixes the issue with the previous implementation.  I think we need to default purge to false though (avoid breaking current installations and those that use packages to install plugins).  Also could you throw some tests around it and it'll be good to go!

@jlambert121 thanks. Updated as you suggested.

Awesome - thanks!


404 on Rezo Scans

Source information
Rezo Scans
Source language
English
Steps to reproduce

Open Aniyomi
Browse
Rezo scans
Latest
World Rank No. 0, Please Stop!
Read / Press chapter
404
Back to World Rank No. 0, Please Stop! Page
WebView
I can normaly read

Expected behavior
Normal way , just open rezo scans > pick title > read
Actual behavior
Rezo Scans > Title > Read > 404 > Webview > still 404
Mihon/Tachiyomi version
Aniyomi r7814
Android version
11
Other details
No response
Acknowledgements

[X] I have searched the existing issues and this is a new ticket, NOT a duplicate or related to another open or closed issue.
[X] I have written a short but informative title.
[X] I have updated the app to version 0.15.3.
[X] I have updated all installed extensions.
[X] I have tried the troubleshooting guide.
[X] If this is an issue with the app itself, I should be opening an issue in the app repository.
[X] I will fill out all of the requested information in this form.

Actually im using Android 14


flutter 2.0兼容问题

Because no versions of amap_flutter_map match >1.0.2 <2.0.0 and amap_flutter_map 1.0.2 depends on plugin_platform_interface ^1.0.2, amap_flutter_map ^1.0.2 requires plugin_platform_interface ^1.0.2.
And because permission_handler >=6.1.1 depends on permission_handler_platform_interface ^3.1.1 which depends on plugin_platform_interface ^2.0.0, amap_flutter_map ^1.0.2 is incompatible with permission_handler >=6.1.1.

https://github.com/dmlzj/amap_flutter_map/commit/4fb74784795a7118287eac0e2434ab429e1f803f
https://github.com/dmlzj/amap_flutter_map/commit/e8b3585046699adb876f7fc3b2971192008cdd38
fork下这个项目，然后根据这两个commit把版本号提高下就可以了，我项目flutter版本低，所以降低了依赖版本！

建议出个分支


Reverse serializers for Aws JSON 1.1/1.0

To support testability

Not sure if we still want this.


InfluxDB requires as much virtual memory as it's 'data' set size

Feature Request
By scrapping community questions, vague notes in this issue tracker I'm realizing — InfluxDB requires as much virtual memory as its data set size.
Unfortunately, there is no information of this behavior on ‘Hardware Sizing Guidelines’ and frankly I feel it must be there.
Like if you have 1B events with 10 series, with total 'data' size of 14 GiB — you have to run this database on machine with 16+ GiB RAM (or 8+ GiB RAM + 8+ GiB Swap); basically turns InfluxDB into some kind of 'in-memory database'.
This is exactly what I see with InfluxDB 1.3.7 and 1.4.2.
If the total amount of data (regardless of series cardinality) exceeds total amount of virtual memory available of this machine — InfluxDB cannot start with 'out of memory' error.
Now I completely understand why — all the data will be loaded with memory-mapped files without much care if it will be used later or not.
I wonder if this behavior will change some day.
Proposal: Don't pay with memory if you don't use it.
Current behavior: load everything into virtual memory, having extremely rigorous restrictions on both series cardinality (RSS memory) and total data set (virtual memory).
Desired behavior: do not load shards into memory if they not used; restrict total amount of loaded shards.
Use case: InfluxDB cannot be used as a long-term data storage in most applications; which it could be.

Maybe you have a ulimit set for the user, or something like that creating an artificial limit?
I have about 90G of data files in my influxdb at the moment:
[influxdb@prdops02 influxdb]$ du -sh data
92G     data

On a machine with 32G of RAM and 16G of swap:
[influxdb@prdops02 influxdb]$ free -g
             total       used       free     shared    buffers     cached
Mem:            31         29          1          0          0         15
-/+ buffers/cache:         13         18
Swap:           15          0         15

The influxd reports over 100G of "virtual memory" in use, most of which I assume are mapped files:
  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
 2301 influxdb  20   0  109g  11g 2.5g S 145.4 36.0 101112:47 influxd

This well exceeds the amount of available RAM in my case (this server does other things as well) and I have not had any issues starting up or using influxdb.  Indeed, the system shows still half the available memory being used as disk buffer.
So - maybe you have a system limit set?   Running ulimit -a as the user who runs influxdb would potentially show them.
I am using influxdb 1.3.6

@sferrett, indeed, we have ulimit on both max and virtual memory, for all Linux hosts regardless if it's physical or virtual.
I can't imagine production host without those options though.
Anyway, thanks for noticing this. I've updated my post a little bit.
This is definetely not a bug, but nice feature to have.

My own $0.02: I don't think trying to reduce virtual size is a good idea. Virtual memory, in this case memory-mapped files are a good thing. It uses minimal amounts of real memory (RAM), it effectively uses RAM as a cache for the disk, and the kernel can easily evict the data from RAM because it can fetch the data back from disk when needed. However reducing its usage can result in a performance degradation (since the kernel can no longer optimize its usage based on overall health of the system), and requires more code on the application side.


Updated colly project reference in README.md

asciimoo/colly has moved to gocolly/colly

Thanks, I'll try to see what's up with travis and Go 1.1.


Move the export environmental variables section to the beginning of the document

Please move the Export environmental variables section to be the first document section and use the variables there after in all shell examples.
That would make things easier to follow, as we can just start by copy&pasting from the get-go and would only need to modify the environment variables.
It would also be awesome to have a terraform equivalent of this tutorial.

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

ID: efde8151-ca72-0ce1-271a-57a14a8c7ccd
Version Independent ID: f37efaf0-6573-6813-a3e4-3065e44666e4
Content: Tutorial - Use a workload identity with an application on Azure Kubernetes Service (AKS) - Azure Kubernetes Service
Content Source: articles/aks/learn/tutorial-kubernetes-workload-identity.md
Service: container-service
GitHub Login: @MGoedtel
Microsoft Alias: magoedte

Following this is an example of what I mean; I've restyled the scripts a bit, let me known what you think.
Can you please help out filling in the TODO entries?
# see https://learn.microsoft.com/en-us/azure/aks/learn/tutorial-kubernetes-workload-identity
# TODO normalize all arguments to long names.

# subscription.
export SUBSCRIPTION="<YOUR_SUBSCRIPTION_ID>"
export RESOURCE_GROUP="azwi-kv-tutorial"
export LOCATION="northeurope"

# environment variables for the Azure Key Vault resource.
# NB KEYVAULT_NAME MUST be globally unique AND 3-24 alphanumeric characters.
export KEYVAULT_NAME="azwi-kv-$(openssl rand -hex 6)"
export KEYVAULT_SECRET_NAME="my-secret"

# environment variables for the AKS cluster.
export AKS_CLUSTER_NAME="myAKSCluster"

# environment variables for the Kubernetes Service account & federated identity credential.
export SERVICE_ACCOUNT_NAMESPACE="default"
export SERVICE_ACCOUNT_NAME="workload-identity-sa"

# environment variables for the Federated Identity.
# user assigned identity name.
# NB this will appear in the azure portal resource group.
export UAID="fic-test-ua"
# federated identity name.
# TODO where can we see this in the azure portal?
 We will investigate and update as appropriate.

@rgl
Thank you for your suggestion. It would be helpful to provide your ideas in the below link so our product team will work on it.
https://feedback.azure.com/d365community

@ManoharLakkoju-MSFT, which of those 125 forums is the most appropriate?

@rgl
For you information Please refer the below in documented link
https://feedback.azure.com/d365community/forum/aabe212a-f724-ec11-b6e6-000d3a4f0da0

I've posted it at https://feedback.azure.com/d365community/idea/106e2839-3a50-ed11-a81b-000d3a7c50ce.


Use server name as narrative text in CapabilityStatement

It may be the expected behavior as name, version, copyright, etc. are all customizable but in my case, I would like to have my server name as narrative text of the CapabilityStatement.
Changelog:

Use configuration.getServerName() as value for the narrative text generated by ServerCapabilityStatementProvider class
Unit test

If this is the expected behavior, discard the PR

Hi @jamesagnew, same problem than last time.
It cannot be merged due to required mvn spotless:check that is missing due to the fork and access to my branch

Thanks for the contribution, it's merged!


Allow an attribute named class to set the element class

elmx uses Http.Attributes.attribute "class" on elements, which leads to this change, adding a fallback to an attribute named "class".
What do you think?

Seems reasonable. Maybe both should be done, it should be a union. Add some tests and I'll merge

@prozacchiwawa still want this to happen? :)

Because elmx uses attributes with html-like syntax, I considered doing a
pretty massive overhaul due to the differences between the bare tag
functions in elm-html which use properties for most things, and the
operation of elmx, which uses string attributes for everything.  I think
ultimately, supporting string attribute values across the board would be
great, but I wound up not using elmx for that project, so it wasn't a
blocker for me in the end and I think that a half-solution isn't the
greatest idea.  I'll close it for now and perhaps submit a proper fix later
if I have time.  Sorry for mucking up your pr list :-)
On Fri, Dec 2, 2016 at 12:14 PM, Noah<EMAIL_ADDRESS>wrote:

@prozacchiwawa https://github.com/prozacchiwawa still want this to
happen? :)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/eeue56/elm-server-side-renderer/pull/3#issuecomment-264551473,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAOEEEg-2uE8TaRQ-sgJx6asD-51kK6Fks5rEHwPgaJpZM4J_vws
.


[feature request] can cli.Run provide CompilierOption args  so user can override?

by adding a variadic args:
https://github.com/itchyny/gojq/blob/27d17e55f431c0308e3f890b050d66c27d7338fc/cli/run.go#L6
// Run gojq.
func Run(opts ...gojq.CompilerOption) int {
	return (&cli{
		inStream:  os.Stdin,
		outStream: os.Stdout,
		errStream: os.Stderr,
		options:   opts,
	}).run(os.Args[1:])
}

so user can call with somethings like this:
opts :=  []gojq.CompilerOption{
    gojq.WithFunction("func1", 0, 0, func1),
    gojq.WithFunction("func1", 0, 0, func2),
}
cli.Run(opts...)

The cli package is implemented for the gojq command itself so I don't want to put effort to make it extensible by users. The compiler option is just a side of the command so accepting this idea leads to bunch of options to overwrite the behavior of cli. Adding a new function by Go is understandable wish but needs much more research for better solutions like RPC (but I don't have time and motivation to think about this). In the meanwhile forking would be simpler solution.


Please create an issue-label workitem

label: workitem
description: 'A Work Item, usually created by a core-developer/contributor`

Otherwise just add a new label workitem (to distinguish from user-filed features, and core-dev file specific/concrete work-items). The current workitem.yaml template assigns a workitem label.

Originally posted by @abebeos in https://github.com/hyperledger/fabric/issues/4143#issuecomment-1499010581

Done!


Scaling example

This PR adds an example enabling users to perform simple strong and weak scaling studies for the distributed SpMV.
The example can be run with 2D (5-pt or 9-pt) and 3D (7-pt or 27-pt) stencil matrices. All matrix values are 1 for now as the result values don't really matter for this example.

format!

That's a really useful addition!
I have a few quick comments/questions, not only to you but also to people who know more about the MPI backend

That only works on a single node right, since you directly pass the rank to the executor?

With MPI, isn't there a mode where you use CUDA_VISIBLE_DEVICES or similar variables so that each MPI process only see one executor, which would always be number 0, but different between every MPI process?
Should OpenMP be disabled (until we can bind threads or we need to mention somewhere the user needs to take care of that through MPI/OpenMP variables

What safety additions are required so that exceptions don't get thrown all the time, device allocation, probably some MPI interaction calls would benefit from try/catch, or is that managed at a lower level?

@fritzgoebel, I think it might make sense to add this to an updated version of this branch, mpi-base-dist-mat, which also runs CI for MPI ?
@tcojean ,

Yes, I think you can have a local_rank getter, which should be sufficient for 1MPI rank to 1GPU association. See for example: https://github.com/ginkgo-project/ginkgo/blob/mpi-base-dist-mat/examples/distributed-solver/distributed-solver.cpp#L95

Disabling OpenMP is a good idea and I think we should do that until we fix/update the thread binding.

I guess you mean each rank throwing an exception ? MPI calls are wrapped in GKO_ASSERT_NO_MPI_ERRORS to those should be captured and thrown properly.

Yes, I think you can have a local_rank getter, which should be sufficient for 1MPI rank to 1GPU association. See for example: https://github.com/ginkgo-project/ginkgo/blob/mpi-base-dist-mat/examples/distributed-solver/distributed-solver.cpp#L95
Neat, using this would fix the issue in that case then

Disabling OpenMP is a good idea and I think we should do that until we fix/update the thread binding.

It's maybe also fine as long as people are told to only use one process per machine, but it's indeed not going to be as powerful as people could expect it to be (only that mode should be able to work for now I think).

I guess you mean each rank throwing an exception ? MPI calls are wrapped in GKO_ASSERT_NO_MPI_ERRORS to those should be captured and thrown properly.

Yes, they are thrown but then that means most Ginkgo API calls need to be surrounded by the user in try/catch blocks so that the exceptions are caught properly by the main function instead of thrown into the wild? https://github.com/ginkgo-project/ginkgo/blob/mpi-base-dist-mat/include/ginkgo/core/base/exception_helpers.hpp#L335
We have the same issue with memory allocations for example
Quick mention, it looks like in some places the check are missing: https://github.com/ginkgo-project/ginkgo/blob/mpi-base-dist-mat/mpi/base/bindings.hpp#L87

format!

Superseded by #1204


Connection to Nats Client Parsing Error

Hi, I doubt this is an issue with nats.ws but I figured this is the best place to ask for help.
I have been able to successfully connect to my NATs server via C client, but I'm having trouble using NATs.ws for my client side.
Client Side Code:
import {connect} from 'nats.ws';
connect({servers: ['ws://localhost:4222']}).then(
    nats => {
        const sub = nats.subscribe('test');
        sub.callback = (_err, msg) => {
            console.log(msg);
        };
    }
);

Client Side Error:
VM10:1 WebSocket connection to 'ws://localhost:4222/' failed: Error during WebSocket handshake: net::ERR_INVALID_HTTP_RESPONS

The error message I get from NATs:
[32028] 2021/02/18 16:42:04.527978 [←[31mERR←[0m] [::1]:51403 - cid:15 - Client parser ERROR, state=0, i=0: proto='"GET / HTTP/1.1\r\nHost: localhost:"...'

I'm quite new to HTTP and Websockets, but this seems like a pretty trivial thing to be caught up on.

The websocket connections go to a different port and require the port to be configured. At present the configuration is only in the master branch or our nightly docker builds

@curioustolearn In the websocket{} block. See documentation: https://docs.nats.io/nats-server/configuration/websocket/websocket_conf
So something like that:
listen: <IP_ADDRESS>:4222

websocket {
    port: <your chosen port>
    no_tls: true,
}

Note that the feature is now GA in the latest release 2.2.0: https://github.com/nats-io/nats-server/releases/tag/v2.2.0

@kozlovic Thank you so much! This worked great. This is such an incredible feature. I don't know any NATS, but have been looking to add real time to my webapp. I think NATS will be a great way to do it now. I have some other questions, but I will look for where the NATS community asks and answers questions. Thank you.

@curioustolearn You are welcome. If you did not join our Slack community, I would recommend you do so. There are tons of people that would be able to help with some of your questions.
Here is our community page: https://nats.io/community/
And direct link to join Slack: https://natsio.slack.com/join/shared_invite/zt-41e6tnmb-qCt63606MKR1YxIHZf4ICA#/shared-invite/email

Thank you. I have joined the slack nats.io community. Looking forward to using it.


CocoaPods could not find compatible versions for pod "FirebaseAnalytics"

Hello! Currently our project migrating from capacitor 2 to capacitor 3, and we wanted to use firebase-analytics plugin in our app. But we have a problem right after installation, on npx cap sync stage. Here is logs:
[error] Analyzing dependencies
        [!] CocoaPods could not find compatible versions for pod "FirebaseAnalytics":
        In Podfile:
        CapacitorCommunityFirebaseAnalytics (from `../../node_modules/@capacitor-community/firebase-analytics`) was
        resolved to 1.0.1, which depends on
        Firebase/Analytics (~> 8.0) was resolved to 8.0.0, which depends on
        Firebase/Core (= 8.0.0) was resolved to 8.0.0, which depends on
        FirebaseAnalytics (~> 8.0.0)

        CordovaPluginsStatic (from `../capacitor-cordova-ios-plugins`) was resolved to 3.3.1, which depends on
        FirebaseMessaging (~> 2.0.0) was resolved to 2.0.8, which depends on
        FirebaseAnalytics (~> 4.0)

Unfortunately we are not very familiar with CocoaPods related stuff, so any help would be appreciated!
Ionic info:
Ionic:

  Ionic CLI                     : 6.17.1 (/usr/local/lib/node_modules/@ionic/cli)
  Ionic Framework               : @ionic/angular 5.1.1
  @angular-devkit/build-angular : 0.901.15
  @angular-devkit/schematics    : 9.1.15
  @angular/cli                  : 9.1.15
  @ionic/angular-toolkit        : 2.0.0

Capacitor:

  Capacitor CLI      : 3.3.1
  @capacitor/android : 3.3.1
  @capacitor/core    : 3.3.1
  @capacitor/ios     : 3.3.1

Cordova:

  Cordova CLI       : not installed
  Cordova Platforms : not available
  Cordova Plugins   : not available

Utility:

  cordova-res (update available: 0.15.4) : 0.15.2
  native-run                             : 1.5.0

System:

  NodeJS : v14.16.1 (/usr/local/bin/node)
  npm    : 6.14.15
  OS     : macOS Big Sur
  Xcode  : Xcode 13.2 Build version 13C90

List of used plugins:
[info] Found 11 Capacitor plugins for ios:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>[info] Found 24 Cordova plugins for ios:
<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>

Thanks a lot @rdlabo! I removed phonegap-plugin-push plugin and now it works 🎉


fixed recursive directory creation

The fix addresses issue #10

Fixes issue "403 Client Error" #9

Fixes issue "403 Client Error" #9

There is no fix possible for #12
At least you get a one-time warning for the first "faulty" pdf as to why the pdf can't be downloaded. Every  "faulty" PDF  is declared as an insane PDF and not saved to disk.

There is no fix possible for #12
At least you get a one-time warning for the first "faulty" pdf as to why the pdf can't be downloaded. Every  "faulty" PDF  is declared as an insane PDF and not saved to disk.

This version is not working at the moment, it may be merged in the future


How to deal with async generators?

Hey guys, I have a more of a conceptual problem I've been struggling with in the past couple of days.
I have to subscribe to N infinite event streams and react to the events occurring in them. Those are standard Node-like event-emitters.
I also have a facade API which should merge those N event streams together into a single one.
My initial thought was to convert the subscription into an async generator:
  async function* subscribe({ fromBlock = 0, toBlock = 'latest', filter = {} } = {}) {
    let res;
    let rej;
    let promise = new Promise((resolve, reject) => {
      res = resolve;
      rej = reject;
    });

    const subscription = linguo.events.allEvents({ fromBlock, toBlock, filter });
    subscription
      .on('data', event => {
        res(event);

        promise = new Promise((resolve, reject) => {
          res = resolve;
          rej = reject;
        });
      })
      .on('error', err => {
        rej(err);
        promise = new Promise((resolve, reject) => {
          res = resolve;
          rej = reject;
        });
      });

    while (true) {
      try {
        const event = await promise;
        yield event;
      } catch (err) {
        console.warn(`Canceling event subscription for contract ${linguo.options.address}`, err);
        break;
      }
    }

    subscription.unsubscribe();
  }

Then to combine the multiple subscribe() calls, I've found this merge operator from the repeatable library:
// Proxy handler for the `subscribe` method:
  const subscribeHandler = {
    apply: (target, thisArg, args) => {
      const apiInstances = Object.values(apiInstancesByAddress);

      return Repeater.merge(apiInstances.map(instance => instance.subscribe.apply(instance, args)));
    },
  };

Then I happily wrote my saga:
export async function* subscribeSaga(action) {
  const { fromBlock, toBlock, filter } = action.payload ?? {};

  const linguoApi = yield getContext('linguoApi');
  const subscription = yield call([linguoApi, 'subscribe'], { fromBlock, toBlock, filter });
  for await (const evt of subscription) {
    console.log('>>>', evt);
  }
}

Only to find out then that redux-saga does not  support async generators :/
I thought of maybe using eventChannel, but it plays well with callback-based APIs, couldn't figure out a way to consume async generators (not sure if it's even possible).
The "easy" route here would be to expose the N event emitters and wrap them in a channel, but this is exposing internals which the API facade should take care of.
Any ideas?

I might be missing something but looking at the implementation of the subscribe - it doesn't look right. What I mean is that it doesn't include any buffering, nor it clears the promise after consuming it - wouldn't this very often lead to duplicated items being consumed?

Yeah, I created just a rough draft of what I wanted to do, it's not even near ready to be used in the wild.
I was just trying to validate this idea I had.
Is there an easy way to consume async generators in redux-saga? If not, I'll probably abandon this approach.

Is there an easy way to consume async generators in redux-saga? If not, I'll probably abandon this approach.

Ofc there is! 😉 Take a look here:
https://codesandbox.io/s/focused-waterfall-iwwsu?file=/src/index.js
I'm not sure why do u want to use async generators though - unless it's an API that you don't control. If you control it then you would probably be better without them.

Awesome, thank's a lot.

I'm not sure why do u want to use async generators though - unless it's an API that you don't control. If you control it then you would probably be better without them.

I guess you're right, I ended up creating an event channel directly from the event emitters for this specific use case, but it's good to know I can consume async generators if I need it some day.
Thank you very much.


[BUG]: Updated the file extension of pull_request_template from .md to .yml

Description
The file extension of pull_request_template has been updated from .md to .yml to align with our repository's template format standards. This change facilitates better integration with GitHub's issue and pull request management features, allowing for enhanced functionality and consistency across our templates. Please ensure that all references to the template reflect this updated file extension.
(optional) What browsers are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

bug has been addressed and fixed
thank you @Hello-Ship-Code

bug has been addressed and fixed  by @Hello-Ship-Code
Thank you


qb.AddFutureContract unable to receive futures contract.

Expected Behavior
Running the code below for futures research on Quantconnects Research environment.
future = qb.AddFuture(
    Futures.Currencies.JPY,
    Resolution.Daily,
    dataNormalizationMode = DataNormalizationMode.Raw,
    dataMappingMode = DataMappingMode.LastTradingDay,
    contractDepthOffset = 0
)

# subscribe to the contracts
for year in range(2009,2023):
    contract_symbols = qb.FutureChainProvider.GetFutureContractList(future.Symbol, datetime(year, 1, 1))
    for contract_symbol in contract_symbols:
        # print(f"{contract_symbol.Value}: {contract_symbol.ID.Date}")
        qb.AddFutureContract(contract_symbol, fillDataForward = False)

This code has worked fine prior on 17th March 2023, and it returns no error.
Actual Behavior

However, as of 19th March, it returns the following error. I've double checked that this line is indeed a FuturesContract, which I've always been using.
---------------------------------------------------------------------------
TypeError                                 Traceback (most recent call last)
Cell In[5], line 12
     10 for year in range(2009,2023):
     11     contract_symbols = qb.FutureChainProvider.GetFutureContractList(future.Symbol, datetime(year, 1, 1))
---> 12     for contract_symbol in contract_symbols: qb.AddFutureContract(contract_symbol, fillDataForward = False)

TypeError: No method matches given arguments for AddFutureContract: (<class 'QuantConnect.Symbol'>)

Potential Solution

Revert to previous LEAN version, but I am unable to do that on the QC research environment.
Reproducing the Problem

Run mentioned code on QC's research environment.
System Information

Checklist

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

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

Hey @jeremytanjianle!
The issue you are seeing is because the parameter fillDataForward has been renamed to fillForward for normalization of the API. For more information see https://www.quantconnect.com/forum/discussion/15074/algorithm-api-normalization-and-parameters-renaming/p1, sorry for the inconvenience caused.


MT4 AccountProfit() returning always zero value

Hello. I am using VS2017 and c# for Metatrader 4.
This instruction always return zeros, on both demo and live accounts:
txtAccountProfit.Text = string.Format(CultureInfo.GetCultureInfo("en-US"), "{0:N2}", _apiClient.AccountProfit());
It happens because _apiClient.AccountProfit() always returns 0
I have tested other MtApiClient account methods and they are running fine.

Hi,
I will check this problem and fix it soon in next version.

I don't think this is a bug with MtApi at all, calling AccountProfit() from an MT4 script will return 0 if there are no active trades in the Trade tab and doesn't take into account trades in the Account History. Check if Profit value in your "Trade" tab is also zero.

I have tested this issue also and did not found that this is a bug (same behavior in MQL).
I am closing it.


chore: use dist folder to load the files

📦 Published PR as canary version: 4.1.4--canary.185.3e8602c.0

:sparkles: Test out this PR locally via:
npm install<EMAIL_ADDRESS># or
yarn add<EMAIL_ADDRESS>

:rocket: PR was released in v5.0.0-next.0 :rocket:


GitHub 1554: Fix build fails for mips64el

 Thank you for your submission, we really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Register version 0.2.2

@JuliaRegistrator register()

Registration pull request created: JuliaRegistries/General/63055
After the above pull request is merged, it is recommended that a tag is created on this repository for the registered package version.
This will be done automatically if the Julia TagBot GitHub Action is installed, or can be done manually through the github interface, or via:
git tag -a v0.2.2 -m "<description of version>" 0bc7d1af0ed7a991a29ad81fefeb2b58d7e1b23d
git push origin v0.2.2


can not login admin  width custom domin

i use  latest  chrome , and use a custom domin “hubpress.io” 。 do witdh HubPress tips ,but no work !
site: http://deepwind.github.io/hubpress.io/hubpress/#/login
help me, please~

Hi @senola
If you want to use the domain deepwind.github.io, you do not need to use a CNAME

No response from the OP. Closing off assuming the issue was resolved.


Can not parse well Markdown syntax in code block

example ruby script

require 'redcarpet/compat'

text = <<~TEXT
# Header1

```
# This line parsed as header, not as plain text
echo ok
echo ok
```
TEXT

puts Markdown.new(text).to_html

Outputs

Header1

``````

This line parsed as header, not as plain text

echo ok
echo ok
```

My verssions

redcarpet (3.4.0)
ruby 2.5.1p57 (2018-03-29 revision 63029) [x86_64-darwin17]

Hello @YumaInaura,
Actually you need to enable the fenced_code_blocks option; this syntax is not supported by original Markdown, so you should rather write:
Markdown.new(text, :fenced_code_blocks).to_html

Thanks for spotting this anyway !

Thank you!!
So helpful navigation
@robin850


Reconcile iMdl tile format with 3D Tiles spec

Problem
3D Tiles is an open standard developed to solve the problem of efficiently streaming massive geospatial models over the internet for rendering. It encodes the content of each tile using another open standard, glTF. Both standards have been widely and enthusiastically embraced across several industries.
Bentley Systems is no exception: we use 3D Tiles to encode and stream photogrammetry meshes, point clouds, and subsurface models. However, our engineering content - represented as iModels - is not visualized using 3D Tiles. Instead, we use a 3D Tiles-inspired format of our own, called "iMdl". Several factors motivated the invention of a non-standard format, but they generally fall into two buckets:

Encoding data needed to enable specific rendering features; and
Optimizing the size and layout of the tiles for efficient decoding and rendering.

Our users want to enable integrations of iModel content into workflows involving game engines and other third-party renderers. The iMdl format presents a barrier to those integrations, because only iTwin.js understands it. The mesh export service now supports generating tilesets from an iModel in both iMdl format and 3D Tiles format, but much of the data encoded into the former is omitted from the latter.
iMdl optimizations
The iMdl format has been heavily optimized to minimize tile size, and to encode the data in a format that can be directly uploaded to and processed by the GPU using iTwin.js' shaders.  We may be concerned that switching from iMdl to 3D Tiles will result in dramatically larger tiles.
These optimizations certainly make a difference in tile size. On average, given the same iModel and tile structure, an iMdl tileset is 70-80% of the size of the equivalent 3D Tiles tileset. (The discrepancy is actually larger than shown, since the iMdl tiles include edge visibility while the 3D tiles do not).

iModel
3D Tiles
iMdl
Ratio

04_Plant
19.5mb
13.6mb
70%

LargePlantNew
744mb
543.5mb
73%

AnimatedCastle
1.6gb
1.1gb
69%

refinery
1.5gb
1.2gb
80%

However, applying meshopt compression to the 3D Tiles reduces their sizes by an order of magnitude.

iModel
No meshopt
meshopt

04_Plant
19.5mb
3.2mb

LargePlantNew
744mb
196.6mb

AnimatedCastle
1.6gb
343.1mb

refinery
1.5gb
323.5mb

When gzipped, the meshopt-compressed tiles are approximately two times smaller than the uncompressed tiles.

Recommendation: Encode using standard 3D Tiles, and apply any optimizations in the decoder.

iModel rendering features
The following features of the iTwin.js display system depend on data encoded into iMdl tiles with no clear analog in glTF. If we switch from iMdl to 3D Tiles, we will need alternate ways to convey the required data to the decoder/renderer.
The proposal is to produce 3D Tiles meeting two criteria:

When consumed by any spec-compliant decoder and renderer, present a close approximation of what the corresponding iMdl tiles would look like in a standard iTwin.js view (i.e., a shaded view with edge display disabled and materials enabled).
Encode additional data via glTF extensions that can be leveraged by iTwin.js and any other decoder and renderer supporting the extension to provide enhanced visualization features. Each of these extensions should enable one discrete feature, usable independently of the other extensions.

The first criterion implies that basic rendering of the 3D Tiles must not depend upon any new extensions. So, for example, we do not propose a "24-bit integer" extension, because that is an optimization, not a feature, and it's used for crucial data like triangle indices. (It is also unlikely to gain adoption since it doesn't map directly to a native data type). But we do propose an extension to encode edge visibility, because an iModel can be visualized effectively whether or not its edges are drawn.
The extensions are proposed as the minimum required to fulfill the second criterion. We should consider generalizing them to be potentially applicable in wider contexts and/or to align more closely with existing standards (whether within the glTF ecosystem or outside it, e.g., in USD). Only a brief description of each is provided; we will flesh out and formalize their individual specs once the overall proposal is refined and agreed upon.
Polylines
Engineering models frequently contain large numbers of line strings. iMdl supports the concept of a "polyline" - a single geometric primitive consisting of any number of line strings, each of any length. Polylines can be rendered with a width of up to 32 pixels and/or a dash pattern. Since WebGL does not support drawing wide lines natively, each segment must be tesselated and rendered as a quad. Additional triangles may need to be inserted between individual line segments to round out the corners. Applying the dash pattern requires keeping track of the distance along a line string at any given point. iMdl format encodes the tesselated polylines directly along with their width and dash pattern.

WebGL and glTF provide three types of line primitives: LINE_STRIP and LINE_LOOP represent a single contiguous line string, while LINES represents any number of line segments with no encoding of the logical connectivity between segments. It would be possible to produce a separate LINES primitive for each line string within each polyline, but this could significantly increase the number of draw calls.
Proposed solution
Encode the polylines as glTF LINES. Define an extension for primitives of this type that encodes the index of the last vertex index of each individual line string within the primitive. The decoder can use this information to tesselate the line strings as it sees fit.
Separately, define a "line material" extension applied to a primitive of any TRIANGLE* or LINE* type (or to a material?), encoding the integer line weight and the dash pattern as an unsigned integer bitmask where each 1 in the bitmask corresponds to a lit pixel in the pattern.
Point size
Infrastructure engineers use point primitives for a variety of purposes. iMdl permits a point size in pixels to be specified for each collection of points. The iTwin.js renderer draws circular points of the specified radius.
glTF currently does not provide a way to specify point size.
Proposed solution
Apply a "point size" extension to primitives of type POINTS, encoding the point radius as an integer.
Edge visibility
Infrastructure engineers often want to render the edges of surfaces when visualizing their designs. This is different than wiremesh, which renders the edges of every triangle; instead, only the logical edges are drawn. Logical edges fall into two categories: "hard" edges which are always visible (e.g., the circular outline of the end of a cylinder), and "silhouettes" which are only visible when viewed from certain angles (e.g., the edges running along the length of a cylinder). A silhouette is rendered if the faces on either side are facing in opposite directions relative to the camera.

Some edges may be encoded separately as polylines, if they need to be rendered wider than one pixel and/or with a dash pattern. This is particularly important in 2D views.
The CESIUM_primitive_outline glTF extension specifies hard edges only, as pairs of vertex indices describing line segments. It only applies to primitives rendered with "mode": 4 (TRIANGLES).
iMdl encodes edge visibility as a bitmask - two bits per triangle index indicating the visibility (hard, silhouette, or none) of the edge between that vertex and the next. It also serializes the (oct-encoded) normal vectors for each pair of faces adjoining each silhouette edge.
Proposed solutions
We could define a new "edge visibility" extension applying to primitives of render mode TRIANGLES, with the same encoding as in iMdl. Longer term, we would probably want to generalize it to support TRIANGLE_STRIP and TRIANGLE_FAN, and permit alternate encoding of the normal vectors.
Or, we could extend CESIUM_primitive_outline to add support for silhouette edges as pairs of indices and normal vectors. This would be a more verbose - but perhaps simpler - representation.
In either case, also add a representation of polyline edges, probably encoded as two buffers: one holding the vertex indices, and another holding the index of the last vertex index of each line  string.
There is apparently some formal specification related to edge visibility in USD. We should look at it.
Materials
Infrastructure models emphasize engineering precision over aesthetics. Pattern maps and normal maps are relatively uncommon depending upon the domain, and even when present, they are often toggled off for certain workflows. So the concept of a "material" in an iModel does not map directly to the glTF definition.
Every piece of geometry in an iModel has a base color and transparency. Every surface may optionally also have a simple Phong material that can override the color and/or transparency, specify specular properties, and define a pattern and/or normal map. iTwin.js renders the geometry using its base appearance or (if present) material depending on settings like the viewport's view flags.
For each vertex, iMdl encodes both the base color and the material index. Geometries that use different, non-textured materials can be batched into a single primitive; the material index specifies the index of a vertex' material within the primitive's material atlas. Geometries that use different textured materials cannot be batched.
glTF defines materials using PBR. Each primitive can be assigned only one material. The material baseColorFactor, baseColorTexture, and the primitive's color attribute are all multiplied to determine a vertex's color.
Proposed solution
Long-term, we want to switch to a PBR material representation in iModels. However, this would require changes to many connectors to propagate PBR materials from the source data. Moreover, even after such a switch, we would still require the ability to toggle at display time between the base appearance and the material.
Encode glTF materials providing a "close enough" PBR representation of the Phong material, at minimum preserving color and pattern/normal map.
Define a "Phong material" extension to be applied to a glTF material, providing additional properties like specular color/exponent.
If the material overrides the geometry's base color and/or transparency, the primitive's color attribute should encode the overridden colors, not the base colors. In that case, define a secondary color attribute (or texture + UVs) encoding the base colors.
Constant-LOD texture mapping
Constant level-of-detail texture mapping is a technique that dynamically calculates texture coordinates to keep the texture image close to a certain size on the screen, thus preserving the level of detail regardless of distance from the camera. It is useful for patterns like soil or seafloor, as illustrated below. It can be applied to both pattern maps and normal maps. iMdl encodes the parameters as part of the material. glTF provides no equivalent.

Proposed solution
Define a "constant lod texture mapping" extension applicable to textureInfo and normalTextureInfo, encoding the required parameters.
Fill flags
"Fill" refers to the interiors of closed planar regions in the context of a wireframe view (including any 2d view) which by default renders only edges, no surfaces. Fill flags provide ways to customize how the fill is rendered. For example, drawing models often include text with a filled rectangular bounding box of a contrasting color for emphasis; in this case, the rectangle should draw behind the text. Or, polygons may be used to "blank out" portions of the model by always being filled by the view's current background color.
iMdl encodes the fill flags as part of the material.

Proposed solution
See Z-fighting mitigation.
Z-fighting mitigation
Z-fighting is a common visual artifact in any 3d renderer when multiple geometries try to occupy the same plane. iTwin.js provides several mitigations of this effect in common engineering workflows, including preventing edges from z-fighting with their surfaces and preventing text from z-fighting with its background fill. Another common case involves "sketching" planar geometry onto 3d surfaces, with the intent that the planar geometry should draw "on top of" the non-planar geometry.
iMdl encodes an "is planar" flag for each primitive in a tile. Many planar geometries, each occupying different planes, may be batched together into a single primitive, so planarity cannot be inferred from the primitive's bounding box.
Proposed solution
Apply a "planar primitive" extension to any primitive to indicate that the primitive contains only planar geometry. For triangle primitives, it can additionally specify the fill flags.
View-independent geometry
Infrastructure models sometimes include geometry that should always be rendered facing the camera - for example, text displayed at intervals along the length of a highway indicating distance at that point. iMdl encodes this per-primitive as an optional "view-independent origin" - the point about which the geometry should rotate to face the camera. This is similar to billboarding, though billboards are often constrained to rotate only in the X and Y axes.
Below, the cogs rotate about their center points to face the camera; the dashed line connecting them does not rotate.

Proposed solution
Evaluate applicability of the draft KHR_billboard glXF extension.
Alternatively, apply a simple "view-independent origin" extension to the primitive, encoding the 3d point about which it should rotate to face the camera. Eventually, we may want to enhance it to support constraining in which axes it should rotate.
Next steps

[ ] Obtain agreement on the overall proposal and the specific set of extensions, making adjustments in response to feedback.
[ ] Formally define each extension.
[ ] Enhance TilesetPublisher to output the new extensions.
[ ] Evaluate whether it would be worth enhancing iTwin.js to decode the 3D Tiles with the new extensions to prove the concept and test the implementation.

@pmconne great to see the open standards adoption and contribution.
I'll reach out to @rudybear to see if we can present these potential glTF extension directions with the Khronos 3D Formats WG for early input.
Meanwhile -

@emackey @abwood do you have any use cases that would benefit from the edges / silhouette, polylines, point size, etc. in the above comment?
@meshula we would welcome your input on the Edge visibility section above (maybe related: Subdivision Surfaces)
See https://github.com/KhronosGroup/glTF/issues/2437 for some interest and guidance on point size
See https://github.com/CesiumGS/3d-tiles/issues/25 for (9 year old) ideas on vector data in 3D Tiles.  Not sure if there would or wouldn't be overlap for whatever the future holds for vector data in 3D Tiles vs. the use cases in this issue
CC https://github.com/KhronosGroup/glTF/issues/2106

I would suggest once we have more guidance that we start new issues in the glTF repo for each proposed extension
@lilleyse anything you would add?

For polylines in glTF, also adding https://github.com/PixarAnimationStudios/OpenUSD-proposals/pull/42 by @nvmkuruc as a reference here to ideally promote a reasonable OpenUSD <-> glTF interop path.  See the proposal README.md.

I think there's a good amount of overlap with vector tiles, especially on the polylines front.
@pmconne to what extent does iTwin.js support runtime styling? E.g. is it possible to change polyline width, dash pattern, point size, billboard appearance, etc at runtime? Those are common things to do for vector data. Not sure if the same is true for engineering models.

@lilleyse sorry for the delayed response. The line width, point size, and dash pattern can all be dynamically overridden, among other things.


Wasm executables should have .wasm extension

Mirrors https://github.com/apple/swift-tools-support-core/pull/153.

@swift-ci please smoke test


local condition cut

condition_cut = tf.shape(local_condition_batch)[1] - tf.shape(conv_filter)[1]
lc = tf.slice(local_condition_batch, [0, condition_cut, 0], [-1, -1, -1])
conv_filter += tf.nn.conv1d(lc, variables['cond_filter'], stride=1, padding="SAME", name="cond_filter")

If you cut the local condition before conv1d, the beginning of the local condition is always cut.
I think, the cut should be moved after conv1d.

The cut is natural because It is conducted after conv1d for input. ( the beginning of the input would be cut so the paired condition for the input should be cut as well )


Nested Off Canvases All Receive Events

I am using the offcanvas in a project, and I am nesting them.  So, for example, I have an off canvas that displays job information which also has a nested off canvas that opens over top to show customer information for that job.  The issue I am running into, is the events (Showing, Hiding, etc) in the upper off canvas are also being picked up by the lower off canvas.  So for example, if I subscribe to the "OnHidden" event of the job info offcanvas to clear some values, when the customer offcanvas is closed, the job canvas's OnHidden event code is executed even though the job info offcanvas is still open.
This only happens when the "upper" offcanvas is nested inside the "lower" offcanvas.  If they are defined separately within the page, no issue.  However, for display purposes, it is sometimes beneficial to nest them to ensure they're properly "on top".
Is there a possible workaround (with IDs or something maybe) to resolve this?

At this moment, we don't have a workaround for this. I will consider adding an Id shortly.

I don't know that I would consider this an enhancement, and not a bug.  I'd consider it a bug when event handlers are receiving events from objects that they haven't subscribed to.

@buist-sharris Can you share a sample code for a better understanding?

Consider this code.  "Canvas One" has "Canvas Two" and "Canvas Three" inside its body template.  Once Canvas one is open, it will receive the show/hide events from both canvas two and three when they are fired.  Canvas two will not receive any of canvas three's events (or vice versa) because three is not nested inside two's body template.  If you were to nest three in two's body template, two would also get three's events.
Run the code, open canvas one, then two, then three, then close three, close two then close one.  Here's the output.
Open Canvas One...
Showing event received by Canvas one.
Shown event received by Canvas one.
Open Canvas Two...
Showing event received by Canvas two.
Showing event received by Canvas one. <--- canvas one shouldn't "see" this event, it's not its event
Shown event received by Canvas two.
Shown event received by Canvas one. <--- canvas one shouldn't "see" this event, it's not its event
Open Canvas Three...
Showing event received by Canvas three.
Showing event received by Canvas one.  <--- canvas one shouldn't "see" this event, it's not its event
Shown event received by Canvas three.
Shown event received by Canvas one. <--- canvas one shouldn't "see" this event, it's not its event
Close Canvas Three...
Hiding event received by Canvas three.
Hiding event received by Canvas one. <--- canvas one shouldn't "see" this event, it's not its event
Hidden event received by Canvas three.
Hidden event received by Canvas one. <--- canvas one shouldn't "see" this event, it's not its event
Canvas One Content is now showing the "hidden" message <--- This is the really bad part of this bug.
Close Canvas Two...
Hiding event received by Canvas two.
Hiding event received by Canvas one. <--- canvas one shouldn't "see" this event, it's not its event
Hidden event received by Canvas two.
Hidden event received by Canvas one. <--- canvas one shouldn't "see" this event, it's not its event
Close Canvas One...
Hiding event received by Canvas one.
Hidden event received by Canvas one.
It would seem that the canvas needs some way of identifying "this is my event to respond to, not another canvas's event".
<button @onclick="()=> CanvasOne.ShowAsync()">Open Canvas One</button>

<BlazorBootstrap.Offcanvas @ref="CanvasOne"
                           IsScrollable="true"
                           UseBackdrop="true"
                           Size="BlazorBootstrap.OffcanvasSize.Large"
                           Placement="BlazorBootstrap.Placement.End"
                           OnHiding="@(()=> System.Diagnostics.Debug.WriteLine("Hiding event received by Canvas one."))"
                           OnShowing="@(()=> System.Diagnostics.Debug.WriteLine("Showing event received by Canvas one."))"
                           OnHidden="CanvasOneHidden"
                           OnShown="@(()=> System.Diagnostics.Debug.WriteLine("Shown event received by Canvas one."))">
    <HeaderTemplate>

Canvas One Header

    </HeaderTemplate>
    <BodyTemplate>
        <button @onclick="()=> CanvasTwo.ShowAsync()">Open Canvas Two</button>

        @if (IsHidingCanvasOneContent)
        {

Canvas One Content was Hidden...From the events called when Canvas two or three closed, not its own events.

        }
        else
        {

Hello World, I am canvas one's content.

        }

        <BlazorBootstrap.Offcanvas @ref="CanvasTwo"
                                   IsScrollable="true"
                                   UseBackdrop="true"
                                   Size="BlazorBootstrap.OffcanvasSize.Large"
                                   Placement="BlazorBootstrap.Placement.End"
                                   OnHiding="@(()=> System.Diagnostics.Debug.WriteLine("Hiding event received by Canvas two."))"
                                   OnShowing="@(()=> System.Diagnostics.Debug.WriteLine("Showing event received by Canvas two."))"
                                   OnHidden="@(()=> System.Diagnostics.Debug.WriteLine("Hidden event received by Canvas two."))"
                                   OnShown="@(()=> System.Diagnostics.Debug.WriteLine("Shown event received by Canvas two."))">
            <HeaderTemplate>

Canvas Two Header

            </HeaderTemplate>
            <BodyTemplate>

Canvas Two Body

                <button @onclick="()=> CanvasThree.ShowAsync()">Open Canvas Three</button>
            </BodyTemplate>
        </BlazorBootstrap.Offcanvas>

        <BlazorBootstrap.Offcanvas @ref="CanvasThree"
                                   IsScrollable="true"
                                   UseBackdrop="true"
                                   Size="BlazorBootstrap.OffcanvasSize.Large"
                                   Placement="BlazorBootstrap.Placement.End"
                                   OnHiding="@(()=> System.Diagnostics.Debug.WriteLine("Hiding event received by Canvas three."))"
                                   OnShowing="@(()=> System.Diagnostics.Debug.WriteLine("Showing event received by Canvas three."))"
                                   OnHidden="@(()=> System.Diagnostics.Debug.WriteLine("Hidden event received by Canvas three."))"
                                   OnShown="@(()=> System.Diagnostics.Debug.WriteLine("Shown event received by Canvas three."))">
            <HeaderTemplate>

Canvas Three Header

            </HeaderTemplate>
            <BodyTemplate>

Canvas Three Body

            </BodyTemplate>
        </BlazorBootstrap.Offcanvas>
    </BodyTemplate>
</BlazorBootstrap.Offcanvas>

@code {
    private BlazorBootstrap.Offcanvas CanvasOne { get; set; }
    private BlazorBootstrap.Offcanvas CanvasTwo { get; set; }
    private BlazorBootstrap.Offcanvas CanvasThree { get; set; }
    private bool IsHidingCanvasOneContent { get; set; }

    private void CanvasOneHidden()
    {
        System.Diagnostics.Debug.WriteLine("Hidden event received by Canvas one.");
        IsHidingCanvasOneContent = true;
    }
}

Link: https://getbootstrap.com/docs/5.1/components/offcanvas/#how-it-works

@buist-sharris Still, I'm investigating the other options.

@buist-sharris You can now use one off-canvas with accordion or div (with toggle option) to show the customer information.

OK, thanks.  I'll continue to do hacks in my project to make it work.  Unfortunately, the UI of my project really requires multiple canvases being open as they represent other "areas" of my project that are dispersed throughout and are very context dependent.   div or accordions would make it impossible to create re-usable components.

@buist-sharris Thanks for using Blazor.Bootstrap components.

@buist-sharris Nested offcanvas is not supported. We do not have plans to implement this. If we get more requests, then we will see again.


Redmine does not update repository view on git push

Hi,
Here again with a new problem :(
Apparently now everything works fine, except the fact that the repositories in the web interface are frozen to their initial README file (I see no further commit), while the repositories under them progress.
Before activating the option "Force hooks to be updated" I was getting this message when pushing changes:
Counting objects: 4, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 266 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote:
remote: Notifying Redmine about changes to this repository : 'conquerir-le-monde' ...
remote: Error contacting Redmine about changes to this repo.
remote:
remote: Calling additional post-receive hooks...
remote:   - Executing extra hook 'hooks/post-receive.d/mail_notifications'
remote:     multimailhook is disabled
remote:
To git@<IP_ADDRESS>:conquerir-le-monde
   46f0fdd..9c12ff0  master -> master

Now, I get this one:
Counting objects: 4, done.
Compressing objects: 100% (2/2), done.
Writing objects: 100% (3/3), 261 bytes | 0 bytes/s, done.
Total 3 (delta 1), reused 0 (delta 0)
remote:
remote: This is Redmine Git Hosting post-receive hook forking to background...
remote: Bye Bye!!
remote:
To git@<IP_ADDRESS>:conquerir-le-monde
   9c12ff0..eda288f  master -> master

Following the answers to another issue, I had created the directory ~/.gitolite/hooks/common/post-receive.d, therefore now in git_hosting.log I have:
2014-09-26 12:44:46 +0200 INFO [GitHosting] Global hook directory '~/.gitolite/hooks/common/post-receive.d' is already present, will not touch it !
2014-09-26 12:44:46 +0200 INFO [GitHosting] Our 'post-receive.redmine_gitolite.rb' hook is already installed
2014-09-26 12:44:46 +0200 INFO [GitHosting] Our 'post-receive.git_multimail.py' hook is already installed
2014-09-26 12:44:46 +0200 INFO [GitHosting] Our 'post-receive.mail_notifications.py' hook is already installed
2014-09-26 12:44:46 +0200 INFO [GitHosting] Installing Redmine Gitolite mirroring SSH keys ...
2014-09-26 12:44:46 +0200 INFO [GitHosting] Done !

Could you please help me again? Thanks a lot in advance!
Rob

( Happy new year! :) )
No problems at all with the routing table or the firewall...
Anyway, I have simply fixed the problem by disabling the error on the server -- ok, it's a crude solution, but everything works fine, therefore it shouldn't be a big deal.


Depthwise convolution: HWIO layout support

Tensorflow breaks down seprarable convolutions into depthwise and pointwise.
These changes are to support HWIO kernel layout with NHWC input layout.
Thanks for contributing to TVM!   Please refer to guideline https://docs.tvm.ai/contribute/ for useful information and tips. After the pull request is submitted, please request code reviews from Reviewers.

Is this actually faster than the existing impls/layouts? Couldn't the TF frontend just insert an appropriate transpose(..) on the weight tensor (and rely on the transpose being precomputed in PrecomputePrune)?

Duplicate of #2241


Move HostConfig.Mounts to correct API version

This was added in fc7b904dced4d18d49c8a6c47ae3f415d16d0c43 (https://github.com/docker/docker/pull/22373), but some parts of the documentation ended up in the wrong API version, and was overlooked during review :)

ping @vdemeester @cpuguy83 PTAL

LGTM

author LGTM


Bump the scikit-bio version to 0.5.4 (containing new pcoa api)

This bumps skbio to 0.5.4 (which has not been released yet but will be within a day or so).
Skbio 0.5.4 is needed to support: https://github.com/qiime2/q2-diversity/pull/217, which
updates the ordination class in q2-diversity to support new scikit-bio's fast heuristic pcoa method.
TO-DO:

[x] 1. Wait until skbio is bumped to 0.5.3 in qiime 2: https://github.com/qiime2/q2-types/pull/191
[x] 2. Wait until scikit-bio 0.5.4 is released, which incorporates the new pcoa/fsvd PR https://github.com/biocore/scikit-bio/pull/1569

FYI @thermokarst, I'm currently preparing a new skbio release with Yoshiki and anticipate this to be complete very soon today.

@ebolyen @thermokarst skbio 0.5.4 has been released, please merge.
This PR is the only necessary step to update QIIME2's, and all plugins', skbio dependency -- correct?

Looks like it's on conda-forge, we should be good to go. Thanks @HannesHolste!


fix: Missing types for namespaced and resolver

Thanks mate

@zernonia After this PR, the types of the resolver doesn't work for me when using a prefix. For example, this pass typechecks:
RadixVueResolver()

But this does not:
RadixVueResolver({
    prefix: 'R'
})

Deleting node_modules/radix-vue/resolver.d.ts fixes it for me, with or without parameters.


Implement a DataFrame.view() method to interactively display data

R has a very rudimentary function (utils::View()) to display data interactively. On X11 it's so broken I basically never used it, yet, it would be very nice if pandas had something similar.
With python, there's tabview: https://github.com/firecat53/tabview/
which can be used as a module as well:
import tabview.tabview as t
t.view([matrix data])

This runs a full-screen curses interfaces with a simple spreadsheet like display, which is actually much nicer than what R offers.
I've started to use and customize the cli wrapper a lot (display X,Y coordinates, etc), to the point that I would like direct integration with DataFrame.
Would such a patch be accepted?

@wavexx are you proposing including tabview as an included library with pandas? or something else?

On 01/02/2015 06:11 PM, jreback wrote:

@wavexx are you proposing including tabview as an included
library with pandas? or something else?

I'm open for ideas.
It could start with a "view()" method that tries to import tabview, with
tabview being only a suggested package.
But we could add a submodule if having it as part of the package is a
desirable thing. I would be a bit against a flat copy, since I'd like
the development of tabview to continue also as a stand-alone viewer.
I would also love to have some sort of flexible viewer mechanism such as
the "PAGER" environment variable, but for data. Setting TABVIEW=tabview
could allow other tools to emerge. One example would be an X11
alternative if DISPLAY is set. The only downside is that it would
require saving/parsing the data again, so the built-in tabview is still
desiderable when TABVIEW is empty.

Hello,
a quite ugly solution is available here
import pandas.io.data as web
import datetime
start = datetime.datetime(2010, 1, 1)
end = datetime.datetime(2013, 1, 27)
panel = web.DataReader(["F", "YHOO"], 'yahoo', start, end) # Panel
df = panel.loc[:,:,"F"] # DataFrame
ts=df['Adj Close'] # Series

t.view(df.reset_index().transpose().reset_index().transpose().values)

t.view(ts.reset_index().transpose().reset_index().transpose().values)

t.view(panel.to_frame().reset_index().transpose().reset_index().transpose().values)

I hope it can helps.
Kind regards
Sébastien

Why the double transpose?
with df.reset_index() as df:
    t.view([df.columns.tolist()] + df.values.tolist()

seems to work.

Because of the double reset_index() (one for index, one for columns)

On 01/05/2015 01:29 PM, scls19fr wrote:

Because of the double reset_index() (one for index, one for
columns)

I guessed, but why not just concatenating the columns separately as I
did in the last example?
If Series are the reason, I would put a specialized view() method in its
class.

I thought that converting numpy array to list and concatenating 2 python lists wasn't a great idea. But timeit could show us that.
In [10]: %timeit df.reset_index().transpose().reset_index().transpose().values
100 loops, best of 3: 6.81 ms per loop

In [11]: %timeit [df.columns.tolist()] + df.values.tolist()
1000 loops, best of 3: 351 µs per loop

and I was wrong

I wonder if on Pandas side we shouldn't have only
import tabview.tabview as t
t.view(self)

inside Pandas DataFrame, Series and Panel view() method
and some update of tabview to support Pandas inputs like https://github.com/firecat53/tabview/pull/59

The idea of having a generic view method that could be overridden is good. Specialized methods in DataFrame/Series/Panel could reuse it in an uniform way.
This would solve the problem of having a generic data visualizer.
Still, pandas should come with a built-in/working method in order for the feature to catch on.
I'm hoping to fix a couple of issues with tabview in order to be used as a module and them re-visit the proposal.

We're pulling in native support for Pandas into tabview itself, so I consider this no longer an issue for Pandas.