Fixed some bugs in LoadFile

Two bugs fixed:
HTTP errors being considered as a successful response
Success was conditional on HTTP code 200 OR ValidateXHRData() returning true. When dataType is 1 (text) ValidateXHRData returns true if the response is a non-empty string. Often when the request fails the response text will be set to some HTTP status error message (like "404 Not found"), causing ValidateXHRData to return true and LoadFile to execute the callback.
I've removed the ValidateXHRData check from LoadFile because more generally we shouldn't want LoadFile to validate the data at all, just load it - then the user of LoadFile can validate the data based on their own criteria (e,g. whether or not it's a valid TGA)
I've also allowed it to accept all HTTP success codes (2XX)
Callback being called twice in rare cases
onreadystatechanged may be called multiple times with the value 4 (XMLHttpRequest.DONE), https://bugs.chromium.org/p/chromium/issues/detail?id=162837  nullifying it after it occurs once prevents this

ValidateXHRData will return true if you pass it a string, passing it the response of the http request means it'll almost always return true, irrespective of if whether or not that HTTP request succeeded of failed. So when a http request fails, it's not uncommon the responseText will be something like "404 Not found".
This was causing issues for me when the Babylon was using LoadFile to load shaders, if the file didn't exist it'd load up the shader glsl code as "404 Not found". It's ok for the file not to be found, as long as the error callback is called so it can be handled correctly.
The change should not affect other uses ValidateXHRData. In LoadFile, ValidateXHRData only uses cases 1 and 6, case 6 doesn't exist in ValidateXHRData anyway so it uses ValidateXHRData for case 1. Case 1 is the broken string case I explained earlier.

Gotcha!


Update classgraph to 4.8.48

Updates io.github.classgraph:classgraph from 4.8.47 to 4.8.48.
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Have a fantastic day writing Scala!

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "io.github.classgraph", artifactId = "classgraph" } ]

labels: semver-patch

See #77


Not picking up .markdownlint.jsonc files in directory when using CLI

Is it possible to use this CLI tool and have it pickup the .markdownlint.jsonc file in current directory and/or it's parents up to a root?
I have a project with a bunch of them that works fine from VS Code, so I guess my other question might be: does the inheritance of these config files only work in conjunction with the VS Code Extension? If so, I think this could be made more clear, as it lock-in with a specific editor.

The last two releases of the VS Code extension have used this CLI to implement linting. If you're seeing the behavior you want there, it can most likely be accomplished on the command line. Please describe the scenario you are trying to address, perhaps by pointing to a repository with the relevant file and directory structure.


Failed to crop..issue

When select image from gallery then try to select ..getting toast of Failed to crop and get closed intent.
-----How i call
ImagePicker.Companion.with(AddCategoryUi.this)
.compress(1024)			//Final image size will be less than 1 MB(Optional)
.crop()
.start();
----Dependency
implementation 'com.github.dhaval2404:imagepicker-support:1.7.1'
implementation 'com.github.yalantis:ucrop:2.2.2'

@DeveloperAsh What is your targetSdkVersion?


Configure PDF Output

Afterwriting uses a configuration file to determine the format of its PDF output.  This could be integrated into the package configuration UI to allow users to determine the format of both their PDF preview and export files.  Also, pdf generation from text selection should not generate whitespace title page unless title page is included in selected text.
See https://github.com/ifrost/afterwriting-labs/blob/master/docs/clients.md for list of config options.

I'd like to take this ticket now unless someone objects.

See PR #45

@superlou ha ha, thanks!  If you didn't notice, I actually managed to finish this in a single sitting since a lot of the infrastructure questions were already answered.  I think it's pretty uncontroversial.


NaN values in posterior probabilities with sparse transition matrices

Moving a comment from #273 :
Building on the current Gaussian HMM example, we (cc @slinderman ) noticed that the posterior probabilities include NaN values.
Here's a MWE, adapting from the code included in that notebook:
import jax.numpy as jnp
import jax.random as jr
from dynamax.hidden_markov_model import GaussianHMM

num_states = 6
num_emissions = 35

hmm = GaussianHMM(num_states, num_emissions)
transition_matrix = 0.8 * jnp.eye(num_states) + \
    jnp.roll(jnp.eye(num_states), 1, axis=1)
initial_probs = jnp.ones(num_states) / num_states
emission_means = jnp.column_stack([
    jnp.cos(jnp.linspace(0, 2 * jnp.pi, num_states + 1))[:-1],
    jnp.sin(jnp.linspace(0, 2 * jnp.pi, num_states + 1))[:-1],
    jnp.zeros((num_states, num_emissions - 2)),
    ])
emission_covs = jnp.tile(
    0.1**2 * jnp.eye(num_emissions),
    (num_states, 1, 1))

params, props = hmm.initialize(initial_probs=initial_probs,
                               transition_matrix=transition_matrix,
                               emission_means=emission_means,
                               emission_covariances=emission_covs)
true_states, emissions = hmm.sample(params, jr.PRNGKey(42), 100)
posterior = hmm.smoother(params, emissions)

# all returning NaNs
print(jnp.all(jnp.isnan(posterior.initial_probs)))
print(jnp.all(
    jnp.isnan(posterior.smoothed_probs[:-1])))  # all but last row is NaN
print(jnp.all(jnp.isnan(posterior.trans_probs)))

# check lps
fitted_params, lps = hmm.fit_sgd(
    params, props, emissions, num_epochs=1000)
print(jnp.all(jnp.isnan(lps)))

If I modify the transition matrix to be non-sparse, these checks now return False.  I just wanted to confirm if this is expected behavior, or if these should consistently be returning non-NaN values !

I wanted to share one more observation :
If I generate a non-sparse transition matrix and inject a single zero,
transition_matrix = jr.uniform(key, shape=(num_states, num_states))
transition_matrix = transition_matrix.at[-1, -1].set(0)

then the first three checks (on the posterior probabilities) switch to False -- but the calculated lps values remain all NaNs.

On the first point, it seems that NaN values are being introduced here:
https://github.com/probml/dynamax/blob/c05cb519af423ba81f60696a9daee0bcee6f69e0/dynamax/hidden_markov_model/inference.py#L291-L294
when predicted_probs_next and smoothed_probs_next both have matching zeros; e.g.,
(jdb) predicted_probs_next
array([0.e+00, 0.e+00, 8.e-16, 8.e-01, 1.e+00, 0.e+00],
dtype=float32)
(jdb) smoothed_probs_next
array([0.00e+00, 0.00e+00, 1.25e-15, 1.00e+00, 1.25e-15, 0.00e+00],
      dtype=float32)
(jdb) relative_probs_next
array([nan, nan, 1.5625e+00, 1.2500e+00, 1.2500e-15, nan],
      dtype=float32)

These then propogate to smoothed_probs, which is induced as all NaNs in L293.

On the latter point, in fit_sgd, we map to unconstrained parameters, which is allowing inf's and nan's in the transition matrix:
https://github.com/probml/dynamax/blob/c05cb519af423ba81f60696a9daee0bcee6f69e0/dynamax/ssm.py#L447
(jdb) unc_params.transitions
ParamsStandardHMMTransitions(transition_matrix=DeviceArray([
[ inf, inf, nan, nan, nan],
[ nan, inf, inf, nan, nan],
[ nan, nan, inf, inf, nan],
[ nan, nan, nan, inf, inf],
[ -inf, -inf, -inf, -inf, -0.22314353],
[ 0.22314353, -inf, -inf, -inf, -inf]],
 dtype=float32))

when I convert back from_unconstrained in the _loss_fn, both the inf and nan values are coerced to nan's, and then when we calculate the log_prior of these params, the result is nan.
What I'm a bit confused, though, on is the calculation of log_prior, since the function seems to just return 0.0 ?
https://github.com/probml/dynamax/blob/c05cb519af423ba81f60696a9daee0bcee6f69e0/dynamax/ssm.py#L142-L151
Apologies, I'm new to JAX (and functional programming more generally), so I I'd appreciate any insight on how to read this, particularly what exactly it's accessing from the params object and why it's returning nan instead of 0. !

Update: @emdupre and I worked through this and now understand the two separate issues.

The HMM inference code has a couple of divide by zeros when computing relative_probs_next. We need to change as follows:

# relative_probs_next = smoothed_probs_next / predicted_probs_next
relative_probs_next = jnp.where(jnp.isclose(predicted_probs_next, 0.0), 0.0,
                                smoothed_probs_next / predicted_probs_next)

We should not be initializing to a sparse transition matrix in the Gaussian HMM docs. That initialization has zero probability under the Dirichlet prior, so fit_sgd from that initialization immediately nans out. (fit_em probably still works though!)

Elizabeth is going to make a PR!


The request body in API doc to create Patient must not include the property id

The property ID is marked as readOnly in the spec. In the API doc of the data node server, the request body automatically includes the property id. This should not be the case. When trying to create a patient object that has id, the API doc correctly says that id is readOnly and the request fails.
Try to find if there is a way to remove the property id from the request body. This is probably a bug that Flask should solve (try to find existing bug reports).

https://github.com/zalando/connexion/issues/942

Done


RIGHT-CLICK to paste from Windows to WSL (bash.exe frontend) is not working for me

