css preprocessor

Based on this slant article and my own previous experience, less seems like the best choice.
Although monterey would not likely use a lot of css, I think we should establish the use of a css pre-processor,

And why does less seem to be the best choice? :smile:

Fair question, Daniel - let's see if I can satisfy you with my answers:

Sass has most :+1: but requires Ruby - and in my opinion that is not good. So, I eliminated Sass because of CON.
Stylus also has a strong CON (Heavily reliant on whitespaces). I am allergic to that.
less strong PROs trivial CONs

Sass doesn't need Ruby anymore.
I'm okay with less, though. :smile:

Jeroen's call - or simple voting should solve this dilemma :-)

I vote for less, because that means we don't have to change a thing :) and it is my preference as well


question: changing invalid message

The "Phone" field is not a valid phone number (example: 03-2385 6789).
Hi may i know if i could change the default message for this? Actually I'm building multi language site, and i would like to change it to use vueI18n as below
$t('The "Phone" field is not a valid phone number (example: 03-2385 6789).')

Since this is a question, I'm closing as answered. Feel free to open a new issue if needed.

Hi there thanks for the response.Yes it was the latest 3.0.5. I tried to follow the documentation, and I'm getting error
TypeError: n.component is not a function
I'm using the example from the docs
const VPhoneInput = createVPhoneInput({
  label: 'Phone number',
  countryLabel: 'Country',
  countryAriaLabel: ({ label }) => `Country for ${label}`,
  invalidMessage: ({ label, example }) =>
    `${label} must be a valid phone number (example: ${example}).`,
})

The only place where a .component is used by the package is inside the Vue plugin registration, so maybe this part of your code is wrong. As a reminder, the VPhoneInput plugin created by createVPhoneInput should be "used" in your Vue app creation, such as:
import 'flag-icons/css/flag-icons.min.css';
import 'v-phone-input/dist/v-phone-input.css';
import { createVPhoneInput } from 'v-phone-input';
import { createApp } from 'vue';

// Vue app creation.
const app = createApp(App);

// VPhoneInput plugin creation.
const VPhoneInput = createVPhoneInput({
  // ... your options ...
});

// VPhoneInput plugin registration.
app.use(vPhoneInput);

// Vue app mounting.
app.mount('#app');

In all cases, it looks like this error has nothing related to the messages customization feature or the package.
Tell me if I can do anything else.


Add Node::getChildNodeByName and Node::getChildNodeByPath

Here's what we discussed in #6672, with a handy addition: the ability to add a node if it's not found (plus this and this fixes).
PS: fix #6672

This is wrong. I'll reopen another PR.

Here's the new PR: #6752


Pytest intellisense doesn't work when using direct imports of fixture, mark

Environment data

Language Server version: 2023.3.10
OS and version: macOS Ventura 13.2
Python version (& distribution if applicable, e.g. Anaconda): 3.10

Code Snippet

import pytest

from pytest import fixture

# picked up by intellisense
@pytest.fixture
def fixture_one():
    return 1

# picked up by intellisense
@pytest.fixture
def fixture_two():
    return 2

# not picked up by intellisense
@fixture
def fixture_three():
    return 3

def test_fixture_intellisense(fixture_one, fixture_two, fixture_three):
    pass

Repro Steps

instead of import pytest and declaring pytest.fixtures or pytest.mark.parametrizes, import those directly using from pytest import fixture, mark.
intellisense won't work on those fixtures / parametrizations

Expected behavior
Intellisense should show all fixtures declared and parameter types regardless of method of import.
Actual behavior
Only fixtures and parameters declared through top level import are automatically shown / typed by intellisense.

The fixtureFinder in pylance should be updated to find the declaration for the decorator instead of just comparing the name.

This issue has been fixed in prerelease version 2023.3.22, which we've just released. You can find the changelog here: CHANGELOG.md


How to disable reformatting of ternary operators?

Since JSBeautify breaks my JSX files, I am using PrettyDiff now for JSX beautification. But there is a behavior that drives me nuts since it conflicts with my linter: the reformat of ternary operators.
PrettyDiff automatically converts this
const a = b ? c : d;

into this
const a =
  ? b
  : c;

Can I disable this?

Pretty Diff has an option named ternaryline that is false by default.  You need to set this to true.  If the option is not exposed to Atom Beautify then you will need to create a pull request to add the option in.

The ternaryline option is available: https://github.com/Glavin001/atom-beautify/blob/master/src/beautifiers/prettydiff.coffee#L43
It is called preserve_ternary_lines.

Thanks for the fast reply. Worked.
Is there also an option to prevent object literals from collapsing? I guess it's the formatObject option of PrettyDiff. Could not find this in the .coffee file.

Glad to hear!
If you know the option for Pretty Diff and see it is missing support in Atom-Beautify, please feel free to submit a Pull Request adding support. Let us know if you have any questions! Take a look at https://github.com/Glavin001/atom-beautify/blob/master/docs/add-languages-and-beautifiers.md#how-to-add-a-beautifier-for-a-language to get started.

Great, will try my best :-)


Refactor *Parser classes

Codecov Report
Base: 55.02% // Head: 54.98% // Decreases project coverage by -0.04% :warning:

Coverage data is based on head (b20d93f) compared to base (41201fb).
Patch coverage: 85.71% of modified lines in pull request are covered.

Additional details and impacted files
@@             Coverage Diff              @@
##             master     #418      +/-   ##
============================================
- Coverage     55.02%   54.98%   -0.05%
  Complexity      896      896
============================================
  Files           182      182
  Lines          4031     4025       -6
  Branches        532      532
============================================
- Hits           2218     2213       -5
+ Misses         1699     1698       -1
  Partials        114      114

Impacted Files
Coverage Δ

...logic/parser/DisplayTasksGenericCommandParser.java
0.00% <0.00%> (ø)

...n/java/seedu/uninurse/logic/parser/ParserUtil.java
63.63% <86.36%> (-0.55%)
:arrow_down:

...uninurse/logic/parser/AddGenericCommandParser.java
28.57% <100.00%> (ø)

...nurse/logic/parser/DeleteGenericCommandParser.java
21.42% <100.00%> (ø)

...ninurse/logic/parser/EditGenericCommandParser.java
21.42% <100.00%> (ø)

...du/uninurse/logic/parser/EditTagCommandParser.java
100.00% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


Some cookie auth improvements

Cherry-picked from #123

Codecov Report

Merging #126 into master will not change coverage.
The diff coverage is 80%.

@@           Coverage Diff           @@
##           master     #126   +/-   ##
=======================================
  Coverage   96.28%   96.28%
=======================================
  Files          22       22
  Lines        1453     1453
=======================================
  Hits         1399     1399
  Misses         37       37
  Partials       17       17

