added round end screen

Please go the the Preview tab and select the appropriate sub-template:

Features/Enhancements/Fixes
added round end screen with a timer between rounds of 15 mins

Note: I asked sloukit independently what this feature wanted, as it was very unclear. here are those text convos:

so the first item doesn't apply. However, all the other concerns are valid. Given me a bit.

I'm not sure I'm getting the same message you are (that the first thing doesn't apply). @sloukit, could you please clarify the intent on the round-end screen for me? The feature description (updated just yesterday) says: "Create simple round ending screen after every level (i.e., after every 15 minutes); contains statistics on how many plants and fruit have been planted/harvested".
My question is only around the second bold portion - do the messages between you two shown above indicate that this portion of the feature isn't actually required?

All changes have been made!

Hi, sorry for the confusion. The idea with the end of the round screen is to have a clear cut after 15 minutes and show the player the amount of crops and wood they currently have. This is cumulative, i.e. what the player owns goes into the next level and should also be included in the statistics. A 0 can be displayed for the crops the player doesn't have. I'm not sure I fully understand your question. Does this make it a bit clearer?

Yes and no. Sorry if I'm seeming a bit dense here but I'm seeing multiple mechanics at play (starting inventory, buying/selling, planting/harvesting) and potential things to track and I'm affraid part of it is getting confused due to some potentially unfinished features and/or testing variables.
You start with some of everything currently but can then technically lose items through selling or planting seeds. Lets take your 5 starting corn seeds as an example and go through a couple scenarios to clarify what should be displayed at the end of a round...
Scenario 1:

You start with 5 corn seeds.
You do nothing for the entire round and end with the same 5 corn seeds.
Result opt. 1: You still have 5 corn seeds in your inventory so the round ending screen displays 5 corn seeds.
Result opt. 2: You didn't plant or harvest anything so the round ending screen shows 0 corn seeds.

Scenario 2:

You start with 5 corn seeds
You plant 3 of those corn seeds then wait for the round to end doing nothing else.
Result opt. 1: The round end screen shows 2 corn seeds because you have 2 in your inventory (having planted 3).
Result opt. 2: The round end screen shows 3 corn seeds because you planted 3 (2 remained in your inventory).
Result opt. 3: The round end screen shows 5 corn seeds because you still 'own' 5 corn seeds worth (2 in inventory and 3 planted)
Result opt. 4: The round end screen shows seperate categories for current inventory (2) and planted values (3), totaling to 5.

Scenario 3:

You start with 5 corn seeds
You go buy 45 more corn seeds so you have 50 total in your inventory.
You go plant 20 of these and realize your farm is full so you have no current use for the other 30 corn seeds.
You go back to the shop and sell 20 of those remaining 30 corn seeds leaving you with 10 in your inventory.
Result opt. 1: Round end shows 10 corn seeds because that's what you end with in your inventory.
Result opt. 2: Round end shows 30 corn seeds because you ended with 10 in inventory and 20 planted, meaning you currently 'own' 30 corn seeds worth. This would also indicate it doesn't matter what you buy/sell, just what you end the round with in inventory+planted/harvested.
Result opt. 3: Round end shows 20 corn seeds because you planted 20 corn seeds.
Result opt. 4: Round end shows 50 corn seeds because you had up to 50 in your inventory earlier and it doesn't keep track of what you sell.
Result opt. 5: Round end shows seperate categories for your invenotry and planted values, displaying 10 in inventory and 20 planted.
 If this was the case, would the balance show 10 (meaning it only cares about your inventory) 20 meaning it only cares about your planted/havested amounts which would be cummulative over the rounds as you mentioned, keeping track of total progress), 30 meaning it cares about your total current ownership (could still count planted/harvested cummulatively on this but adds your inventory value on top because you 'own' those) or something else entirely?

So that might seem like a lot but hopefully it illustrates my questions around what exactlly is supposed to be tracked/shown...
All that aside, the actual issue I was pointing out is simply that the values being displayed on the round-end screen are just wrong no matter how you look at it, but to fix that properly I think it will be important to clarify the intended outcome of the scenarios above if you don't mind.
The image below illustrates the actual issue I was trying to get at in this commit as is. It tracks two entire rounds of play testing with screenshots and explainations along the way:

Round end menu now exactly copies inventory. Problem was it wasn't updating everything it was called, but only when it was initiated. It should fit at least 1 of the options now, however we need sloukit for further verification

Thank you for the detailed description of your concerns. They are valid, and I'm sorry for the confusion and for not getting it sooner.
The end of round screen copies the inventory. The seeds that are currently planted (i.e. potential future fruit/potential money or former seeds) don't matter. The function of this end-of-round screen is not extremely important, it's more about having a clear signal that the round has ended and the next round will start now, and showing the player what they have in their inventory in case they never looked. Does this make sense to you? Please let me know if you have any other questions or concerns.

This PR can be merged, but there are some conflicts between it and the main branch. @ylhs-262912 could you check this?

Ok, I'll resolve conflicts this afternoon.

Fixed the conflicts!
please acknowledge the changes have passed @sloukit and @DangerousVanilla so the merge can go through.

There is a problem with the style-lint check, could you check it again?

try it now!

We can merge this branch once @DangerousVanilla has approved the changes

@ylhs-262912, it looks like the boxes in the scrollable area aren't being cleared anymore as the screen is scrolled, would you mind taking a look at that please? Here's a short clip for reference:
https://github.com/user-attachments/assets/328a87b8-a041-4591-b381-1e91103630b2

Okay, I'll do it this afternoon

Done! try it now.

oop found a bug in the scrolling

fixed the scrolling bug. yip

Why did the lint fail this time?

That said, it looks like you're not quite up to date with main (there's still a lot of references to set_token_status in your commit. If you wouldn't mind syncing up with main, addressing any conflicts, and finally running formatlint.py again I think it'll have your all sorted out.

Okay, I'll do that.

oop its because I forgot to push a commit. that's where this all came from. oof. Tell me if there are anymore leftover references, I don't believe so.

Looks good now. Can you approve, @DangerousVanilla?

@tomkommando, thank you for noticing the issue here - I'll look into it and see if I can fix that issue.


Cant find path for a file in android

Expected Behavior
Find a file and return the correct path in the object
/internal storage/download/complaints policy.docx
Actual Behavior
Finds file but returns a file path which does not exist.
content://com.android.providers.downloads.documents/document/197
Steps to Reproduce the Problem

Select a file
Attempt to work with the file
Exception describing the file cannot be found at the specified location

Specifications

NuGet package version: tried both 2.1.14 & 2.1.34
Platform(s): Android

Unfortunately your expectation is wrong. On Android the FilePath often is a content:// URL which can on only be accessed using ContentProvider class from Android, or you're using the GetStream() method to access the data directly.

This may be so - I found a work around for this. When selecting the file, it points to a "Downloads" folder in the file selector, if you ignore this option, browse the device instead and THEN point to downloads folder, it works fine.


Color of hover and focus on navbar-default is not prominent

On hovering/focusing on a li element of navbar-default the color change is not prominent. So I propose that a more distinguishable color should be used.
Before changing the color

After changing the color

What version of Bootstrap are you using?

I have used bootstrap-3.3.5-dist

I made a small change to make the hover color black instead of a dark grey and here are the differences.
Before hover:

After hover:

I'm not too sure about using another color other than black since this is meant to be the default, and black is a good color for a default that also increases the contrast of the color change on hover.

Given the age of v3, I don't think we should be changing this right now. I agree it's not great, but small late additions like this can be frustrating for folks who haven't touched this stuff in a long time. Closing as a won't fix for now.


Image uploading in ckeditor works only for the superuser

Image uploading works only for the superuser, for other users it shows the login form in the administrative panel. What should I do to give access to all users registered on the site to upload an image in CKEDITOR_UPLOAD_PATH?

You have to add those two urls https://github.com/django-ckeditor/django-ckeditor/blob/master/ckeditor_uploader/urls.py instead of the include and use login_required decorator instead of staff_member_required


[Snyk] Upgrade @types/lodash from 4.14.166 to 4.14.167

Snyk has created this PR to upgrade @types/lodash from 4.14.166 to 4.14.167.

:information_source: Keep your dependencies up-to-date. This makes it easier to fix existing vulnerabilities and to more quickly identify and fix newly disclosed vulnerabilities when they affect your project.

The recommended version is 1 version ahead of your current version.
The recommended version was released 21 days ago, on 2021-01-01.

Release notes

Package name: @types/lodash

4.14.167 - 2021-01-01

4.14.166 - 2020-12-23

    from @types/lodash GitHub release notes

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open upgrade PRs.
For more information:
🧐 View latest project report
🛠 Adjust upgrade PR settings
🔕 Ignore this dependency or unsubscribe from future upgrade PRs

Coverage decreased (-0.02%) to 70.303% when pulling dffb01899bbc5e7adad23d58e277ba6a118d2539 on snyk-upgrade-cbbcce3ec55c1a8ca91d1856e3acf367 into 3ced77ccc6065ab57c64a50fba81bc16573d5d40 on develop.

Coverage decreased (-0.02%) to 70.303% when pulling dffb01899bbc5e7adad23d58e277ba6a118d2539 on snyk-upgrade-cbbcce3ec55c1a8ca91d1856e3acf367 into 3ced77ccc6065ab57c64a50fba81bc16573d5d40 on develop.


Update Advanced-Topics-Issues-and-Pitfalls.md

Summary
The link to create-react-app is currently broken on the live version of this page due to the formatting of the markdown document breaking the link syntax.
In order to maintain the source line width in this file, and also the links, transition all links to the end of the file, rather than inline.
Test Plan
No test plan, just a documentation formatting fix

@danielma - thanks for submitting this PR but looks like this link is already fixed.


Toolbar title reduces on screen rotation

Is it a ?

[x] Bug Report

[ ] Feature Request

[ ] Chore

Bug Report
Actual Behaviour
On screen rotation the title of the toolbar reduces in size.
Expected Behaviour
It shouldn't reduce.
Would you like to work on the issue?
Yes!

This was already discussed in other apps and is a default behaviour of Support Lib

@iamareebjamal Should I close this issue or can I submit a path for it?


Again the same problems with timeouts!?!?!

Again I'm getting the timeout-problems....

Me too. It was OK for 10-15 minutes but then the timeout issue came back and now all tests are getting it.

preview.codewars.com works for me


#17 Add node_modules to the repository to prevent dependency hassles and follow practices of using local npm modules instead of global modules