Hello,WSL is getting better,i love it. I wanted to copy and paste code snippets from my firefox browser running in windows 10 to the "bash" command prompt running under WSL . It didnt work. Is this implemented`?

Hi @tvhdev -- yes, this should work just fine.  The way you paste into a Windows terminal window is simply to right-click on the terminal window.

I am also unable to right click in the terminal window. I just installed the Creators Update and the latest kernel. When right clicking, it doesn't just paste, nor does it bring up a right-click (context) menu.

It doesnt for me,i am on latest ubuntu lxss,ctrl-c in eg. notepad windows to right click paste to bash.exe command line doesnt work. The mouse key is working fine though...anybody else experiencing it since the creators update?

Dipl.-Ing.(FH) Thomas von Haugwitz
Karlstr. 4
88250 Weingarten
E-Mail<EMAIL_ADDRESS>
Am 13.04.2017 um 02:00 schrieb Adam Seering<EMAIL_ADDRESS>Hi @tvhdev -- yes, this should work just fine. The way you paste into a Windows terminal window is simply to right-click on the terminal window.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

Hm...  Right clicking works well for me.
If you've tried right-clicking and it didn't work, could you then immediately open up any Windows editor and try pasting?  To make sure that your text is still in the clipboard.  (In Windows terminals, you left-click and drag to copy; it's really easy to copy a single blank character by mistake, clobbering your existing clipboard.)

The clipboard works for copy/pasting between windows apps eg wordpad/notepad (ctrl c+v or thru context menus) but not into bash terminal via the "right click"

Dipl.-Ing.(FH) Thomas von Haugwitz
Karlstr. 4
88250 Weingarten
E-Mail<EMAIL_ADDRESS>
Am 13.04.2017 um 02:26 schrieb Adam Seering<EMAIL_ADDRESS>Hm... Right clicking works well for me.
If you've tried right-clicking and it didn't work, could you then immediately open up any Windows editor and try pasting? To make sure that your text is still in the clipboard. (In Windows terminals, you left-click and drag to copy; it's really easy to copy a single blank character by mistake, clobbering your existing clipboard.)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

You can right click on the title bar, as you always could, and select "Mark" and do the traditional thing there. But there is no right click.

The only way to do anything related to right clicking is through the title bar as a result, which means both copying and pasting.

I, and I suspect @tvhdev, have disabled Quick Edit mode (under Properties). After enabling it, I can right click to paste like traditional Linux terminals and left click to mark.

Thats not what i meant,if i understand you correctly. In a linux terminal you "paste" text with "right click" from clipboard. Also you copy text to the clipboard by simply selecting/marking it with the mouse cursor and then pasting it with "right click"

Dipl.-Ing.(FH) Thomas von Haugwitz
Karlstr. 4
88250 Weingarten
E-Mail<EMAIL_ADDRESS>
Am 13.04.2017 um 02:40 schrieb Chris Earle<EMAIL_ADDRESS>You can right click on the title bar, as you always could, and select "Mark" and do the traditional thing there. But there is no right click.
The only way to do anything related to right clicking is through the title bar as a result, which means both copying and pasting.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

@tvhdev
Yeah, if you enable Quick Edit mode, which I believe is on by default (I had turned it off pre-Creators Update because it got in the way), then you get that behavior. That did not used to be the case for me. I used to get the right click menu.

Quick Edit Mode? Ok, i see,and it works as a charm. I hereby thank you very much and rest my case;-)

Dipl.-Ing.(FH) Thomas von Haugwitz
Karlstr. 4
88250 Weingarten
E-Mail<EMAIL_ADDRESS>
Am 13.04.2017 um 02:42 schrieb Chris Earle<EMAIL_ADDRESS>I, and I suspect @tvhdev, have disabled Quick Edit mode (under Properties). After enabling it, I can right click to paste like traditional Linux terminals and left click to mark.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

I didnt know about this,and in my opinion it should be activated by default because thats what one would expect in an linux like environment;)

Dipl.-Ing.(FH) Thomas von Haugwitz
Karlstr. 4
88250 Weingarten
E-Mail<EMAIL_ADDRESS>
Am 13.04.2017 um 02:51 schrieb Chris Earle<EMAIL_ADDRESS>@tvhdev
Yeah, if you enable Quick Edit mode, which I believe is on by default (I had turned it off pre-Creators Update because it got in the way), then you get that behavior. That did not used to be the case for me. I used to get the right click menu.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub, or mute the thread.

You should be able to hold shift and right click iirc.

Thank you all for your comments and help!

Why doesn't Ctrl + Alt + V or Shift + Insert work though? I can't figure out how to paste with keyboard

Had the same issue, but in my case I tried right-clicking while the title bar had this 'select' prefix:

I had to switch to normal mode by typing or right-clicking into the terminal (the latter deletes the contents in clipboard):

Then right-click pastes clipboard text


fix: add missing attachment entity endpoints

Too many inconsistencies with how this client works vs. the Autotask documentation, closing.


Bug: preassessment pdf seems to use wrong template

To reproduce:

Submit a preassessment proposal
View the pre generated pdf from the links provided to submitter and supervisor
Notice the trajectories header is still there

proposals:pdf with the right PK does use the right template though

Might it be an idea to just axe the on-disk versions of the PDF in favour of the on-the-fly generated PDF?
It's kinda redundant

Fixed in #247


Receive-Job hangs if job uses Read-Host

Prerequisites

[X] Write a descriptive title.
[X] Make sure you are able to repro it on the latest released version
[X] Search the existing issues.
[X] Refer to the FAQ.
[X] Refer to Differences between Windows PowerShell 5.1 and PowerShell.

Steps to reproduce
$job=Start-Job {Read-Host 'something: '}
Receive-Job $job

or alternatively provoking an error
$job=Start-Job {Read-Host 'something: '}
Receive-Job $job -keep
Receive-Job $job -keep

Expected behavior
I expect Read-Host to either throw an error or return with blank input as stdin is non-existent. I would never expect Receive-Job to be hanging at the prompt as it should only return the job output ready for the moment it is executed.

Actual behavior
PS> $job=Start-Job {Read-Host 'something'}
PS> Receive-Job $job
something:

or

PS> $job=Start-Job {Read-Host 'something'}
PS> Receive-Job $job -Keep
something:
PS> Receive-Job $job -Keep
something:
Receive-Job: Object reference not set to an instance of an object.

Error details
Type           : System.Management.Automation.CmdletInvocationException
ErrorRecord    :
    Exception             :
        Type       : System.NullReferenceException
        TargetSite :
            Name          : Fragment
            DeclaringType : System.Management.Automation.Remoting.Fragmentor, System.Management.Automation, Version=7.4
.0.500, Culture=neutral, PublicKeyToken=31bf3856ad364e35
            MemberType    : Method
            Module        : System.Management.Automation.dll
        Message    : Object reference not set to an instance of an object.
        Source     : System.Management.Automation
        HResult    : -2147467261
        StackTrace :
   at System.Management.Automation.Remoting.Fragmentor.Fragment[T](RemoteDataObject`1 obj, SerializedDataStream dataToB
