msi_ms7d25: Cannot get platform specific key to verify signatures. : (2)

Dasharo Tool Suite fails on the MSI Z690 platform due to a wrong PATH. This probably affects other platforms.
When running an update it shows the following:
 msi_ms7d25: Cannot get platform specific key to verify signatures. : (2)

@deeplow thank you for the report.

I'm also affected by this. Just replying here for documentation purposes. I gather that the soon-to-be-released DTS v1.2.15 has the signature verification path already fixed. Wow! If only MSI, ASUS, Dell, HP, Toshiba or any of the other big wigs would act that fast fixing BIOS issue. They rather spend time on flooding the market with new models and dropping support fast :)
Reported in the Dasharo Matrix chat:
Hi there, question regarding DTS v1.2.14 ; after subscribing to the "1 year Dasharo Entry Subscription for Desktop" I received an email with Logs key, Download Key and Password. I'm trying to update the coreboot UEFI from Dasharo v1.1.1 for the MSI Pro Z690-A (WIFI) to v1.1.2 (which is only available for subscribers and supporters). I used option 4) Load DES keys and double and triple-checked there is no typo, but it fails saying

Something may be wrong with credentials. Please use option 4 to change DES keys and make sure that there is no typo.

'SecureBoot' and 'BIOS boot medium lock' and 'Enable SMM BIOS write protection' are all disabled in the coreboot UEFI .
When using option 5) Update Dasharo firmware I'm being presented with a different error message:

Cannot get platform specific key to verify signature. : (2)

Thanks.

@deeplow @Firminator problem with downloading GPG key for MSI releases is fixed in DTS rel v1.2.15 which is now available from iPXE by booting boot.dasharo.com/dts/dts.ipxe. Binaries to flash DTS image on USB are also available and can be found here https://github.com/Dasharo/meta-dts/releases/tag/v1.2.15. We apologise for the inconvenience.

@Firminator about the problem with keys

Something may be wrong with credentials. Please use option 4 to change DES keys and make sure that there is no typo.

Could you please retest that on v1.2.15 release? Are you using MSI DDR4 version?

Yes DDR4.
I just iPXE-booted DTS v1.2.15 from the Dasharo boot menu and used option 4 to load the DTS keys and it still says:
Something may be wrong with credentials. Please use option 4 to change DES keys and make sure that there is no typo.

However when using option 5) Update Dasharo firmware the previous error message

Cannot get platform specific key to verify signature. : (2)

is now gone. So that seems to be fixed. :thumbsup:

Yes DDR4.
I just iPXE-booted DTS v1.2.15 from the Dasharo boot menu and used option 4 to load the DTS keys and it still says:

Something may be wrong with credentials. Please use option 4 to change DES keys and make sure that there is no typo.

I think this here is the code: https://github.com/Dasharo/meta-dts/blame/main/meta-dts-distro/recipes-dts/dts/dts/dts#L165

@Firminator I think it should go like this:

Please reply to the email where you received your credentials
We will check your credentials
If needed, we will regenerate credentials or fix our code

To be honest, you are the first person to report this kind of behavior, and we have a number of subscribers. I kind a fill there is something wrong with your credentials.

OK thanks. Will do.  For what it's worth it does have a troublesome special character in the password... a character not easy to digest or pass along if not properly escaped...  a character usually excluded on a lot of online services:
>
(the infamous Greater-than character)

Yeah, that can also be the problem. I will ask to switch to passphrases instead of those random character passwords.

I send the email to your address. Thanks.

@Firminator got it, thank you.

@Firminator today we tested your credentials, results below (I replaced keys with X,Y,Z).
  DTS version v1.2.16

  1) Dasharo HCL report - dump hardware information from this device
  3) Restore firmware from Dasharo HCL report
  4) Load DES keys
  5) Update Dasharo firmware
  8) Stop SSH server
  9) Shell
  10) Power off system
  11) Reboot system

Enter an option: 4

Enter logs key:                X

Enter firmware download key:   Y

Enter password:                Z
Dasharo DES credentials has been saved
Veryfing Dasharo DES credentials...
Waiting for network connection ...
Checking if board is Dasharo compatible.
Waiting for network connection ...
Dasharo DES credentials are correct and ready to use

  Logs key:         X
  Download key:     Y
  Password:         Z
  DTS version v1.2.16

  1) Dasharo HCL report - dump hardware information from this device
  3) Restore firmware from Dasharo HCL report
  4) Edit DES keys
  5) Update Dasharo firmware
  8) Stop SSH server
  9) Shell
  10) Power off system
  11) Reboot system

Enter an option: 9

Entering shell, to leave type exit and press Enter or press LCtrl+D

bash-5.1# dmidecode -s system-manufacturer
Micro-Star International Co., Ltd.
bash-5.1# dmidecode -s system-product-name
MS-7D25
bash-5.1# dmidecode -s baseboard-product-name
PRO Z690-A WIFI DDR4(MS-7D25)

At the end I run couple dmidecode commands just to confirm that we tests on the same platform.
How you use DTS in your case? USB or via iPXE?
If USB maybe you could mount it while booted to other OS and create file under path /etc/cloud-pass with your credentials on the USB? (so it would be /path/to/mount/etc/cloud-pass) If DTS boots and see that file it should already set needed variables and you should be able to update to v1.1.2.
If iPXE maybe you could start SSH server in DTS (option 8), connect to it from different machine, start scripts with dts command then use option 4 to load keys and copy&paste them using that different machine? This is what I did while testing on MSI.

Low and behold... SSH works using the same keys that don't work when running DTS directly on the device:
root@DasharoToolsSuite:~# dts
     ____             __                        ______            __        _____       _ __
    / __ \____ ______/ /_  ____ __________     /_  __/___  ____  / /____   / ___/__  __(_) /____
   / / / / __ `/ ___/ __ \/ __ `/ ___/ __ \     / / / __ \/ __ \/ / ___/   \__ \/ / / / / __/ _ \
  / /_/ / /_/ (__  ) / / / /_/ / /  / /_/ /    / / / /_/ / /_/ / (__  )   ___/ / /_/ / / /_/  __/
 /_____/\__,_/____/_/ /_/\__,_/_/   \____/    /_/  \____/\____/_/____/   /____/\__,_/_/\__/\___/

  DTS version v1.2.16

  1) Dasharo HCL report - dump hardware information from this device``
  3) Restore firmware from Dasharo HCL report
  4) Load DES keys
  5) Update Dasharo firmware
  8) Stop SSH server
  9) Shell
  10) Power off system
  11) Reboot system

Enter an option: 4

Enter logs key:                my log key

Enter firmware download key:   my download key

Enter password:                my password
Dasharo DES credentials has been saved
Veryfing Dasharo DES credentials...
Waiting for network connection ...
Checking if board is Dasharo compatible.
Waiting for network connection ...
Dasharo DES credentials are correct and ready to use

   Logs key:         my logs key
   Download key:     my download key
   Password:         my password
   DTS version v1.2.16

   1) Dasharo HCL report - dump hardware information from this device
   3) Restore firmware from Dasharo HCL report
   4) Edit DES keys
   5) Update Dasharo firmware
   8) Stop SSH server
   9) Shell
   10) Power off system
   11) Reboot system

Enter an option:

Since SSH from a remote box works I would think the bug is in how DTS script parses local user input?!
I'm going to try the USB method and see if pre-populating the keys into the credentials file @ /etc/cloud-pass
Thanks Thomasz for SSH workaround :+1:

@Firminator I would suspect keyboard, locales, or something related. Please note no one else has this problem with input, and many people are trying. I'm pretty sure someone has your special characters, too, but the critical question is the keyboard and how the system receives codes from it. BTW is it maybe PS/2?

Good thoughts. I'm using a USB keyboard and have PS/2 disabled in the coreboot UEFI. Locale is US but I haven't seen anywhere where it asks me which locale I wanna use, so I'm using whatever the DTS default locale is.
On a second thought though there is still a chance that I did fatfingered the 3 random passwords even after double and triple checking :shrug: I continue my tests.

I created the /etc/cloud-pass file but what exactly do I have to paste into file? I can't find documentation for it.
Update: according to the code from dts starting at line 49 to 55 (https://github.com/Dasharo/meta-dts/blob/main/meta-dts-distro/recipes-dts/dts/dts/dts) all I have to do is paste the 3 keys each in a new line without any variables prefixing them since the code just parses/seds line by line using 1p, 2p, 3p :)
  # them, if file exists
  if [ -e "${SE_credential_file}" ]; then
      export CLOUDSEND_LOGS_URL=$(sed -n '1p' < ${SE_credential_file} | tr -d '\n')
      export CLOUDSEND_DOWNLOAD_URL=$(sed -n '2p' < ${SE_credential_file} | tr -d '\n')
      export CLOUDSEND_PASSWORD=$(sed -n '3p' < ${SE_credential_file} | tr -d '\n')
      export DES_IS_LOGGED="true"

This works and now populates my keys automatically into DTS! Awesome.
    ____             __                        ______            __        _____       _ __
   / __ \____ ______/ /_  ____ __________     /_  __/___  ____  / /____   / ___/__  __(_) /____
  / / / / __ `/ ___/ __ \/ __ `/ ___/ __ \     / / / __ \/ __ \/ / ___/   \__ \/ / / / / __/ _ \
 / /_/ / /_/ (__  ) / / / /_/ / /  / /_/ /    / / / /_/ / /_/ / (__  )   ___/ / /_/ / / /_/  __/
/_____/\__,_/____/_/ /_/\__,_/_/   \____/    /_/  \____/\____/_/____/   /____/\__,_/_/\__/\___/

  Logs key:         my logs key
  Download key:     my download key
  Password:         my password
  DTS version v1.2.16

  1) Dasharo HCL report - dump hardware information from this device
  3) Restore firmware from Dasharo HCL report
  4) Edit DES keys
  5) Update Dasharo firmware
  8) Stop SSH server
  9) Shell
  10) Power off system
  11) Reboot system

Enter an option: 5

Waiting for network connection ...
Checking if board is Dasharo compatible.
Gathering flash chip and chipset information...
Flash information: vendor="Programmer" name="Opaque flash chip"
Flash size: 32M
Getting platform specific GPG key... Done
Checking for the latest Dasharo update available...
Current Dasharo version: 1.1.1
Latest available Dasharo version: 1.1.2
Downloading Dasharo firmware...Done

Please verify detected hardware!

Board vendor: Micro-Star International Co., Ltd.
System model: MS-7D25
Board model: PRO Z690-A WIFI DDR4(MS-7D25)

Does it match your actual specification? (Y|n)

I'm gonna go ahead and press Y :100:

This can be closed as the error 'Cannot get platform specific key to verify signatures' is fixed in DTS v1.2.16

@Firminator Thank you for your valuable feedback and time in this matter.


PR #1033 broke the tabs example

Describe the bug
PR #1033 removed .Copy() calls from styles in the tabs sample (https://github.com/charmbracelet/bubbletea/tree/master/examples/tabs).
This causes the borders in the example to appear messed up, because the example modifies them during runtime. Without Copy() the example is modifying the same border without cleanup, instead of separate copies of it.
Setup
Please complete the following information along with version numbers, if applicable.