As noted here by @mikeal -- http://www.mikealrogers.com/posts/nodemodules-in-git.html -- I'd like to land a pull request where the NodeJS SDK for Windows Azure already has the npm modules required to run the tests, the examples, etc.
It seems like this is a better practice that the Node community is starting to adopt.
I fully understand that it may look like there will be a lot of cruft added to the repository, but he makes a good point here:
Doesn’t checking in node_modules create a lot of noise in the source tree that isn’t related to my app?
"..this code is used by your app, it’s part of your app, pretending it’s not will get you in to trouble. You depend on other people’s code and they are just as likely to write new bugs as you are, probably more so. Checking all of that code in to source control gives you a way to audit every line that ever changed in your application. It allows you to use $ git bisect locally and be ensured that it’s the same as in production and that every machine in production is identical. No more tracking down unknown changes in dependencies, all the changes, in every line, are viewable in source control."
Cheers and thanks,
Jaime

@jbueza - We looked at this and discussed with a couple of folks in the npm community including mikeal. Our conclusion boiled down to the sentences he mentions in his post:

"Only checkin node_modules for applications you deploy, not reusable packages you maintain."

This means that, since we're a library, and not a final app, we believe the node_modules shouldn't be included. If we were an app, then that practice could be considered to ensure a stable (and reproduceable) deployment. Does that make sense ?
Thanks,
Andre

Sounds good @andrerod :o)
Cheers,
Jaime


Propogate accent color changes to linear gradients? (1.6.5)

Edit: I changed the title to be specific to the linear gradient; as luck would have it, that was the first place I tried to use a MahApps accent, but it works as expected literally everywhere else in the app.
I can't seem to figure out how to propogate an accent-change to user controls that are styled with MahApps accent and theme colors. I am using DynamicResource and the change event, and I've tried several approaches to the ChangeAppTheme call (app, window, various Resources references, etc.)
It's easy to reproduce:
Merged in App.xaml
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Controls.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Fonts.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Colors.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/Cobalt.xaml" />
<ResourceDictionary Source="pack://application:,,,/MahApps.Metro;component/Styles/Accents/BaseLight.xaml" />
<ResourceDictionary Source="WatermarkBrush.xaml"/>
<ResourceDictionary Source="WatermarkStyle.xaml"/>

UC-related XAMLs
<LinearGradientBrush x:Key="WatermarkBrush" StartPoint="0.5,0" EndPoint="0.5,1">
    <GradientStop Color="{DynamicResource AccentColor}" Offset="0.15"/>
    <GradientStop Color="{DynamicResource AccentColor4}" Offset="1"/>
</LinearGradientBrush>

<Style x:Key="WatermarkStyle" TargetType="Label">
    <Style.Setters>
        <Setter Property="Foreground" Value="{DynamicResource WatermarkBrush}"/>
        <Setter Property="FontFamily" Value="Arial Black"/>
        <Setter Property="FontSize" Value="36"/>
        <Setter Property="FontWeight" Value="Bold"/>
    </Style.Setters>
</Style>

<StackPanel>
    <Label Content="MyApplicationName" Style="{DynamicResource WatermarkStyle}"/>
</StackPanel>

MainWindow content
<StackPanel>
    <Button Content="Blue on White" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,5" Click="BlueOnWhite"/>
    <Button Content="Red on Black" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,5" Click="RedOnBlack"/>
    <local:Watermark x:Name="MyUserControl" HorizontalAlignment="Center" Margin="30"/>
</StackPanel>

Code
public MainWindow()
{
    InitializeComponent();

    //ThemeManager.IsThemeChanged += (s, args) =>
    //    ThemeManager.ChangeAppStyle(Application.Current, args.Accent, args.AppTheme);

    //ThemeManager.IsThemeChanged += (s, args) =>
    //    ThemeManager.ChangeAppStyle(this, args.Accent, args.AppTheme);

    ThemeManager.IsThemeChanged += (s, args) =>
        ThemeManager.ChangeAppStyle(MyUserControl.Resources, args.Accent, args.AppTheme);
}

private void BlueOnWhite(object sender, RoutedEventArgs args)
    => ThemeManager.ChangeAppStyle(Application.Current, ThemeManager.GetAccent("Cobalt"), ThemeManager.GetAppTheme("BaseLight"));

private void RedOnBlack(object sender, RoutedEventArgs args)
    => ThemeManager.ChangeAppStyle(Application.Current, ThemeManager.GetAccent("Crimson"), ThemeManager.GetAppTheme("BaseDark"));

I've tried many more variations on ChangeAppStyle than what is shown above. The accents defined in App.xaml are applied at startup, but no matter how I respond to the theme-change event, the changes are not reflected in the UC. I even tried removing and re-adding the UC but it retains the startup style. (I also suspect my style and brush XAML should use StaticResource and only the UC needs DynamicResource, but obviously I'm a bit unclear about how the resource-change process works.)
I'm sure it's something simple. What am I missing?

Perhaps this problem is specific to the LinearGradientBrush or maybe how I reference the accent color there? I added a Border with an accent-dependent style and that works as expected. I don't even need the event, DynamicResource is enough.
<Style x:Key="BorderStyle" TargetType="Border">
    <Style.Setters>
        <Setter Property="CornerRadius" Value="10"/>
        <Setter Property="BorderThickness" Value="5"/>
        <Setter Property="BorderBrush" Value="{DynamicResource AccentColorBrush}"/>
    </Style.Setters>
</Style>

<StackPanel>
    <Border Margin="50,10" Padding="5" Style="{DynamicResource BorderStyle}">
        <Label Content="MyApplicationName" Style="{DynamicResource WatermarkStyle}"/>
    </Border>
</StackPanel>

I have the same problem. If i save my accentcolor and reopen my app the brush works as expected. As a work around i put all my styles and brushes into a new resourcedictionary and reload the dictionary everytime i change the accentcolor.
Is there a better way?
@punker76  How do you update the dynamic resources when you change the Theme? Is there any trick?

@MV10 I created a short sample with your source snippets and I can't reproduce this issue. Also you don't need to change the app style again at the ThemeManager.IsThemeChanged event.
/cc @timunie
repo: https://github.com/punker76/MahApps.Metro.LinearGradientBrush.Theme.Sample

Window
<mah:MetroWindow x:Class="WpfApp3.MainWindow"
                 xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
                 xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
                 xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
                 xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
                 xmlns:mah="http://metro.mahapps.com/winfx/xaml/controls"
                 xmlns:wpfApp3="clr-namespace:WpfApp3"
                 mc:Ignorable="d"
                 Title="MainWindow" Height="450" Width="800">
  <Grid>

    <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
      <Button Content="Blue on White" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,5"
              Click="BlueOnWhite" />
      <Button Content="Red on Black" HorizontalAlignment="Center" VerticalAlignment="Center" Margin="0,5"
              Click="RedOnBlack" />
      <wpfApp3:TestUserControl />
    </StackPanel>

  </Grid>
</mah:MetroWindow>

using System.Windows;
using MahApps.Metro;
using MahApps.Metro.Controls;

namespace WpfApp3
{
  /// <summary>
  /// Interaction logic for MainWindow.xaml
  /// </summary>
  public partial class MainWindow : MetroWindow
  {
    public MainWindow()
    {
      InitializeComponent();
    }

    private void BlueOnWhite(object sender, RoutedEventArgs args)
      => ThemeManager.ChangeAppStyle(Application.Current, ThemeManager.GetAccent("Cobalt"), ThemeManager.GetAppTheme("BaseLight"));

    private void RedOnBlack(object sender, RoutedEventArgs args)
      => ThemeManager.ChangeAppStyle(Application.Current, ThemeManager.GetAccent("Crimson"), ThemeManager.GetAppTheme("BaseDark"));
  }
}

UC
<UserControl x:Class="WpfApp3.TestUserControl"
             xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
             xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
             xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
             xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
             mc:Ignorable="d"
             d:DesignHeight="450" d:DesignWidth="800">
  <Grid>

    <Grid.Resources>
      <LinearGradientBrush x:Key="WatermarkBrush" StartPoint="0.5,0" EndPoint="0.5,1">
        <GradientStop Color="{DynamicResource AccentColor}" Offset="0.15" />
        <GradientStop Color="{DynamicResource AccentColor4}" Offset="1" />
      </LinearGradientBrush>

      <Style x:Key="WatermarkStyle" TargetType="Label">
        <Style.Setters>
          <Setter Property="Foreground" Value="{DynamicResource WatermarkBrush}" />
          <Setter Property="FontFamily" Value="Arial Black" />
          <Setter Property="FontSize" Value="36" />
          <Setter Property="FontWeight" Value="Bold" />
        </Style.Setters>
      </Style>

      <Style x:Key="BorderStyle" TargetType="Border">
        <Style.Setters>
          <Setter Property="CornerRadius" Value="10" />
          <Setter Property="BorderThickness" Value="5" />
          <Setter Property="BorderBrush" Value="{DynamicResource AccentColorBrush}" />
        </Style.Setters>
      </Style>
    </Grid.Resources>

    <StackPanel VerticalAlignment="Center" HorizontalAlignment="Center">
      <Border Margin="50,10" Padding="5" Style="{DynamicResource BorderStyle}">
        <Label Content="MyApplicationName" Style="{DynamicResource WatermarkStyle}" />
      </Border>
    </StackPanel>

  </Grid>
</UserControl>

Thank you for your feedback. @punker76 i provided a colorpicker for the user in my app and update all the accentbrushes.  This works for all solidcolorbrushes but not for gradientbrushes. I will try it again in a sample app and let you know if it works now. It would be cool 😎 if someday the ThemeManager accepts cutom colors.
Have a nice evening