eSent)
   at System.Management.Automation.Remoting.PrioritySendDataCollection.Add[T](RemoteDataObject`1 data, DataPriorityType
 priority)
   at System.Management.Automation.Remoting.ClientMethodExecutor.Execute(Action`1 writeErrorAction)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteJobResults(Job job)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteJobResultsRecursivelyHelper(Hashtable duplicate, Job job, Bo
olean registerInsteadOfWrite)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteJobResultsRecursivelyHelper(Hashtable duplicate, Job job, Bo
olean registerInsteadOfWrite)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteResultsForJobsInCollection(List`1 jobs, Boolean checkForRecu
rse, Boolean registerInsteadOfWrite)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
    CategoryInfo          : NotSpecified: (:) [Receive-Job], NullReferenceException
    FullyQualifiedErrorId : System.NullReferenceException,Microsoft.PowerShell.Commands.ReceiveJobCommand
    InvocationInfo        :
        MyCommand        : Receive-Job
        ScriptLineNumber : 1
        OffsetInLine     : 1
        HistoryId        : 7
        Line             : Receive-Job $job -Keep
        Statement        : Receive-Job $job -Keep
        PositionMessage  : At line:1 char:1
                           + Receive-Job $job -Keep
                           + ~~~~~~~~~~~~~~~~~~~~~~
        InvocationName   : Receive-Job
        CommandOrigin    : Internal
    ScriptStackTrace      : at <ScriptBlock>, <No file>: line 1
    PipelineIterationInfo :

TargetSite     :
    Name          : Invoke
    DeclaringType : System.Management.Automation.Runspaces.PipelineBase, System.Management.Automation, Version=<IP_ADDRESS>
0, Culture=neutral, PublicKeyToken=31bf3856ad364e35
    MemberType    : Method
    Module        : System.Management.Automation.dll
Message        : Object reference not set to an instance of an object.
Data           : System.Collections.ListDictionaryInternal
InnerException :
    Type       : System.NullReferenceException
    TargetSite :
        Name          : Fragment
        DeclaringType : System.Management.Automation.Remoting.Fragmentor, System.Management.Automation, Version=<IP_ADDRESS>
00, Culture=neutral, PublicKeyToken=31bf3856ad364e35
        MemberType    : Method
        Module        : System.Management.Automation.dll
    Message    : Object reference not set to an instance of an object.
    Source     : System.Management.Automation
    HResult    : -2147467261
    StackTrace :
   at System.Management.Automation.Remoting.Fragmentor.Fragment[T](RemoteDataObject`1 obj, SerializedDataStream dataToB
eSent)
   at System.Management.Automation.Remoting.PrioritySendDataCollection.Add[T](RemoteDataObject`1 data, DataPriorityType
 priority)
   at System.Management.Automation.Remoting.ClientMethodExecutor.Execute(Action`1 writeErrorAction)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteJobResults(Job job)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteJobResultsRecursivelyHelper(Hashtable duplicate, Job job, Bo
olean registerInsteadOfWrite)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteJobResultsRecursivelyHelper(Hashtable duplicate, Job job, Bo
olean registerInsteadOfWrite)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.WriteResultsForJobsInCollection(List`1 jobs, Boolean checkForRecu
rse, Boolean registerInsteadOfWrite)
   at Microsoft.PowerShell.Commands.ReceiveJobCommand.ProcessRecord()
   at System.Management.Automation.CommandProcessor.ProcessRecord()
Source         : System.Management.Automation
HResult        : -2146233087
StackTrace     :
   at System.Management.Automation.Runspaces.PipelineBase.Invoke(IEnumerable input)
   at Microsoft.PowerShell.Executor.ExecuteCommandHelper(Pipeline tempPipeline, Exception& exceptionThrown, ExecutionOp
tions options)

Environment data
Name                           Value
----                           -----
PSVersion                      7.4.0
PSEdition                      Core
GitCommitId                    7.4.0
OS                             Microsoft Windows 10.0.22631
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

Visuals

I have tested a simple script and there is nothing that prevents a job reading or writing to the host
Write-Host 'main write to host'
$job = Start-Job { Write-Host 'job write to host' }
Receive-Job $job -Wait
Write-Host 'main after wait'
$job = Start-Job { Read-Host 'job read host' }
Receive-Job $job -Wait
Write-Host 'main write to host at end'

Result
main write to host
job write to host
main after wait
job read host: anything
anything
main write to host at end

At least that is consistent.
Note that there is a difference between reading and writing to the host and reading the input pipeline and writing to the output pipeline.

Expected behavior
I expect Read-Host to either throw an error or return with blank input as stdin is non-existent.

Except that stdin is not non-existent.

Actual behavior
PS> $job=Start-Job {Read-Host 'something'}

At this point the job is waiting for input.

PS> Receive-Job $job
something:

Now Receive-job displaying the prompt and will send your input back to the job so
here is my input
PS> Receive-Job $job
here is my inout

PS> Receive-Job $job -Keep

Will tie things up in knots because you have said don't clear the buffer by using Keep so next time you run receive job you get prompted again but now there is nothing to receive your input.
Although I'm inclined to say the answer to the that is don't use Read-Host in a script if you don't want it to stop and ask for input, (e.g. have a switch to not use it if running as a job), there are scenarios where we want jobs and interaction (e.g. start 10 jobs to get data from a slow service, and get confirmation before writing the data returned to whatever destination). By using jobs we can have 10 calls waiting for data which might take 2 minutes to come back and then after 2 minutes we get 10 prompts (Save type 1, Save type 2 etc) so we save 18 minutes. If user input was unavailable we wouldn't be able parallelize the work

First, some context:

Read-Host doesn't use stdin - except when PowerShell's CLI is directly called with stdin input and a command / script file to execute (which doesn't apply here).

Regular background jobs (Start-Job) - which use a hidden PowerShell child process - generally do support using Read-Host from jobs, which - while unusual - can be useful, as noted.

Bash, for instance, supports analogous functionality.

By contrast, thread-based jobs (Start-ThreadJob) - which use in-process PowerShell runspaces -  indeed behave the way you expect (and so does the closely related ForEach-Object -Parallel):

They run in non-interactive mode, which makes Read-Host fail, with the following error:

Read-Host: A command that prompts the user failed because the host program or the command type does not support user interaction. [...]

This asymmetry between child process-based and thread-based jobs is certainly surprising.

Neither type of job offers (direct) control over the respective behavior.

However, child process-based jobs inherit the caller's non-interactive mode, if set (which requires having started PowerShell via its CLI and the -noninteractive parameter)

It follows from the above that the only way to get the behavior you want is to run  your entire session in non-interactive mode.

If you feel that that jobs should always be non-interactive:

This would amount to a breaking change, which would only be acceptable if it fell into bucket 3: Unlikely Grey Area, i.e. if it had very little or ideally no impact on existing code and - in this case - interactive practice.

If you feel that it's important to allow preventing interactivity on a per-job basis, say with a new -NonInteractive Start-Job switch.

Please open a feature request to that effect (arguably, Start-ThreadJob would need such a switch too, though - due to the asymmetry discussed - with opposite logic; -NonInterative:$false could technically work).

As for the symptom at hand: To me it is unequivocally a bug.

The -Keep switch instructs the job to buffer the output produced so far.

It shouldn't ever repeat an input command, and certainly shouldn't fail on the next Receive-Job call.


Crash with Latest Forge

Game crashed during launch, with only Forge <IP_ADDRESS>78 for MC 1.12.2, and From the Depths <IP_ADDRESS>.
Crash Log:
https://gist.github.com/NormanNormalington/d5885863f8b81386e123a55a192c2203

I have some follow up questions.
Did your FTD_Summons directory not exist for some reason?
If you run the game again does the issue go away?
Is this on a hosted server or on your local machine?
What operating system are you running (just high level, mac windows or linux)?
If you downgrade to 2376 of forge does this issue go away?

No clue why the FTD_Summons directory isn't there. This is my first time loading the mod in this instance.
If I run the game again, I get the same crash.
This is just on my local machine.
Operating System - Windows.
Downgrading to forge 2376 still gives me the same crash.
Ok... So it seems I've found a fix. Manually creating a FTD_Summons folder in the config folder before launching with the mod seems to prevent it from crashing.

Ah yeah, you have to create the folder manually with the latest release as there were some issues with automatically creating the folder. However, there should not be a run-time error like that. I will see what I can do to make sure that the run-time error doesn't occur.

This is fixed with version <IP_ADDRESS> which has been approved.


End Prometheus stats with a new line separator

According to the OpenMetrics specification, each line MUST end with \n. Previously, the last line was not ending with \n, so that strict parsers had issues reading the Prometheus stats.
I did not add any tests since I am not too comfortable with Rust and pgCat. Feel free to continue my work in this regard.

Can you share the strict parser that you used?
I am trying to verify that the fix works.

Sure: I am using telegraf. Telegraf also has an issue on GitHub detailing that problem: https://github.com/influxdata/telegraf/issues/10608


add a link to the hlist paper?

as per https://www.reddit.com/r/haskell/comments/4vzfa5/using_tuples_as_varargs/d62u266 you may want to add a link to the paper for further reading/docs?

@gbaz This is just a personal clone, so I want my master to track the upstream one. Please write to the current maintainer if you think that's needed.


Create linter configuration and address found issues

This PR is to propose the linting configuration that we are going to re-use for new repositories.
Also, all the currently found linting issues are fixed in this PR which can give an idea what kind of common issues we have now in our code and which the linter finds.
I'll add the linter step to the Jenkins pipeline in later commits to this PR.
Closes https://github.com/elastic/beats/issues/30150

:green_heart: Build Succeeded

the below badges are clickable and redirect to their specific view in the CI or DOCS

Expand to view the summary

Build stats

Start Time: 2022-02-16T09:41:38.270+0000

Duration: 14 min 3 sec

Test stats :test_tube:

Test
Results

Failed
0

Passed
124

Skipped
0

Total
124

:robot: GitHub comments
To re-run your PR in the CI, just comment with:

/test : Re-trigger the build.

Thanks for proposing this @rdner. There is a lot to deal with to get this enabled it seems.


⚠ Bofrost.at has degraded performance

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

HTTP code: 200
Response time: 1959 ms

Resolved: Bofrost.at performance has improved in e12f291.


passing callback to observeSteps causes crash

Hi there,
I would like to periodically (every ~15 min) get step count while the app is backgrounded.  Is that possible with observeSteps?
I was hoping to test this, but the following line causes the app to crash:
GoogleFit.observeSteps((isError, result) => console.log({ isError, result });
When I look at the code for observeSteps, it looks like there are no arguments in the method signature:
    @ReactMethod
    public void observeSteps() {
        mGoogleFitManager.getStepCounter().findFitnessDataSources();
    }

Is this feature intended for use in the way I'm hoping?
RN: 69.1
react-native-google-fit: 0.18.3 (but latest version has the same code)

@256hz  yes for 2 years ago, because the permission request from javascript side was written by me at that moment.
But a lot of codes might be obsolete and require full rewrite after Google made a ton of changes since android 10

by the way, my fix was pretty immature at that time.

@256hz  it's fine, I would leave it open in case ppl encounter the similar issues. And the problem is not solved yet regardless.


Wrong ports in instructions on DockerHub

Hi,
this is really interesting work. I was just playing with the Docker containers and noticed that the example for running the code here https://hub.docker.com/r/groundcontext/ground/ states that the open port should be 8080, but in reality it should be 9090 and 9191.
docker run -d --rm --name ground -p 9090:9090 -p 9191:9191 --link neo:neo groundcontext/ground
Cheers, Jan

Thanks for pointing this out, Jan. A lot of this stuff should be changing soon, so we'll make sure to clean that up!


Improve cosnsitency of git publish actions examples

Hey, I just made a Pull Request!
Updates examples for all publish actions to ensure they are consistent with each other
:heavy_check_mark: Checklist

[x] A changeset describing the change and affected packages. (more info)
[ ] Added or updated documentation
[ ] Tests for new functionality and regression tests for bug fixes
[ ] Screenshots attached (for UI changes)
[x] All your commits have a Signed-off-by line in the message. (more info)

Thanks for this contribution @BillyMichael! 🚀
Left some comments, mostly nits. There was some wording that seemed hard to read from my perspective "of" vs "with". Also, would be good to clarify the branch default of master vs main in a couple of cases.

Thank you. Appreciate the feedback. I've made the changes apart from the token as that falls outside the scope of what i was trying to achieve here. Ill open another PR for the token changes.


fix(sync): Sync latest globals within merkle tree ops

Overview
Ci has been failing due to a race condition where world state operations were not being synchronised.
The offending value was that the world latestGlobalVariablesHash was not stored with the rest of the merkle trees, and such could not use the same serial queue to sync their update operations. This lead to the trees being out of sync with the globals value on some occasions. (I think)
This pr may be slightly contraversial as it stores non merkle tree data within the merkle_trees abstraction. However think the naming of the merkle_trees abstraction is the limiting factor. The file just stores and synchronises the world state, it just so happens that until now this state was all trees. (although this could be me bending reality to suit my current needs)

Revoking acceptance given the comment

Only nit is a future comment would be nice

Only nit is a future comment would be nice

Where should I place the comment and what should I highlight, ill incorporate it into a coming pr

Would be nice to comment the promise all


The term 'Invoke-Obfuscation' is not recognized as the name of a cmdlet, function, script file, or operable program.

Empire Version
1.6.0
OS Information (Linux flavor, Python version)
Kali Rolling 2016.2
Expected behavior and description of the error, including any actions taken immediately prior to the error. The more detail the better.
Screenshot of error, embedded text output, or Pastebin link to the error
Any additional information
This looks like a two-part error.
After setting up a listener and setting "Obfuscated" to true in the "launcher" stager options. The following error is outputted before returning to the main menu:
Invoke-Obfuscation : The term 'Invoke-Obfuscation' is not recognized as the name of a cmdlet, function, script file, or operable program.
Check the spelling of the name, or if a path was included, verify that the path is correct and try again.
At line:1 char:1

Invoke-Obfuscation -ScriptPath /opt/ObfuscatedEmpire/data/misc/ToObfu ...

CategoryInfo          : ObjectNotFound: (Invoke-Obfuscation:String) [], CommandNotFoundException
FullyQualifiedErrorId : CommandNotFoundException

[!] Exception: [Errno 2] No such file or directory: '/opt/ObfuscatedEmpire/data/misc/ObfuscatedEmpire/data/misc/Obfuscated.ps1'

Looks like the Invoke-Obfuscation files aren't getting copied to a folder in the PSModulePath. The setup script attempts to copy them to the /usr/local/share/powershell/Modules directory. A few ideas:

Check to see if powershell installed correctly. Just run powershell from a terminal and see if you get a powershell console.
Check if the Invoke-Obfuscation folder exists in /usr/local/share/powershell/Modules.
If either of those fail, run setup/install.sh again and provide the output so we can figure out what's going wrong.

Looks like the install didn't copy over the powershell module and didn't create the directory.

cp: cannot create directory '/usr/local/share/powershell/Modules': No such file or directory

After I created the directory and ran the install.sh again, everything is working.

Glad you got it working! Looks like this was a bug where the install.sh script assumed the /usr/local/share/powershell/Modules folder already existed. I thought the powershell installation created that directory, looks like it doesn't. Thanks a bunch for reporting the bug, it should be fixed in the latest commit.

Commit 6ea1f18c34f61f75c3055cd002cf654aa9c3cd4e closes #2


gwc: init at 0.22-4

Motivation for this change
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

@jtojnar Thanks, all done!

@orivej-nixos Thanks for all the merges!


Fix missing runtime dependency

When building the package and running the driver with minimal dependencies installed, the following Python error appears because the dependency on tf is not declared in package.xml:
Traceback (most recent call last):
  File "/home/ed/code/nmea_navsat_driver_ws/install/lib/nmea_navsat_driver/nmea_serial_driver", line 39, in <module>
    import libnmea_navsat_driver.driver
  File "/home/ed/code/nmea_navsat_driver_ws/install/lib/python2.7/dist-packages/libnmea_navsat_driver/driver.py", line 39, in <module>
    from tf.transformations import quaternion_from_euler
ImportError: No module named tf.transformations

Try installing the module using sudo apt-get install ros-<ros-distro>-tf-transformations.

That's a good workaround until we can fix the package dependencies so it's installed automatically.


Incompatible with 'Jade'

Describe
Jade does not display information in third-person mode.
Reproduce
Steps to reproduce the behavior:

Put Leawind's Third Person and Jade in the same modpack
Go into the world and look at the various blocks in third-person mode
Jade will almost never display a banner with information

Expected behavior
Jade should always display information about the blocks you are looking at.
Additional context
Tested with newest versions of Forge (47.2.20), Architectury API (9.2.14), Cloth Config API (11.1.118), Jade (11.8.0), Leawind's Third Person (2.0.8 Beta 3) and nothing more. Incompatibility does not cause warnings or errors in the log files.
I think the Jade is getting incorrect information about where the crosshair is pointing. Pressing the RMB redirects the view and Jade is triggered for a short time.

Observed behavior

Expected behavior

Noticed Issue
I've noticed that even when pressing RMB to force the character to look at the entity
The crosshair being used does not utilize the "True Crosshair" much like in #56
In this case I used the mod called Interactic which shows tooltips on dropped items
To test this I disabled "Right Click Pickup" as well as "Auto Pickup"
After that the behavior is exactly the same as with Jade


Fix bug of nnictl about stopping experiment and update statsmodels version to v<IP_ADDRESS>

1
issue #1098
incompatability between scipy and statsmodel --> refer to this issue
since statsmodel has been updated from 0.9.0 to 0.10.0
2
issue #1292
there's a bug about nnictl stop experiment in this PR #1216 .  all remains an option in args in nnictl.py but is used as a boolean value in nnictl_utils.py

local test failed with:
nnictl stop QPuLxnU1
Traceback (most recent call last):
  File "/home/niyan/.local/bin/nnictl", line 10, in <module>
    sys.exit(parse_args())
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl.py", line 215, in parse_args
    args.func(args)
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl_utils.py", line 219, in stop_experiment
    experiment_id_list = parse_ids(args)
  File "/home/niyan/.local/lib/python3.6/site-packages/nni_cmd/nnictl_utils.py", line 154, in parse_ids
    elif args.all == 'all':
AttributeError: 'Namespace' object has no attribute 'all'

Sorry for making a mistake when copying code.
change this line:
elif args.all == 'all':
to `elif args.id == 'all':' will be fine


Rename and deprecate get_nearest* methods of Coordinates class

Which issue(s) are closed by this pull request?
Closes #207
Changes proposed in this pull request:

rename get_nearest* to find_nearest*
change order of return parameters in get_nearest_k to be consistent with get_nearest_cart and get_nearest_sph

change order of return parameters in get_slice to be consistent with get_nearest_cart and get_nearest_sph

add versions of get_nearest* functions that throw deprecation warnings
test deprecation warnings

Should all the changes in pyfar_demo.ipynb be part of this PR? Otherwise, it looks good to me :)