OS: macOS
Shell: zsh
Terminal Emulator: iterm2
Terminal Multiplexer: n/a

To Reproduce
Steps to reproduce the behavior:

Run the tabs example (https://github.com/charmbracelet/bubbletea/tree/master/examples/tabs) before and after PR #1033

Hi @daabr , can you share an image for this one?
I've tried to reproduce this, but not see any difference.
(up is the latest master, bottom is before the PR)

Confirmed. I used an older version in my go.mod file - once I updated, Copy() was marked as deprecated, and the code works as expected.


When resizing FluidWrapPanel: InvalidOperationException: Measure Pass

Hi,
I'm planning to use your excellent FluidWrapPanel as a Grid with a configurable layout of tiles. I wanted to update to the latest version as until now I was on CompositionProToolkit v. 0.7
Now, when I resize my MainWindow, at a certain size I get the following unhandled exception:
System.InvalidOperationException: Measure Pass: Unable to accommodate child in the panel!
   at CompositionProToolkit.Controls.FluidWrapPanel.MeasureOverride(Size availableSize)

Messing around with the set child sizes seems to influence the problem, but it does not really help. Also, sometimes when starting up the App, the children don't get distributed but are stacked at the upper left corner. And when resizing the children sometimes are "fitting" into the grid (e.g. two in a row when using childcontrol.Width = Panel.Width / 2 ) and sometimes they don't fit.
Here's a little repository for reproducing the problems:
https://github.com/jasonwurzel/FluidWrapProblem
Thank you for your help,
Michael

Hi Michael,
Thanks for reporting this issue. Let me have a look. I shall get back to you.
Regards,
Ratish

HI @jasonwurzel,
Sorry for the delay in reply.
Setting the ItemWidth and ItemHeight properties of the FluidWrapPanel after setting the children's width and height will fix the crash issue.
So in your MainPageViewModel class put your code this way
public MainPageViewModel()
{
	this.WhenAnyValue(model => model.ViewDimensions, model => model.TilingOptions)
		.Subscribe(sizeAndTiling =>
		{
			var size = sizeAndTiling.Item1;
			var tiling = sizeAndTiling.Item2;

			int rows = tiling == TilingOptions.Option2X2 ? 2 : 3;
			int columns = tiling == TilingOptions.Option2X2 ? 2 : 3;

			adjustSingleTileViewModelCount(rows, columns);

			var width = Math.Floor(size.Width / columns);
			var height = Math.Floor(size.Height / rows);

			foreach (var child in GridItems)
			{
				child.Width = width;
				child.Height = height;
			}

			ItemsWidth = width;
			ItemsHeight = height;
		});
}

I am still looking into the issue why the items are not arranged properly when during the first time.

Hi @ratishphilip,
strange, for me it doesn't fix the problem. Fastest way to reproduce (at least for me) is: start the app, press window maximize => same exception as before.
In the mean time, I will look into your AdaptiveTriggers solution, thanks!

Ok, I just compared the demo project you mentioned with mine (actually, that is what I started with).
When updating your "TestFWPanel" to the newest CompositionProToolkit, it has the "initial distribution" problem as well.
But: It does not crash on maximize. The biggest differences between your sample and mine seem to be:

I'm using the FluidWrapPanel as the ItemsPanel of an ItemsControl
You're adding a list of "FluidItemsControl"s directly as the panel.ItemsSource, where as I use a ViewModel approach, where I set a RxUI ViewModelViewHost as the DataTemplate that resolves the view after it knows its ViewModel. Maybe this extra indirection makes it so some values are available too late/or the old, wrong values are available for the FluidWrapPanel when it tries to Measure.
I'm experimenting a bit into this direction, maybe I see something interesting...

Upon further investigation, I found out the issue. The ItemsWidth and ItemsHeight values which are being set in the MainPageViewModel are not being propogated to the FluidWrapPanel (maybe an issue with the ReactiveAttribute).
So the default ItemWidth and ItemHeight of the FluidWrapPanel are set to 10 which is a relatively low number (I will change it to 100 in the next release). FluidWrapPanel allows children whose size are multiples of the ItemWidth * ItemHeight and the maximum multiplication factor is 60.
With the ItemWidth and ItemHeight being at a default value of 10, when the window is maximized, the calculated size of the child is more than 700. So the child is 70 times the ItemSize which is not allowed.
That is why an exception is being raised.
So in the MainPage.xaml if the change the code to

<ItemsControl x:Name="GridView" Grid.Row="1" Margin="50">
		    <ItemsControl.ItemsPanel>
			    <ItemsPanelTemplate>
				    <controls:FluidWrapPanel ItemHeight="{Binding ItemsHeight, FallbackValue=200}" ItemWidth="{Binding ItemsWidth, FallbackValue=200}" IsComposing="{Binding IsComposing}"
				                             Orientation="{Binding Orientation}" Background="Violet" FluidAnimationDuration="0:0:0.2"  DragOpacity="1" />
			    </ItemsPanelTemplate>
		    </ItemsControl.ItemsPanel>
            <ItemsControl.ItemContainerTransitions>
                <TransitionCollection />
            </ItemsControl.ItemContainerTransitions>
		    <ItemsControl.ItemTemplate>
			    <DataTemplate>
					<reactiveUi:ViewModelViewHost x:Name="ViewModelViewHost" ViewModel="{Binding}" VerticalAlignment="Center" HorizontalAlignment="Center" Padding="45"/>
			    </DataTemplate>
		    </ItemsControl.ItemTemplate>
	    </ItemsControl>

By putting a FallbackValue to the ItemWidth and ItemHeight, the crash is solved. But the newly calculated ItemsWidth and ItemsHeight properties are not propogated to the FluidWrapPanel. Thus it is trying to arrange with the old values.
Another thing if you notice in the above code I have added the following snippet
<ItemsControl.ItemContainerTransitions>
                <TransitionCollection />
            </ItemsControl.ItemContainerTransitions>

You need to add this to an ItemsControl (and similarly to a GridView) if your ItemsPanel is set to a FluidWrapPanel and you want the "initial distribution" animation to work.
TL;DR - Try using INotifyProperty changed instead of the Reactive Attribute and add the above snippet to your code, it should work without any issues.

@jasonwurzel
I have updated the TestFWPanel example in GitHub to fix the initial distribuition issue.
You can find the updated code here.

Closing this issue.


HP Pavillion Laptop only works on Legacy Mode

Problem
As stated before in https://github.com/Metabolix/HackBGRT/issues/77#issuecomment-1790395756, my HP Pavillion x360 laptop won't show load the HackBGRT EFI file before the windows original EFI file.
Here's the setup.log file with some comments on it: setup.log
~I've tried to paste the logs here on a spoiler but the body is too long xd~
Please note my system is in Spanish, as i've seen that is an issue detecting BitLocker, so it might be an issue also for other things. Let me know if I should change the language to english to temporaly install HackBGRT.
System details
System Model: HP Pavilion x360 Convertible 14-cd0xxx
OS: Windows 11
OS Version: 10.0.22621 compilation 22621
HackBGRT Ver.: 2.2.0
Please let me know if I need to debug something else.

Also to note: I've disabled Secure Boot, Hibernation is enabled but disabling it doesn't make any difference yet

Thanks, this is very interesting!
The first method (enable-entry) seems to write and enable a boot entry (numbered Boot2002), but apparently this gets erased. (Boot20## seems to be a common choice for firmware-generated entries, so maybe I should use only Boot00## values. The UEFI spec doesn't say anything about reserved values, though.)
The second method (enable-bcdedit) creates the correct boot entry (numbered Boot0000 this time) but apparently /addfirst fails to actually make it the default choice, even though it says it succeeded. I will try to debug this later.
Based on the logs, could you please try this sequence:

Uninstall.
Install with the second method (enable-bcdedit).
Install with the first method (enable-entry).
Reboot.

Hey! Will do that, let me a sec. Thanks for the interest tho, this is a very cool program and it would be cool if it works for all computers

Yes!!! It worked perfectly; I've noticed a bit longer loading screen but it's okay as it's worth looking at the custom logo XD

Hey @Metabolix, I was investigating the issue and I thought localization/system language has something to do with this issue, and I was maybe right?
I don't know how but I switched the account language to English (United States), uninstalled and installed with regular method and it kinda worked for some reason? I just had to set up the boot order and that's why I switched back to Spanish and for some reason, if I uninstall and do regular installation it perfectly works, it's just a weird behaviour but here's the updated setup.log if you want to take a look to it.
What a weird issue, isn't it?

Update: Spanish doesn't work xd, it just works if I set my system language to English (United States)

~Please ignore all the deleted comments, said things without testing and doing it multiple times, silly me... :p~

Thanks for testing!
In the new log it looks like bcdedit manages to change the boot order after all, so it's not clear why it didn't work earlier.
I've now published v2.3.0 where I have fixed the boot entry numbering (in the default installation method) to avoid collisions with any firmware-specific entries. I think this should fix the original problem (although I can't know for sure).

~Please ignore all the deleted comments,

I read them anyway, and for the record, this issue doesn't have anything to do with language settings. Language should affect only BitLocker detection (which then requests user input) and some parts of automatic ESP detection (which then uses other tests to find the drive).


XmlDocument writes selfclosing tags as normal tag

i have created xml parser and i parsed input tag <input />
after that i executed method toHtml and i got <input></input> string.
Is it correct behavior?

Yes, this is correct.


URL table aliases "Loaded#" can mislead

FIREWALL: ALIASES
For URL table aliases, the "Loaded#" is the max of what is actually loaded in the packet filter, or the number of entries in the alias table file.
This value can be misleading by indicating that the table is loaded in the packet filter even if it is not.
Is there a use for showing the number of entries in the alias table file rather than what is actually loaded in the packet filter?
Appears to be intended behavior.  Though maybe not a good behavior.  Otherwise, it may be a bug.

it's intended https://github.com/opnsense/core/blob/c96e5f88b480a23753615297ccae6865d505c9d5/src/opnsense/scripts/filter/pftablecount.py#L56-L57
Explaining the columns in the documentation (https://docs.opnsense.org/manual/aliases.html) would be a nice addition, the current (active) aliases are always inspectable from the diagnostics page.

Why does firewall aliases page need to display planned size?  What is the value in that?
Seems like it should display the actual active firewall packet filter table size.

size before optimization and a clear indication which alias isn't able to load when the reserved space is too small.


Material Deisgn Lite Website

Is there a Git repo for the Material Design Lite.  Would be nice for a starter template

This repo has it. Everything is contained within the mdl-1.x branch for the current site.

thanks which folder within the branch

docs

Closing issue, as the question seems to be answered.


Broken example for Dialogs on material-ui-next.com beta 21

Hi,
Just leaving a bug report here for this URL: https://material-ui-next.com/demos/dialogs/#confirmation-dialogs
Click on the "Phone ringtone" item, and you will notice that the dialog is not coming out properly: https://i.imgur.com/R34PdlR.png
I did not test the code at all, I have only clicked on the example there.
Thank you

Just stumbled onto this as well on Chrome on Win10

Probably due to maxWidth="xs" and the width of xs being set to 1px

The problem is with the implementation of the width styles in Dialog.js:
  paperWidthXs: {
    maxWidth: theme.breakpoints.values.xs,
  },
  paperWidthSm: {
    maxWidth: theme.breakpoints.values.sm,
  },
  paperWidthMd: {
    maxWidth: theme.breakpoints.values.md,
  },

In createBreakpoints, xs is defined: theme.breakpoints.values.xs = 1
If the intent is to ensure that the dialog stays within the bounds of the breakpoints, maybe we need to do something like this:
  paperWidthXs: {
    maxWidth: theme.breakpoints.values.sm - 1,
  },
  paperWidthSm: {
    maxWidth: theme.breakpoints.values.md - 1,
  },
  paperWidthMd: {
    maxWidth: theme.breakpoints.values.lg - 1,
  },

This is a regression coming from https://github.com/callemall/material-ui/pull/9078.
I have normalized the breakpoint behavior with the PR. The value now always correspond to the start of the breakpoint. It's an inclusive start and an exclusive end with the next breakpoint value. So a given breakpoint with index i will match the following interval: [breakpoint(i), breakpoint(i+1)[.
But, we use the breakpoint value directly in the Dialog styles:
https://github.com/callemall/material-ui/blob/9322a5125ee4ec9f9f9b9f6740352901d09d0af0/src/Dialog/Dialog.js#L33
I think that we should be using maxWidth: 360 here.

@oliviertassinari That would remove the ability for users to set the breakpoints in the theme, and have the Dialog  maxWidth values conform to them; however I"m wondering if maxWidth should instead simply accept a numeric value?

Dialogs may expand proportionally with content or in specific increments.

From the spec
@mbrookes I have found an interesting tradeoff with:
  paperWidthXs: {
    maxWidth: Math.max(theme.breakpoints.values.xs, 360),
  },

This is breaking in 1.0.0-beta.21, when the 1.0.0-beta.22 is scheduled for?

And the solution in https://github.com/mui-org/material-ui/pull/9078 is a littler counter intuitive.
@oliviertassinari what about
values = {
      xss: 1,
      xs: 360,
      sm: 600,
      md: 960,
      lg: 1280,
      xl: 1920,
    }


A more generic way to setup nydus snapshotter by DaemonSet

Confidential Containers leverage nydus snapshotter to pull images within the guest using fs_driver=proxy and share images on the host using fs_driver=blockdev to ensure data confidentiality. However, when running related tests for Kata CI with nydus snapshotter, we faced challenges installing and uninstalling nydus snapshotter on various architectures and configuring the containerd settings. We envisioned a smoother experience, where nydus snapshotter provides a daemonset, enabling users to seamlessly run and clean up nydus snapshotter and making it more generic.
Fixes #565

/cc @jiangliu @sctb512 @imeoer @adamqqqplay

@ChengyuZhu6 Thanks for your great work! It will take some time to review.

It seems to break some tests, let's take a look first.

Cloud we enhance the helm chart? We can provide the options to configure the snapshotter fs_driver.

Cloud we enhance the helm chart? We can provide the options to configure the snapshotter fs_driver.
Yes, I plan to use helm for installing snapshotter, but it requires a different repo. So I have proposed an alternative method that does not rely on helm. Next, I will submit a PR to the helm repo.

It seems the CI still needs to be fixed: https://github.com/containerd/nydus-snapshotter/actions/runs/7269460179/job/19807116165?pr=570 :)

@ChengyuZhu6 I've finished my review and left a couple of comments. I didn't find any bug but I'm afraid I won't have time to give it a try. Thanks for working on this && amazing work!

@ChengyuZhu6, one thing that I'm missing from your patches is the ability to start the nydus as a systemd service.
While this may not be used by everyone, we should give the users the ability to do as this is way more reliable than just directly calling a binary.
I'd suggest to add an option for that, as that's most likely what we'll use on the Confidential Containers side.

@ChengyuZhu6, one thing that I'm missing from your patches is the ability to start the nydus as a systemd service.
While this may not be used by everyone, we should give the users the ability to do as this is way more reliable than just directly calling a binary.
I'd suggest to add an option for that, as that's most likely what we'll use on the Confidential Containers side.

Sure. I'll add it.

Thanks for the work!

In k8s auth e2e tests, we run snapshotter as systemd service in cri auth test and run snapshotter as standalone process in kube auth test to ensure all two mode can run as expected.

@imeoer I have made the changes you requested. Please take another look and let me know if there is anything else I need to do. I appreciate your feedback and guidance.

@fidencio @wainersm I made some changes after your reviews that I decided to avoid using toml-cli to edit toml files, since it only works on the x86 architecture.

We'd better to standardize all the binary paths to /usr/local/bin/* and all the configuration paths to /etc/nydus/*.json, others LGTM, thanks! Let's provide a helm chart to further reduce the difficulty of the deploy steps.

Thanks @ChengyuZhu6 for the work and all reviewers @fidencio @wainersm @zvonkok @beraldoleal !


Added better flight times looup

I measured the time of flight by counting the frames in a video of a match
https://docs.google.com/spreadsheets/d/1Bryhz-FfUhqPtRkwhD85TTg9G1x38tDGD5-wOeFzOdA/edit?usp=sharing

This is awesome. Good on you for doing the work with this one!

These look much more sensible when you look at the aim-off that you get in the sim now - before it was aiming off a long way.


add wit metrics

Proposed changes
Notebook to compute WIT metrics
Closes issues (optional)
N/A
Checklist (replace [ ] with [x] to check off)

[x] Notebook created using the DEA-notebooks template
[x] Remove any unused Python packages from Load packages
[x] Remove any unused/empty code cells
[x] Remove any guidance cells (e.g. General advice)
[x] Ensure that all code cells follow the PEP8 standard for code. The jupyterlab_code_formatter tool can be used to format code cells to a consistent style: select each code cell, then click Edit and then one of the Apply X Formatter options (YAPF or Black are recommended).
[x] Include relevant tags in the final notebook cell (refer to the DEA Tags Index, and re-use tags if possible)
[x] Clear all outputs, run notebook from start to finish, and save the notebook in the state where all cells have been sequentially evaluated
[x] Test notebook on both the NCI and DEA Sandbox (flag if not working as part of PR and ask for help to solve if needed)
[x] If applicable, update the Notebook currently compatible with the NCI|DEA Sandbox environment only line below the notebook title to reflect the environments the notebook is compatible with

Taking a look at this now! Thanks for the example files

Ahh @emmaai the files with the shp file are missing, shx etc. Could you please add them?

Ahh @emmaai the files with the shp file are missing, shx etc. Could you please add them?

sorry my bad...done

Thanks! I get the following error:
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-8-46eac32dbc36> in <module>
     14 ####################################################################################
     15 # get the area of polygons
---> 16 wit_area = get_areas(features, pkey=pkey)
     17 # load wit data into a pandas dataframe
     18 wit_data = pd.read_csv(wit_data_file, header=None, skipfooter=1,

<ipython-input-3-a4493688561e> in get_areas(features, pkey)
     33         re = re.append(va, sort=False)
     34     print(re)
---> 35     return re.set_index(pkey)
     36
     37 def dump_wit_data(key, feature_list, output):

/env/lib/python3.6/site-packages/pandas/core/frame.py in set_index(self, keys, drop, append, inplace, verify_integrity)
   4548
   4549         if missing:
-> 4550             raise KeyError(f"None of {missing} are in the columns")
   4551
   4552         if inplace:

KeyError: "None of ['SYSID'] are in the columns"

Thanks! I get the following error:
---------------------------------------------------------------------------
KeyError                                  Traceback (most recent call last)
<ipython-input-8-46eac32dbc36> in <module>
     14 ####################################################################################
     15 # get the area of polygons
---> 16 wit_area = get_areas(features, pkey=pkey)
     17 # load wit data into a pandas dataframe
     18 wit_data = pd.read_csv(wit_data_file, header=None, skipfooter=1,

<ipython-input-3-a4493688561e> in get_areas(features, pkey)
     33         re = re.append(va, sort=False)
     34     print(re)
---> 35     return re.set_index(pkey)
     36
     37 def dump_wit_data(key, feature_list, output):

/env/lib/python3.6/site-packages/pandas/core/frame.py in set_index(self, keys, drop, append, inplace, verify_integrity)
   4548
   4549         if missing:
-> 4550             raise KeyError(f"None of {missing} are in the columns")
   4551
   4552         if inplace:

KeyError: "None of ['SYSID'] are in the columns"

# change pkey to match the key of iding polygon
# e.g. pkey = 'REFCODE' if using the files in example_data
pkey = 'SYSID'

Ah sure... how's that

much better, very appreciate it @MatthewJA


I get an error on ./eosio_build.sh

Scanning dependencies of target net_api_plugin
[ 97%] Built target history_api_plugin
Undefined symbols for architecture x86_64:
"_libintl_bindtextdomain", referenced from:
_main in main.cpp.o
"_libintl_gettext", referenced from:
eosio::client::localize::localized_with_variant(char const*, fc::variant_object const&) in main.cpp.o
eosio::client::localize::localized_with_variant(char const*, fc::variant_object const&) in help_text.cpp.o
"_libintl_setlocale", referenced from:
_main in main.cpp.o
"_libintl_textdomain", referenced from:
_main in main.cpp.o
ld: symbol(s) not found for architecture x86_64
clang-6.0: error: linker command failed with exit code 1 (use -v to see invocation)
make[2]: *** [programs/cleos/cleos] Error 1
make[1]: *** [programs/cleos/CMakeFiles/cleos.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
[ 98%] Built target unit_test
[ 98%] Building CXX object plugins/net_api_plugin/CMakeFiles/net_api_plugin.dir/net_api_plugin.cpp.o
[ 98%] Linking CXX static library libnet_api_plugin.a
[ 98%] Built target net_api_plugin
make: *** [all] Error 2
>>>>>>>>>>>>>>>>>>>> MAKE building EOSIO has exited with the above error.

See #2174.


URL given in content is not displayed as a hyperlink

Description
We have the RTE opened in the read-only mode and during this, some content is prefetched into it (like -
login using URL
) but this link is displayed as a regular text but no hyperlink.

Please confirm as to how we can fix this.

How to reproduce?

What did you mean by "read-only mode"?

When the RTE is opened in the view-only mode.

OK, so you are talking about the disabled state? Am I right?

Yes.

I do not know why this is now shown as a link. It seems to be a CSS issue. I did not see any style in Trumbowyg which can cause that.
I close this, feel free to reopen with a working example of your issue that I can test, based on: https://jsfiddle.net/AlexandreDemode/p7hb3x6u/


How do i download shot_summe.mat and shot_tvsum.mat?

I appreciate your work! But i have a question. How do i download shot_summe.mat and shot_tvsum.mat?

@linjingxu did you find the link?

not yet. Are you also interested in the video summarization？

@sylvainma Not yet. Are you also interested in the video summarization？

Yes, with my team we are working on a general video summarization repository implementing most of models and using evaluation recommendations from this paper: https://github.com/sylvainma/Summarizer/
We can share knowledge if you want to

@sylvainma Well, I think we can share with each other. My email is<EMAIL_ADDRESS>

I'm sorry for not checking this repo for a long time.
I borrowed shot segmentation files by dppLSTM, but the original files look removed.
I'm not sure if I'm allowed to distribute their files.
I'll try to find a way to solve this issue.
(FYI) We may try KTS  implementations by MED summaries or this repo. on GoogLeNet features to reproduce this.

Hello.
Is this problem solved?
Or may I ask who can provide the new data download address ？
Or I want to know what are the elements of shot_tvsum.mat/shot_summe.mat.

Hello,
This repository provides data including temporal segmentation that looks to be generated using KTS on GoogLeNet features.
You can also use the data here.
https://github.com/e-apostolidis/PoR-Summarization-Measure/tree/master/data
"Performance over Random: A Robust Evaluation Protocol for Video Summarization Methods" (MM '20)
By the way, this paper discusses the impact of data splits on the video summary evaluation.
If you are trying to evaluate your own methods with TVSum or SumMe, this paper is also good to check.

thank you for your reply.


Reporting

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.stroomworksdev00 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.You have signed the CLA already but the status is still pending? Let us recheck it.


Add BODY command

Allow fetching of an article's body via the BODY NNTP command.

Awesome! Thanks @thebandit!


Unable to save collection

When calling .save() on a collection I get the following error:
TypeError: Object [object Object] has no method 'save'

It's been a while since I had time to work on this library, sorry for not replying earlier.
You're getting that error because a collection doesn't have a save method, only models have that method. If you want to save a collection of models all at once, I recommend doing something like:
collection.each(function(model) {
   model.save();
});

A shorter alternative would be:
collection.invoke( 'save' );

By the way, I just release version 1.0.0 that includes a few new features. Make sure to check it out.


New arXiv paper(s) on machine unlearning

Corrective Machine Unlearning
https://arxiv.org/abs/2402.14015
(This paper studies the interplay between adversarial attacks and machine unlearning).

Decentralized Federated Unlearning on Blockchain
https://arxiv.org/abs/2402.16294

Towards Efficient and Effective Unlearning of Large Language Models for Recommendation
https://arxiv.org/abs/2403.03536
(Machine Unlearning + LLM + Recommender Systems)

Challenging Forgets: Unveiling the Worst-Case Forget Sets in Machine Unlearning
https://arxiv.org/abs/2403.07362

Towards Independence Criterion in Machine Unlearning of Features and Labels
https://arxiv.org/abs/2403.08124

∇τ : Gradient-based and Task-Agnostic machine Unlearning
https://arxiv.org/abs/2403.14339

Unlearning Backdoor Threats: Enhancing Backdoor Defense in Multimodal Contrastive Learning via Local Token Unlearning
https://arxiv.org/abs/2403.16257

CovarNav: Machine Unlearning via Model Inversion and Covariance Navigation
https://arxiv.org/abs/2311.12999

Making Users Indistinguishable: Attribute-wise Unlearning in Recommender Systems
https://arxiv.org/abs/2310.05847
Post-Training Attribute Unlearning in Recommender Systems
https://arxiv.org/abs/2403.06737

Papers added


[enhancement] x.509 certificate support.

Any plan for x.509 certificate supporting?

Hi! What kind of x.509 support are you interested in?
The ClientBuilder.set_tls_client_config takes a rustls::ClientConfig, which supports many kinds of TLS cert configuration, including a server certificate root store and client certificates.
If those are the features you need, do you think the docs or examples need to be better for users to discover these features?

Yes, I think a mutually authenticated TLS connection example would better for users. For example, aws IoT broker or other pravite/certificate authenticate broker.

v0.3.1 contains updated documentation on ClientBuilder with instructions on which items to use on rustls::ClientConfig to configure client and server TLS. I also reference our example mqttc which includes usage of both of these (added recently).
I hope these features and docs meet your needs.

Closing this for now but feel free to re-open or create a new issue if you have more suggestions.


Update usage.mdx

Import DateFnsAdapter but then in use as DateFnsUtils.

[x] I have followed (at least) the PR section of the contributing guide.

@getsetbro Thanks for the pull request. Unfortunately, we can't accept it. On-going work was moved to v5 https://next.material-ui.com/components/date-picker/. If you could re-evaluate the need for the change there, it would be great :).


Auto-fetch missing dependencies (console samples)

This is basic dependency management implemented in CMake, primarily relying on the FetchContent module (CMake v3.11) which is capable of making the build of the subproject part of the SDK's buid (in the case of non-header-only deps). This initial work involved only the deps requried for the console samples only.
This PR allows users to self-host their dependencies (eg. using package managers) and if something is not found, they are auto-fetched by the SDK scripts.
Sample out-of-the-box experience for users not providing any deps:
cmake.exe -DBUILD_DOCS=OFF -DBUILD_TESTING=OFF -DOPENCL_SDK_BUILD_SAMPLES=ON -DOPENCL_SDK_BUILD_OPENGL_SAMPLES=OFF -Hc:/Users/mate/Source/Repos/OpenCL-SDK -Bc:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build -G "Ninja Multi-Config"
...
[cmake] -- cargs (https://github.com/likle/cargs) not found. To self-host, set cargs_INCLUDE_PATH and cargs_LIBRARY to point to the headers and library respectively adding '-D cargs_INCLUDE_PATH=/path/to/cargs/include/dir -D cargs_LIBRARY/path/to/cargs/libcargs' to the cmake command. (missing: cargs_INCLUDE_PATH cargs_LIBRARY)
[cmake] -- Fetching cargs.
[cmake] -- Adding cargs subproject: C:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build/_deps/cargs-external-src
[cmake] -- TCLAP (http://tclap.sourceforge.net/) not found. To self-host, set TCLAP_INCLUDE_PATH to point to the headers adding '-DTCLAP_INCLUDE_PATH=/path/to/tclap' to the cmake command. (missing: TCLAP_INCLUDE_PATH)
[cmake] -- Fetching TCLAP.
[cmake] -- Found TCLAP: C:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build/_deps/tclap-external-src/include
[cmake] -- Stb (https://github.com/nothings/stb) not found. To self-host, set Stb_INCLUDE_PATH to point to the headers adding '-D Stb_INCLUDE_PATH=/path/to/stb' to the cmake command. (missing: Stb_INCLUDE_PATH)
[cmake] -- Fetching Stb.
[cmake] -- Found Stb: C:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build/_deps/stb-external-src
...
[cmake] -- Configuring done
[cmake] -- Generating done
[cmake] -- Build files have been written to: C:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build

Sample Vcpkg user experience:
cmake.exe -DBUILD_DOCS=OFF -DBUILD_TESTING=OFF -DOPENCL_SDK_BUILD_SAMPLES=ON -DOPENCL_SDK_BUILD_OPENGL_SAMPLES=OFF -DCMAKE_TOOLCHAIN_FILE:FILEPATH=C:\Users\mate\Source\Repos\vcpkg\scripts\buildsystems\vcpkg.cmake -DVCPKG_TARGET_TRIPLET:STRING=x64-windows -DVCPKG_CHAINLOAD_TOOLCHAIN_FILE:STRING=C:\Users\mate\Documents\MSVC-Vcpkg.cmake "-DVCPKG_C_FLAGS:STRING=/W4 /arch:AVX2" "-DVCPKG_CXX_FLAGS:STRING=/W4 /permissive- /arch:AVX2 /EHsc" -Hc:/Users/mate/Source/Repos/OpenCL-SDK -Bc:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build -G "Ninja Multi-Config"
...
[cmake] -- cargs (https://github.com/likle/cargs) not found. To self-host, set cargs_INCLUDE_PATH and cargs_LIBRARY to point to the headers and library respectively adding '-D cargs_INCLUDE_PATH=/path/to/cargs/include/dir -D cargs_LIBRARY/path/to/cargs/libcargs' to the cmake command. (missing: cargs_INCLUDE_PATH cargs_LIBRARY)
[cmake] -- Fetching cargs.
[cmake] -- Adding cargs subproject: C:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build/_deps/cargs-external-src
[cmake] -- Found TCLAP: C:/Users/mate/Source/Repos/vcpkg/installed/x64-windows/include
[cmake] -- Found Stb: C:/Users/mate/Source/Repos/vcpkg/installed/x64-windows/include
...
[cmake] -- Configuring done
[cmake] -- Generating done
[cmake] -- Build files have been written to: C:/Users/mate/Source/Repos/OpenCL-SDK/.vscode/build

(Note: cargs is missing from Vcpkg, so even in this case, that needs to be autofetched. I'll likely contribute a port to the Vcpkg repo, as it's a simple project.)
When something is found, standard FindPackageHandleStandardArgs diagnostics are issued, much like when something is missing. Then users are notified of auto-fetch happening. Moreover, reconfigurations don't reissue these diagnostics to not litter the command-line.

Superceded by #42


helm chart: postgresql-password-lighthouse-secret.yaml" at : invalid value; expected string

Expected Behavior
The helm chart should be installed without error
Actual Behavior
helm reports the following error
helm install --create-namespace  -f $HOME/code/backstage/my-values.yml -n backstage backstage .
Error: INSTALLATION FAILED: template: backstage/templates/postgresql-password-lighthouse-secret.yaml:15:76:
executing "backstage/templates/postgresql-password-lighthouse-secret.yaml"
at <b64enc>: invalid value; expected string

Steps to Reproduce
git clone https://github.com/backstage/backstage.git
cd contrib/chart/backstage
helm dependency update

DOMAIN_NAME="<IP_ADDRESS>.nip.io"
cat <<EOF > $HOME/code/backstage/my-values.yml
backend:
  image:
    repository: backstage
    tag: dev
postgresql:
  enabled: false
appConfig:
  app:
    baseUrl: https://backstage.$DOMAIN_NAME
    title: Backstage
  backend:
    baseUrl: https://backstage.$DOMAIN_NAME
    cors:
      origin: https://backstage.$DOMAIN_NAME
  lighthouse:
    enabled: false
    baseUrl: https://backstage.$DOMAIN_NAME/lighthouse-api
  techdocs:
    storageUrl: https://backstage.$DOMAIN_NAME/api/techdocs/static/docs
    requestUrl: https://backstage.$DOMAIN_NAME/api/techdocs
EOF

helm install --create-namespace  -f $HOME/code/backstage/my-values.yml -n backstage backstage .

Hi @cmoulliard! The helm chart is not in a good state at this point, we have removed it from our docs as we currently do not recommend that people use it. However there is work ongoing to make it better, most of the discussion happening in #4945. Make sure to follow that issue for updates, I'll go ahead and close this issue to keep the ongoing conversation in one place


fix: publish javadoc

:tada: This PR is included in version 1.5.9 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Autocomplete toolbar is slightly too tall

The autocomplete toolbar is a bit too tall today.
Due to how the height is applied, the autocomplete toolbar gets padding above and below the toolbar, while native keyboards only add padding above it.
This should be fixed asap.

This has been addressed in the 8.8.1 patch.
However, the autocomplete toolbar height is intentionally taller than the system one, since it needs to fit callouts from the topmost keys. I first adjusted the minimum height to 46, which is closer to the native height, but that caused the callouts to be cut off, so I tweaked it to 48.


Reorganize site content, add TOC-style links

Contributions to this project require sign-off consistent with the Developers Certificate of Origin. This can be as simple as using git commit -s on each commit.

This looks pretty good. Trying to preview it locally I'm not getting some of the CSS.

Some of the features section rearranging could probably be mirrored in the README.


i cant start my application

Steps to Reproduce

Execute flutter run on the code sample
...
...

Expected results:
Actual results:

Code sample

Logs

no code sample

Closing an empty issue. Please make sure all the information in the template is provided after picking the right category from https://github.com/flutter/flutter/issues/new/choose.


Warnings when loading the security View

When I load the security view:
    WhiteLabelManager.sharedClient().showSecurityView(self, withUnLinked: nil)

I see these warnings in the console:
2016-08-08 15:54:07.457 IC Mobile[844:321749] Cannot find executable for CFBundle 0x14c7234e0 </var/mobile/Containers/Bundle/Application/0CD21C3E-3789-42E9-A594-5CF2C1CF9998/IC Mobile.app/WhiteLabel.bundle> (not loaded)
2016-08-08 15:54:08.997 IC Mobile[844:321749] _UIConstraintBasedLayoutLogUnsatisfiable is OFF

The first warning has been removed. The second one is there so that it does not spit out any constraint warnings. There are a few that I have to fix before I can remove that log in the console. I will work on that for a future release.

Thank you!


Provide users with a path to automated upgrade

merges upstream master into their repo on a new branch
open a PR
user has to fix conflicts?

@jph00 can you think of a nice workflow where people should upgrade?  Is git merge/fix conflicts the best route, you think?

Yes I suspect that's the best approach.

I have actually built a GitHub action that does something similar on a different project. I use git-subtree to keep a folder in sync with my upstream, but probably can be easily adapted to this use case.
If it's useful, the relevant part of the action I am using is:
jobs:
  build-notebooks:
    runs-on: ubuntu-latest
    steps:
    - uses: actions/checkout@v2
      with:
          ref: master
          fetch-depth: 0
    - name: Set git user and email
      uses: srt32/git-actions@master
      with:
        args: git config user.email<EMAIL_ADDRESS>&& git config user.name "UpstreamSyncBot"
    - name: Fetch upstream repo
      uses: srt32/git-actions@master
      with:
        args: git subtree pull --squash --message=UpstreamSync  --prefix=base-images https://github.com/upstream-github-user/upstream-repo.git master

Most likely it is overkill with what's needed here


Add support for Zfinx and Zfh extension

This PR includes,

Added sign prefix functionality for Zfinx.
Added half width functionality in all IBM models.
Updated internal decoder with respect to Zfh instructions.

The internaldecoder will soon be obsolete and only the rvopcodesdecoder will be supported moving forward. It would be good if you could ensure that rvopcodesdecoder works correctly and avoid changes to the internal decoder in this PR.

@neelgala - Please have your review for  latest change as per your comment.

please change the target branch of the PR to dev

@neelgala

Target branch of the PR changed.

please resolve the conflicts created by this PR (for file riscv_isac/data/rvopcodesdecoder.py)

Conflict resolved. Please have your review and let me know

@neelgala -Please have your review and let us know if more information would help


Display shadow effect when hover.

Fixes #https://github.com/CircuitVerse/Interactive-Book/issues/20
Describe the changes you have made in this pr -
Changed style to give a shadow effect.
Screenshots of the changes (If any) -
Before:-

After:-

Coverage decreased (-1.002%) to 83.264% when pulling 0bfa23a43ecd777686dfe85b449ab6e567458f9e on SamriddhiMishra:20 into 16e1b86d3474f30c47f84465750245d45c88fabc on CircuitVerse:master.

Looks good, but I am not very sure if this can be merged now since the home page has been redone under new UI @nitin10s

This has not been implemented in the New UI

I can work on this if not done yet 👍🏻

Can be closed for now @tachyons


fix some asset names

Description

Checklist

Adding Chains

If adding a new chain, please ensure the following:

[ ] Chain is registered to the Cosmos Chain Registry.
Note:

Chain's registration must have staking defined, with at least one staking_token denom specified.
Chain's registration must have fees defined; at least one fee token has low, average, and high gas prices defined.

[ ] Add chain to bottom of zone_chains.json
Note:

RPC and REST must not have any CORS blocking of the Osmosis domain.
RCP node must have WSS enabled.

Adding Assets

If adding a new asset, please ensure the following:

[ ] Asset is registered to the Cosmos Chain Registry.

[ ] Add asset to bottom of zone_assets.json.
Note:

The IBC channel referenced in path must be registered to the Chain Registry.
osmosis_main defaults to false (or else cite the listing rule that justifies enlisting to the Main app)

On-chain liquidity
If adding a new asset, please provide the plan for on-chain liquidity of the asset: (choose one)

[ ] The submitting team will ensure a pool will be created soon. Please hold off until further communication, which will notify of the Pool ID. (Please set the PR's status to Draft until the pool has been created)

OR

[ ] A preview link is requested for the submitting team to be able to create a pool using the Osmosis Frontend.

OR

[ ] The token is, or will be, going through a StreamSwap stream; thus, the token should be listed without requiring on-chain liquidity. A Pool ID will be provided in this PR following the stream's completion once the team has had a chance to create a pool using the earned funds.

Validation Testing
If adding or updating a chain or asset, the changes must be validated from the updated build of the Osmosis Frontend. Testers will need a small amount of tokens to validate.

[ ] Validaters can buy a small amount of this asset from Pool ID: {PROVIDE POOL ID}.
[ ] Preview build has been validated.

I feel like many of these (not all) aught to be corrected at the chain registry, wouldn't you agree? e.g., IBCX's name in the Chain Registry is not really appropriate. It would be preferred to minimize overrides wherever it makes sense to.

@JeremyParish69 yeah, that's probably a good idea

For most of these, I felt they were objectively correct, and so made the same update at the Chain Registry so that I could remove the override here.
For the ones with a bridge or network name in parentheses, I have another plan to automatically append that to the name for all non-canonical bridged assets based on their origin trace, so that we don't need an override, but I've left those here for now because I haven't programmed that yet.


allow insert to have custom conflict resolution

the insert command should allow the conflict option to use a function to determine conflict resolution
int returnLarger(id, oldVal, newVal) {
  if(newVal > oldVal){
    return newVal;
  }
  return oldVal;
}

r.table('blah').insert(record,{'conflict': returnLarger})

no change was required 👍


Minor adjustment for Docker.

Coverage decreased (-0.0008%) to 2.257% when pulling 21e3ea91de3ecc63ae23fd40137b6b9b5cca2e73 on walter-weinmann:master into 1040c32c8de5d5778ce3b87592af3043f57ae0c5 on K2InformaticsGmbH:master.


Can't access exposed resource from core module (iOS)

Describe the bug
In order to bypass the current limitation of multi modules ntonotsupported,  we add all the resources in a core module and then expose them through composable functions.
This works as expected on Android, but on iOS we get the exception:
org.jetbrains.compose.resources.MissingResourceException: Missing resource with path: values/strings.xml
Reproducer Project
Affected platforms

iOS

Versions

Kotlin version*: 1.9.22
Compose Multiplatform version*:  1.6.0
OS version(s)* (required for Desktop and iOS issues):  15
OS architecture (x86 or arm64):  simulator

To Reproduce
Steps and/or the code snippet to reproduce the behavior:

Clone the provided reproducer project
Run the iOS App
Click on "Click me!" Button
See error

Expected behavior
The app should not crash on iOS and the resource should be shown.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
Note that the reproducer project was created with the late wizard and was only modified to expose the resources from a resource module.
Running the android app does not have any issues

In order to bypass the current limitation of multi modules ntonotsupported, we add all the resources in a core module and then expose them through composable functions.

resources must be in app module

In order to bypass the current limitation of multi modules ntonotsupported, we add all the resources in a core module and then expose them through composable functions.

resources must be in the top level app module

Does that means that is there no work around at all for project with feature modules? Essentially not being able to use the library at all?
If so is there a rough estimate  on when would that be possible? ( Just to decide if we can wait or we should pick another library)

The first dev builds will be available soon but it will rtequire the kotlin gradle plugin 2.0+
It doesn't work as you expected on the android target. JVM ecosystem has binary for each module (jars) and it supports resources. Kotlin ecosystem doesn't have a resources support yet.

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


Add predicate options to literal properties

In the same way you can define readers and writers, it would be nice to have the option to define predicates.
prop :happy, _Boolean, predicate: :public

Would define the method
public def happy?
  @happy
end

In the case that the type isn’t _Boolean, true or false, it should define it with a double negation to coerce a truthy/falsy into true / false.
public def happy?
  !!@happy
end

Would be great if boolean props would automatically set predicate: true, as I can't imagine you would ever not want that.

In my implementation of "typed attributes" I also created predicates like this for all attributes. As for the idea of automatically creating them on booleans, but not sure if the asymettry (booleans optional, others not) is confusing, and also does it only apply to predicates for Boolean, or also for Nilable(Boolean) say?


Support flutter >=3.10

Why don't push new version to support flutter >=3.10

ok but library now supported but ok i will wait


Alternative way to handle lazy loading images (I think)

http://robinosborne.co.uk/2016/05/16/lazy-loading-images-dont-rely-on-javascript/

Eh, I don't like that this requires inserting <noscript> tags. This would require writing a filter for the_content and acf_the_content, and preferably a function to use in themes as well.


Add tests for SftpFileStream.Seek(...)

Add tests for SftpFileStream.Seek(...) to cover https://github.com/sshnet/SSH.NET/pull/910.

@daviburg, some of the tests will fail because the integration tests project consumes version 2020.0.1 of SSH.NET.  See https://github.com/sshnet/SSH.NET/discussions/1048 for a discussion (monologue rather ☹) on this.

@daviburg, thanks for taking the time to review these changes. Let me know if you approval still stands after my latest commit.

@daviburg, thanks for taking the time to review these changes. Let me know if your approval still stands after my latest commit.

Yes, I review the second commit and it looks good.


The seconds only show for "time ago" and not for "from now"

using the simple example I added a future date +2 minutes from now,  It only showed 1 minuted from now and did not count down to 0, after the passed in date was in the past the seconds did show for time ago. Any way to adjust so the seconds countdown show when the the date prop is under 1 minute away in the future.

this could be bug. I'll look into it.

any update?

This bug may take a little longer to fix.

you should be able to set the maxPeriod prop to something like 10 seconds to make this work correctly. It'll do some extra work, but it will work correctly.


HTTP: Json nodes should support simple types like int, float, etc...

just minor things, you can push without new PR

merged with the proposed fixes


Webpack2: watch slower than build

This may be totally expected but for me webpack().watch() is about 4 times slower than a one-time build. It could very well be that this extra time is webpack just setting up the actual watching on all the files/folders?
// This is slower  (8secs) ...
webpack(nodeConfig).watch(100, function (err, stats) {
  if (err) console.err(err)
  console.log(stats.toString({
    colors: true,
    chunks: false,
    hash: false,
    version: false,
    assets: false,
    children: false
  }))
})

// ... than this (2secs)
webpack(nodeConfig, function (err, stats) {
  if (err) throw err
  console.log(stats.toString({
    colors: true,
    chunks: false,
    hash: false,
    version: false,
    assets: false,
    children: false
  }))
})

Happy to provide a test repo if this seems worth investigating.

False alarm 😊  What's not shown here is the 'webpack-dev-middleware' setup (which kicks off compiling and eats up CPU while the other watch is trying to start). Move along heh.


ELPP and utilities changes

This is an attempt to remove the shared-init.cmake requirement from downstream projects.
This is accomplished by:

Always add a file, elpp-init.cpp, to any project that is dependent on utilities
Provide a mechanism (NO_ELPP_INIT) to the file from doing anything (i.e., it will compile but do nothing)
realsense2 dependents are automatically utilities dependents
Because realsense2 has its own INITIALIZE_EASYLOGGINGPP, it defines NO_ELPP_INIT
Any dependent of realsense2 will automatically use its ELPP in static mode, therefore any dependent gets NO_ELPP_INIT automatically
Any dependent that defines their own INITIALIZE_EASYLOGGINGPP will have to also specify NO_ELPP_INIT manually (e.g., rs-server) or it will get linkage errors

The result is that certain projects still need special attention.
Other things in here:

utilities include files are now arranged according to the tree (requires CMake 3.8)
This means we no longer support U16 - see PR removing Xenial from our release process
The "librealsense" constant used to define our ELPP logger is now an actual define, LIBREALSENSE_ELPP_ID
Added a configure_elpp_logger utility function to easily configure ELPP (will be used in realdds, too)
Fixed some warnings

I don't like what I did :)
So I take it back.
In particular: I don't like forcing something (elpp-init.cpp) on the user and making them deal with it (NO_ELPP_INIT). We cannot assume the user of librealsense will even need ELPP, and making them do initialization may even get in their way.
Instead, I added a function that can be called (instead of including shared-init.cmake), which is equivalent to the previous state of things, just a little more understandable and does not require any special knowledge of our file structure.
Here's the original explanation before this update:

Always add a file, elpp-init.cpp, to any project that is dependent on utilities
Provide a mechanism (NO_ELPP_INIT) to the file from doing anything (i.e., it will compile but do nothing)
realsense2 dependents are automatically utilities dependents
Because realsense2 has its own INITIALIZE_EASYLOGGINGPP, it defines NO_ELPP_INIT
Any dependent of realsense2 will automatically use its ELPP in static mode, therefore any dependent gets NO_ELPP_INIT automatically
Any dependent that defines their own INITIALIZE_EASYLOGGINGPP will have to also specify NO_ELPP_INIT manually (e.g., rs-server) or it will get linkage errors

The result is that certain projects still need special attention.


[supervisord] should fix supervisor tests

This test is highly problematic and failure prone. It depends on the timing to be exactly right. Each program stays up for a certain amount of time, the test loops around and determines whether or not it's still up and expects them to be up for a certain period of time. This is error prone to say the least.
And, because the test infra does not assume that each tag will be contained within one folder, the tests will take longer and longer to run (and to reach a late entry in the alphabet like supervisor), the more that we add. Perhaps it should assume that it won't be self contained, I've created an issue to discuss this, since I think it's a bit out of bounds for this PR: #99.
So, the solution I've put together here is pretty simple: don't start it in the rakefile, start it in the test instead.

This should fix #89


P2Pool setting

P2P_PREFIX = ????
IDENTIFIER = ????
PREFIX = ????
COINBASEEXT = ?????

P2P_PREFIX = 62696ecc
IDENTIFIER = 7242ef345e1bed6b
PREFIX = 3b3e1286f446b891
COINBASEEXT = 0D2F5032506F6F6C2D444153482F

Re: [BankLedger/safe] P2Pool setting (#1)
Здравствуйте, tony.
Вы писали 7 февраля 2018 г., 11:12:55:
P2P_PREFIX = 62696ecc
IDENTIFIER = 7242ef345e1bed6b
PREFIX = 3b3e1286f446b891
COINBASEEXT = 0D2F5032506F6F6C2D444153482F
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub, or mute the thread.
ADDRESS_VERSION = ??
SCRIPT_ADDRESS_VERSION = ??
--
С уважением,
Павел<EMAIL_ADDRESS>

Re: [BankLedger/safe] P2Pool setting (#1)
you help my unomp pool, my pool is work, profit 2000% block not found.
--
С уважением,
Павел<EMAIL_ADDRESS>

you need download the latest code from github, then use it deploy on your pool

I have the latest version installed. But why does not it work.

"enabled": true,
"coin": "safe.json",
"auxes": [ ],
"address": "xxx",

"rewardRecipients": {
    "111": 1.5,
    "222": 0.1
},

"paymentProcessing": {
    "enabled": false,
    "paymentInterval": 600,
    "minimumPayment": 10,
    "daemon": {
        "host": "<IP_ADDRESS>",
        "port": 5554,
        "user": "xxx",
        "password": "xxx"
    }
},

"ports": {
    "16008": {
        "diff": 256
    },
    "16009": {
        "diff": 48,
        "varDiff": {
            "minDiff": 48,
            "maxDiff": 96,
            "targetTime": 15,
            "retargetTime": 90,
            "variancePercexnt": 30
        }
    },
    "16010": {
        "diff": 96
    }
},

"daemons": [
    {
        "host": "<IP_ADDRESS>",
        "port": 5554,
        "user": "xxx",
        "password": "xxx"
    }
],

"p2p": {
    "enabled": true,
    "host": "<IP_ADDRESS>",
    "port": 5555,
    "disableTransactions": false
},

"mposMode": {
    "enabled": true,
    "host": "<IP_ADDRESS>",
    "port": 3306,
    "user": "xxx",
    "password": "xxx",
    "database": "xxx",
    "checkPassword": false,
    "autoCreateWorker": true
}

}

{
"name": "Safecoin",
"full_name": "Security Network Space 3",
"symbol": "SAFE",
"algorithm": "x11",
"mposDiffMultiplier": 256,
"peerMagic": "62696ecc"
}

server=1
rpcuser=xxx
rpcpassword=xxx
daemon=1

It deson't seem to be a problem

debug.log safed
2018-02-08 08:12:14 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=150
2018-02-08 08:12:14 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=153
2018-02-08 08:12:14 CMasternodePayments::FillBlockPayee -- Masternode payment 180147720 to XwNPpMKJhdhSNvPxRQNwUGqr1aYda9gpRL
2018-02-08 08:12:14 CreateNewBlock(): total size 1251 txs: 1 fees: 252 sigops 102
2018-02-08 08:12:15 socket sending timeout: 1201s
2018-02-08 08:12:15 socket sending timeout: 1201s
2018-02-08 08:12:15 socket sending timeout: 1201s
2018-02-08 08:12:15 socket sending timeout: 1201s
2018-02-08 08:12:15 ThreadSocketHandler -- removing node: peer=137 addr=<IP_ADDRESS>:39770 nRefCount=1 fNetworkNode=0 fInbound=1 fMasternode=0
2018-02-08 08:12:15 ThreadSocketHandler -- removing node: peer=138 addr=<IP_ADDRESS>:39771 nRefCount=1 fNetworkNode=0 fInbound=1 fMasternode=0
2018-02-08 08:12:15 ThreadSocketHandler -- removing node: peer=139 addr=<IP_ADDRESS>:39772 nRefCount=1 fNetworkNode=0 fInbound=1 fMasternode=0
2018-02-08 08:12:15 ThreadSocketHandler -- removing node: peer=140 addr=<IP_ADDRESS>:39773 nRefCount=1 fNetworkNode=0 fInbound=1 fMasternode=0
2018-02-08 08:12:15 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=154
2018-02-08 08:12:15 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=155
2018-02-08 08:12:15 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=156
2018-02-08 08:12:15 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=157
2018-02-08 08:12:17 socket sending timeout: 1201s
2018-02-08 08:12:17 socket sending timeout: 1201s
2018-02-08 08:12:17 ThreadSocketHandler -- removing node: peer=141 addr=<IP_ADDRESS>:39875 nRefCount=1 fNetworkNode=0 fInbound=1 fMasternode=0
2018-02-08 08:12:17 ThreadSocketHandler -- removing node: peer=142 addr=<IP_ADDRESS>:39876 nRefCount=1 fNetworkNode=0 fInbound=1 fMasternode=0
2018-02-08 08:12:17 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=158
2018-02-08 08:12:17 receive version message: /node-stratum/: version 70208, blocks=0, us=<IP_ADDRESS>:0, peer=159
2018-02-08 08:12:44 CMasternodeMan::CheckAndRemove
2018-02-08 08:12:44 CMasternodeMan::CheckAndRemove -- Masternodes: 1078, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:12:44 CMasternodePayments::CheckAndRemove -- Votes: 47559, Blocks: 5011
2018-02-08 08:12:44 CInstantSend::CheckAndRemove -- Lock Candidates: 3, Votes 49
2018-02-08 08:13:44 CMasternodeMan::CheckAndRemove
2018-02-08 08:13:44 CMasternodeMan::CheckAndRemove -- Masternodes: 1078, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:13:44 CMasternodePayments::CheckAndRemove -- Votes: 47559, Blocks: 5011
2018-02-08 08:13:44 CInstantSend::CheckAndRemove -- Lock Candidates: 3, Votes 49
2018-02-08 08:14:01 CMasternodePayments::FillBlockPayee -- Masternode payment 180147920 to XwNPpMKJhdhSNvPxRQNwUGqr1aYda9gpRL
2018-02-08 08:14:01 CreateNewBlock(): total size 1650 txs: 2 fees: 651 sigops 104
2018-02-08 08:14:44 CMasternodeMan::CheckAndRemove
2018-02-08 08:14:44 CMasternodeMan::CheckAndRemove -- Masternodes: 1078, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:14:44 CMasternodePayments::CheckAndRemove -- Votes: 47559, Blocks: 5011
2018-02-08 08:14:44 CInstantSend::CheckAndRemove -- Lock Candidates: 3, Votes 49
2018-02-08 08:15:08 connect() to [2001:0:9d38:953c:c30:5ab6:958d:e9e4]:5555 failed: Network is unreachable (101)
2018-02-08 08:15:14 UpdateTip: new best=00000000000001fe9e3b9bdd8fb51f654ef3409410906fb74fff7c263a4b2e6b  height=817942  log2_work=73.477658  tx=4797048  date=2018-02-08 08:14:51 progress=0.999999  cache=0.3MiB(1084tx)
2018-02-08 08:15:14 ProcessNewBlock : ACCEPTED
2018-02-08 08:15:14 CMasternodePayments::FillBlockPayee -- Masternode payment 180147589 to XoLhtJf9J1oYMuLZ6qxfceUMeMWatMjScf
2018-02-08 08:15:14 CreateNewBlock(): total size 1000 txs: 0 fees: 0 sigops 100
2018-02-08 08:15:40 UpdateTip: new best=000000000000027e94e71a480c1fce7cc1e9ed5e8d73294f6ca0e86f6570c81d  height=817943  log2_work=73.47766  tx=4797049  date=2018-02-08 08:15:19 progress=0.999999  cache=0.3MiB(1085tx)
2018-02-08 08:15:40 CMasternodePayments::FillBlockPayee -- Masternode payment 180147589 to XkSVPMpDX8f3RWoDXb7YUNizVA1FASCQE9
2018-02-08 08:15:40 CreateNewBlock(): total size 1000 txs: 0 fees: 0 sigops 100
2018-02-08 08:15:40 ProcessNewBlock : ACCEPTED
2018-02-08 08:15:45 CMasternodeMan::CheckAndRemove
2018-02-08 08:15:45 CMasternodeMan::CheckAndRemove -- Masternodes: 1078, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:15:45 CMasternodePayments::CheckAndRemove -- Votes: 47560, Blocks: 5011
2018-02-08 08:15:45 CInstantSend::CheckAndRemove -- Lock Candidates: 3, Votes 49
2018-02-08 08:15:45 CGovernanceManager::UpdateCachesAndClean -- Governance Objects: 0 (Proposals: 0, Triggers: 0, Watchdogs: 0/0, Other: 0; Erased: 0), Votes: 0
2018-02-08 08:15:47 UpdateTip: new best=000000000000006bf67a90b950eeab476c202e9da0220ff062f1fac17a524c8a  height=817944  log2_work=73.477662  tx=4797050  date=2018-02-08 08:15:44 progress=1.000000  cache=0.3MiB(1086tx)
2018-02-08 08:15:47 ProcessNewBlock : ACCEPTED
2018-02-08 08:15:47 CMasternodePayments::FillBlockPayee -- Masternode payment 180147589 to Xd38RfFPiqaTfbyQ8n9tQmSyzVBM7yqzFt
2018-02-08 08:15:47 CreateNewBlock(): total size 1000 txs: 0 fees: 0 sigops 100
2018-02-08 08:16:34 UpdateTip: new best=000000000000015a812792d1dfdb485d890d69422ae332e36d2cc941a0e601f2  height=817945  log2_work=73.477665  tx=4797051  date=2018-02-08 08:15:48 progress=0.999997  cache=0.3MiB(1088tx)
2018-02-08 08:16:34 ProcessNewBlock : ACCEPTED
2018-02-08 08:16:34 CMasternodePayments::FillBlockPayee -- Masternode payment 180147589 to XsNddmJyGd1ciJ1ityToWd4eBzbtbfwwBM
2018-02-08 08:16:34 CreateNewBlock(): total size 1000 txs: 0 fees: 0 sigops 100
2018-02-08 08:16:35 connect() to [2001:0:d388:7101:188a:3c36:3f57:ff96]:5555 failed: Network is unreachable (101)
2018-02-08 08:16:45 CMasternodeMan::CheckAndRemove
2018-02-08 08:16:45 CMasternodeMan::CheckAndRemove -- Masternodes: 1079, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:16:45 CMasternodePayments::CheckAndRemove -- Votes: 47559, Blocks: 5011
2018-02-08 08:16:45 CInstantSend::CheckAndRemove -- Removing expired Transaction Lock Candidate: txid=b6c416d909d31c776df5cb0a0372f4490a933f27c91081104e89ecc0f76bb21f
2018-02-08 08:16:45 CInstantSend::CheckAndRemove -- Removing expired Transaction Lock Candidate: txid=b393bc7c7638e0c1baedcc523053af697c0cb8e4f2dcd8ab0577fa20b360955e
2018-02-08 08:16:45 CInstantSend::CheckAndRemove -- Removing expired Transaction Lock Candidate: txid=d376e47f19be02100edb2085cc67e22904c3d284030d200eb947788ff5182e5f
2018-02-08 08:16:45 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:17:21 connect() to [2001:0:9d38:953c:2071:759d:7429:bdf]:5555 failed: Network is unreachable (101)
2018-02-08 08:17:45 CMasternodeMan::CheckAndRemove
2018-02-08 08:17:45 CMasternodeMan::CheckAndRemove -- Masternodes: 1079, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:17:45 CMasternodePayments::CheckAndRemove -- Votes: 47559, Blocks: 5011
2018-02-08 08:17:45 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:18:21 UpdateTip: new best=000000000000018cdb01ca8527d2df9ae9ac7c7030d66676e46c8ce8de2829f6  height=817946  log2_work=73.477667  tx=4797052  date=2018-02-08 08:18:19 progress=1.000000  cache=0.3MiB(1089tx)
2018-02-08 08:18:21 ProcessNewBlock : ACCEPTED
2018-02-08 08:18:21 CMasternodePayments::FillBlockPayee -- Masternode payment 180147589 to Xs1Q8WoiUwcCfVb5Kiuh6MKEo6Cn6tQy21
2018-02-08 08:18:21 CreateNewBlock(): total size 1000 txs: 0 fees: 0 sigops 100
2018-02-08 08:18:46 CMasternodeMan::CheckAndRemove
2018-02-08 08:18:46 CMasternodeMan::CheckAndRemove -- Masternodes: 1079, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:18:46 CMasternodePayments::CheckAndRemove -- Votes: 47561, Blocks: 5011
2018-02-08 08:18:46 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:19:46 CMasternodeMan::CheckAndRemove
2018-02-08 08:19:46 CMasternodeMan::CheckAndRemove -- Masternodes: 1079, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:19:46 CMasternodePayments::CheckAndRemove -- Votes: 47561, Blocks: 5011
2018-02-08 08:19:46 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:20:46 CMasternodeMan::CheckAndRemove
2018-02-08 08:20:46 CMasternodeMan::CheckAndRemove -- Masternodes: 1079, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:20:46 CMasternodePayments::CheckAndRemove -- Votes: 47561, Blocks: 5011
2018-02-08 08:20:46 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:20:46 CGovernanceManager::UpdateCachesAndClean -- Governance Objects: 0 (Proposals: 0, Triggers: 0, Watchdogs: 0/0, Other: 0; Erased: 0), Votes: 0
2018-02-08 08:21:47 CMasternodeMan::CheckAndRemove
2018-02-08 08:21:47 CMasternodeMan::CheckAndRemove -- Masternodes: 1079, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:21:47 CMasternodePayments::CheckAndRemove -- Votes: 47561, Blocks: 5011
2018-02-08 08:21:47 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:22:47 CMasternodeMan::CheckAndRemove
2018-02-08 08:22:47 CMasternodeMan::CheckAndRemove -- Masternodes: 1081, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:22:47 CMasternodePayments::CheckAndRemove -- Votes: 47561, Blocks: 5011
2018-02-08 08:22:47 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:23:47 CMasternodeMan::CheckAndRemove
2018-02-08 08:23:47 CMasternodeMan::CheckAndRemove -- Masternodes: 1081, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:23:47 CMasternodePayments::CheckAndRemove -- Votes: 47561, Blocks: 5011
2018-02-08 08:23:47 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:24:47 CMasternodeMan::CheckAndRemove
2018-02-08 08:24:47 CMasternodeMan::CheckAndRemove -- Masternodes: 1081, peers who asked us for Masternode list: 0, peers we asked for Masternode list: 8, entries in Masternode list we asked for: 0, nDsqCount: 0
2018-02-08 08:24:47 CMasternodePayments::CheckAndRemove -- Votes: 47561, Blocks: 5011
2018-02-08 08:24:47 CInstantSend::CheckAndRemove -- Lock Candidates: 0, Votes 0
2018-02-08 08:24:48 ERROR: Requesting unset send version for node: 160. Using 209
2018-02-08 08:24:48 ProcessMessages: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:48 receive version message: /Safe Core:1.0.1/: version 70208, blocks=817946, us=<IP_ADDRESS>:44545, peer=160
2018-02-08 08:24:48 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:49 ERROR: Requesting unset send version for node: 161. Using 209
2018-02-08 08:24:49 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:49 ProcessMessages: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:49 receive version message: /Safe Core:1.0.1/: version 70208, blocks=817946, us=<IP_ADDRESS>:45007, peer=161
2018-02-08 08:24:49 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:50 ERROR: Requesting unset send version for node: 162. Using 209
2018-02-08 08:24:51 ProcessMessages: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:51 receive version message: /Safe Core:1.0.1/: version 70208, blocks=817946, us=<IP_ADDRESS>:34373, peer=162
2018-02-08 08:24:51 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:53 ERROR: Requesting unset send version for node: 163. Using 209
2018-02-08 08:24:53 ProcessMessages: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:53 receive version message: /Safe Core:1.0.1/: version 70208, blocks=817946, us=<IP_ADDRESS>:56873, peer=163
2018-02-08 08:24:53 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:54 ERROR: Requesting unset send version for node: 164. Using 209
2018-02-08 08:24:54 ProcessMessages: advertising address <IP_ADDRESS>:5555
2018-02-08 08:24:54 receive version message: /Safe Core:1.0.1/: version 70208, blocks=817946, us=<IP_ADDRESS>:48276, peer=164
2018-02-08 08:24:54 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:25:03 ProcessMessages: advertising address <IP_ADDRESS>:5555
2018-02-08 08:25:03 receive version message: /Safe Core:1.0.1/: version 70208, blocks=817946, us=<IP_ADDRESS>:42733, peer=165
2018-02-08 08:25:03 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:25:07 ERROR: Requesting unset send version for node: 166. Using 209
2018-02-08 08:25:07 ProcessMessages: advertising address <IP_ADDRESS>:5555
2018-02-08 08:25:07 receive version message: /Safe Core:1.0.1/: version 70208, blocks=817946, us=<IP_ADDRESS>:53501, peer=166
2018-02-08 08:25:07 AdvertiseLocal: advertising address <IP_ADDRESS>:5555
2018-02-08 08:25:08 ERROR: Requesting unset send version for node: 167.
PARENT = networks.nets['safe']
SHARE_PERIOD = 20 # seconds
CHAIN_LENGTH = 246060//20 # shares
REAL_CHAIN_LENGTH = 246060//20 # shares
TARGET_LOOKBEHIND = 100 # shares  //with that the pools share diff is adjusting faster, important if huge hashing power comes to the pool
SPREAD = 10 # blocks
IDENTIFIER = '7242ef345e1bed6b'.decode('hex')
PREFIX = '3b3e1286f446b891'.decode('hex')
COINBASEEXT = '0D2F5032506F6F6C2D444153482F'.decode('hex')
P2P_PORT = 8999
MIN_TARGET = 0
MAX_TARGET = 2256//220 - 1
PERSIST = True
WORKER_PORT = 7903
BOOTSTRAP_ADDRS = 'vvpool.com'.split(' ')
ANNOUNCE_CHANNEL = '#p2pool-safe'
VERSION_CHECK = lambda v: v >= 120100

Im start p2pool, my pool find block

824044
Mon Feb 19 2018 16:13:08 GMT+0500 (RTZ 4 (зима))
000000000000042608e1f310b63b760c24168a16e5ca1c07fc1025f709e6e40b
>

824039
Mon Feb 19 2018 16:04:12 GMT+0500 (RTZ 4 (зима))
000000000000034d64a8f3f62a7b05a0fd08167ce0facec415dc8c61d2ced93b
>

824038
Mon Feb 19 2018 16:03:32 GMT+0500 (RTZ 4 (зима))
000000000000023426130de6ffc9332f1cc59aa9925cb1be0b80ea76c5a5f47f
>

block not found to explorer

15826717775


Read me spec rev0p5

Read Me changes for Spec rev0.5

Need to resolve some issues with the branch


udev rule tip

Hi,
I couldn't make udev rule working properly because my multimedia keys would stop working after colors were set. By adding just idVendor and idProduct to udev rule, it gets hit three times (device and keyboard+multimedia interfaces). Setting colors takes multimedia interface off, sets colors and then attaches it back. This triggers udev again for attaching multimedia interface and ends up in infinite loop.
I had to limit the rule so that only root device triggers the script
ACTION=="add",        KERNEL=="event[0-9]*", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c336", RUN+="/usr/local/bin/G213Colors.sh 4F7F9F"

However, I couldn't make it work with ATTRS, so I moved the necessary check to the script itself:
#!/bin/sh

[ "${ID_USB_INTERFACE_NUM}" == "00" ] || exit
exec /usr/bin/python /usr/local/bin/G213Colors.py -c $1

Maybe somebody can create a more elegant solution but this one works and I believe it should be documented as it took me several hours to figure out.

this is my udev rule, everything works after is matches:
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c336", ATTR{product}=="Gaming Keyboard G213", RUN+="/usr/local/bin/udev_g213"
maybe try that one.

Yours is certainly better and I think you don't need ATTR{product} because SUBSYSTEM=="usb" is enough for me.
ACTION=="add", SUBSYSTEM=="usb", ATTRS{idVendor}=="046d", ATTRS{idProduct}=="c336", RUN+="/usr/bin/python /usr/local/bin/G213Colors.py -c 4F7F9F"
👍

i added the udev rule info.


Simplify Python travis build

Python Travis CI tests are failing with no code changes
(example). It
appears to be related to some external dependencies no longer used in
the build.

Background

Change List

Coverage remained the same at 80.095% when pulling a0bfa39ef3540aa3f91598ae435ac4451cb10730 on ajd/stop-noop-build-failure into 7ed480bbec114dc5aef17be0080eacd182eac13e on master.


rollback migration cause data loss

As the title, it destroy data when happen migration rollback.
Can the data be automatically exported before rollback, and then imported back when migrating again？
PS: English is not my native language; please excuse typing errors.

@OuYangJinTing thanks for adding your issue. Can you please specify your real scenario? That would allow me to think of a concrete fix rather than implementing some abstract solution. Thank you!

The actual scenario is as follows:
git checkout -b feat main
rails generate model Feat name:string
rails db:migrate   # create feats table
rails runner 'Feat.create(name: :test)'
git add -A && git commit -m 'stash'
git checkout -b other main
rails generate model Other name:string
rails db:migrate   # create others table and drop feats table
git add -A && git commit -m 'stash'
git checkout feat
rails db:migrate   # create feats table and drop others table
rails runner 'puts Feat.create(name: :test)'   # ==> 0

@OuYangJinTing if the original migration had the seeding data populated automatically would it work for you? There is a solution for seeding data within migrations - https://github.com/ka8725/migration_data
This is what you could do after installing this gem:

add "#data" into the "create feats table" migration that does this: Feat.create(name: :test)
optionally, you can enable it only in development mode, like specified here

It might sound too annoying. But, I don't think it's possible to implement something that also would have the data not touched. Even if implement automatic dumping data on rolling migration back and later reinstating this data, there is no guarantee this data will be valid. There are many reasons why it could be invalid:

If it was a deleted table, it can be updated so that a new required column is added, but there is no data in the dump.
If it was an enum column with one set of values that were changed later, we have a problem again.

So, my recommendation is seeding data inside migrations for dev purposes. Or handle these cases manually. If you have a better idea, I'm open for discussion. Thank you!

@ka8725 Thank for you reply. the migration_data is good.
But it maybe not handle all scenario, because the some data is generated during manual operation.
I also think import that export data maybe is invalid too, but sometimes it is valid. eg: I gave earlier example.
I think that if there is no good solution, it should require confirmed by the user before performing the rollback automatically.

@OuYangJinTing WDYT about this approach: when it rolls back the first migration automatically, it makes the DB dump behind the scene. So that on each run of rollback_branches there is a DB dump that remembers this most recent migration ID. When db:migrate runs up and tries to reinstall the associated DB dump. This approach would require implementing tasks that make a dump and restore it. Also, these tasks would need adapters for different DBs. Note, even this solution is not ideal though, as it drops recent data as well. Consider the scenario:
git checkout
rails generate model User email:string
rails db:migrate   # create users table
rails runner 'User.create(email: "test@example.com")'
git add -A && git commit -m 'stash'

git checkout -b feat main
rails generate model Feat name:string
rails db:migrate   # create feats table
rails runner 'Feat.create(name: :test)'
rails runner 'User.create(email: "test1@example.com")'
git add -A && git commit -m 'stash'

git checkout -b other main
rails generate model Other name:string
rails db:migrate   # create others table and drop feats table, dumped data
git add -A && git commit -m 'stash'

git checkout feat
rails db:migrate   # create feats table, dump restored
rails runner 'puts Feat.count'   # ==> 1
rails runner 'puts User.count'   # ==> 1 but it's expected to be 2 (!)

I thought about DB dump diff, that would probably work in case of dropping/restoring the table and its data. But when it comes to dropping/restoring columns - again there is a problem. It can't generate column data for new rows automatically. This way, IMO the issue is reduced to proper implementation of DB dump diff. I'm not sure if there is any, researching the topic.

@ka8725 Sorry. I just saw this comment today. I'm a little confused that users table has always existed, why the data is lost?
Maybe I didn't understand the above example, can you help me explain again? Thank you.

@OuYangJinTing because the solution implied to have full DB dump of rollback. If there is a solution that can generate a DB data diff, it would solve the problem.

@ka8725 I think the solution may be too complex, maybe it's better to simply give a warm prompt and ask whether to continue rollback. What do you think?

@OuYangJinTing is a good suggestion, I like it. Also, it actually could be configurable so that someone can set it up to rollback always without confirmation. Also, it could check if a deleting table/column really has data in there.


Question: is it possible to annotate objects that act like maps?

Suppose I have a regular object:
var someobj = {
    item1: { name: 'Some Name' },
    item2: { name: 'Some Other Name'},
    item3: { name: 'Yet Another Name'}
};

Is there a way to create a type alias where the values are of a fixed type, but the keys can have arbitrary names?
I'd imagine something like:
type Item = { name: string };
type MyObj = Object<Item>;

Thanks!

yep, { [key: string]: Item }
see http://flowtype.org/docs/objects.html#objects-as-maps


[Question] Codeunit 7312 FindBWPickBin Event OnFindBWPickBinOnBeforeFindFromBinContent

The event OnFindBWPickBinOnBeforeFindFromBinContent has the parameters
local procedure OnFindBWPickBinOnBeforeFindFromBinContent(var FromBinContent: Record "Bin Content"; SourceType: Integer; var TotalQtyToPickBase: Decimal; var IsHandled: Boolean)
but it is called
OnFindBWPickBinOnBeforeFindFromBinContent(FromBinContent, SourceType, TotalQtyPickedBase, IsHandled);
so the TotalQtyToPickBase is actually the TotalQtyPickedBase. Is that an error or intended?

@hindsight2020 , looks like a mistake. I'll add TotalQtyToPickBase as one more parameter in this event.

Thanks for reporting this. We agree, and we’ll publish a fix asap, either in an update for the current version or in the next major release. We will update this issue with information about availability.


[XLA:GPU][ROCm] refactor XLA nvptx_compiler module to extract platform-neutral logic

Introduce GpuVersion per #30238 . Only minimal parts are introduced.
Rename nvptx_compiler to gpu_compiler. gpu_compiler would form the base class for nvptx_compiler and upcoming amdgpu_compiler.
Extract NVPTX-specific logic into nvptx_compiler.
Disable targets which directly import CUDA-only headers such as cholesky_thunk, cusolver_context within bazel scripts.

@thomasjoerg The PR is highly dependent to #30238 and #30326 so I think it'd be better to get those 2 PRs finalized before we thoroughly review this one. I'm posting this PR to initiate discussion.
Much of the HLO optimization pipeline is the same between NVPTX and AMDGPU, while some are platform-dependent:

convolution canonicalization:

CusolverRewriter is only available on CUDA.
CudnnFusedConvRewriter is only available on CUDA. On AMD ROCm platform different fusion kernels are supported so the rewriter would be different.
CudnnConvPadForTensorCores is only available on NV Volta.

post layout assignment:

GemmRewriter and GemmAlgorithmPicker are tailored for Cublas.
CudnnConvAlgorithmPicker is only available on CUDA. On AMD ROCm platform a different pass MIOpenConvAlgorithmPicker would be introduced in subsequent PRs.

apparently recent changes in MLIR has changed the implementation quite a bit. let me rebase and adjust to the new codes.

Inviting @timshen91 as this PR sits on top of #30238. I'm still revising the PR due to recent introduction of mlir_gpu module in TensorFlow.

I'm not faimilar with MLIR-related changes. I guess I'll defer the review to Thomas.

Failures suggest an environment issue. cudnn_conv_algorithm_picker.h is present in TensorFlow mainline but CI Linux GPU claims the header couldn't be found.

@thomasjoerg a gentle ping.

@thomasjoerg I still couldn't get the PR to build properly. We'll always run into this error:
./tensorflow/compiler/xla/service/gpu/nvptx_compiler.h:26:10: fatal error: tensorflow/compiler/xla/service/gpu/gpu_compiler.h: No such file or directory
 #include "tensorflow/compiler/xla/service/gpu/gpu_compiler.h"
          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

But if we add :gpu_copiler into either :nvptx_compiler or :nvptx_compiler_impl we produce cyclical dependency.

@thomasjoerg sorry for all the forced updates to this PR. Now Linux GPU test targets looks better. Instead of letting :gpu_compiler_impl depending on :nvptx_compiler_impl or :amdgpu_compiler_impl I reversed the order.

@thomasjoerg I noticed Linux GPU tests are failing because #31146 was reverted due to failing XLA CUDA. Any chance I can take a look at those failures?

@thomasjoerg a gentle ping. since #31146 was rolled back this PR fails on Linux GPU. may I understand the best process to get both (#31146, #30660) PRs merged? since the test results for "XLA for CUDA" is not visible to me I could only rely on information from you to help steer me forward.


Em 116 - Reference to an X-ray (clinikal backend)

The branch is merged with develop and is ready.