I tried it again and it worked as expected, but it does not work if I just change the AccentColors. If I just change the AccentColors it won't work. I had to create a new Theme.
I extended the ThemeManager to create a custom Theme (light and dark) based on userinput (I found a similar code in an example application :-)). I made a pull request (#3515) for my changes, Maybe it will be merged some day and others could benefit of this feature, I am waiting for the feedback of @punker76
Happy coding


7/30 Publish

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

docfx.json
:white_check_mark:Succeeded

docs-ref-conceptual/azure-cli-extensions-list.md
:white_check_mark:Succeeded
View (azure-cli-latest) View (azure-cli-2017-03-09-profile)

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


Metrics Settings Doubt

I'm using Hystrix with basically the default settings for metrics, but i want to understand it better, i'm not good at statistics so the configurations looks a little harsh to me, could someone explain what the settings are for, and how changing them affects the metrics and how to read better the information?
Maybe @mattrjacobs  could give a hand on this one?

For metrics, the main setting to be interested in is the window size:
https://github.com/Netflix/Hystrix/wiki/Configuration#metrics.rollingStats.timeInMilliseconds
https://github.com/Netflix/Hystrix/wiki/Configuration#metrics.rollingPercentile.timeInMilliseconds
https://github.com/Netflix/Hystrix/wiki/Configuration#metrics.healthSnapshot.intervalInMilliseconds
The first 2 control what scope the rolling metrics have.  So, for example, if you ask an instance of HystrixCommandMetrics for getRollingCount(SUCCESS), it will be the number of successes in the most recent window.  If you ask for the rollingExecutionLatencyPercentile(90), you will get the 90p latency over the most recent window size.
Does that help?

@mattrjacobs a rolling window would be a period of time that the metrics will be recorded and after this period it would be reset?

Mostly yes, though there is also the notion of buckets within than rolling window.  If the window size is 60 seconds, and you have 10 buckets (of 6 seconds each), then every 6 seconds, a new rolling count gets calculated with the most recent 10 buckets

@mattrjacobs i didn't understand the concept of buckets with the rolling window, could you elaborate a little more?
Also, could you answer some more doubts, like, how increasing the window size will affect the results? How increasing the number os buckets will affect the results?
Sorry if i'm asking noob questions, it's a new concept to me, and i hope you have patience to explain a little further.

No problem.  I think the graphics here are more illustrative of the concept: https://github.com/Netflix/Hystrix/wiki/Configuration#metrics
There is a larger window size that is the total amount of time for which we want to aggregate metrics for.  Within that, we divide it up so that we don't have to recalculate the metrics state on each new metric event.  Rather, we recalculate on bucket boundaries so that we bound the amount of work Hystrix has to do while still giving low-latency metrics

Humm i guess i understand better now, so, based on your first example 60 secs with 10 buckets (6 secs per buckets), after passing 6 secs the last bucket will be dropped and a new one will be created, i got it right or still lost? haha

You got it 👍

Thank you @mattrjacobs, so what happens with the aggregate metrics as i increase any of these settings? what are the implications? why would i need to increase the bucket size ou the window?

If you use a larger time window, then each individual metric affects the aggregate less.  So the system is slower to react to a change in the underlying state.  However, it is more robust against randomness  (Distributed systems can't work at 100%)
If you use more buckets, then the aggregate gets computed more frequently.  This is more precise, but more expensive in terms of CPU.

got it, thank you very much @mattrjacobs!


Support for different (custom) backends?

I'd like to use this Bundle to load fixtures for some objects that would special persistence (read: legacy) logic.
What would be the best approach to solve this? Does this bundle make any provisions for that case?
For example, it would be awesome if I could just implement some interface (say, a persist($object) method), tag a service implementation and then this bundle would magically pass in the right objects.
Thoughts?

It's not easily doable in 1.x, but for 2.x the design has been changed and will make use of https://github.com/theofidry/AliceDataFixtures, in which, you can easily create a different implementation of the persister.


Update README.md supported OS versions to include 17763

As long as there’s a version number there it does pose a support question whenever it ends up out of date. However updating it with each preview drop seems excessive.
From: Jevan Saks<EMAIL_ADDRESS>Sent: Tuesday, November 6, 2018 9:57 AM
To: Microsoft/microsoft-ui-xaml<EMAIL_ADDRESS>Cc: Chris Glein<EMAIL_ADDRESS>Comment<EMAIL_ADDRESS>Subject: Re: [Microsoft/microsoft-ui-xaml] Update README.md supported OS versions to include 17763 (#17)
@jevansaks commented on this pull request.

In README.mdhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmicrosoft-ui-xaml%2Fpull%2F17%23discussion_r231227903&data=02|01|cglein%40microsoft.com|876518c3f10f450611cc08d64411374c|72f988bf86f141af91ab2d7cd011db47|1|0|636771238072112093&sdata=7wf5rN9Fit%2FpUG35mVLJkCW1WoSuGyLedIle4Lkfev4%3D&reserved=0:

@@ -39,7 +39,8 @@ This repo provides information and issue tracking for the following NuGet packag

| Microsoft.UI.Xaml.Core.Direct | Low-level APIs that can enable better performance when creating middleware components. Not intended or required for general application use |
Supported OS versions
-* Windows Insider Preview (17135+)
+* Windows Insider Preview (17764+)
Good question. I'm fine with either leaving it out or just saying that we support latest Windows Insider Preview with no version. Or are you suggesting that we just not have a specific version list at all? @jesbishttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fjesbis&data=02|01|cglein%40microsoft.com|876518c3f10f450611cc08d64411374c|72f988bf86f141af91ab2d7cd011db47|1|0|636771238072122097&sdata=ftGCQdbIfe%2FOG09JKOZpNf9M8oWCGRFa7Jg0RbM9L3M%3D&reserved=0, thoughts?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2FMicrosoft%2Fmicrosoft-ui-xaml%2Fpull%2F17%23discussion_r231227903&data=02|01|cglein%40microsoft.com|876518c3f10f450611cc08d64411374c|72f988bf86f141af91ab2d7cd011db47|1|0|636771238072122097&sdata=iA%2Fv3FTDISeQsMI65ED8eJikmbrTESyKKas%2Bkycg8Ww%3D&reserved=0, or mute the threadhttps://na01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgithub.com%2Fnotifications%2Funsubscribe-auth%2FAZYBDS-_lNkcOv2ASSAXG7ea-PY3Ov5Zks5usc1cgaJpZM4YQa9Z&data=02|01|cglein%40microsoft.com|876518c3f10f450611cc08d64411374c|72f988bf86f141af91ab2d7cd011db47|1|0|636771238072132102&sdata=u6MqYhfH%2Bz5xGJKQBh2hX42%2FCDEdt6eLlDoltsjcCUg%3D&reserved=0.


Templates: Update Fashion template to 9:16

Use this Figma doc to apply 9:16 updates to the existing Fashion template:
https://www.figma.com/file/RTzSw47oi6pEZXEfP2JoBo/Templates?node-id=766%3A61

https://github.com/google/web-stories-wp/pull/2577

Tested in PR#2577
Social icons still appearing on final page:

The social icons have been removed, and a 4th image added.  However, because QA isn't updated with new images unless they're merged into master first, the 4th image on the final page of the template might appear broken during your test, but it is working and will appear when merged:

Tested in PR#2577 - Win10/Chrome


Create unev/est.txt

Added new domain university unev student domains (est)

@lrdgz First stage of verification passed, official domain is unev.edu.do as far as I verified. This is just an informational note. Pull request is still in the review. I appreciate your patience while waiting for the final decision.

@lrdgz Pull request merged. Thank you.


separators and modifiers

first thanks for writing this library
I would like to know if you have any plans to support modifiers dev, alpha
and support additional separators to the dot ., like - or _
or simply allow identifiers together, like YYYY0M
let me know if you need more information or prs about it

The only feature missing right now is the MODIFIER tags such as dev.1 or alpha.201. I'll add it to the API as soon as I have time. I think API would be similar to:
const calver = new Calver('YY.MM.MICRO-MODIFIER', '20.8.123-alpha1')
calver.inc('modifier')
calver.get() === '20.8.123-alpha2'

And if I want to switch to another pre-release tag:
calver.inc('modifier', 'beta')
calver.get() === '20.8.123-beta1'

What do you think?

Modifier tags are now supported as of release 21.1.0. The api is not exactly the same as I mentioned above but similar. Please see readme.

Modifier tags are now supported as of release 21.1.0. The api is not exactly the same as I mentioned above but similar. Please see readme.


store: fix goroutines race on db.

When a process using, from multiple goroutines, the same store.db instance
it'll happen that a goroutine will Open the ql db with another
goroutine/process with it already open.
This is caused because in db.Do the store.db instance is using one
file lock (using flock) so a following call to db.Do with an already held
lock will pass and call Open.
With a single process this isn't causing an error probably because,
since ql uses fnctl, the posix lock is related to the file and process
and not to the file descriptor (so this can cause a real db corruption).
Instead when using more than one process this will trigger the ql
locking error: cannot acquire lock: resource temporarily unavailable
In the code there was already a internal locking made by a mutex, but
looks like it was put just to make the go race detector happy and the
lock/unlock order was wrong. Instead this is really needed.
This patch fixes the lock/unlock order.
A future test to really test this problem will need to spawn two
processes.
Here an example repro:
package main

import (
        "fmt"
        "os"

        "github.com/coreos/rkt/store"
)

func main() {
        s, err := store.NewStore("/tmp/test/rkt")
        if err != nil {
                fmt.Printf("cannot open store: %v", err)
                os.Exit(1)
        }

        runs := 10000
        for i := 0; i < runs; i++ {
                go func() {
                        _, err = s.GetAllACIInfos(nil, false)
                        if err != nil {
                                fmt.Printf("cannot query db: %v", err)
                                os.Exit(1)
                        }
                }()
        }

        s.Close()
}

compile and execute the above command with something like:

while true; do
        for i in $(seq 0 2); do
                ./test01 &
        done
        wait
done

Should fix #2374

so good news.  With this patch I seem to have been able to pass a k8s test where I never passed before
bad new, I still seem similar error output
e2e-tests-sched-pred-aboh9   2016-04-07 10:09:04 -0700 PDT   2016-04-07 10:09:04 -0700 PDT   1         maxp-252   Pod       spec.containers{maxp-252}   Warning   Failed    {kubelet spotter-rkt-minion-gtjj}   Failed to create rkt container with error: failed to run [prepare --quiet --pod-manifest /tmp/manifest-maxp-252-392804414]: exit status 1
stdout:
stderr: prepare: cannot open store: cannot acquire lock: resource temporarily unavailable

and
e2e-tests-sched-pred-aboh9   2016-04-07 10:10:38 -0700 PDT   2016-04-07 10:10:38 -0700 PDT   1         maxp-48   Pod                 Warning   FailedSync   {kubelet spotter-rkt-minion-gtjj}   Error syncing pod, skipping: failed to SyncPod: failed to run [prepare --quiet --pod-manifest /tmp/manifest-maxp-48-665407762]: exit status 1
stdout:
stderr: image: using image from file /opt/rkt/stage1-coreos.aci
prepare: cannot acquire lock: resource temporarily unavailable

see a number of these

bad new, I still seem similar error output

uhm. was the rkt api service restarted? Which tests (so I can try them locally)
I have to leave for some hours, I will answer to the other question ls when I'll be back.

A1: yes, started fresh
A2: [Fail] [k8s.io] SchedulerPredicates [Serial] [It] validates MaxPods limit number of pods that are allowed to run [Slow]
I'm basically using https://github.com/yifan-gu/kubernetes/tree/gce_coreos_rkt (i.e. branch is gce_coreos_rkt)
setup the environment currently with
BUILD_PYTHON_IMAGE=true
KUBE_CONTAINER_RUNTIME=rkt
KUBE_ENABLE_CLUSTER_MONITORING=standalone
KUBE_ENABLE_NODE_LOGGING=false
KUBE_GCE_INSTANCE_PREFIX=${USER}-rkt
KUBE_GCE_MASTER_IMAGE=coreos-alpha-962-0-0-v20160218
KUBE_GCE_MASTER_PROJECT=coreos-cloud
KUBE_GCE_NETWORK=${USER}-rkt
KUBE_GCE_NODE_IMAGE=coreos-alpha-960-0-0-v20160217
KUBE_GCE_NODE_PROJECT=coreos-cloud
KUBE_GCE_ZONE=us-east1-b
KUBE_OS_DISTRIBUTION=coreos
KUBE_RKT_VERSION=rkt-${USER}-hack
KUBE_SKIP_UPDATE=y

build by doing a (the PYTHON env above is important for this)
make quick-release

I set up the cluster by doing a
go run hack/e2e.go -v -up

this downloads an appropriate rkt build from our gcloud storage as specified by KUBE_RKT_VERSION
run the specific test by doing a
go run hack/e2e.go -v -test -test_args="-ginkgo.focus=validates.MaxPods.limit"

in another window I do
 ./cluster/kubectl.sh get events -w --all-namespaces

and I see the error output

A1: yes, started fresh
A2: [Fail] [k8s.io] SchedulerPredicates [Serial] [It] validates MaxPods limit number of pods that are allowed to run [Slow]

Tried this test multiple times (on a local k8s git master cluster) but can't reproduce with this fix (without I can reproduce it every time). That's really strange since the other test I was using (kubelet should be able to delete 10 pods per node in 1m0s) does the same rkt prepare (with less pods).
Sorry for being pedantic :smile: but are you really sure that you're running a patched rkt version?

bad new, I still seem similar error output

@sgotti @sjpotter Is the error coming from the ql lock or our flock? We should add some logging here...

@sgotti @sjpotter Is the error coming from the ql lock or our flock? We should add some logging here...

It's coming from ql camlistore locking. You're right and I also wanted to improve the logging but wanted to keep this patch clear (perhaps a new PR will be better).

sgotti: pretty sure,
spotter-rkt-minion-60dh spotter # systemctl cat kubernetes-install-rkt
# /etc/systemd/system/kubernetes-install-rkt.service
[Unit]
Description=Fetch rkt
Documentation=http://github.com/coreos/rkt
Requires=network-online.target
After=network-online.target
Requires=kube-env.service
After=kube-env.service
[Service]
Type=oneshot
RemainAfterExit=yes
EnvironmentFile=/etc/kube-env
ExecStartPre=/usr/bin/mkdir -p /etc/rkt
ExecStartPre=/usr/bin/mkdir -p /opt/downloads
ExecStartPre=/usr/bin/curl --location --create-dirs --output /opt/downloads/rkt.tar.gz https://storage.googleapis.com/rkt-bin/${RKT_VERSION}.tar.gz
ExecStartPre=/usr/bin/tar xf /opt/downloads/rkt.tar.gz -C /opt --overwrite
ExecStartPre=/usr/bin/rm -fr /opt/rkt
ExecStart=/usr/bin/mv /opt/bin /opt/rkt

spotter-rkt-minion-60dh spotter # systemctl cat rkt-api-service
# /etc/systemd/system/rkt-api-service.service
[Unit]
Description=Start rkt API service as Daemon
Requires=kubernetes-install-rkt.service
After=kubernetes-install-rkt.service
[Service]
ExecStart=/opt/rkt/rkt api-service
Restart=always
RestartSec=10

can you attach your rkt tarball and I can try again?

ok, so patched head (1.3.0+) with this and it works perfectly, no unexpected output.

ok, so patched head (1.3.0+) with this and it works perfectly, no unexpected output.
Show all checks

@sjpotter Awesome! Sounds like a big progress. Though we need to fix the 1.3 issue with the symlink.

ok, so patched head (1.3.0+) with this and it works perfectly, no unexpected output.

That sounds great! With me it worked also on a patched 1.2.1, perhaps there's some bad http caching...
Tomorrow I'll update the PR with all the suggestions.

@sgotti Thank you so very much!

Thanks a lot for all you reviews and tests.
I tried to implement the various suggestions. Now if the flock unlock fails the code will panic since there's no easy way to recover it. @yifan-gu if this will ever happen, the rkt api service should to be raspawned by a systemd restart policy or something similar.
Probably some followup patches should:

Improve the error reporting.
@euank I noticed that when I wrote it I was ignoring the sqldb.Close errors, I'd like to also handle them. Thoughts?

By my reading, since there's an early return when there's an sqldb.Close error, you end up in a state with a held lock and no easy path forwards. I think that's a discussion for another issue, but that, too, looks to be fraught with peril.
I'm :+1: on merging this, and giving fun error scenarios more thought in a new issue.

Oh dammit, I even called this problem @ https://github.com/coreos/rkt/pull/1892#issuecomment-165864537 when it wasn't an issue (because at the time we were creating a new dbLock for every txn) - but then I missed that it was introduced after all @ https://github.com/coreos/rkt/pull/1892#issuecomment-165933070 :-(

LGTM. @euank can you file a follow-up?
thanks @sgotti !


⚠ Bofrost.fr has degraded performance

In 871e044, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 1098 ms

Resolved: Bofrost.fr performance has improved in f543e70.


TEST: Clean AssetFinder initialization and tests.

AssetFinder no longer accepts an unused trading_calendar.
AssetFinder correctly accepts a DataFrame as input.
Tests for AssetFinder no longer rely on a global trading environment.

Besides the one line comment, this looks good to me :+1:

@jfkirk will merge when Travis gives the green light.


docs: #61 Add Source Map documentation to README.md

docs: #61 Add Source Map documentation to README.md
Description :memo:

Purpose: Adds documentation regarding Source Maps support
Approach: Edited README.md

Type of change

[x] New feature (non-breaking change which adds functionality)

Updates

Edited README.md

Test plan :test_tube:

None

Author to check :eyeglasses:

[ ] Project and all contained modules builds successfully
[ ] Self-/dev-tested
[ ] Unit/UI/Automation/Integration tests provided where applicable
[ ] Code is written to standards
[ ] Appropriate documentation written (code comments, internal docs)

Reviewer to check :heavy_check_mark:

[ ] Project and all contained modules builds successfully
[ ] Change has been dev-/reviewer-tested, where possible
[ ] Unit/UI/Automation/Integration tests provided where applicable
[ ] Code is written to standards
[ ] Appropriate documentation written (code comments, internal docs)

Once this is merged, let's prepare a new release.


onRegionChangeComplete call multiple time in iOS

When I use method animateToRegion or when I scrolling the map, the method onRegionChangeComplete is called multiple time.
There is a way to trigger a method onPressIn and onPressOut the map and call onRegionChangeComplete only one time  when we use animateToRegion ?

Any news about this?

Nothing

same issue


Do not try to download a page or a feed when no URL is given.

Especially when I pressed Esc without entering an URL.

Fixed.

Have you tested it?  It doesn't seem to have changed anything (I checked that the change was applied to importer.py in my ~/.local/share/Anki2/addons21/1152164089 ).

Works, thanks.
Although if I do enter an URL and press Esc, maybe it still shouldn't try.

That would be harder to change. I would need to keep track of how the window is closed, which I currently don't.
I'll put it on my to-do list.


Keras RNN example for bAbI dataset, can not reproduce accuracy results?

I tried the babi_rnn.py located in keras/examples and in the comment section of the same file it says it achieves 100% accuracy on task 1 (one supporting fact) with 1000 training samples in 20 epochs.
I did not change any of the hyperparameters and the test accuracy is around 50% (only_supporting = False). Could please let me know whether you get the same results and if so what could be the problem?
I tried changing also changing the hyperparameters by increasing the embedding size to 200 and number of epochs to 40. It increases the train accuracy to 94% but test accuracy is around 72% with the GRU model.
I am running newest version keras + tensorflow
Thank you.

I can reproduce this issue. Keras 2.0.8 / TensorFlow 1.3.0 /  Linux Mint / 1080 ti
The claim was made at 22c091ae3ff1048c0a6d28edca7c57bb93378850


how use tensorboard to show train log file

I'am training faster_rcnn model. and I get some log file. now, how use tensorboard to show train log file?
train log file tree
work_dirs/mepu_detect_data_merg_0510/
├── 20240510_030714
│   ├── 20240510_030714.log
│   └── vis_data
│       ├── 20240510_030714.json
│       ├── config.py
│       └── scalars.json
├── epoch_1.pth
├── epoch_2.pth
├── epoch_3.pth
├── last_checkpoint
└── mepu_det_data_0510.py

run tensorboard:
tensorboard --logdir=./work_dirs/mepu_detect_data_merg_0510/20240510_030714/20240510_030714.log --port 8000 --bind_all

but, tensorboard show "No dashboards are active for the current data set."
can you help me?

I'am training faster_rcnn model. and I get some log file. now, how use tensorboard to show train log file? train log file tree
work_dirs/mepu_detect_data_merg_0510/
├── 20240510_030714
│   ├── 20240510_030714.log
│   └── vis_data
│       ├── 20240510_030714.json
│       ├── config.py
│       └── scalars.json
├── epoch_1.pth
├── epoch_2.pth
├── epoch_3.pth
├── last_checkpoint
└── mepu_det_data_0510.py

run tensorboard:
tensorboard --logdir=./work_dirs/mepu_detect_data_merg_0510/20240510_030714/20240510_030714.log --port 8000 --bind_all

but, tensorboard show "No dashboards are active for the current data set."
can you help me?

in fact, here is no tf log for tensorboard. I also encounter the same question, according to some info from website, they say these codes should be add into configurationn
log_config = dict(     interval=5,  # 日志间隔     hooks=[         dict(type='TextLoggerHook'),  # 日志钩子         dict(type='TensorboardLoggerHook')  # TensorBoard 日志钩子     ])
However, it does not works(no tf log either when training), so I want to know if the latest edtion change the way to open tensorboard


ARU Org Join Request

Your Name
Robyn Verrinder
Membership Type
Member
Role
Staff
Supervisor
Robyn Verrinder
Teams
@SHARC
Collaborator Repositories
No response
Special Requests
No response
Code of Conduct

[X] I agree.

Email Address Confirmation

[X] I confirm that I have read and understood the above.

@robynverrinderUCT are you sure you want to make another GitHub account for UCT? I see you already have @robynverrinder. If it's a simple matter of emails you can add multiple.


Missing error when instantiating generic instance method tearoff

The error reported when referencing an instance member using a class reference disappears when you add type arguments to the tearoff operation.
class C {
  void genericInstanceMethod<T>() => print(T);
}
// This is an error:
// Instance member 'genericInstanceMethod' can't be accessed using static access.
// var tearoff1 = C.genericInstanceMethod;

var tearoff2 = C.genericInstanceMethod<int>; // No analyzer error here!

The CFE does correctly report the error at compile time though.

Now the error appears with or without the type argument(s). 🎉


Refactoring to streams

So here's a bit more of what I had in mind:

Refactored all the validation messages into streams
Removed all ngClass in favor of the .ng-invalid class
Refactored the NumberValidator to output errors messages on min/max/NaN
Created a help-block component (I prefer "dumb component" with @Inputs for handling streams)

The main benefit here is now all the message streams could combine/compare with one another for validation across multiple fields. You could also create additional streams off of the message streams to invoke other logic/services based on complex scenarios.
This is meant more of a "here's my thoughts" than a pull request.
Cheers,
John

This makes more sense.
One question, what is the benefit of using the async pipe on a hard-coded property value (pageTitle)?

From my point of view, pageTitle has a default and a streamed value from the movie service (since all http.get requests are streams). So it makes sense to handle the result as a stream as well. Maybe the pageTitle stream would read better with .startWith('Add Movie') then pushing subsequent values as they arrive.
The pageTitle as a stream could now display errors, timers (e.g., "you will be logged out in 3... 2..."), and more importantly live-updated data. If you had multiple users editing the form, you could fairly trivially "push" the new title in each time a different user and/or server changed it.
Granted, this is usually overkill for demos/samples, but the benefits payoff as you start adding more complex features.

Cool info! Thanks!


RFC Exceptions can now redirect

Some OAuth error conditions expect that the client is redirected
to a URL (preregistered) with the error codes. This patch adds the
ability to pass a URI to the underlying HttpStatus Exception, so
that the ErrorResponseBuilder can redirect them appropriately.

Coverage remained the same at 100.0% when pulling 3febc2dcf1bf6ea90ac7848c49e7f45db48fe6e1 on feature/error_redirect into 307a0dba4909e1de8a63ea636925185750428472 on develop.


Looking for documentation of AeroDyn v14.04.* INPUT FILE.

I have had success running the '5MW_ITIBarge_DLL_WTurb_WavesIrr' example.
So now I want to test by changing the options, but I can't find the AeroDyn input file documentation.
AeroDyn Input File what I used is NRELOffshrBsline5MW_AeroDyn_Equil_noTwr.dat.
However In the documentation, I can't find anything about StallMod, UseCm, InfModel, IndModel and so on.
It is difficult to find information about AeroDyn Input File as well as other Input Files too.
I'm just starting to study offshore wind, so maybe I'm misunderstanding something.
Please help to answer, thank you.
Best regards,

Dear @leggod1004,
We are busy working to add more documentation in OpenFAST readthedocs.
However, we intend to deprecate AeroDyn v14 soon, in favor of AeroDyn v15.  Regardless, in the interim, you can find documentation on AeroDyn v14 here: https://www.nrel.gov/wind/nwtc/aerodyn.html.  But you may want to upgrade the OpenFAST model you are using to use AeroDyn v15 instead.
Best regards,


v-for variable is undefined in string interpolated v-bind, but works in mustaches

I have the following component:
<template lang="pug">
#blog
  template(v-for='post in posts' v-if='posts')
    nuxt-link(:to=`/blog/${post}`) {{ post }}
    p {{ post }}
</template>

<script>
import * as postsMarkdown from '../../assets/js/md-index';

export default {
  data() {
    return {
      posts: Object.keys(postsMarkdown),
    };
  },
};
</script>

Unless I comment out the nuxt-link element, it fails to build, but when commented, the p properly renders with the contents of post. Am I doing something wrong?


bug with headers

Hello,
I'm using ng-Tasty to dynamically display data on a page (using bind-resource-callback and bind-reload).
everything works fine until I try in my bind-resource callback to return a table different than the one already displayed (different number of colons).
The data is displayed correctly but the headers are not refreshed properly...
is there a way to reinitialize a tasty-table so everything works fine or is it a bug ?
Thanx,
Etienne

I see, you try to use the same HTML but with different data.
Can you paste me some code to recreate the bug please.

Sorry was not a bug, but just a native feature of ngTasty.
As default all the header it's build by using bind-once, to disable that you can check on this page
http://zizzamia.com/ng-tasty/directive/table-server-side/complete bind-theme and how switch bindOnce: true to bindOnce: false.


[Gluten-CORE][MINNOR] Add the unsupported message for map functions

What changes were proposed in this pull request?
This is a mirror pr. We found that the program does not print unsupported information correctly when using GetMapValue.
How was this patch tested?
unit tests

retried UTs, now it can be merged @ulysses-you


Remove code needed to annotate elements in HTML spec

Done upstream in https://github.com/whatwg/html/pull/6750
(marked as draft until the PR is merged at which point I'll double check we get the same results in extracted definitions)

HTML spec now updated and I've verified the resulting definitions match what we want


Issue #323 - upgrade TestNG version to 6.9.12

PR is not ready.  Worked in my local becuase testng 6.9.12 is in our companys maven repository but 6.9.11 and 6.9.12 is not published to maven central.  TestNG is now being pushed to jcenter.
http://testng.org/doc/download.html
Will update the PR with this added maven repository to our pom file.

@ILikeToNguyen which PR should we be looking at? this or #324

Yea I took an unorthodox approach.  Both PRs point to the same branch I have in my fork. I wanted to signify I wanted it applied to both develop branches so I created a PR against each develop branch.  I should just do 1 PR and put a comment that it should be applied to both develop branches instead of 2 PRs against each develop branch.  Closing 324.

This needs to go into 2.0.0 also


low-latency hls stream is freezing all the time because chunklist is re-requested not as frequently as it should be

Browser: Version 53.0.2785.116 (64-bit) -- actually no difference
OS: Mac OS 10.10.5 (14F1912) -- actually should make no difference
Clappr Version: 0.2.63
Steps to reproduce:

create live stream: keyframe-interval = 1 sec, hls-packet-duration =  2 sec, and hls-playlist-chunks-count = 3
start playback
I was expecting smooth playback but chunklist is reloaded not that frequently so video stops playing before new chunks are downloaded

Issue was reproduced on http://cdn.clappr.io/
I suppose there should be some option to increase rate of chunklist refreshes however neither documentation nor looking through source code helped...

Hi this looks like a hlsjs issue.
What is the X-TARGETDURATION value set to in your playlist? Can you provide a stream URL?
On 30 Sep 2016, at 15:27, Roman Shmelev <notifications<EMAIL_ADDRESS>wrote:
Browser: Version 53.0.2785.116 (64-bit) -- actually no difference
OS: Mac OS 10.10.5 (14F1912) -- actually should make no difference
Clappr Version: 0.2.63
Steps to reproduce:

create live stream: keyframe-interval = 1 sec, hls-packet-duration = 2 sec, and hls-playlist-chunks-count = 3
start playback
I was expecting smooth playback but chunklist is reloaded not that frequently so video stops playing before new chunks are downloaded

Issue was reproduced on http://cdn.clappr.io/
I suppose there should be some option to increase rate of chunklist refreshes however neither documentation nor looking through source code helped...

You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/clappr/clappr/issues/1163, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADG-WfIW1yymz_QaXIRsO-bWAkWRpFB4ks5qvRxTgaJpZM4KLJTG.

unfortunately I cannot provide you with URL to the stream (will probably be able to do it later) however this is how chunklist looks like:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:117
#EXTINF:2.0,
media_w1081758558_117.ts
#EXTINF:2.0,
media_w1081758558_118.ts
#EXTINF:2.0,
media_w1081758558_119.ts

Hope that helps

Thanks. The target duration looks quite high. Are you expecting any segments to be 10 seconds long?
Regardless I'd say this is a hlsjs issue as it should be able to use the EXT-INF values to calculate when to refresh, so it would be worth creating an issue there with a link to this one. Maybe at the moment it only uses the TARGETDURATION.
On 30 Sep 2016, at 15:48, Roman Shmelev <notifications<EMAIL_ADDRESS>wrote:
unfortunately I cannot provide you with URL to the stream (will probably be able to do it later) however this is how chunklist looks like:
#EXTM3U
#EXT-X-VERSION:3
#EXT-X-TARGETDURATION:10
#EXT-X-MEDIA-SEQUENCE:117
#EXTINF:2.0,
media_w1081758558_117.ts
#EXTINF:2.0,
media_w1081758558_118.ts
#EXTINF:2.0,
media_w1081758558_119.ts
Hope that helps

You are receiving this because you commented.
Reply to this email directly, view it on GitHubhttps://github.com/clappr/clappr/issues/1163#issuecomment-250763868, or mute the threadhttps://github.com/notifications/unsubscribe-auth/ADG-WYJaYTRmtoZgxyPrwMVry2aZRXz_ks5qvSEbgaJpZM4KLJTG.

You can use https://github.com/clappr/clappr/blob/master/doc/TROUBLESHOOTING.md#common-steps-to-verify-issues to check some common issues with hls streaming.

hello everyone, one of latest clappr versions (incl. latest hls.js) fixed the issue.
now playback is smooth and pleasant, thank you!


Replace users' checkboxes with Typeahead

Giving users the ability to select the recipient through a checkbox is not really ideal.
Suppose I have thousands of users, it would become cumbersome to search and select the recipient.
So I'm trying to replace it with Typeahead JS library: https://twitter.github.io/typeahead.js/
I noticed then whenever I send a message to another user, 2 records get created in the participants table, one with my ID and another with the recipient user's ID.
But after integrating Typeahead, only 1 record is being created with my ID only, there's no trace of the recipient's ID in the table, therefore, no messages are being delivered.
This is what I did.
First, I created the route
Route::get('messages/data/usernames/{query?}', 'MessagesController@getUsernames');
Then I created a function in MessagesController to get the usernames and return JSON
public function getUsernames($query = '') {
        $q = User::select('id', 'username');
        if ($query) {
            $q->where('username', 'LIKE', '%' . $query . '%');
        }
        return Response::json($q->get());
    }

I then edited create.blade.php and added the input fields

     <input class="form-control typeahead" type="text" placeholder="Choose a Username" name="username_name">
     <input type="hidden" class="username_id" value="" name="username_id">

And this is the JS
var usernames = new Bloodhound({
        datumTokenizer: Bloodhound.tokenizers.obj.whitespace('username'),
        queryTokenizer: Bloodhound.tokenizers.whitespace,
        prefetch: 'data/usernames',
        remote: {
            url: 'data/usernames/%QUERY',
            wildcard: '%QUERY'
        }
    });
    $('#remote .typeahead').typeahead(null, {
        name: 'username',
        display: 'username',
        source: usernames
    });
    $('#remote .typeahead').bind('typeahead:select', function(ev, suggestion) {
        $('.username_id').val(suggestion.id);
    });

So when I start typing a name, it auto-completes it and I can select it and carry on with the message. But no record in the database is being insert with the recipient's ID.

The checkboxes are just for demo/example purposes, it's really up to the dev to implement whatever they deem necessary in their own app. I'm going to leave the example files as-is for now, but I'm sure your code will help out other devs that need something similar. Thanks for your contribution!

That's too bad, I'm not able to integrate it with Typeahead.
O well... thanks anyway

I got it to work, I had to modify the MessagesController L106
Change $input['recipients'] to $input['user_id']
and rename the hidden input field to `user_id[]'

       <input class="form-control typeahead" type="text" placeholder="Choose a Username" name="recipients[]">
       <input type="hidden" class="user_id" value="" name="user_id[]">

@halnex: there are some more problemlos, the original Checkboxen way sends an Array of IDs to allow Group Chats. In your solution you can select multiple Users in the typeahead but just the last id is stored.
Two ways to solve it:

Append the id comma seperated and explode in PHP
Clone the hidden Input everytime and keep it as an Form Array.

The next Problem is that typeahead has also options to delete an entry, if you do this the id also should get deleted.
And the last thing is that the original typeahead package is abandoned - there is a Community fork that does future development.
As an idea: we use a extended select picker with search and so on. This performs very well and sends, without JavaScript Hacks the id and removed it from the Array and so on.

@Gummibeer Thank you for your suggestions. I had no idea Typeahead was abandoned, that changes everything.
You are correct that in my solution you can only add 1 users to the chat and that's what I wanted, one-to-one private messaging without any participants.
I thought about using a searchable select field but then again what if you have thousands of users, are you gonna load them all every time you want to message a user? Even if you got the users via ajax it would still be too much load on the server.
can you link me to the Typeahead community fork?

https://github.com/corejavascript/typeahead.js
And the thing with loading thousands of entries: typeahead also loads them all, you use the prefetch ;)
The only thing is that they don't load them all as html - we solved this by creating a fake select - you HAVE to use the search cause the select as it is is empty - on search we are also querying via ajax and displaying the results als select options in addition to the already selected people.
So it's very similar to typeahead but with the advantage of a select field which has multiselect as array by default and different values from display names.

@Gummibeer I am using that typeahead library.
I suppose you are correct about typeahead fetching all the users on load, which is also a problem.
Mind sharing which multiselect library you are using?

@halnex some links for you:

http://getbootstrapadmin.com/remark/base/ great theme with a lot of javascript plugins
https://select2.github.io/options.html pretty select with ability to load via ajax
http://silviomoreto.github.io/bootstrap-select/ pretty select in bootstrap style - needs custom code to handle ajax source

@Gummibeer no need to share source code, I'll figure it out :)
Thank you for these links, that bootstrap admin looks sweet.

@halnex did you figure out a way to accomplish this? As the checkboxes are not optimal when you have 1,000's of users

Algolia


RenderPartialAsync works but Partial Async doesnt work in foreach

This issue is related to this page content
https://github.com/MicrosoftDocs/feedback/issues/3240

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

ID: d670c64c-4030-312c-4355-ee518a23a56a
Version Independent ID: c20d4db8-d403-9218-c39d-47e56c34e767
Content: Partial views in ASP.NET Core
Content Source: aspnetcore/mvc/views/partial.md
Product: aspnet-core
Technology: aspnetcore-mvc
GitHub Login: @ardalis
Microsoft Alias: riande

Potential bugs in the ASP.NET Core framework and product feedback can be reported at dotnet/aspnetcore issues (include full repro steps and cross-link to a repro project in GH when appropriate).
Please provide a link to a GitHub repo with the simplest possible app that reproduces the bug.
Please close https://github.com/MicrosoftDocs/feedback/issues/3240 and don't open multiple issues for the same problem.


postgres-repo-host pod in CrashLoopBackOff - "environment: /dev/fd/62: Text file busy"

We have a 3 node kubernetes cluster and deployed these examples in a namespace. ( PGO was deployed in namespace and not clusterwide )
This was deployed using steps shared under : https://access.crunchydata.com/documentation/postgres-operator/5.0.0/quickstart/

We have tried cluster wide operator and namespace based too ( using kustomize ) . In both cases this issue was seen.

Steps : After installation ,restart only "postgres-repo-host-0" pod and its enters CrashLoopBackOff state.
Observed that the postgres-repo-host-0 pod goes into CrashLoopBackOff with container 'pgbackrest-config' shows logs as "environment: /dev/fd/62: Text file busy"
#kubectl logs postgres-repo-host-0 pgbackrest-config -n postgres-operator
environment: /dev/fd/62: Text file busy
The pod postgres-repo-host-0 had to be restarted a few times to come back to running state.
This was observed on k8s v1.19 and PGO v 5.0.0, 5.1.0 and also latest ones.
Its seems the monitor function - pgbackrest-config container -  is generating this error at step - exec {fd}<> <(:)
Can you please suggest any solution for this issue?

Can anyone please take a look at this and suggest?

Can anyone please suggest if I can add delay/sleep in or before the monitor function for the pod postgres-repo-host-0 and container pgbackrest-config as the PGO cleans it up after pod restart.

Since you opened up a duplicate issue on the postgres-operator repo (where I think this issue probably belongs), I'm going to close this one and comment over there.


⚠ Bofrost.at has degraded performance

In 0e1f58d, Bofrost.at (https://www.bofrost.at) experienced degraded performance:

HTTP code: 200
Response time: 1870 ms

Resolved: Bofrost.at performance has improved in 91bfaa2 after 6 minutes.


Add fzf support for interactive search

We can optionally support fzf if it is in the PATH to provide interactive context selecting with partial/fuzzy input!
it would work like:
if len(args) == 1 && output is tty && fzf in path:
    # interactive mode
    choice="$(FZF_DEFAULT_COMMAND=kubectx NO_COLOR=1 fzf)"
	set_context $choice
else:
    # non-interactive mode (list contexts and exit)
    list_contexts
end

Anyone like this?

if anyone's interested, check out branch https://github.com/ahmetb/kubectx/tree/fzf-support

How do I see current context with this? Whenever I type kubectx it opens up fzf :(

Fzf shows current context with yellow color.
There’s a way to disable fzf in the readme.
See #125.
Please open new issues to ask questions. Closed issues aren’t good for this.

Extreme  apologies..! Directly landed on the issue page and didn't check README. I have another issue with it, will create new issue.
Thanks 👍


Restic not restoring data into restored PV

What steps did you take and what happened:

Created a velero backup of the entire cluster, which used restic to back up the PV that I added a pod annotation on to.

velero backup create test6 --ttl 6h --snapshot-volumes=false

Deleted the PVC and the pod in question, which caused the restarted pod to wait at Pending because it's PV was missing.
Ran a velero restore that was scoped to the namespace where the PVC needed to be restored.

velero create restore testrestore8 --include-namespaces ops --from-backup test6

An empty PV was restored to the pod (of the correct size, at least), allowing it to start up correctly but with no data in the PV.

What did you expect to happen:
Expected the data to be in the restored PV
The output of the following commands will help us better understand what's going on:

kubectl logs deployment/velero -n velero
velero backup describe <backupname> or kubectl get backup/<backupname> -n velero -o yaml
velero backup logs <backupname>
velero restore describe <restorename> or kubectl get restore/<restorename> -n velero -o yaml
velero restore logs <restorename>

https://gist.github.com/branttaylor/df55be2abbcfe60970db4ef96a1a23a7
Anything else you would like to add:
This is in the logs of the velero pod:
time="2019-08-01T19:20:57Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero
time="2019-08-01T19:26:06Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero
time="2019-08-01T19:47:42Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero
time="2019-08-01T20:00:03Z" level=info msg="Syncing contents of backup store into cluster" backupLocation=default controller=backup-sync logSource="pkg/controller/backup_sync_controller.go:170"
time="2019-08-01T20:00:03Z" level=info msg="Got backups from backup store" backupCount=13 backupLocation=default controller=backup-sync logSource="pkg/controller/backup_sync_controller.go:178"
time="2019-08-01T20:19:52Z" level=info msg="Checking for expired DeleteBackupRequests" controller=backup-deletion logSource="pkg/controller/backup_deletion_controller.go:441"
time="2019-08-01T20:19:52Z" level=info msg="Done checking for expired DeleteBackupRequests" controller=backup-deletion logSource="pkg/controller/backup_deletion_controller.go:469"
time="2019-08-01T20:19:59Z" level=error msg="unable to successfully complete restic restores of pod's volumes" error="timed out waiting for all PodVolumeRestores to complete" logSource="pkg/restore/restore.go:1060" restore=velero/testrestore11
time="2019-08-01T20:20:00Z" level=info msg="restore completed" logSource="pkg/controller/restore_controller.go:442" restore=velero/testrestore11
time="2019-08-01T20:20:37Z" level=error msg="reading plugin stderr" cmd=/velero controller=backup-sync error="read |0: file already closed" logSource="pkg/plugin/clientmgmt/logrus_adapter.go:89" pluginName=velero

Environment:

Velero version (use velero version): v1.0.0
Kubernetes version (use kubectl version): v1.12.9
Kubernetes installer & version: RKE v2.5.0
Cloud provider or hardware configuration: VMware vSphere v6.7 VMs
OS (e.g. from /etc/os-release): Ubuntu 16.04.6 LTS

This seems to be an issue we have a fix for in our master branch, but not yet released (will have a new release next week). This is the issue: https://github.com/heptio/velero/pull/1560.

I don't think #1560 addresses the issue here with the restic restore not going through. @branttaylor did you update the hostPath mount in your velero restic daemonset per https://velero.io/docs/v1.0.0/restic/#instructions?

@skriss Those instructions say that the hostPath should be changed if you are using RancherOS, which we are not. We're using RKE to deploy to Ubuntu 16.04.6. The path /opt/rke/var/lib/kubelet/pods does not exist on our nodes.

Ah, ok. Can you provide the output of kubectl -n velero get podvolumerestores -l velero.io/restore-name=testrestore8 ?

My tests from yesterday had a short TTL so I ran new ones this morning, but I'm seeing the same errors in the logs. Here's the requested output from the new test:
# kubectl -n velero get podvolumerestores -l velero.io/restore-name=testrestore8 -o yaml
apiVersion: v1
items:
- apiVersion: velero.io/v1
  kind: PodVolumeRestore
  metadata:
    creationTimestamp: "2019-08-02T16:48:27Z"
    generateName: testrestore8-
    generation: 1
    labels:
      velero.io/pod-uid: 596cc5d1-b545-11e9-9c52-00505687c8b3
      velero.io/restore-name: testrestore8
      velero.io/restore-uid: 50c10aae-b545-11e9-89be-0050568767b6
    name: testrestore8-49lpz
    namespace: velero
    ownerReferences:
    - apiVersion: velero.io/v1
      controller: true
      kind: Restore
      name: testrestore8
      uid: 50c10aae-b545-11e9-89be-0050568767b6
    resourceVersion: "16081178"
    selfLink: /apis/velero.io/v1/namespaces/velero/podvolumerestores/testrestore8-49lpz
    uid: 597b5d9d-b545-11e9-9c52-00505687c8b3
  spec:
    backupStorageLocation: default
    pod:
      kind: Pod
      name: brant-78754dbd56-8bnqs
      namespace: ops
      uid: 596cc5d1-b545-11e9-9c52-00505687c8b3
    repoIdentifier: s3:s3-us-east-1.amazonaws.com/lifeway-naskube-dmz-sandbox-velero/restic/ops
    snapshotID: fb082f16
    volume: brant-data
  status:
    message: ""
    phase: ""
kind: List
metadata:
  resourceVersion: ""
  selfLink: ""

I'm curious if the pod ops/brant-78754dbd56-8bnqs ever got created? If so, it would be helpful to see the log of the restic daemonset pod that was running on the same node as that pod, as it should've processed this PodVolumeRestore.

@skriss The pod was never gone (only the PVC), so the velero restore never tried to re-create it. Our use case here was restoring a PVC to a pod that stayed deployed, so the PVC itself was the only thing that went missing (because we deleted it). Here is the restic log that is running on the same node as the test pod. You can see the new backup that I just ran at the end of the log. I don't see any restores showing up though.
time="2019-08-07T19:52:17Z" level=info msg="Setting log-level to INFO"
time="2019-08-07T19:52:17Z" level=info msg="Starting Velero restic server v1.0.0 (72f5cadc3a865019ab9dc043d4952c9bfd5f2ecb)" logSource="pkg/cmd/cli/restic/server.go:57"
time="2019-08-07T19:52:17Z" level=info msg="Starting controllers" logSource="pkg/cmd/cli/restic/server.go:145"
time="2019-08-07T19:52:17Z" level=info msg="Controllers started successfully" logSource="pkg/cmd/cli/restic/server.go:186"
time="2019-08-07T19:52:17Z" level=info msg="Starting controller" controller=pod-volume-backup logSource="pkg/controller/generic_controller.go:76"
time="2019-08-07T19:52:17Z" level=info msg="Waiting for caches to sync" controller=pod-volume-backup logSource="pkg/controller/generic_controller.go:79"
time="2019-08-07T19:52:17Z" level=info msg="Starting controller" controller=pod-volume-restore logSource="pkg/controller/generic_controller.go:76"
time="2019-08-07T19:52:17Z" level=info msg="Waiting for caches to sync" controller=pod-volume-restore logSource="pkg/controller/generic_controller.go:79"
time="2019-08-07T19:52:17Z" level=info msg="Caches are synced" controller=pod-volume-backup logSource="pkg/controller/generic_controller.go:83"
time="2019-08-07T19:52:17Z" level=info msg="Caches are synced" controller=pod-volume-restore logSource="pkg/controller/generic_controller.go:83"
time="2019-08-08T05:00:21Z" level=info msg="Backup starting" backup=velero/velero-defaultdaily-20190808050014 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:171" name=velero-defaultdaily-20190808050014-vdmtq namespace=velero
time="2019-08-08T05:00:28Z" level=info msg="Backup completed" backup=velero/velero-defaultdaily-20190808050014 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:254" name=velero-defaultdaily-20190808050014-vdmtq namespace=velero
time="2019-08-09T05:00:35Z" level=info msg="Backup starting" backup=velero/velero-defaultdaily-20190809050029 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:171" name=velero-defaultdaily-20190809050029-pbk9h namespace=velero
time="2019-08-09T05:00:42Z" level=info msg="Backup completed" backup=velero/velero-defaultdaily-20190809050029 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:254" name=velero-defaultdaily-20190809050029-pbk9h namespace=velero
time="2019-08-10T05:00:39Z" level=info msg="Backup starting" backup=velero/velero-defaultdaily-20190810050033 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:171" name=velero-defaultdaily-20190810050033-gcndk namespace=velero
time="2019-08-10T05:00:46Z" level=info msg="Backup completed" backup=velero/velero-defaultdaily-20190810050033 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:254" name=velero-defaultdaily-20190810050033-gcndk namespace=velero
time="2019-08-11T05:00:42Z" level=info msg="Backup starting" backup=velero/velero-defaultdaily-20190811050036 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:171" name=velero-defaultdaily-20190811050036-d8v69 namespace=velero
time="2019-08-11T05:00:49Z" level=info msg="Backup completed" backup=velero/velero-defaultdaily-20190811050036 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:254" name=velero-defaultdaily-20190811050036-d8v69 namespace=velero
time="2019-08-12T05:00:44Z" level=info msg="Backup starting" backup=velero/velero-defaultdaily-20190812050038 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:171" name=velero-defaultdaily-20190812050038-tcm4v namespace=velero
time="2019-08-12T05:00:51Z" level=info msg="Backup completed" backup=velero/velero-defaultdaily-20190812050038 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:254" name=velero-defaultdaily-20190812050038-tcm4v namespace=velero
time="2019-08-12T14:53:48Z" level=info msg="Backup starting" backup=velero/test6 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:171" name=test6-xfrzn namespace=velero
time="2019-08-12T14:53:55Z" level=info msg="Backup completed" backup=velero/test6 controller=pod-volume-backup logSource="pkg/controller/pod_volume_backup_controller.go:254" name=test6-xfrzn namespace=velero

NAME                                       READY   STATUS    RESTARTS   AGE     IP               NODE             NOMINATED NODE
brant-78754dbd56-22lpg                     1/1     Running   0          2m56s   <IP_ADDRESS>     dmz-kub-nod-s2   <none>

NAME                      READY   STATUS    RESTARTS   AGE     IP               NODE             NOMINATED NODE
restic-glhck              1/1     Running   0          18d     <IP_ADDRESS>   dmz-kub-nod-s3   <none>
restic-mgczw              1/1     Running   0          4d19h   <IP_ADDRESS>     dmz-kub-nod-s2   <none>
restic-ttg87              1/1     Running   0          18d     <IP_ADDRESS>   dmz-kub-nod-s1   <none>

New podvolumrestore on the most recent test:
Name:         testrestore8-r2z4c
Namespace:    velero
Labels:       velero.io/pod-uid=81a7d83e-bd11-11e9-9c52-00505687c8b3
              velero.io/restore-name=testrestore8
              velero.io/restore-uid=7668d3d1-bd11-11e9-9c52-00505687c8b3
Annotations:  <none>
API Version:  velero.io/v1
Kind:         PodVolumeRestore
Metadata:
  Creation Timestamp:  2019-08-12T14:57:29Z
  Generate Name:       testrestore8-
  Generation:          1
  Owner References:
    API Version:     velero.io/v1
    Controller:      true
    Kind:            Restore
    Name:            testrestore8
    UID:             7668d3d1-bd11-11e9-9c52-00505687c8b3
  Resource Version:  18079813
  Self Link:         /apis/velero.io/v1/namespaces/velero/podvolumerestores/testrestore8-r2z4c
  UID:               81ad5267-bd11-11e9-9c52-00505687c8b3
Spec:
  Backup Storage Location:  default
  Pod:
    Kind:           Pod
    Name:           brant-78754dbd56-mdzr5
    Namespace:      ops
    UID:            81a7d83e-bd11-11e9-9c52-00505687c8b3
  Repo Identifier:  s3:s3-us-east-1.amazonaws.com/lifeway-naskube-dmz-sandbox-velero/restic/ops
  Snapshot ID:      61758ada
  Volume:           brant-data
Status:
  Message:
  Phase:
Events:     <none>

Ah, I see. This isn't a supported use case for Velero + restic right now - in order for the restore to work, Velero needs to be recreating both the PVC and pod. If you delete the deployment prior to restoring, this should work fine.

@skriss Understood! I was thinking that deleting the entire deployment was too destructive of a test, especially if there were 2 PVC's on a pod or other similar scenarios where we would be deleting data that did not need to be restored.
However, we just tested deleting the entire deployment and then the PVC that it was using and that was successful. Thanks for your help!


[ServiceBus] remove uamqp from tests

Removing uamqp from tests, since pyamqp has been out long enough. This will reduce live test runtime.
fixes: #21789

/azp run python - servicebus - tests-weekly

API change check
API changes are not detected in this pull request.

/check-enforcer override


improve travis build time

What problems I want to solve?
Travis build could be improved. This would also bring great new CI advanced knowledges.
What value it delivers?
... 🙄
Tasks

[ ] Cache bundler
[ ] See if caching cocoapods is possible when working with development pods
[ ] See what else can be improved

Dependecies / References
No dependencies and/or references by now.

CI was moved to GitHub actions and cache for both Bundler and SPM were added.


DatePicker allowFreeInput clear upon backspace and enter

Good day,
I'm trying to clear the DatePicker value upon the user clearing the typed value when using allowFreeInput, clearing the typed input resets to the original value, does anyone have a way to have it clear?
from dash import Dash, html, dcc
import dash_mantine_components as dmc

app = Dash(__name__)

app.layout = html.Div(
    [
        dmc.DatePicker(allowFreeInput=True)
    ],
    style={"margin": 20},
)

if __name__ == "__main__":
    app.run_server(debug=True)

There is no longer a allowFreeInput prop, so I’m going to close this issue.
Note - there is a now a clearable prop in 0.14.4, so it will likely solve this issue.


Look into eliminating GraphX from cost distance algorithm

The GraphX based cost distance algorithm was an upgrade over the old Giraph-based version, however it still suffers from the need for a lot of cluster resources to process very large friction surfaces. Put some thought into a solution that does not require graph processing at all.

I have been working on this for a few days and have a solution that works for our integration tests. However, I still need to test it at scale. And we still need to determine its performance relative to the current GraphX based algorithm. To do that, I will run it for the same cost distances that @wncampbell used for generating an opportunity volume in #109

So what are the performance improvements looking like?

I used a zoom level 9 cost distance with max cost of 2,000,000 that @wncampbell ran for opportunity volume for ticket #109 as a benchmark.
On a 75 node m3xlarge cluster with the GraphX code, it was taking about 49 minutes. With these changes in place, it took 25:34 on the same cluster.

Nice work. Let's document these results in the wiki. Is the solution still tile based or is it more modaic oriented to minimize the message traffic between nodes?

It is tile-based. It starts with one changed pixel (which is the source point specified in the cost distance map algebra call). It iterates over all the tiles in the image at the specified zoom level. For each tile, it checks whether it has any changed points in any of its eight neighbors. If so, it re-processes that tile based on those changes. If any of the edge pixels between that tile and its eight neighbors change during the processing, it remembers those changes for the next pass. This continues until there are no more changed points.
I wrote another issue for testing a mosaic'ed solution. But that processing would be exactly the same except for effectively larger tiles as well as the pre-step of performing the mosaic and a post-step of pulling our tiles back out of the mosaic.


Property descriptors

The core type library was using any as the type for Object.getOwnPropertyDescriptor and friends. This pull request fixes that by defining a proper Object$PropertyDescriptor type, and applying it to all the relevant functions. It also adds the ES2017 'Object.getOwnPropertyDescriptors' method for good measure.
This pull request affects a gazillion files, since it changes line numbers in core.js. Sorry about that.

Sorry for the churn on this; I made some mistakes in the original commits, which were not in line with the ES spec.

Could you link supporting docs?

It looks like this was done in #5067, other than getOwnPropertyDescriptors.

Cool! That's what we needed.


placeholder for featrues

Hi,
Thanks for your work. I noticed that placeholder for features is :
tf.sparse_placeholder(tf.float32, shape=tf.constant(features[2], dtype=tf.int64)
I can't understand why the shape is tf.constant(features[2] and when I assign this placeholder to a variable like:
var = tf.sparse_placeholder(tf.float32, shape=tf.constant(features[2], dtype=tf.int64))
This sentence will raise a typeError, can you give some information about this problem?
Thanks
Lei

Not sure if I understand the problem.
On Thu 23. Aug 2018 at 05:08 LeiBAI<EMAIL_ADDRESS>wrote:

Hi,
Thanks for your work. I noticed that placeholder for features is :
tf.sparse_placeholder(tf.float32, shape=tf.constant(features[2],
dtype=tf.int64)
I can't understand why the shape is tf.constant(features[2] and when I
assign this placeholder to a variable like:
var = tf.sparse_placeholder(tf.float32, shape=tf.constant(features[2],
dtype=tf.int64))
This sentence will raise a typeError, can you give some information about
this problem?
Thanks
Lei
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/tkipf/gcn/issues/50, or mute the thread
https://github.com/notifications/unsubscribe-auth/AHAcYPO4ku7E799PX_qOQr1e7d-zoSomks5uTiqigaJpZM4WIz2k
.

I guess you have not understand the sparse tensor.

I am having the same issue, here is the problem I am facing:
To understand your code, I am running train.py line by line in an ipython notebook. When I declare
placeholders = {
'features': tf.sparse_placeholder(tf.float32, shape=tf.constant(features[2], dtype=tf.int64)),
--

}
, the line above throws an error:
TypeError: Expected float32, got <1x1433 sparse matrix of type '<type 'numpy.float32'>'
with 19 stored elements in LInked List format> of type 'lil_matrix' instead.
I don't know how to fix this error. I am not sure if this is an ipython issue, since if I run the train.py through the console, it runs without error. Your help would be appreciated.
Thank you,
Dhara

Have you tried an older TensorFlow version (e.g. 0.12)? It is possible that the API changed since this code was published.

Thank you for the reply. It was an issue with ipython, I was using the conda virtual environment where I installed allthe necessary packages through conda. There is a bug in this method as the scipy package has some necessities missing. I simply solved it by installing everything locally and not using any virtual environment. It also works with virtualenv, and initializing ipython kernel within this environment.
Thanks again, and thanks for your amazing research, it is very inspiring!


Expand/collapse html & code

The function of collapsing and expanding, stops working in bigger projects.
This is really time consuming, when you have to close vs code and open it again 20 times a day, because the function stops working. And therefore cant reach your code before vs code is restartet.

What do you mean by 'stops working'? In what type of files does it stop working?
If you have reproducible steps that would be great.

It stops working in both HTML files and Typescript files.


[FEATURE] Consider removing Volume Attachment Recovery Policy feature

We already have the deleting mechanism(https://github.com/longhorn/longhorn/issues/1105). So, we need to consider whether we can safely remove the feature Volume Attachment Recovery Policy which deletes volume attachments on terminating pods on a failed node.

cc @joshimoo

@innobead Thanks, I had missed this, while creating the new issue :)

Need to tackle this in 1.1.2 as well, this should be regarded as a bug than an enhancement due to the function conflicting with the pod deletion policy.

Moving this to implement column as the mount clean up is broken and the fix is being revisited.

@khushboo-rancher Please help coordinate the verification and close if this is verified by the latest build. Thanks.
cc @kaxing @meldafrawi

@khushboo-rancher
VA removal is already present, but for the csi fixes on master https://github.com/longhorn/longhorn-manager/pull/945 need to merged. Everything is already merged for v1.1.2

@khushboo-rancher https://github.com/longhorn/longhorn-manager/pull/945 has been merged, so the fixes are now also available to test on master.

Verified with v1.1.2-rc1 and Longhorn-master 07/28/2021
Validation : Partially Pass
The volume attachments are not getting deleted when the node goes down irrespective to the VA setting wait, never, immediate.
@joshimoo I'm not sure why the VA setting is still on the Longhorn UI

@smallteeths Please help remove this setting from UI. Thanks.

I think the setting is not controlled by the UI. It is returned values from backend. I remembered that Joshua had a reason not to remove it but I couldn't remember the detail.

I think the setting is not controlled by the UI. It is returned values from backend. I remembered that Joshua had a reason not to remove it but I couldn't remember the detail.

@joshimoo only fixed in the backend only to dismiss the setting in 1.1.2, but the user is still able to update the value from UI setting page even though it does not take effect.
We should have a note in the release note and also update the documentation. Removing the rest of things from 1.2.0 at the end.

Set setting.definition.type to deprecated, and the front end will hide this setting. This can be changed from the back end.
@innobead.


Dev for zsh instruction is wrong

Migrated from GitLab: https://gitlab.com/meltano/meltano/-/issues/798
Originally created by @jschatz1 on 2019-07-16 00:36:29

# Note: you may have to escape the `.[dev]` argument on some shells, like zsh

That line is incorrect. It should be:
# Note: you may have to escape the .`[dev]` argument on some shells, like zsh

View 2 previous comments from the original issue on GitLab


Setup GitHub actions, linting precommit hooks, etc.

Should be fine like it is right now. As long as people install the pre-commit


Do not push EDS when a new NotReady endpoint is created

Currently, anytime endpoints.subset changes, we trigger an EDS push.
This EDS push only looks at the Ready addresses. What this means is that
any time a pod starts:

First, the NotReady address is added. Trigger an EDS push, which is
always a nop
A few seconds later, this switches to Ready. Trigger another EDS push
with the new endpoint

This PR removes the first push
With this PR vs without this PR (15:21)
!

@howardjohn: The following test failed, say /retest to rerun them all:

Test name
Commit
Details
Rerun command

integ-istioio-k8s-tests_istio
9dfb123ab6a4396b264f3375ae9f3ba3bef3fcad
link
/test integ-istioio-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@howardjohn  nice improvement


Allow 4.x versions

What this PR does:
Allows using 4.x versions (including the recently released 4.1.0).
Checklist

[ ] Changes manually tested
[ ] Automated Tests added/updated
[ ] Documentation added/updated
[ ] CHANGELOG.md updated (not required for documentation PRs)
[ ] CLA Signed:  DataStax CLA

Codecov Report

Merging #797 (ae4e97c) into main (5ac2c68) will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main     #797      +/-   ##
==========================================
+ Coverage   55.92%   55.96%   +0.04%
==========================================
  Files          88       88
  Lines        8562     8562
==========================================
+ Hits         4788     4792       +4
+ Misses       3344     3341       -3
+ Partials      430      429       -1

Impacted Files
Coverage Δ

apis/k8ssandra/v1alpha1/k8ssandracluster_types.go
32.46% <ø> (ø)

controllers/replication/secret_controller.go
64.42% <0.00%> (-1.01%)
:arrow_down:

controllers/stargate/stargate_controller.go
47.48% <0.00%> (+1.11%)
:arrow_up:

controllers/k8ssandra/stargate.go
66.14% <0.00%> (+2.36%)
:arrow_up:


Can we have global volumes to all devices? Monitor Speakers + MacBook Speaker for example

Before opening the issue, have you...?

[X] Searched for existing issues

Question
Hey all!
First of all, just wanted to say that this is fantastic software and reflects the hard work that everyones put into it. It's awesome that its open to public contributions, well done everyone who's contributed!
I have a question about a specific setup.
I have 2 monitors connected to my MacBook via USB-C which work perfectly with Monitor Control
The MacBook has built in speakers and they operate even with the lid closed, I'd like to utilise them as well as they have good bass compared to my monitor speakers which are very low quality, I use the Audi MIDI Setup to create a multi-output device in order to play audio to all output sources at the same time.
When using Monitor Control I am only able to control the output volume of the Monitors but not the MacBook speakers, I have to manually open the audio settings and adjust that volume.
Would it be possible to have a global volume toggle, so when interacting with the audio controls, all output devices get adjusted? Or even an option to select additional devices that get controlled by the volume controls apart from monitors?
Here's a screenshot which shows how my Audio is setup and Monitor Control - MateView are the screen speakers.
Thanks in advance 🙏

Or maybe even support for Multi-Output devices? Some logic will be needed to read the devices used in Audio MIDI Setup for the Multi-Output Device and then apply the audio adjustment logic to all of them when the Use audio device name to determine which display to control?
FYI Audio MIDI Setup is a standard MacOS app, just in case anyone is wondering

Hi, I was working on this a few months ago and had gotten pretty far, I'll try to see if I can recover these changes whenever I get time in the next few weeks.

Going to close in favour of #618, let's continue tracking in there.


custom dataset

Hi @yassouali ,

Thanks for the code. The paper is very clearly written. Thanks for the overall work.
I was keen to try this on a custom data. Can you tell me what are the changes to be done for that?

Thanks

Hi @rshivansh
Thank you for your interest.
You'll two dataloaders, one for your labeled examples and the other for the unlabeled examples. You can create the dataloaders the same way you normally would. Then create then in train.py as supervised_loader and unsupervised_loader.

@yassouali thanks.