The only real changes are replacing the get_* with the find_* methods. It looks messier than it is, because VSCode (or Notebooks in general) change lots of metadata every time you touch the thing.


terminal's alternate screen

Hi,
How can I use fzf on my terminal's "alternate screen"?

Sorry, I never use it and have no idea what should be done

Seems to be a curses termcap initialization thing. Less has its -X option to use it, I guess:
# on real screen
$ clear ; ls -1 /
$ tput smcup

# on alternate screen
$ clear ; ls -1 --color=always / | less -RX
$ tput rmcup


Account for race conditions between site & action deployment

Adding another option after deploying this to one of my site which takes ~5 mins to deploy the pull request preview.

After giving it some thought, this is probably not the responsibility of the action itself, consumers can easily implement it by adding the right sleep before running the action:
jobs:
  build:
    steps:
    - name: Wait for deploy
      run: sleep 300  # 5 mins in seconds
    - name: Lighthouse Audit
      uses: jakejarvis/lighthouse-action@master

And if a more advanced behaviour is required, then it's probably worth writing another action, and compose it rather than making this more complex.

I'll definitely add this to the docs as a suggestion because I encountered the same thing. Even made a whole wait-action as a lazy fix but your simple inline sleep makes much, much more sense! (that's quite literally all the action does, hah)


Media manager bundle add german field translations

Q
A

Branch?
6.2.x

Bug fix?
yes

New feature?
no

BC breaks?
no

Deprecations?
no

Tests pass?
yes

Fixed issues
chameleon-system/chameleon-system#24

License
MIT

Closing PR because of wrong base branch in my fork. I will open a new one.


Support excluding directories in analysis

We should add a flag such as --exclude-directories that will skip analyzing given dirs.

Could you kindly assign this issue to me? I am interested in working on it.


chuanhu

Closing this issue because it's empty. Please add the content and feel free to reopen it.


application/x-www-form-urlencoded encoding in applyQuery is incompatible with Apache Olingo - no way to overwrite