Impacted Files
Coverage Δ

chttp/chttp.go
95.37% <0%> (ø)
:arrow_up:

chttp/auth.go
91.48% <100%> (ø)
:arrow_up:

Continue to review full report at Codecov.

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


Release the HMAC SHA256 changes?

Hi,
Would it be possible to cut a release with the HMAC-SHA256 signing capability?
Cheers,
Chris

Hey! Thanks for creating the issue, I will try to get to this done soon.

Thank you, Matt. I've been using the HMAC-SHA256 signing with Magento 2.4, and it's working well.


[Function Expose] codeunit 6529 "Item Tracking Navigate Mgt." - FindPostedWhseShptLine

In codeunit 6529 "Item Tracking Navigate Mgt." please change the visibility of the procedure FindPostedWhseShptLine to global.
Thank you

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. Please do not reply to this, as we do not monitor closed issues. If you have follow-up questions or requests, please create a new issue where you reference this one.


Please add support for envkey

https://github.com/envkey/envkey-node
For some reason, it doesn't pick up on the binaries needed. Presently the integration test:
require('envkey')

fails with
  ● should correctly trace and correctly execute envkey.js

    expect(received).toBe(expected) // Object.is equality

    Expected: 0
    Received: 1

      51 |     });
      52 |     const code = await new Promise(resolve => ps.on('close', resolve));
    > 53 |     expect(code).toBe(fails ? 1 : 0);
         |                  ^
      54 |     rimraf.sync(tmpdir);
      55 |   });
      56 | }

Hi @shamoons
With ZEIT Now, you don't need to include this package because this feature is built into the platform.
You can add secrets and environment variables to a team/personal account and then these will be made available securely during now cloud deployments as well as now dev for local development.
The envkey package is over the 50MB limit so it likely won't work anyway.

@styfle now -e is pretty cool. But when there are many secrets (20-50), it gets very cumbersome to have to reproduce in now.json, build, etc. I believe @danenania is working on reducing the file size. I forked it and removed the unnecessary binaries: https://github.com/shamoons/envkey-node

Sounds like the fork will solve the issue then? I'll go ahead and close this 👍


Integrate participant info form

Notion ticket link

Integrate Participant Information Form With Backend

Implementation description

Allows users to enter information in the form fields and saves them to local storage (NOTE: there is currently a bug with rendering the checkboxes/radio buttons correctly on refresh using local storage - potentially a Chakra bug?)
Upon completion of the form, the data is sent to the backend and saved in the database
No frontend validation yet - only backend validation

Steps to test

Checkout the branch
Login and fill out the form - ensure that you are authenticated!
Verify that the request was correctly sent via Postman

What should reviewers focus on?

Checklist

[x] My PR name is descriptive and in imperative tense
[x] I have run the linter
[x] I have requested a review from the PL, and/or other devs who have background knowledge on this PR or who will be building on top of this PR

I think I fixed the outstanding bugs so it looks good to me now! Thanks a bunch @feng-eric for helping to address the comments while I'm away


Bug in date calculator

Describe the bug
If a date before the date in from column is entered in to column it shows wrong difference.
Possible solution

Describe the solution you thought of.
It should show the right difference between the days no matter whether the date is of past or future.

Please go ahead with the issue :)


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/65077

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/80650


Document recommendations regarding downgrading of monitoring chart

Downgrading between certain versions of our monitoring chart is not recommended for a few reasons. This should be documented in an official place.

It will reintroduce previously fixed CVE's and bugs
Some versions of monitoring have introduced new fields and there is no clean way to move back from that.

@dbason and @MKlimuszka - How is this still in v2.7.7? Did the documentation ever get completed? If not, we need to move it out of this milestone immediately and put it where it belongs.

@recena , do any charts support downgrading? We originally filed this ticket because there were a bunch of users downgrading monitoring and running into problems. But maybe this is a general issue with charts that should be documented and not just monitoring.

@MKlimuszka No, we can't support the downgrade of chats.

Since this documentation clarification applies to all charts, not just monitoring, I am reassigning to the Mapps team.


feat: set pruned mode as default

Description
Set the pruned mode as the default,
Motivation and Context
Pruned mode should be the default for LP as users should be up and running as quickly as possible, either running it for the first time or starting it up after being absent for a long time. Recently horizon sync has been fully implemented after the Merkle tree upgrade to SMT and is now working properly.
How Has This Been Tested?
System-level testing

Closing in favour of submitting it again after mainnet has been live for 1+ year


Test | Unit Test for decrypt failure to drain data fix

This PR is for unit test of PR #2618.

/azp run


Fix typo in pagination section

"v1 and v1 will be returned" -> "v1 and v2 will be returned"
Fixes #94.

Looks like I need to check this out to sign it properly. Should only take a minute...

LGTM


Fix deprecations in tests fixtures from sklearn 1.4.0 [GSK-2625]

Little problems with our test fixtures:

Compatibility problem with imbalanced learn which we use in one fixture (new release should be out soon, see https://github.com/scikit-learn-contrib/imbalanced-learn/issues/1057)
Updated the lbfgs solver causes some very little modifications of the fitted coefficients, in one case this affected our tests (one more reason to save the trained models as fixtures instead of rerunning the full training for each build…)

Nothing affecting the library from what I see.

Updated version of imbalanced-learn is now released:
https://github.com/scikit-learn-contrib/imbalanced-learn/releases/tag/0.12.0
Will re-enable our previously broken fixture


Add Magix mediator

If the mediator is not defined in yaml definition, it must be automatically added via defaults when NoxSolutionBuilder builds.

Done


[minor] [core] Warn users who try to cache RDDs with dynamic allocation on.

Example:
scala> val rdd = sc.parallelize(1 to 100).cache()
15/04/28 12:03:34 WARN SparkContext: Dynamic allocation currently does not support cached RDDs. Cached data for RDD 0 will be deallocated when executors are removed.

Merged build triggered.

Merged build started.

Test build #31152 has started for   PR 5751 at commit 9efb9da.

Minor comment.  Otherwise LGTM.

Merged build triggered.

LGTM

Merged build started.

LGTM

Test build #31158 has started for   PR 5751 at commit 554cc07.

Test build #31152 has finished for   PR 5751 at commit 9efb9da.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31152/
Test PASSed.

Merged build finished. Test PASSed.

I merged this into master 1.3 and all the way back to 1.2 thanks.

Test build #31158 has finished for   PR 5751 at commit 554cc07.

This patch fails Spark unit tests.
This patch merges cleanly.
This patch adds no public classes.
This patch does not change any dependencies.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder/31158/
Test FAILed.

Merged build finished. Test FAILed.


Build RHEL 8 on RHEL 8 builders

This resolves some Qualys scan failures related to FedRAMP
Signed-off-by: Tim Smith<EMAIL_ADDRESS>

https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/3727

Blocked on perl failing to compile

Blocked on perl failing to compile

I seem to recall running into this a long time ago with Cinc. I may have opened an old PR in omnibus-software at some point or an issue?

We have the new Perl release in omnibus-software now. We just need to test it together with sqitch to make sure we don't break any functionality. We're going from a 2013 Perl to a 2019 Perl so there's a high chance that something breaks.

https://buildkite.com/chef/chef-chef-server-main-omnibus-adhoc/builds/3906

Closing this out since it's not working and we have the blocker identified.


(fix): avoid null pointer in GhidraHelpService#mapHelpToModule

(fix): avoid null pointer in GhidraHelpService#mapHelpToModule
Background
I suppose this is an unexpected case.
I ran into this while developing a Ghidra plugin, where Ghidra was failing to launch due to a null URL in a Set<URL> in GhidraHelpService#mapHelpToModule(Collection, Set).
Proposed fix
The patch utilizes the Streams API and maintains the original goals of finding URLs containing module names, while also filtering out null URLs. The filtered URL stream is collected back into a Set<URL> , which will then update allHelpSets appropriately.

The original issue is what I'd like to understand.
The URLs retrieved from the ResourceManager should not contain any null values.    I have only seen this one time and that was related to a ClassLoader issue, which we resolved.   ResourceManager.getResources("help", "hs"); should never return any null values.  If that is happening, then the system will be in an unreliable state.
If ResourceManager.getResources() can fail for plugin writers under certain conditions, then we'd like to know about it so that we can fix the issue at that level.     Do you know how you got into this state?

The original issue is what I'd like to understand.
The URLs retrieved from the ResourceManager should not contain any null values. I have only seen this one time and that was related to a ClassLoader issue, which we resolved. ResourceManager.getResources("help", "hs"); should never return any null values. If that is happening, then the system will be in an unreliable state.
If ResourceManager.getResources() can fail for plugin writers under certain conditions, then we'd like to know about it so that we can fix the issue at that level. Do you know how you got into this state?

I'm actually unsure. I had just set up a new plugin and it was working fine. I moved a few project files, ran it, and there were still no errors launching Ghidra (through the Eclipse run task).
I stepped away from writing the [plugin], and when I came back to it, it started failing -- which is why I'm unsure. I don't know too much about how this could have possibly occurred, but I ended up stepping through the failure and can provide this much:

The HashSet<URL> allHelpSets has a key value of null at index <0>. The function throws a null pointer exception during the 6502 module (which I presume may be the first module iterated).
All files that retrieved from ResourceManager#getResources(String, String) seem to be fine while stepping through. This is also verified by the fact that the debug message (on fail) was not printed. However, ResourceManager#getResource(List, String) could potentially return null. So I think a null-check should be appropriate, anyways.

Exception
ERROR Error: Uncaught Exception!
NullPointerException - Cannot invoke "java.net.URL.toExternalForm()" because "url" is null (SwingExceptionHandler) java.lang.NullPointerException: Cannot invoke "java.net.URL.toExternalForm()" because "url" is null
	at ghidra.base.help.GhidraHelpService.mapHelpToModule(GhidraHelpService.java:120)
	at ghidra.base.help.GhidraHelpService.findHelpSetsByModule(GhidraHelpService.java:104)
	at ghidra.base.help.GhidraHelpService.loadHelpSets(GhidraHelpService.java:85)
	at ghidra.base.help.GhidraHelpService.<init>(GhidraHelpService.java:60)
	at ghidra.base.help.GhidraHelpService.install(GhidraHelpService.java:51)
	at ghidra.GhidraRun.lambda$launch$1(GhidraRun.java:82)
	at java.base/java.lang.Thread.run(Thread.java:833)

However, ResourceManager#getResource(List, String) could potentially return null. So I think a null-check should be appropriate, anyways.

This is the important part.   Technically, a null return value is possible, due to this code:
	public static URL getResource(String filename) {
		URL url = classLoader.getResource(filename);
		if (url != null) {
			return url;
		}

		url = getResource(getTestSearchPaths(), filename);
		return url;
	}

However, under normal conditions, this should not happen.    If you are willing to debug the code, I 'd like to know when this method returns null.   (Presumably it is because filename was found by Ghidra inside of getResourceNames(), but classLoader.getResource(filename); did not find the resource.  Thus, somehow the class loader and the resource manager are out of sync.

Sorry for going MIA for a few days. I looked into this, and I can't exactly pinpoint this because that method specifically  potentially returns null for multiple HelpSets (incl. the Base HelpSet)
First null return of ResourceManager#getResource(String)

The HashSet allHelpSets in GhidraHelpService#mapHelpToModule

None of the URLs in the image are URLs I saw, originally, when the exception was thrown. Also, this exception is only thrown in Eclipse which probably points the resolution issues might have to do with GHelpClassLoader, since it's specifically a helper for runs inside of Eclipse (?).
However, I'm pretty sure there is definitely a possibility the class loader / resource manager is out of sync with something since Jython's import hooks feature does not work. This is backed by attempting to load a JAR in a GhidraScript (via a URLClassLoader) -- the script runner does not recognize classpath changes.

Interesting.   You should be able to find the spot in this method where that file is being added and see where the code is finding a match:
	private static Set<String> doGetResourceNames(List<String> paths, String resourceDirName,
			String extension) {

		// check the system resource paths first
		Set<String> set = new HashSet<>();

		// now search the path entries
		for (String path : paths) {

			if (!StringUtils.endsWithAny(path.toLowerCase(), ".jar", ".zip")) {

				// maybe a directory
				String classpathDirectoryEntry = path + File.separator + resourceDirName;
				File f = new File(classpathDirectoryEntry);
				findResources(set, f, resourceDirName, extension);
				continue;
			}

			// jar/zip
			File file = new File(path);
			try {
				if (file.exists()) {
					searchJarFile(set, file, resourceDirName, extension);
				}
			}
			catch (IOException e) {
				Msg.error(ResourceManager.class, "Unable to search compressed file", e);
			}
		}
		return set;
	}

If the match is from a directory then it will be added in the call to findResources().  If in a jar file then it will be added in the call to searchJarFile.


Enhancement: Compile the game without Visual Studio.

Please check for duplicates or similar issues before creating this issue.
I don't think there are any... But also i read that u needed to do this for windows on the github page but i cant be sure
What is your suggestion, and why should it be implemented?
I am going to use Atom as my editor of choice to edit the .hx files and according to the github page i have to install Visual Studio Code 2019 in order to build to windows. however, i REALLY do not want to do this as something i will not even use will take up space on my computer. Is there a way around this that you could tell me or can you patch it out in the next update?

no.


ssh_config and proxycommands throw a traceback

[ssh_runner]
remote_dir = /tmp
use_ssh_config = true
ssh_config_file_path = /home/eedgar/.ssh/config

config contains
Host na01_useast1
HostName bastion.test.com
ForwardAgent yes
Host 10.12.*
UserKnownHostsFile=/dev/null
StrictHostKeyChecking no
ProxyCommand ssh -q -W %h:%p na01_useast1

st2 run core.remote cmd=whoami hosts=<IP_ADDRESS>
2017-06-28 13:48:51,304 DEBUG [-] Runner dispatch produced result: {'traceback': ' File "/home/eedgar/st2/st2actions/st2actions/container/base.py", line 91, in _do_run\n runner.pre_run()\n File "/home/eedgar/st2/st2common/st2common/runners/paramiko_ssh_runner.py", line 145, in pre_run\n self._parallel_ssh_client = ParallelSSHClient(**client_kwargs)\n File "/home/eedgar/st2/st2common/st2common/runners/parallel_ssh.py", line 66, in init\n connect_results = self.connect(raise_on_any_error=raise_on_any_error)\n File "/home/eedgar/st2/st2common/st2common/runners/parallel_ssh.py", line 96, in connect\n raise NoHostsConnectedToException(msg)\n', 'error': 'Unable to connect to any one of the hosts: [u\'10.12.X.X\'].\n\n connect_errors={\n "10.12.X.X": {\n "failed": true, \n "traceback": "Traceback (most recent call last):\n File \"/home/eedgar/st2/st2common/st2common/runners/parallel_ssh.py\", line 248, in _connect\n client.connect()\n File \"/home/eedgar/st2/st2common/st2common/runners/paramiko_ssh.py\", line 138, in connect\n self.client = self._connect(host=self.hostname, socket=self.bastion_socket)\n File \"/home/eedgar/st2/st2common/st2common/runners/paramiko_ssh.py\", line 634, in _connect\n raise SSHException(msg)\nSSHException: Error connecting to host 10.12.X.X with connection parameters {\'username\': \'eedgar\', \'key_filename\': \'/home/eedgar/.ssh/id_rsa\', \'allow_agent\': False, \'hostname\': u\'10.12.X.X\', \'sock\': <paramiko.proxy.ProxyCommand object at 0x7f27b454be50>, \'look_for_keys\': False, \'timeout\': 60, \'port\': 22}.Paramiko error: \"ProxyCommand (ssh -q -W 10.12.X.X:22 na01_useast1)\" returned non-zero exit status: Broken pipe.\n", \n "timeout": false, \n "succeeded": false, \n "stdout": "", \n "stderr": "", \n "error": "Connection error. Error connecting to host 10.12.X.X with connection parameters {\'username\': \'eedgar\', \'key_filename\': \'/home/eedgar/.ssh/id_rsa\', \'allow_agent\': False, \'hostname\': u\'10.12.X.X\', \'sock\': <paramiko.proxy.ProxyCommand object at 0x7f27b454be50>, \'look_for_keys\': False, \'timeout\': 60, \'port\': 22}.Paramiko error: \"ProxyCommand (ssh -q -W 10.12.X.X:22 na01_useast1)\" returned non-zero exit status: Broken pipe.", \n "return_code": 255\n }\n}'}

we are just trying to setup a ssh jumphost and reuse the ssh_config for that.

https://github.com/paramiko/paramiko/issues/337
https://github.com/paramiko/paramiko/issues/389

Workaround
diff --git a/st2common/st2common/runners/paramiko_ssh.py b/st2common/st2common/runners/paramiko_ssh.py
index 599d0af..6038619 100644
--- a/st2common/st2common/runners/paramiko_ssh.py
+++ b/st2common/st2common/runners/paramiko_ssh.py
@@ -125,6 +125,13 @@ class ParamikoSSHClient(object):
False otherwise.
:rtype: bool
"""

   ssh_config_file_info = {}

   if cfg.CONF.ssh_runner.use_ssh_config:

       ssh_config_file_info = self._get_ssh_config_for_host(self.hostname)

       if 'bastion_host' in ssh_config_file_info:

           self.bastion_host = ssh_config_file_info['bastion_host']

   if self.bastion_host:
       self.logger.debug('Bastion host specified, connecting')
       self.bastion_client = self._connect(host=self.bastion_host)

@@ -661,7 +668,13 @@ class ParamikoSSHClient(object):
ssh_config_info['identityfile'] = key_file
         if 'proxycommand' in ssh_config:

           ssh_config_info['sock'] = paramiko.ProxyCommand(ssh_config['proxycommand'])

           # This is an ugly hack as paramiko.ProxyCommand isnt working :/

           # Assumes proxy command of ssh -W %h %p bastion

           proxy_command_split = ssh_config['proxycommand'].split()

           if proxy_command_split[0] == 'ssh':

               ssh_config_info['bastion_host'] = ssh_config_parser.lookup(proxy_command_split[-1])['hostname']

           #ssh_config_info['sock'] = paramiko.ProxyCommand(ssh_config['proxycommand'])

   return ssh_config_info


add some comments and make all pointer accesses volatile

Existing Sample Changes
Description
improve commenting in Nios® V softcore processor code and add volatile keyword to pointer accesses to make them proof against future user modifications.
Fixes Issue#
External Dependencies
List any external dependencies created as a result of this change.
Type of change
Please delete options that are not relevant. Add a 'X' to the one that is applicable.

[ ] Bug fix (non-breaking change which fixes an issue)
[X] New feature (non-breaking change which adds functionality)
[ ] Implement fixes for ONSAM Jiras

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[X] Command Line
⚠ Note: I did not run the regtest since I didn't change any of the SYCL code and the local command-line checks passed.
[ ] oneapi-cli
[ ] Visual Studio
[ ] Eclipse IDE
[ ] VSCode
[ ] When compiling the compliler flag "-Wall -Wformat-security -Werror=format-security" was used

@whitepau Did you need me to approve this?

yes please approve this.


Date Edit Not working in IE

Hi ,In our react we are trying to do the Date field edit. It is working fine in the Chrome but not in IE.
tried the same with story book in IE, getting the same issue . Is this expected that or i am missing something.

IE VERSION : 11

@BharahthyKannan, it's expected issue, because https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/date is not compatible on all browser. it's just a quick implement for this feature(Date editor), so far the workaround is you probably need to custom the date editor. I will spend some time to fix this issue. thanks

@AllenFang i tried customizing the date editor , still it is not consistent in IE. especially the date picker part.
Any pointers, if you could fix this in the package as early as possible then it would be really helpful as most of the tables in our project we decided to use this component

@BharahthyKannan so far I'm quite busy on my work so not sure about the time estimation. In my opinion, this issue eventually will fix but for IE case currently, so I will suggest you to implement a custom editor, you can use any third party date editor which is support IE. that will be the best workaround so far.
Actually, I don't like IE so much, they always behind the standards...

@AllenFang I re tried with react date picker in custom editor. It worked well in IE. Thanks for your suggestion .

@BharahthyKannan  could you kindly share your code here?

@AllenFang I re tried with react date picker in custom editor. It worked well in IE. Thanks for your suggestion .

@BharahthyKannan Can you share what you did? Thanks


feat: include instance and system attrs with DB stats

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

10 of 10 (100.0%)  changed or added relevant lines in 2 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 87.227%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
6194

Relevant Lines:
7101

💛  - Coveralls


Write a hook to accept a parameter and return value for that key from url parameter

Please help write a hook to accept a parameter and return value for that key from url parameter. This will be useful in the Garden component, for example, so that we can grab a garden id from a param in the url, query the graphql server, and return info on a particular garden.

Hey @capndave I can work on this for hacktoberfest ✌

Quick question. Since the "/garden" route is established in the index, is there any reason not to get the url param from the Route Props and pass that to the garden component, (or which ever component needs a parameter from url)?

example

<Route path="/garden/:gardenId?/:someOtherParam?" render={(routerProps) => (
    // pass match.params into component as prop from routerProps
    <Garden urlParams={routerProps.match.params} />
  )}
/>

then inside Garden component

export function Garden(props) {
  // run query to graphQL
  // using gardenId param in urlParams from props
  const data = runSomeQuery(props.urlParams.gardenId);

  return (

{data.gardenName}

      {data.gardenInfo}

  )
}

Otherwise, this hook would require you to pass in both the param name you want the value from, and the match property from routerProps. Apologies if I'm misunderstanding the issue. If I'm missing something, let me know where I'm off, and help me clarify what you're looking for. Thanks ~Keith

Keith - you're absolutely right. Perhaps this issue is moot
On Thu, Oct 1, 2020, 3:47 PM heykc<EMAIL_ADDRESS>wrote:

Quick question. Since the "/garden" route is established in the index, is
there any reason not to get the url param from the Route Props and pass
that to the garden component, (or which ever component needs a parameter
from url)?
example
<Route path="/garden/:gardenId?/:someOtherParam?" render={(routerProps) => (
// pass match.params into component as prop from routerProps

)}
/>
then inside Garden component
export function Garden(props) {
// run query to graphQL
// using gardenId param in urlParams from props
const data = runSomeQuery(props.urlParams.gardenId);
return (

{data.gardenName}
{data.gardenInfo}

)
}
Otherwise, this hook would require you to pass in both the param name you
want the value from, and the match property from routerProps. Apologies if
I'm misunderstanding the issue. If I'm missing something, let me know where
I'm off, and help me clarify what you're looking for. Thanks ~Keith
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/capndave/gardenbuilder-frontend/issues/3#issuecomment-702388235,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTOOZMIAXCTRJS5LACT56LSITTFNANCNFSM4RSMTIWQ
.

@heykc one can definitely pass this as a parameter in this case, but when routed to the Garden component the garden id will also be a part of the URL. I'd rather pull the parameter from the URL than as a passed property, partly because using this strategy we won't need to store the garden id of the selected garden (from the Gardens component) in state anywhere.
I'd like to do this in several components, actually, so it would be good to have a hook or a reusible function that accepts a url parameter name as an argument and returns the value associated with that key.
Did that answer your question? Let me know if not. I've reopened this issue.

Sorry that was my mistake for writing it out as if we needed to pass it through to our component manually. with React Router, those url parameters automatically are passed over to your rendered component by default. so in the index file you already have this:
<Route path="/garden" component={Garden} />

now if you wanted to designate parameters, you would need to either assign required or optional param names in the path of this route like so
<Route path="/garden/:gardenId" component={Garden} />

This way we aren't physically adding a prop to our Garden component and we can still access the garden ID by referencing props.match.params.gardenId anywhere in our Garden component. Otherwise, without using React Router's built in access to the URL, I'm not sure how to break up the URL by param name. Even if we grabbed the url by calling window.location.pathname and splitting the string at every "/" character, there's still no way to define them by name as they will just be an array of values.
Actually, can I get an example of what a URL might look like? Would the garden ID be a query param like so:
http://example.com/garden?id=12345
or would it look more like a subdirectory of garden like so:
http://example.com/garden/12345
If it's the former than I've been sorely mistaken this whole time and we can definitely use a hook to handle breaking up the params without the use of react router lol
Let me know, thanks!

It will look like http://example.com/garden?id=12345. I thought it was already in that format, actually, but I am mistaken! I'll update the url assignment in Garden.js to ensure that structure.

Ok it's updated.

Ok I wasn't really aware that React Router injected properties like that. If pulling the id parameter is that simple, I guess we don't need a dedicated hook/function'

Not entirely true, if you are planning on having the ids come from a search param like you mentioned i.e. http://example.com/garden?id=12345 we would still have to parse the url via our own made parser or using a package like query-string. In that case, a hook would be a little cleaner to understand rather than knowing when to import the query-string if we need it.
an example of the hook
import qString from 'query-string';

const useUrlParam = (paramName) => {
  const params = qString.parse(location.search);
  return params[paramName] || null;
}

export {useUrlParam};

and in use:
import useUrlParam from './path/to/useUrlParam';

export function Garden(props) {
  // run query to graphQL
  // using gardenId param in urlParams from props
  const data = runSomeQuery(useUrlParam('gardenId'));

  return (

{data.gardenName}

      {data.gardenInfo}

  )
}

using the hook like so would be more declarative for the components rather than parsing the search params manually for every component you want to use it in.

Great, want to bust that out?
On Fri, Oct 2, 2020, 4:58 PM heykc<EMAIL_ADDRESS>wrote:

Not entirely true, if you are planning on having the ids come from a
search param like you mentioned i.e. http://example.com/garden?id=12345
we would still have to parse the url via our own made parser or using a
package like query-string. In that case, a hook would be a little cleaner
to understand rather than knowing when to import the query-string if we
need it.
an example of the hook
import qString from 'query-string';
const useUrlParam = (paramName) => {
const params = qString.parse(location.search);
return params[paramName] || null;}
export {useUrlParam};
and in use:
import useUrlParam from './path/to/useUrlParam';
export function Garden(props) {
// run query to graphQL
// using gardenId param in urlParams from props
const data = runSomeQuery(useUrlParam('gardenId'));
return (

{data.gardenName}
{data.gardenInfo}

)
}
using the hook like so would be more declarative for the components rather
than parsing the search params manually for every component you want to use
it in.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/capndave/gardenbuilder-frontend/issues/3#issuecomment-702975191,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ADTOOZIQVWQTB2PUVFVUJFTSIZEGZANCNFSM4RSMTIWQ
.


chore: Bump non-solana dependencies

re-running the failed core test for now to see what happens

It's the git diff for the lock file

I'm not totally familiar with the git diff test. Is it something that can be fixed easily?

It's to see the difference between two commits but I don't understand their use in the tests. I think it will be fixed after the merge but to check maybe need to ask @armaniferrante


az login using WAM fails

Describe the bug
Trying to login using the Web Account Manager fails with the below error message.
Command Name
az login
Errors:
Unexpected exception while waiting for accounts control to finish: (pii). Status: Response_Status.Status_Unexpected, Error code: -1247023584, Tag: 528315211

To Reproduce:
Steps to reproduce the behavior. Note that argument values have been redacted, as they may contain sensitive information.

Put any pre-requisite steps here...

az config set core.allow_broker=true
az account clear
az login

Expected Behavior
A login window should appear allowing the user to enter their credentials.
Environment Summary
Windows-10-10.0.19042-SP0
Python 3.10.10
Installer: MSI

azure-cli 2.46.0

Additional Context

@jiasli for awareness

@MoMcheimech , can you run az login --debug and send the log to @jiasli ? CC: @msamwils

@MoMcheimech, you may send the debug log to<EMAIL_ADDRESS>

Done

Hi @MoMcheimech, one thing I would like to check before asking for more logs:
Are you still able to re-produce this issue if you are running in the non-admin powershell or not using "run as"?
Thanks.

Hi @MSamWils. No, I can only replicate it when I am running PowerShell as admin.

We identified a known issue in the windows operating system where using runas the account that is not exists in the same NT session will fail to obtain the token. We are rising this concern with Windows team and have an ask to them on prioritize the fix.

This worked for me. The login was different but it worked
az account clear
az config set core.enable_broker_on_windows=false
az login

source: https://learn.microsoft.com/en-us/cli/azure/authenticate-azure-cli-interactively#sign-in-with-web-account-manager-wam-on-windows


Task3

@Naveenchitikela
Task -3
Code verified. Provide a annotations
Task -4
Code verified. Provide a annotations
Note:
Annotations in UiPath are comments or notes added to activities to explain what they do. These annotations help make the workflow more understandable for anyone who might be reading or maintaining the workflow in the future
How to add annotations : Click on three dots in activity then choose “Annotations” then “Add annotations option” then you add annotations to your activitiy.


Is this project still active?

A half a year later and I am now kicking off the replacement to this project:
https://github.com/zbyte64/python-restmore
Still ended up using some mixins, but at a more sane level. Each mixin has their own separated concerns and do not cross orchestrate super calls.
I plan on packaging up a reactjs client to work with the library (but really it will just be a schema JSON CRUD client).
But still lots of work to be done. I am sprinting on this for pycon.


Config/Setting Revamp

Added type to every setting to aid in parsing and recognizing bad user configuration options (SettingsHelper.js)

Settings is now persistent and backed by localStorage on clients with vuex

Settings fall back to config if user hasn't defined them

More configurable values:

slPlayerForceTranscode
slPlayerVolume
slPlayerQuality
syncFlexibility
syncMode
clientPollInterval
autoplay

A bunch of minor vuex state gets, actions simplified by using mapGetters, mapActions

I've made so much more progress on the start of this rewrite in my other branch which I will do a PR (eventually). There are a few bugs in here that are fixed in the other branch and I don't want to backport them here.


QSP-2 Signed Message May Be Replayed Across Chains

You will need to make changes to all places in protocol where this module is being called.
packages/governance-sdk/src/LazyMintModuleContract.ts

https://github.com/GoHypernet/hypernet-protocol/search?q=lazyRegister


Add WireGuard by @GETandSELECT

[x] Project URL: https://github.com/WireGuard/wireguard-apple (mirror)
[x] Update contents.json instead of README
[x] One project per pull request
[x] Screenshot included
[x] Avoid iOS or open-source in description as it is assumed
[x] Use this commit title format if applicable: Add app-name by @github-username
[x] Use approved format for your entry

Thank you
Sent with GitHawk


Added Favicons

Now favicon can be seen in the browser tabs.

So you mean that I have to keep all CSS file in the static folder.
And html file in the template??

Yep. You could have a static .html file directly in ui/ but it would be something like a static web page linked from another page.
Think of it like this. The files in ui/template are not complete and will be rendered and then placed in the ui/ folder. That's not really what happens, but conceptually that's how it works.

Where should I place the favicon in?

Since favicons are not dynamic, they should go in the src/ui folder


Cannot create new marketplace in Docker image with TomEE if Marketplace ID is empty

[Version]
OSCM 17.4.0
Docker image with TomEE
[How to reproduce]
Login as Platform Operator
Go to Create marketplace
Fill up Name and Organization ID
Click Save button
[Expected result]
New marketplace is created
[Observed result]
Red message "Value is required"
The marketplace is not created
[Details]

It is working with ESCM (as described above) and
in OSCM if I filled "Marketplace ID" field - but the field should not be required

It does not reproduce in our environment.
Version: CE UNIT FOR GITHUB RELEASE-125-20170908121207

@kwodzynski - I cannot reproduce this error either
Are you sure that you did not find the error that I already reported with tenant ID?

I forgot to write, it does occur on Docker image with TomEE. I have corrected the description of this bug and I will check it with environment with Glassfish 4.

Ok, I checked it with environment with Glassfish 4 in Internal and Saml mode. In both cases the functionality is working correctly, so it is probably problem with Docker image with TomEE.
@SylviaDehn I do not think that it is related with #831 because the Docker image is in Internal mode.

I also have this issue with TomEE

This bug is evident. Marketplace ID has to be an optional field. The save button is correctly enabled as soon as the user fills the required organization. However the form validation refuses leaving the ID field blank. Please fix this logic.

Added missing empty string check in \org\oscm\marketplace\bean\MarketplaceServiceBean.java.

Tested with Docker image 17.5 2017/11/02. It works correctly


feat: add graceful shutdown

For someone may need it, this PR will add feature for stop container exit gracefully.
This issue has been discussed in #947 as well.

Amazing PR!
This would go well in the Coolify API too!

Thank you for the PR!


Motivation for Nix build / better support for macOS?

On macOS Sierra, cloning off HEAD and doing stack install has given me errors for:

icu4c https://github.com/haskell/haskell-ide-engine/issues/275
(std)c++
zlib

Since I have Nix on my machine my workaround was adding:
nix:
  enable: true
  packages: [ icu libcxx zlib ]

to stack.yaml as well as forking + patching charsetdetect-ae and add my forked charsetdetect-ae with the patch as an extra dependency.
diff --git a/charsetdetect-ae.cabal b/charsetdetect-ae.cabal
index 4ecf7d9..e9cab69 100644
--- a/charsetdetect-ae.cabal
+++ b/charsetdetect-ae.cabal
@@ -87,7 +87,7 @@ Library
           else
             extra-libraries:    stdc++-6 gcc_s_dw2-1
         else
-          extra-libraries:      stdc++
+            extra-libraries:    c++

         Include-Dirs:           libcharsetdetect
                                 libcharsetdetect/mozilla/extensions/universalchardet/src/base

Perhaps this is a motivation for also supporting a Nix build file for the project?
Related: https://github.com/haskell/haskell-ide-engine/issues/117

+1. I've tried following the instructions in the readme but I'm still getting errors building on macOS:
--  While building package haskell-lsp-<IP_ADDRESS> using:
      /Users/ismailmustafa/.stack/setup-exe-cache/x86_64-osx/Cabal-simple_mPHDZzAJ_<IP_ADDRESS>_ghc-8.0.2 --builddir=.stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS> build lib:haskell-lsp exe:lsp-hello --ghc-options " -ddump-hi -ddump-to-file"
    Process exited with code: ExitFailure 1
    Logs have been written to: /Users/ismailmustafa/Desktop/projects/haskell-ide-engine/.stack-work/logs/haskell-lsp-<IP_ADDRESS>.log

    Configuring haskell-lsp-<IP_ADDRESS>...
    Preprocessing library haskell-lsp-<IP_ADDRESS>...
    [ 1 of 10] Compiling Language.Haskell.LSP.TH.Constants ( src/Language/Haskell/LSP/TH/Constants.hs, .stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/build/Language/Haskell/LSP/TH/Constants.o )
    [ 2 of 10] Compiling Language.Haskell.LSP.TH.ClientCapabilities ( src/Language/Haskell/LSP/TH/ClientCapabilities.hs, .stack-work/dist/x86_64-osx/Cabal-<IP_ADDRESS>/build/Language/Haskell/LSP/TH/ClientCapabilities.o )
    <command line>: can't load .so/.DLL for: /Users/ismailmustafa/.stack/snapshots/x86_64-osx/nightly-2017-06-16/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHStext-icu-<IP_ADDRESS>-EllpGYmNw3bJ3FIJMPisuJ-ghc8.0.2.dylib (dlopen(/Users/ismailmustafa/.stack/snapshots/x86_64-osx/nightly-2017-06-16/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHStext-icu-<IP_ADDRESS>-EllpGYmNw3bJ3FIJMPisuJ-ghc8.0.2.dylib, 5): Library not loaded: /usr/local/opt/icu4c/lib/libicuuc.58.dylib
      Referenced from: /Users/ismailmustafa/.stack/snapshots/x86_64-osx/nightly-2017-06-16/8.0.2/lib/x86_64-osx-ghc-8.0.2/libHStext-icu-<IP_ADDRESS>-EllpGYmNw3bJ3FIJMPisuJ-ghc8.0.2.dylib
      Reason: image not found)

@ismailmustafa You'll need to have icu4c available if you're on macOS, relevant README section: https://github.com/haskell/haskell-ide-engine#installation
Alternatively if you have Nix you can do what I did above with Stack's Nix integration.

@adelbertc I've followed the readme and have icu4c installed. In fact, I already had HIE installed once before. This is currently happening after pulling the most recent version from master and trying to install it again.

Upstreamed the charsetdetect-ae fix: https://github.com/aelve/charsetdetect-ae/pull/6


how can i change the dialogue if x condition is met?

I'm trying this out and it works well, for one message anyways. I'm making a character who asks for help. he does that just fine. I want to make it so if all the enemies die he thanks you, but for some reason changing the dialogue file doesn't work. what can I do?

#if should work, no?
So in the script:
{{#if $0}}
NPC: Thanks!
{{/if}}

And in the code:
$AraVoxController.dialogue_data = [didHelp]
$AraVoxController.generate()

Let me know if I'm missing something. I could also take a look at your script and debug it, if you wish.


Fix "Unnecessary pass statement" lint failure

With newer version of pylint, we started getting these errors. Removing
pass statements where a docstring is present to avoid the failure.

Codecov Report

Merging #245 into master will increase coverage by 0.04%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##           master     #245      +/-   ##
==========================================
+ Coverage   86.19%   86.23%   +0.04%
==========================================
  Files          69       69
  Lines        3708     3690      -18
  Branches      571      512      -59
==========================================
- Hits         3196     3182      -14
+ Misses        413      404       -9
- Partials       99      104       +5

Impacted Files
Coverage Δ

petastorm/reader_impl/worker_loop.py
95.5% <ø> (-0.05%)
:arrow_down:

petastorm/workers_pool/__init__.py
100% <ø> (ø)
:arrow_up:

petastorm/workers_pool/ventilator.py
92.3% <ø> (+1.39%)
:arrow_up:

petastorm/cache.py
100% <ø> (+11.11%)
:arrow_up:

petastorm/etl/dataset_metadata.py
87.59% <ø> (-0.18%)
:arrow_down:

petastorm/workers_pool/thread_pool.py
89.25% <ø> (-0.09%)
:arrow_down:

petastorm/etl/__init__.py
66.66% <ø> (+4.16%)
:arrow_up:

petastorm/selectors.py
100% <ø> (+10%)
:arrow_up:

petastorm/reader_impl/shuffling_buffer.py
93.54% <ø> (+8.25%)
:arrow_up:

petastorm/pytorch.py
86.88% <0%> (-3.28%)
:arrow_down:

... and 2 more

Continue to review full report at Codecov.

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


GCD SUMs

Is your feature request related to a problem? Please describe.
I want to give solution to problem: https://www.codechef.com/problems/SUMGCD
Describe the solution you'd like
I want to give the solution in C++.
I'm a contributor from DevIncept.

Sure @vanishasamriddhi, you can go ahead !

Hey @smv1999  This problem is a medium- hard type question. So, If possible do change the tag.


Param in gradle command requires double quotes instead of single

Please select one of the following

I am making a change required for Microsoft usage of react-native

Description of changes
When a param is passed in gradle command, it should be passed in double quotes instead of single quotes.
Microsoft Reviewers: Open in CodeFlow

/azp run


Angular Nativescript 6.3.3 | Video is not displaying

Hi, I tried to use your plugin for my android/ios app. I'm currently trying to make it work on android and didn't try it on iOS.
I did everything in the installation to make it work without success, there's just nothing and no errors.
my package.json
{
  "nativescript": {
    "id": {
      "android": "org.nativescript.TinaApp",
      "ios": "org.nativescript.TinaAppIos"
    },
    "tns-android": {
      "version": "6.3.1"
    },
    "tns-ios": {
      "version": "6.5.2"
    }
  },
  "description": "NativeScript Application",
  "license": "SEE LICENSE IN <your-license-filename>",
  "repository": "<fill-your-repository-here>",
  "scripts": {
    "lint": "tslint \"src/**/*.ts\""
  },
  "dependencies": {
    "@angular/animations": "~8.2.0",
    "@angular/common": "~8.2.0",
    "@angular/compiler": "~8.2.0",
    "@angular/core": "~8.2.0",
    "@angular/forms": "~8.2.0",
    "@angular/platform-browser": "~8.2.0",
    "@angular/platform-browser-dynamic": "~8.2.0",
    "@angular/router": "~8.2.0",
    "@nstudio/nativescript-checkbox": "^1.0.0",
    "@nstudio/nativescript-loading-indicator": "^4.0.0",
    "@nstudio/nativescript-pulltorefresh": "^2.0.0",
    "nativescript-angular": "~8.20.3",
    "nativescript-datetimepicker": "^1.2.3",
    "nativescript-geolocation": "^5.1.0",
    "nativescript-iqkeyboardmanager": "^1.5.1",
    "nativescript-plugin-firebase": "^10.5.2",
    "nativescript-sound-kak": "^1.2.0",
    "nativescript-theme-core": "^1.0.6",
    "nativescript-ui-sidedrawer": "^8.0.1",
    "nativescript-videoplayer": "^4.2.1",
    "platform": "^1.3.6",
    "reflect-metadata": "~0.1.12",
    "rxjs": "^6.4.0",
    "tns-core-modules": "^6.3.2",
    "tns-platform-declarations": "^6.5.15",
    "zone.js": "~0.9.1"
  },
  "devDependencies": {
    "@angular/compiler-cli": "~8.2.0",
    "@nativescript/schematics": "^0.5.2",
    "@ngtools/webpack": "~8.2.0",
    "codelyzer": "~4.5.0",
    "nativescript-dev-webpack": "~1.4.0",
    "node-sass": "^4.7.1",
    "tslint": "~5.19.0",
    "typescript": "~3.5.3"
  },
  "gitHead": "fa98f785df3fba482e5e2a0c76f4be1fa6dc7a14",
  "readme": "NativeScript Application"
}

HTML
<VideoPlayer src="~/assets/videos/other.mp4" height="300" width="300" autoplay="true" controls="true">
</VideoPlayer>

Typescript
import { registerElement } from "nativescript-angular/element-registry";
registerElement("VideoPlayer", () => require("nativescript-videoplayer").Video);

I tried with different videos to see if this is the problem but it's not. Thanks.

Looks like you're using a local video, first guess would be the mp4 is not being copied into the bundle correctly. So you might want to check your webpack.config and be sure in the CopyPlugin portion it includes the assets dir or you add a glob pattern for mp4 files. This process has been simplified on NS8, but since you're on an older major version, that is where I would start.

Ok that was it, I added { from: { glob: "**/*.mp4" } } in the CopyWebpackPlugin of webpack.config and it worked. Thanks a lot !!


[modify] gws/message

Coverage decreased (-18.8%) to 56.019% when pulling 49243914c3caaa4d5b8f6a0280bdf704a65d8bee on itowtips:gws-message4 into a6e6cdc1510e464707a7a3ff656f0dac245f3bc1 on shirasagi:master.


Can't import compile 'org.honorato.multistatetogglebutton:multistatetogglebutton:0.1.2'

Hello,
I can't import compile 'org.honorato.multistatetogglebutton:multistatetogglebutton:0.1.2' in my project. Android studio give me this message : Failed to resolve. Can you help me please ?
Best regards

Hi, sorry to hear that. Can you share your build.gradle file please?


v10.0.3 improve mock factories

Current coverage is 85.94%

Merging #175 into master will not affect coverage as of 64cbe6e

@@            master    #175   diff @@
======================================
  Files           26      26
  Stmts          370     370
  Branches         0       0
  Methods         83      83
======================================
  Hit            318     318
  Partial          0       0
  Missed          52      52

Review entire Coverage Diff as of 64cbe6e

Powered by Codecov. Updated on successful CI builds.


tools for extracting daemon state offline

Currently we have a text log for best tips, and the ability to load and export ledgers, but the transition frontier and anything derived from it is opaque to us. We need to be able to export all the blocks from the transition frontier, as well as materialize ledgers or other protocol state for exporting from any of its blocks. This allows us to do as much reconstruction as possible of the state of the chain from the contents of hard drives.
Basically, in the case of an unplanned emergency, we want some tools to do surgery on data dumps.

This mitigates scenarios where we have daemons crashing, or performing some other undesirable side effect (like corrupting data or exposing to some attack) and need to perform an emergency hard fork, lacking a synced living daemon.

Do we need the entire frontier? If the chain halts, we restart a new chain from the most recently finalized block, which will be available from the archive database. I understand that there exists a tool for materializing states from blocks in the archive db from checkpoints, which is how we would materialize the ledger and other information we need. I think the archive db is missing the proofs though, but we don't necessarily need that to start the old chain today, as we hard fork by baking a new genesis state from a prior captured state without including the prior proof (prior proof can be imported via zkapp later).
While I agree that we should test this workflow and make sure it's solid, I'm not certain if we need to also add new mechanisms to the frontier. The frontier isn't a reliable source of information since persistence is not reliable right now, so if a node goes offline and restarts, it may no longer have the frontier.

To clarify: I think the existing tools we have are adequate for what we need in practice, I spent most of monday exhaustively reviewing every github / slack / google / notion discussion I could about disaster response and this is one of the things that came up a few times early on, but was dismissed as marginally useful, but I think that call was possibly a mistake if we're still having issues with persistent state corruption
the way I've been thinking about it, I've been pretending all the archive nodes got nuked. suppose some terrible solar storm happens during the magnetic pole shift and all there are are a few scattered lucky people who had printouts of blockchains, transaction history carved into stone tablets, or live in a bunker, and they want to reconstitute something. and also during this scenario there was an ongoing network partition event with very marginal consensus participation etc. using just the available daemon config directories, what can we recover about the previous state of the world? this is a very stringent viewpoint but it's one I find useful.
another way i've been thinking about it is this is really just inspection / debugging tools that we should have always had but never really needed

Do we need the entire frontier? If the chain halts, we restart a new chain from the most recently finalized block

I think we do. We will not necessarily restart from the most recently finalized block, in the event of some types of SNARK failure, we are going to do a social reconstruction process so that we can agree on a more recent block (with 15 blocks instead of k slots, to make the world happy).

Next: List emergency HF scenarios and identify tools (existing/new) to extract state