Whilst the URLsearchParams offers a clean interface to specify query parameters, it utilises the application/x-www-form-urlencoded encoding underneath (https://url.spec.whatwg.org/#example-constructing-urlsearchparams) and as a result spaces are encoded as "+" and not "%20". This makes the usage incompatible with Apache Olingo who have dropped support for this encoding in 2015.
Spaces especially necessary for the specification of filters. So doing:
const a = new URL('http://foo.com/')
a.searchParams.set('$filter', 'bar eq 3')
a.href

in the browser yields http://foo.com/?%24filter=bar+eq+3 which is not accepted by Olingo (and perhaps other implementations) which follow the spec very strictly.

Hey @ciprian-dragomir,
I see the issue. I would be up for changing it in general to the right encoding. As far as I understood your PR only contains a workaround (setting?). Sorry hadn't much time to look at it in deep.
Do you see any chance that we can change it, without monkey patching fetch?
Thanks
Jan

Hi @janhommes
Thanks for promptly looking into this!
My PR adds the ability to specify a custom applyQuery function such that devs can overwrite the default behaviour (it does not change the current encoding as we'd have to consider it a breaking change). So we wil still use:
const defaultApplyQuery: ApplyQuery = (url, query) => {
  for (const key in query) {
    if (query.hasOwnProperty(key)) {
      if (url.searchParams.get(key)) {
        url.searchParams.set(key, query[key]);
      } else {
        url.searchParams.append(key, query[key]);
      }
    }
  }

  return url;
};

by default, but if you specify a custom applyQuery in the ODataConfig, then that will take precedence.
To be clear, there is no monkey patching in the PR, I only mentioned it as this is what a library user has to do to work around the incompatibility as there is no way to intercept the Request.url prior to the fetch. It is always the case that applyQuery resets the query params using URL.searchParams which applies the application/x-www-form-urlencoded encoding.
I can change my PR to just use the "standard" encoding (i.e. adhere to spec) since this is recommended. Let me know if you would like me to keep the applyQuery option on ODataConfig - this would probably add more flexibility since not everything adheres to the URL spec I linked to?

so I would be up for a new major release (maybe 2.0.0) and changing this. It seems like the right approach is to use your mentioned encoding (even if I am atm not that sure how to do this, long time not worked with odata sadly).
Additionally, there are two major bugs that need fixing and better testing which we could include in that release (#127 #126). I guess #126 would also need some breaking changes.
Also, I thought about including https://www.npmjs.com/package/odata-query to solve #98.
If you would submit a PR for the encoding changes, I can craft a 2.0.0-rc release candidate and start working on the other topics (so that you get it fast).

Sure, not a problem, I had already included the logic for this in a test in my earlier PR. This PR should just change the econding mechanism such that it follows the spec. This is mainly encoding spaces in query parameters as "%20" and not "+".

Hi @janhommes , could we have a version 2.0.0-rc npm release please?

Hi, I am facing the same error, could you please share with me the solution?

Hi, I am facing the same error, could you please share with me the solution?

Hi @bb94user, the solution was submitted in this PR and merged, however it has not been released yet. I've been hijacking window.fetch and modifying the URL just before it gets sent using this logic:
const originalFetch = window.fetch;
window.fetch = (requestInfo, ...rest) => {
  if (typeof requestInfo === 'object') {
    const [path, search] = requestInfo.url.split('?');
    return originalFetch(
      // Replace '+' with '%20' in URL searchParam
      new Request([path, search.replace(/\+/g, '%20')].join('?'), requestInfo),
      ...rest,
    );
  }

  return originalFetch(requestInfo, ...rest);
};

however, this is a dirty hack which applies to trusted URL's which are already build using o.js. The complete solution is in the PR I mentioned earlier.

sorry for the late response. I wanted to add more features to the new release but failed with time management. I published now a rc to npm with only these changes. Hope that helps you.

sorry for the late response. I wanted to add more features to the new release but failed with time management. I published now a rc to npm with only these changes. Hope that helps you.

Looks good! Many thanks 👍

Thanks a lot!! @janhommes @ciprian-dragomir 👌🏼


[WS-TS] Delete printHooks related to a taskExecution at end of task

We should remove the print hooks callbacks once the task is finished.
We just have to keep a map of callback id's registered per task, and clean everything.

Already implemented !


Fixed Typo In Varint Max Byte Size

Updated max varint size from 4 to 5 bytes to me more compliant with the spec.
Also fixes issue where MatDoesDev's massscan fork with MC support causes honeypot to fail due to sending -1 as the protocol version, which is 5 bytes long.

thank you for this!


Include SupportsFeatureMixin for Hosts

This is to fix an issue while trying to access Host summary screen, need to include supportsfeaturemixin to be able to enable/disable Power reset & shutdown buttons.
@durandom @dclarizio please review/merge. This issue is causing an error while trying to access Host summary screens.

@h-kataria  thanks for fixing this. LGTM
For completeness: the bug was introduced here https://github.com/ManageIQ/manageiq/pull/11054 and it looks like the GenericFeatureButton is only used in app/helpers/application_helper/toolbar/host_center.rb for hosts. So including it here should be enough

Kicking the build

Euwe Backport details:
$ git log
commit e944587aed07f1f7d9c831421f5fee481cadce18
Author: Dan Clarizio<EMAIL_ADDRESS>Date:   Mon Oct 3 12:58:36 2016 -0700

    Merge pull request #11661 from h-kataria/include_supports_feature_mixin_for_hosts

    Include SupportsFeatureMixin for Hosts
    (cherry picked from commit c27de6fd674f3c55603748364a66d70f649eb5b6)


xlsx to nested JSON

Is it possible to read a xlsx file and convert it to a nested JSON?  (i'm using node.js)
For example, this table:
Name	| City 		| Country
Jon	        | New York 	| USA
Jon	        | Kansas	        | USA
Peter 	| Nevada	        | USA
to this JSON:
{
   "Name": "Jon",
   "Addresses": [
              {"City": "New York", "Country": "USA"},
              {"City": "Kansas", "Country": "USA"}
           ]
},
{
   "Name": "Peter",
   "Addresses": [
              {"City": "Nevada", "Country": "USA"}
	  ]
}

how would xlsx or any other library know how you'd like to nest your flat md data in exported json properties?
You can try to mock it up with Data Preview 🈸 vscode extension that supports xlsx files loading, md tables parsing and save as json + grouping :)
https://github.com/RandomFractals/vscode-data-preview

otherwise, just transform the json you get from xlsx sheet to json to the structure you prefer looping over json array records and adding/modifying/deleting flat data object properties. should be aesy custom forEach loop :)

@nicolasgirado see I handle it in my excel.data.provider for example and just add your json transform structure as needed :)
https://github.com/RandomFractals/vscode-data-preview/blob/master/src/data.providers/excel.data.provider.ts

well it's pretty good example, but i can't really understand this (sorry, just a beginner programmer lol) @RandomFractals , i have a multinested js object and i don't know how to transform it

@ahmad-reza619  see saveData() to convert json to one of the supported Excel data formats with xlsx-js library and write it to disk with nodejs fs (file system api): https://github.com/RandomFractals/vscode-data-preview/blob/master/src/data.providers/excel.data.provider.ts#L108

OK thanks for explanation 👍 @RandomFractals

As @RandomFractals discussed, there's no simple general solution but you can always massage the output of sheet_to_json e.g.
var wb = XLSX.readFile("file.xlsx");
var data = XLSX.utils.sheet_to_json(wb.Sheets[wb.SheetNames[0]]);
var result = data.reduce((acc, row) => {
  var target = acc.find(x => x.Name == row.Name);
  if(!target) acc.push((target = {Name: row.Name, Addresses: [] }));
  target.Addresses.push({City: row.City, Country: row.Country});
}, []);


Add differential execution fuzz testing

This will fuzz test executions of generated Wasm module functions with new wasmi versions against the battle-tested legacy wasmi version 0.13.0.

Codecov Report

Merging #450 (59b6cf7) into master (753b05d) will decrease coverage by 0.12%.
The diff coverage is 0.00%.

:exclamation: Current head 59b6cf7 differs from pull request most recent head 66218ac. Consider uploading reports for the commit 66218ac to get more accurate results

@@            Coverage Diff             @@
##           master     #450      +/-   ##
==========================================
- Coverage   79.44%   79.31%   -0.13%
==========================================
  Files          71       72       +1
  Lines        6193     6203      +10
==========================================
  Hits         4920     4920
- Misses       1273     1283      +10

Impacted Files
Coverage Δ

wasmi_v1/fuzz/fuzz_targets/differential.rs
0.00% <0.00%> (ø)

:mega: We’re building smart automated test selection to slash your CI/CD build times.


imutils.resize returns not appropriate size

When I resize jpg-files to (2000,2000,3)
from (3932,3933,3) with imutils.resize(x,2000,2000) I have got this image with (1999,2000,3) shape!
But with cv2.resize(x, (2000,2000)) I have no such a problem.

Ok, just had the same problem and I think I figured it out:
The imutils.resize function is not really intended to take a width and a height argument simultaneously because the method preserves the aspect ratio. The idea is to specify one dimension as target and the other will be calculated. The documentation and the implementation make that very clear.
So if you want exact width and height dimensions you don't really need this function and you can call the cv2.resize function directly.
If you want to preserve the aspect ratio though, just don't specify the  dimension that you allow to change.
Also have a look at this pr
I hope this helps

Ok, just had the same problem and I think I figured it out:
The imutils.resize function is not really intended to take a width and a height argument simultaneously because the method preserves the aspect ratio. The idea is to specify one dimension as target and the other will be calculated. The documentation and the implementation make that very clear.
So if you want exact width and height dimensions you don't really need this function and you can call the cv2.resize function directly.
If you want to preserve the aspect ratio though, just don't specify the  dimension that you allow to change.
Also have a look at this pr
I hope this helps

Thnx for reference to implementation.

Thnx for reference to implementation.


Hosted UI has Invalid Resource URLs

Describe the bug
Clicking on the Hosted UI endpoint brings up a page that displays nothing, seemingly because the embedded URLs are broken, such as:
<script src="null/null/js/jquery-3.4.1.min.js"></script>

To Reproduce
Steps to reproduce the behavior:

Setup auth with amplify add auth
Open the provided Hosted UI endpoint from amplify status

Expected behavior
Screenshots
Desktop (please complete the following information):

OS: Windows 10

Smartphone (please complete the following information):
Additional context

@chancyk the Hosted UI Endpoint link in itself does not have to render a working login page, the CLI prints out the Test Your Hosted UI Endpoint, which is the same url but with correctly parameterized for testing. If you check it, it will show the login form for your user pool.
Hosted UI Endpoint: https://<your name here>-dev.auth.us-west-2.amazoncognito.com/
Test Your Hosted UI Endpoint: https://<your name here>-dev.auth.us-west-2.amazoncognito.com/login?response_type=code&client_id=<your app client id>&redirect_uri=<your redirect url>

@chancyk the Hosted UI Endpoint link in itself does not have to render a working login page, the CLI prints out the Test Your Hosted UI Endpoint, which is the same url but with correctly parameterized for testing. If you check it, it will show the login form for your user pool.
Hosted UI Endpoint: https://<your name here>-dev.auth.us-west-2.amazoncognito.com/
Test Your Hosted UI Endpoint: https://<your name here>-dev.auth.us-west-2.amazoncognito.com/login?response_type=code&client_id=<your app client id>&redirect_uri=<your redirect url>


ERROR: Check failed: 'ptr_' Must be non NULL

How could i fix this error?
This error occur when i follow this guide at Training DetectNet
https://github.com/NVIDIA/DIGITS/blob/digits-4.0/examples/object-detection/README.md
log:
Ignoring source layer loss2/relu_conv
Ignoring source layer loss2/fc
Ignoring source layer loss2/relu_fc
Ignoring source layer loss2/drop_fc
Ignoring source layer loss2/classifier
Ignoring source layer loss2/loss
Ignoring source layer pool4/3x3_s2
Ignoring source layer pool4/3x3_s2_pool4/3x3_s2_0_split
Ignoring source layer pool5/7x7_s1
Ignoring source layer pool5/drop_7x7_s1
Ignoring source layer loss3/classifier
Ignoring source layer loss3/loss3
Starting Optimization
Solving
Learning Rate Policy: step
Iteration 0, Testing net (#0)
Ignoring source layer train_data
Ignoring source layer train_label
Ignoring source layer train_transform
Check failed: 'ptr_' Must be non NULL

Hi, is this the full caffe_output.log file?


Issue starting mac app from default hybrid template (Xamarin.Mac)

Hi,
I installed the latest visual studio 2019 pro preview.
I installed Microsoft.MobileBlazorBindings.Templates 0.5.50-preview
I installed all latest preview of the different nuget packages coming with the default hybrid blazor app.
I installed all latest preview version of vs and packages on the mac.
I paired to the mac successfully.
When I start the mac project I get the following exception when executing the line "NSApplication.Init();" of the main.cs:
System.IO.FileNotFoundException: Could not load file or assembly 'Xamarin.Mac, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=84e04ff9cfb79065'  or one of its dependencies.
When I force the "Copy to local" on the Xamarin.Mac reference, I get the an exception raised by AppKit.NSApplication with 2 inner exceptions:

TypeInitializationException: exception raised by type initializer 'ObjCRuntime.Selector'
DllNotFoundException: unable to load DLL '/usr/lib/libobjc.dylib' could not find module

FYI:

I think this is a known issue but I also get a warning at build time for the android and mac projects  saying "Found conflicts between different versions of "System.Numerics.Vectors" that could not be resolved.
Android project works well

Any help is more than welcome.
 :-)
I am realizing that all this is only to simulate iOS and to test macOS version I need to do so on the mac itself...
I don't even know why I let myself thinking it would be possible... I might be too tired :-)

@PI2R I'm glad you got it working!


Incorrect unit specification in DUSRSECJ.jcl

In  DUSRSECJ.jcl / STEP01, for the SYSUT2 allocation, the UNIT paramater specifies UNIT=SYSAD. This should be UNIT=SYSDA.
Using latest version of code on the 'main branch'. Can confirm the amendment allocates successfully on z/OS.

Thanks Russell,
We have addressed it
Sanjay

Corrected SYSAD to SYSDA as advised


Windows "Evaluation" Editions throws warning during Set-PSDCConfiguration

Describe the bug
Ran into this while loading a Windows Server 2012 R2 VM while gathering more data for #67. I'm using the VHD image found here: https://www.microsoft.com/en-us/evalcenter/evaluate-windows-server-2012-r2
This is the bit of code that checks for supported versions:
https://github.com/sqlcollaborative/PSDatabaseClone/blob/development/internal/scripts/preimport.ps1#L27
Get-CimInstance Win32_OperatingSystem | Select-Object Caption, Description, Name, OSType, Version outputs the following for this image:
Caption     : Microsoft Windows Server 2012 R2 Datacenter Evaluation
Description : DEVSQL
Name        : Microsoft Windows Server 2012 R2 Datacenter Evaluation|C:\Windows|\Device\Harddisk0\Partition1
OSType      : 18
Version     : 6.3.9600

I think an easy fix would be to lob off any "Evaluation" text found in $osDetails, as evaluation copies should be fully functional.
To Reproduce
Attempt to set configuration while Windows Server is under evaluation
Expected behavior
Be able to set configuration while Windows Server is under evaluation
Environmental data

PowerShell:

Name                           Value
----                           -----
PSVersion                      5.1.14409.1005
PSEdition                      Desktop
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0...}
BuildVersion                   10.0.14409.1005
CLRVersion                     4.0.30319.34003
WSManStackVersion              3.0
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>

That would probably work. When I created that check i did not anticipate for any evaluation editions to appear because I was assuming that anyone using this would want to run this on a non-evaluation license.
I will look into that

Awesome, thanks @sanderstad!
I'm using an Evaluation to evaluate (lol) PSDC for use in our production systems. Instead of mucking around with production servers, I'm using these images to set up a sort of homelab and get a plan of action together to present to the powers that be so that deployment and workflow goes smoothly. 👍

@sanderstad Was able to test this out tonight, made a slight tweak and PR'd. Simply replacing "Evaluation" left a trailing space, which prevented the edition from matching correctly form the supported list

Saw that and merged it


PHP lexer does not see \\ as escape in some cases

(Original issue 515 created by None on 2010-07-17T19:14:16+00:00)
Playing around with Trac, I noticed something odd in the syntax highlighting of one of my project's files. It deals with configuration file parsing and allows for quotes inside strings, so they need to be escaped. In the error message I output whenever an unterminated escape sequence is encountered, I need to escape the output again, of course. This caused pygments to stop interpreting my string as a string and 'highlight' the larger part of the remainder of the file as a string.
Test case:
{{{
#!text/x-php
printchar($c, true);
?>
}}}
As you can see (until this is fixed of course), after the first quote, which actually is escaped, pygments stops interpreting it as a string and highlights the rest as code until the next quote.
I did some digging in the lexer code and came up with a rather straightforward fix. It seems that the double backslash is not listed as an escape sequence and after introducing it, pygments seems to highlight my code correctly. The following patch is based on the code from pygments 1.3.1 and it seems to be much the same in trunk.
Possible fix:
{{{
--- web_orig.py 2010-07-17 21:02:31.105532082 +0200
+++ web.py      2010-07-17 20:51:37.374530833 +0200
@@ -763,7 +763,7 @@
'string': [
(r'"', String.Double, '#pop'),
(r'[^{$"\\]+', String.Double),

       (r'\\\\([nrt\\"$]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2})', String.Escape),

       (r'\\\\([nrt\\"$\\\\]|[0-7]{1,3}|x[0-9A-Fa-f]{1,2})', String.Escape),
       (r'\\$[a-zA-Z_][a-zA-Z0-9_]*(\\[\\S+\\]|->[a-zA-Z_][a-zA-Z0-9_]*)?',
        String.Interpol),
       (r'(\\{\\$\\{)(.*?)(\\}\\})',

}}}
As my familiarity with the pygments code base is near zero (I did not even know about this project until I referenced the Trac guide) it may introduce unwanted behaviour elsewhere, so review and further testing is advisable.
On a side note, a potentially interesting thing to know is that introducting an extra space seems to result in correct highlighting (but wrong output of course):
{{{
#!text/x-php
printchar($c, true);
?>
}}}
I don't really see why it behaves the way it does, but that would me my practically non-existential knowledge about python.
Reported by guest

(Original issue was assigned to gbrandl)
(Original issue 515 last updated on 2010-08-22T13:37:20+00:00)
(Issue automaticaly closed due to status in Bitbucket: resolved)

(Original comment by gbrandl on 2010-08-22T13:37:20+00:00)
Added in [a5a11c72396d].  Thanks!


Using model for predictions

Hi Mark! I'm interested in using and citing your model in my own research, but I'm currently struggling with modifying the code so that I can use the trained model for new predictions once its finished training. Would you mind elaborating on the example code you have in the README? Specifically, where that example code would fit in with the rest of the code, where and how the tensors last_label_t and features_t get generated (and how to capture them), etc.
Thank you for your help!

Hi Emily, I have updated the main page with some more psuedocode. Basically you would create a new file, import model, and paste that code. The gist is that last_label_t and features_t are placeholders that I did not define in the psuedocode. I just added them.
Sorry for the delayed response.


TF Now: Updated pop up text regarding 3 hour expiration

"People who test TF Now are surprised that it disappears after 3 hours. Need a message that pops up once TF Now is live which states that it will only be available for 3 hours."
Here is the updated text:
Welcome! This marketplace is a showcase of open source peer-to-peer apps built on top of the TF Grid. We are in demo mode & running on testnet. Note your deployment will be cancelled automatically after three hours. Forgive any instability you might encounter while our developers work out the kinks. Please enjoy, and visit the manual or wiki for more info.
I believe there are two spots for this – first log-in and the top-right corner.

Apologies @xmonader I assigned Waleed & Mostafa because they were previously assigned to the same issue but I will refrain from assigning people moving forward.


#643 fix typo for assistant, rework delivery assistant page

This PR adds docs for delivery assistant for 0.7.x (and 0.8.x, though that will be WIP anyway). For this I have moved the delivery assistant page from reference/bridge to continuous-delivery, added a section about CLI and API.
In addition, I fixed the typo "assistent", and I removed the "id" field of the cloud-event when sending a start-evaluation cloud-event via the API.
Preview: https://deploy-preview-658--keptn.netlify.app/docs/0.7.x/continuous_delivery/delivery_assistant/

Thanks, I've made the changes as described in the review.


ok.ru can't download all videos

Checklist

[X] I'm reporting a site feature request
[X] I've verified that I'm running yt-dlp version 2022.01.21. (update instructions)
[X] I've checked that all provided URLs are alive and playable in a browser
[X] I've searched the bugtracker for similar issues including closed ones. DO NOT post duplicates
[X] I've read the guidelines for opening an issue
[X] I've read about sharing account credentials and I'm willing to share it if required

Region
No response
Example URLs
https://ok.ru/muz.murka/video
Description
Please add to the extractor the ability to download all videos from user pages from the ok.ru site, it will make my life much easier. Thank you
Verbose log
yt-dlp -v --proxy socks5://<IP_ADDRESS>:2114 https://ok.ru/muz.murka/video
[debug] Command-line config: ['-v', '--proxy', 'socks5://<IP_ADDRESS>:2114', 'https://ok.ru/muz.murka/video']
[debug] Encodings: locale cp1251, fs utf-8, out utf-8, err utf-8, pref cp1251
[debug] yt-dlp version 2022.01.21 [f20d607] (win_exe)
[debug] Python version 3.8.10 (CPython 64bit) - Windows-10-10.0.19044-SP0
[debug] exe versions: ffmpeg N-104250-g05c1f78a72-20211007 (setts), ffprobe N-104250-g05c1f78a72-20211007
[debug] Optional libraries: Cryptodome, mutagen, sqlite, websockets
[debug] Proxy map: {'http': 'socks5://<IP_ADDRESS>:2114', 'https': 'socks5://<IP_ADDRESS>:2114'}
[debug] [generic] Extracting URL: https://ok.ru/muz.murka/video
[generic] video: Requesting header
WARNING: [generic] Could not send HEAD request to https://ok.ru/muz.murka/video: <urlopen error [WinError 10054] An existing connection was forcibly closed by the remote host>
[generic] video: Downloading webpage
WARNING: [generic] Falling back on generic information extractor.
[generic] video: Extracting information
[debug] Looking for video embeds
ERROR: Unsupported URL: https://ok.ru/muz.murka/video
Traceback (most recent call last):
  File "yt_dlp\YoutubeDL.py", line 1367, in wrapper
  File "yt_dlp\YoutubeDL.py", line 1437, in __extract_info
  File "yt_dlp\extractor\common.py", line 612, in extract
  File "yt_dlp\extractor\generic.py", line 3966, in _real_extract
yt_dlp.utils.UnsupportedError: Unsupported URL: https://ok.ru/muz.murka/video

One thing that I have discovered is that some playlist URLs have different access rules based on how you request it.
For example:
https://ok.ru/fleurrinna.guta/video/c1955438

only lists 2 videos. however, if you delete the /fleurrinna.guta component of the URL you get access to the full playlist (same playlist ID) without needing to login:
https://ok.ru/video/c1955438

On the first request you can then read the first 24 video ids, but I'm not sure how to fetch the next page
xidel -e '//div[@data-id]/join(
       (
         div[@class="video-card_img-w"]/a/resolve-uri(substring-before(@href,"?")),
         div[@class="video-card_n-w"]/a
       ),
       " # "
     )
   ' -s https://ok.ru/video/c1955438 | pee 'xclip -sel clip' 'wc -l'
24

Hopefully an easier method will come in the future. For now @chapmanjacobd 's method seems like the best. I wrote a userscript script to make it even easier. It makes things easier, but I still prefer yt-dlp to have such a feature.
// ==UserScript==
// @name         Download ok.ru video URLs
// @namespace    http://tampermonkey.net/
// @version      0.1
// @description  Download ok.ru video URLs
// @match        https://ok.ru/*
// @grant        none
// ==/UserScript==

function scrollAndCheck() {
    var previousScroll = window.pageYOffset;
    window.scrollBy(0, 1000);

    var currentScroll = window.pageYOffset;
    var maxScroll = document.body.scrollHeight - window.innerHeight;

    if (currentScroll + 10 >= maxScroll && previousScroll == currentScroll) {
        clearInterval(scrollInterval);
        downloadURLs();
    }
}

function downloadURLs() {
    var elements = document.getElementsByClassName("video-card_img-w");

    if (elements.length === 0) {
        return;
    }

    var urls = [];

    for (var i = 0; i < elements.length; i++) {
        var element = elements[i];

        if (element.id) {
            var id = element.id.replace("video-card_img_", "");

            var url = "https://ok.ru/video/" + id;

            url = url.slice(0, -1);

            urls.push(url);
        }
    }

    var text = urls.join("\n");
    var blob = new Blob([text], {type: "text/plain"});

    var link = document.createElement("a");
    link.href = URL.createObjectURL(blob);

    var pageID = window.location.pathname.split("/").pop();

    link.download = pageID + ".txt";

    document.body.appendChild(link);
    link.click();

    document.body.removeChild(link);
    URL.revokeObjectURL(link.href);
}

var scrollInterval = setInterval(scrollAndCheck, 1000);


TypeError: this.bjsAMMO.btSoftBodyRigidBodyCollisionConfiguration is not a constructor

Hey there!
First of all thank you for your Babylon starter template, really appreciate that.
Everything works nice but if I got to: http://localhost:8080/?scene=physicsWithAmmo it throws an error:

It seems to have problems initialising ammo but I still don't know why.
Do you have any ideas?
Working on chrome on a mac.
Cheers,
Florentin

Congrats! first issue :-)
I am pretty sure I actually solved this, but it seems like a newer version of Ammo introduced it back.
I will check this and update here!

Ok! Just pushed a fix to master. I was incorrectly handling the ammo init (which surprisingly worked in earlier versions :-).

Great, that was quick! :)
Thanks so much.


Changed with_backup to backups_enabled

with_backup will be replaced by backups_enabled

Coverage remained the same at 70.925% when pulling 30a10b30edab037cf876621a246b8aa46809d22e on yoshizzle:withBackups into f35ac2035f01a5b028a58ef6989181fcde4faeef on linode:develop.


Create Blog “2022-01-06t07-03-59-857z-perasaan-salah”

Automatically generated by Netlify CMS

👷 Deploy Preview for ibnuraffi processing.
🔨 Explore the source changes: 9a6e2c848e2eb1ded1666619201c861bf9448234
🔍 Inspect the deploy log: https://app.netlify.com/sites/ibnuraffi/deploys/61d694ee314cda0008d7860e


Cannot build project after install - missing props/ modules

Which platform(s) does your issue occur on?

iOS
emulator

Please, provide the following version numbers that your issue occurs with:

CLI: 7.0.6

Please, tell us how to recreate the issue in as much detail as possible.
Upon install, wither with npm i or tns plugin add, upon building my project I get several warnings about missing props, and some errors regarding missing modules:

I tried fixing the filepath errors manually, which allowed the webpack build to complete, but then resulted in a critical error:

Same issue here.
Android 9.0 (Real device)
CLI: 7.0.6
Seems to be an issue with es2015?
My tsconfig.ts:
{   "compilerOptions": {       "module": "ESNext",       "target": "es2015",       "moduleResolution": "node",       "experimentalDecorators": true,       "emitDecoratorMetadata": true,       "noEmitHelpers": true,       "noEmitOnError": true,       "skipLibCheck": true,       "lib": [         "es2018", "es2017", "dom", "es6"       ],       "baseUrl": ".",       "paths": {           "~/*": [               "src/*"           ]       }   },   "include": [     "src/tests/**/*.ts",     "src/app/**/*.ts",     "src/**/*.ios.ts",     "src/**/*.android.ts"   ],   "files": [     "./references.d.ts",     "./src/main.ts"   ],   "exclude": [       "node_modules",       "platforms",       "e2e"   ] }

@stefan-uhlemann77 can you share your package.json?

@stefan-uhlemann77 can you share your package.json?

{
"name": "@my-app-ng",
"main": "main.js",
"version": "1.0.0",
"description": "My Application",
"license": "SEE LICENSE IN ",
"repository": "",
"scripts": {
"lint": "tslint "src/**/*.ts"",
"ngcc": "ngcc --properties es2015 module main --first-only",
"postinstall": "npm run ngcc"
},
"dependencies": {
"@angular/animations": "~10.1.0",
"@angular/common": "~10.1.0",
"@angular/compiler": "~10.1.0",
"@angular/core": "~10.1.0",
"@angular/forms": "~10.1.0",
"@angular/platform-browser": "~10.1.0",
"@angular/platform-browser-dynamic": "~10.1.0",
"@angular/router": "~10.1.0",
"nativescript-material-bottomsheet": "^3.3.0",
"nativescript-material-ripple": "^3.3.0",
"nativescript-material-snackbar": "^3.3.0",
"@nativescript/angular": "~10.1.0",
"@nativescript/core": "7.0.0",
"@nativescript/theme": "2.3.3",
"@nstudio/nativescript-floatingactionbutton": "^2.1.0",
"@nstudio/nativescript-pulltorefresh": "3.0.0",
"@nstudio/nativescript-rad-imagepicker": "^2.0.5",
"crypto-js": "^4.0.0",
"moment": "2.27.0",
"nativescript-background-http": "4.2.1",
"nativescript-camera": "4.5.0",
"nativescript-clipboard": "^1.2.0",
"nativescript-cscreenshot": "1.0.2",
"nativescript-geolocation": "5.1.0",
"nativescript-image": "3.0.12",
"nativescript-imagecropper": "3.0.0",
"nativescript-lottie": "^5.0.0",
"nativescript-menu": "^1.1.6",
"nativescript-modal-datetimepicker": "^1.2.2",
"nativescript-permissions": "^1.3.9",
"nativescript-ui-autocomplete": "7.0.2",
"nativescript-ui-calendar": "7.0.2",
"nativescript-ui-chart": "~8.0.2",
"nativescript-ui-dataform": "~7.0.2",
"nativescript-ui-listview": "~9.0.2",
"nativescript-ui-sidedrawer": "~9.0.3",
"reflect-metadata": "~0.1.12",
"rxjs": "^6.6.0",
"zone.js": "~0.11.1"
},
"devDependencies": {
"@angular/cli": "10.1.0",
"@angular/compiler-cli": "~10.1.0",
"@nativescript/android": "7.0.0",
"@nativescript/schematics": "^10.0.2",
"@nativescript/types": "~7.0.0",
"@nativescript/webpack": "~3.0.0",
"@ngtools/webpack": "~10.1.0",
"codelyzer": "~4.5.0",
"node-sass": "^4.7.1",
"tslint": "~5.19.0",
"typescript": "~3.9.7"
},
"gitHead": "xxx",
"readme": "NativeScript Application"
}

@stefan-uhlemann77 you are using plugins not compatible with N7!
Swith nativescript-material-... With @nativescript-community/ui-material-...

@stefan-uhlemann77 you are using plugins not compatible with N7!
Swith nativescript-material-... With @nativescript-community/ui-material-...

Not working. Using the exact same project with  "@nativescript-community/ui-material-bottomsheet": "4.0.10", instead of "nativescript-material-bottomsheet": "^3.3.0", (also tried various versions like 4.0.0)
As soon as I place "NativeScriptMaterialBottomSheetModule.forRoot()" in the app.module.ts , the app crashes and don't recognizing any native elements like GridLayout, StackLayout etc anymore. (also tried putting it directly into the sub-modules import with no success)
Any suggestion!?

You have a log of the crash ? (With the community plugin)

ERROR in src/app/app.module.ts:41:14 - error NG1010: Value at position 8 in the NgModule.imports of AppModule is not a reference
Value could not be determined statically.
41     imports: [
~
42
...
59
60     ],
~~~~~
src/app/app.module.ts:58:9
58         NativeScriptMaterialBottomSheetModule.forRoot()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Unable to evaluate this expression statically.
src/app/app.module.ts:58:9
58         NativeScriptMaterialBottomSheetModule.forRoot()
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
A value for 'forRoot' cannot be determined statically, as it is an external declaration.
src/app/components/employee/search-employee.component.html:1:1 - error NG8001: 'GridLayout' is not a known element:

If 'GridLayout' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

1 <GridLayout rows="auto,48,*" (loaded)="onLoaded()">

src/app/components/employee/search-employee.component.ts:14:18
  14     templateUrl: "./search-employee.component.html",
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component SearchEmployeeComponent.
src/app/components/employee/search-employee.component.html:2:5 - error NG8001: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

2     <GridLayout row="0" height="75" paddingTop="25" class="modal-header-bar">
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/employee/search-employee.component.ts:14:18
  14     templateUrl: "./search-employee.component.html",
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component SearchEmployeeComponent.
src/app/components/employee/search-employee.component.html:5:5 - error NG8001: 'SearchBar' is not a known element:
1. If 'SearchBar' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

5     <SearchBar row="1" hint="Mitarbeiter suchen" (textChange)="onTextChanged($event)"
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6         (loaded)="searchBarLoaded($event)" (clear)="onClear($event)" (submit)="onSubmit($event)"></SearchBar>

src/app/components/employee/search-employee.component.ts:14:18
14     templateUrl: "./search-employee.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component SearchEmployeeComponent.
src/app/components/employee/search-employee.component.html:7:5 - error NG8001: 'RadListView' is not a known element:

If 'RadListView' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

7     <RadListView #listview row="2" [items]="dataItems" [itemTemplateSelector]="templateSelector">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/components/employee/search-employee.component.ts:14:18
14     templateUrl: "./search-employee.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component SearchEmployeeComponent.
src/app/components/employee/search-employee.component.html:7:36 - error NG8002: Can't bind to 'items' since it isn't a known property of 'RadListView'.
7     <RadListView #listview row="2" [items]="dataItems" [itemTemplateSelector]="templateSelector">
~~~~~~~~~~~~~~~~~~~
src/app/components/employee/search-employee.component.ts:14:18
14     templateUrl: "./search-employee.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component SearchEmployeeComponent.
src/app/components/employee/search-employee.component.html:7:56 - error NG8002: Can't bind to 'itemTemplateSelector' since it isn't a known property of 'RadListView'.
7     <RadListView #listview row="2" [items]="dataItems" [itemTemplateSelector]="templateSelector">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/components/employee/search-employee.component.ts:14:18
14     templateUrl: "./search-employee.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~0m
Error occurs in the template of component SearchEmployeeComponent.
src/app/components/timepicker/timepicker.component.html:1:1 - error NG8001: 'StackLayout' is not a known element:

If 'StackLayout' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

1 <StackLayout class="page-timepicker" (loaded)="onLoaded($event)">

src/app/components/timepicker/timepicker.component.ts:19:18
  19     templateUrl: "./timepicker.component.html",
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component TimePickerComponent.
src/app/components/timepicker/timepicker.component.html:3:5 - error NG8001: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

3     <GridLayout columns="*, 100" rows="auto, auto, auto">
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/timepicker/timepicker.component.ts:19:18
  19     templateUrl: "./timepicker.component.html",
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component TimePickerComponent.
src/app/components/timepicker/timepicker.component.html:6:9 - error NG8001: 'StackLayout' is not a known element:
1. If 'StackLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

6         <StackLayout col="0" colspan="2" row="2">
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/timepicker/timepicker.component.ts:19:18
  19     templateUrl: "./timepicker.component.html",
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component TimePickerComponent.
src/app/components/timepicker/timepicker.component.html:7:13 - error NG8001: 'TimePicker' is not a known element:
1. If 'TimePicker' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

7             <TimePicker (loaded)="onPickerLoaded($event)" #timePicker
             ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
8                         minuteInterval="1"
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
9                         is24Hours="true"
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
10                         (timeChange)="onTimeChanged($event)">
 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/timepicker/timepicker.component.ts:19:18
  19     templateUrl: "./timepicker.component.html",
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component TimePickerComponent.
src/app/components/availability/availability.component.html:1:1 - error NG8001: 'StackLayout' is not a known element:
1. If 'StackLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

1 <StackLayout class="page-availability" (loaded)="onLoaded($event)">

src/app/components/availability/availability.component.ts:25:18
25     templateUrl: "./availability.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AvailabilityComponent.
src/app/components/availability/availability.component.html:3:5 - error NG8001: 'GridLayout' is not a known element:

If 'GridLayout' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/components/availability/availability.component.ts:25:18
25     templateUrl: "./availability.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AvailabilityComponent.
src/app/components/availability/availability.component.html:7:58 - error NG8002: Can't bind to 'text' since it isn't a known property of 'Label'.
7
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/components/availability/availability.component.ts:25:18
25     templateUrl: "./availability.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component AvailabilityComponent.
src/app/components/daypicker.component.html:1:1 - error NG8001: 'GridLayout' is not a known element:

If 'GridLayout' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

1 <GridLayout rows="auto,*" (loaded)="onLoaded()">

src/app/components/daypicker.component.ts:18:18
  18     templateUrl: "./daypicker.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component DayPickerComponent.
src/app/components/daypicker.component.html:2:5 - error NG8001: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

2     <GridLayout row="0" height="70" class="modal-header-bar">
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/daypicker.component.ts:18:18
  18     templateUrl: "./daypicker.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component DayPickerComponent.
src/app/components/daypicker.component.html:5:5 - error NG8001: 'RadCalendar' is not a known element:
1. If 'RadCalendar' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

5     <RadCalendar #calendar row="1"
      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
6         [eventSource]="calendarEvents"
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
16         (navigatingToDateStarted)="onNavigatingToDateStarted($event)"
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
17         (viewModeChanged)="onViewModeChanged($event)">
  ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/daypicker.component.ts:18:18
  18     templateUrl: "./daypicker.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component DayPickerComponent.
src/app/components/daypicker.component.html:6:9 - error NG8002: Can't bind to 'eventSource' since it isn't a known property of 'RadCalendar'.

6         [eventSource]="calendarEvents"
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/daypicker.component.ts:18:18
  18     templateUrl: "./daypicker.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component DayPickerComponent.
src/app/components/datepicker/datepicker.component.html:1:1 - error NG8001: 'StackLayout' is not a known element:
1. If 'StackLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

1 <StackLayout class="page-datepicker" (loaded)="onLoaded($event)">

src/app/components/datepicker/datepicker.component.ts:25:18
25     templateUrl: "./datepicker.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DatePickerComponent.
src/app/components/datepicker/datepicker.component.html:3:5 - error NG8001: 'GridLayout' is not a known element:

If 'GridLayout' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

3
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/components/datepicker/datepicker.component.ts:25:18
25     templateUrl: "./datepicker.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DatePickerComponent.
src/app/components/datepicker/datepicker.component.html:6:9 - error NG8001: 'StackLayout' is not a known element:

If 'StackLayout' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

6
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/components/datepicker/datepicker.component.ts:25:18
25     templateUrl: "./datepicker.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DatePickerComponent.
src/app/components/datepicker/datepicker.component.html:7:13 - error NG8001: 'DatePicker' is not a known element:

If 'DatePicker' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

7             <DatePicker #datepicker
~~~~~~~~~~~~~~~~~~~~~~~
8                 [minDate]="minDate" [maxDate]="maxDate"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
14                 locale="{{ locale }}"
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
15                 verticalAlignment="center">
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/components/datepicker/datepicker.component.ts:25:18
25     templateUrl: "./datepicker.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DatePickerComponent.
src/app/components/datepicker/datepicker.component.html:8:17 - error NG8002: Can't bind to 'minDate' since it isn't a known property of 'DatePicker'.
8                 [minDate]="minDate" [maxDate]="maxDate"
~~~~~~~~~~~~~~~~~~~
src/app/components/datepicker/datepicker.component.ts:25:18
25     templateUrl: "./datepicker.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DatePickerComponent.
src/app/components/datepicker/datepicker.component.html:8:37 - error NG8002: Can't bind to 'maxDate' since it isn't a known property of 'DatePicker'.
8                 [minDate]="minDate" [maxDate]="maxDate"
~~~~~~~~~~~~~~~~~~~
src/app/components/datepicker/datepicker.component.ts:25:18
25     templateUrl: "./datepicker.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DatePickerComponent.
src/app/components/datepicker/datepicker.component.html:14:17 - error NG8002: Can't bind to 'locale' since it isn't a known property of 'DatePicker'.
14                 locale="{{ locale }}"
~~~~~~~~~~~~~~~~~~~~~
src/app/components/datepicker/datepicker.component.ts:25:18
25     templateUrl: "./datepicker.component.html",
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error occurs in the template of component DatePickerComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:1:1 - error NG8001: 'GridLayout' is not a known element:

If 'GridLayout' is an Angular component, then verify that it is part of this module.
To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

1

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:2:5 - error NG8001: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

2     <GridLayout row="0" columns="*,auto" class="bottom__sheet__title">
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:6:5 - error NG8001: 'StackLayout' is not a known element:
1. If 'StackLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

6     <StackLayout row="1" class="bottom__sheet__element" (tap)="onAction('change')">
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:7:9 - error NG8001: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

7         <GridLayout columns="30,*">
        ~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:12:5 - error NG8001: 'StackLayout' is not a known element:
1. If 'StackLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

12     <StackLayout row="2" class="bottom__sheet__element" (tap)="onAction('crop')">
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:13:9 - error NG8001: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

13         <GridLayout columns="30,*">
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:18:5 - error NG8001: 'StackLayout' is not a known element:
1. If 'StackLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

18     <StackLayout row="3" class="bottom__sheet__element" (tap)="onAction('remove')">
     ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/components/uploadprofileimage/uploadprofileimage.component.html:19:9 - error NG8001: 'GridLayout' is not a known element:
1. If 'GridLayout' is an Angular component, then verify that it is part of this module.
2. To allow any element add 'NO_ERRORS_SCHEMA' to the<EMAIL_ADDRESS>of this component.

19         <GridLayout columns="30,*">
         ~~~~~~~~~~~~~~~~~~~~~~~~~~~

src/app/components/uploadprofileimage/uploadprofileimage.component.ts:14:18
  14     templateUrl: "./uploadprofileimage.component.html"
                      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component UploadProfileImageComponent.
src/app/app.component.html:1:1 - error NG8001: 'page-router-outlet' is not a known element:
1. If 'page-router-outlet' is an Angular component, then verify that it is part of this module.
2. If 'page-router-outlet' is a Web Component then add 'CUSTOM_ELEMENTS_SCHEMA' to the<EMAIL_ADDRESS>of this component to suppress this message.

1 <page-router-outlet></page-router-outlet>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
src/app/app.component.ts:11:18
  11     templateUrl: "app.component.html"
                      ~~~~~~~~~~~~~~~~~~~~
  Error occurs in the template of component AppComponent.

OK seems to be an issue with bottomsheet angular. Sadly I really don't a lot about angular :s I ll try and have a look

TLDR; Worth a shot - did you try adding an entry for this in ngcc.config.js? As described here: https://github.com/NativeScript/nativescript-angular/wiki/Updating-and-developing-for-@nativescript-angular-v9-with-Ivy-or-without
Longer version: I ran into the above, which looks similar in nature to what you're seeing and what was reported in https://github.com/nativescript-community/ui-material-components/issues/177
error NG1010: Value at position 5 in the NgModule.imports of SharedModule is not a reference: [object Object]
 41     imports: [
                 ~
 42         NativeScriptCommonModule,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
...
 53         // DropDownModule,
    ~~~~~~~~~~~~~~~~~~~~~~~~~~
 54     ],

My solution was to add this to ngcc.config.js:
 "@nativescript-community/ui-material-bottomsheet": {
            entryPoints: {
                angular: {
                    ignoreMissingDependencies: true,
                },
            },
            ignorableDeepImportMatchers: [/tns-core-modules\//, /@nativescript\/core\//, /@nativescript\/angular\//],
        },

And then: yarn clean && yarn (from package.json - "clean": "npx rimraf hooks node_modules package-lock.json platforms") and then ns run android and my issues went away. I'm still fighting other upgrade issues but this resolved the bottom sheet problem for me.