Discrepancies within WDL script in converting to CWL

We are converting the WDL scripts to CWL, and there seem to be some discrepancies regarding the correct way to format arguments within the command line with boolean values.
While working on converting the WDL script to CWL using a wdl2cwl converter (https://github.com/common-workflow-language/wdl2cwl), we found that if a boolean value exists for a particular argument, errors were being raised. There is an issue regarding the interpolation of the argument within the command line.
According to the WDL HaplotypeCaller_3.6 script, if an argument takes in a boolean and its default value is false, then the command line includes both the argument and the value false at the end.
For example, examining this piece of code
-allowNonUniqueKmersInRef ${default="false" allowNonUniqueKmersInRef}
With a default value of false, the script would return
-allowNonUniqueKmersInRef false
if given no value (using the default) when in reality it should return nothing, as only a true value actually causes it to return something in the command line. An "invalid argument value false" error is returned in this case. The WDL script does not seem to portray that. We suspect that the interpolation should instead look like
${true = '-allowNonUniqueKmersInRef, false = '', Boolean bool}
as shown the documentation for wdl (https://github.com/broadinstitute/wdl/blob/develop/SPEC.md#integer-lengtharrayx). When converted to CWL, the command line output does not run if done the current way. If false, the argument should not exist on the command line, and if true, the command line should have
-allowNonUniqueKmersInRef.
The true and false values should not exist in the command line.
There also seem to be problems regarding arguments with array inputs. According to the documentation (https://software.broadinstitute.org/gatk/documentation/tooldocs/current/org_broadinstitute_gatk_tools_walkers_haplotypecaller_HaplotypeCaller.php#--input_prior) for something such as kmerSize, with an array of [10, 25], then command line should look like
-kmerSize 10 -kmerSize 25.
However, the output is -kmerSize [10,25], which is not understood by the program as it is not formatted correctly. According to the WDL documentation, the argument should look like array [String] prefix(String, Array [X]) so that a prefix exists for each value. In conversion from WDL to CWL, these problems are causing errors that causes the program to fail.
The format of the WDL seems to be incorrect, if we are understanding the code correctly. Is it possible that there exists a different version of the WDL code for HaplotypeCaller?
Perhaps we aren't understanding the code correctly. Any clarification is appreciated! Thank you!

@pkarnati2004 Could you please ask this question in the WDL forum? Thank you!
https://gatkforums.broadinstitute.org/wdl


Update tool installer to install into Hearth-specific folder

This is so we can do updates without disturbing other installs etc.
Application Support is probably a good place to go. We can get that path programatically.

Actually no. After some reading and IRL talk we figured that node and npm insist on default install paths. So we won't argue.


RM-93289 Release react 6.0.1

This patch release includes
#305 Fix JsBackedMap for Dart 2.12

Security Insights
No security relevant content was detected by automated scans.
Action Items

Review PR for security impact; comment "security review required" if needed or unsure
Verify aviary.yaml coverage of security relevant code

Questions or Comments? Reach out on Slack: #support-infosec.

Public API Changes
Release PR detected; using previous release (6.0.0) as the diff base. No changes to the public API found for commit e874088e6a41b2e094bd96d94b594f8f11fcf6f0
Showing results for e874088e6a41b2e094bd96d94b594f8f11fcf6f0

Powered by semver-audit-service. Please report any problems by filing an issue.
Reported by the dart semver audit client 2.2.0
Browse public API.


Make the projectId optional for signing with IAM

Copied from original issue: https://github.com/stephenplusplus/google-auto-auth/issues/53
@hiranya911July 10, 2018 11:27 PM
The signWithApi method currently requires a projectId field:
_signWithApi (data, callback) {
    if (!this.projectId) {
      callback(new Error('Cannot sign data without a project ID.'));
      return;
    }
    ...
}

However, IAM's signBlob endpoint can be called without a projectId if necessary (using - as a wildcard):
/projects/-/serviceAccounts/${clientEmail}

Can we modify the implementation to default to - wildcard when a projectId is not given explicitly? This will greatly simplify the usage of the library in some high-level applications, such as firebase-admin.

Thanks for the tip, @hiranya911! We are actually going to deprecate google-auto-auth, so this will live on as a feature request for `google-auth-library.

@hiranya911 if there is no projectId available, I'm guessing that also means there's no email available.  They would both come from the service account credentials either via a JSON file, or via the Compute metadata service.  If someone wants to use the API like this - they would also have to provide the credential email for the service account, right?

@hiranya911 gentle ping

Sorry for the delay. In the context I'm thinking of (Firebase server-side SDKs), a developer can provide a service account ID (i.e. client email) out of band. I'm not sure if there's a way to plumb that parameter down to this level though.

I think this can also help with issues like https://github.com/googleapis/nodejs-storage/issues/244

Hey @hiranya911 - I'll pick this up for you (a few years after the fact 😅). You are correct, projectId is not required for this request (in fact, adding a project id would be invalid according to the documentation). I'll create a PR shortly.


Re-enable button tap actions

[ ] start transaction on the tap action (and finish it on ViewDidAppear on the controller)
[ ] use a timer to finish a transaction if no action happens afterwards
[ ] research on ways to properly name transactions (resulting from button clicks)

I've been trying to find someway to improve the naming scheme for captured taps of SwiftUI elements, and have come up empty handed. The main issue is there is not meaningful way to connect the elements created using swiftUI with the global event handler that is build using UIKit. The crux of the issue is the SwiftUI elements are translated by into generic UIKit elements that don't carry any of the information expressed in the swiftUI definitions.  Additionally, it's not possible to "swizzle" swiftUI buttons because they are not dynamically loaded like UIKit & Objective-C based frameworks.
I worked with Felix to investigate possible alternatives but we came up empty handed, and we believe it might be best to discard the feature.  This instrumentation works well for UIKit built UIs, and I was attempting to provide a way to disable instrumentation for SwiftUI related taps, but there doesn't seem to be a concise way to filter them. I'll continue investigating on that front.


Update spice_clone.py

Varun, fix your pr and I'll merge it

Also, you should use a better name for your commit, like "add more possible responses" or something: "Update spice_clone.py" is pretty vague.


[BUG] OTLP receiver fails to start if logs_enabled=false

Agent Environment
$ datadog-agent version
Agent 7.51.0 - Commit: 5b3c5cc - Serialization version: v5.0.100 - Go version: go1.21.5

This is on an Ubuntu docker container.
Describe what happened:
I enabled the agent's OTLP receiver with the following configuration:
otlp_config:
  receiver:
    protocols:
        grpc:
          endpoint: "localhost:4317"
        http:
          endpoint: "localhost:4318"
  metrics:
    enabled: true
  traces:
    enabled: true
  logs:
    enabled: true

The agent started, but was not listening on ports 4317 and 4318. I eventually found that datadog-agent status showed the following:
====
OTLP
====

  Status: Enabled
  Collector status: Failed to start
  Error: OTLP logs is enabled but logs agent is not enabled

Adding logs_enabled: true allowed the collector to start.
Describe what you expected:
The agent should either entirely fail to start, or should succeed but log (at WARN level) about mismatched config. Partially working is a confusing state.

I ran into a similar problem myself...

@timmc-edx Out of curiosity, where are you seeing these values being documented?  I'm hitting the same problem as you, but I don't actually want OTLP logs flowing.  Just metrics and traces.

@tdalbo92 Documentation for OTLP Ingestion in the Datadog Agent can be found here.
I'm in a similar boat, just want OTLP metrics and traces collected, no OTLP logs.
Wondering a mismatch between DD_LOGS_ENABLED (which we set to true) and DD_OTLP_CONFIG_LOGS_ENABLED (which isn't set) would cause the collector to fail.

@tdalbo92 I don't recall at this point, but I suspect what was happening was that otlp_config.logs.enabled=true requires logs_enabled=true -- but that if you set the OTLP logging to false, there's no such conflict.


The composite lddmm registration

I had used the imgApplyField function to apply the filed to the labeled atlas, the evaluation result is very bad.  What's the problem here?

How did you run it?  For label images it's necessary to use nearest neighbor interpolation.
outLabelImage = imgApplyField(inLabelImage, field, useNearest=True)

The results still worse after the nearest neighbor interpolation used. Lots of overlap of sub-regions are zero.

Thanks for for the update.
Could you give me more information?

Which atlas are you using?
What type of subject data are you using?
Could you post some code outlining how you did the registration?

I used the "m3.img" and "m8.img" in the data set of "CUMC12"(12 subjects were scanned at the Columbia university Medical Center on a 1.5T GE scanner.). Firstly, I used the FLIRT to register m3 to m8 and got m3_to_m8_brain.img, the transform matrix also applied to atlas m3 and got m3_to_m8_atlas.img.  Then lddmm algorithm was run and make m3_to_m8_brain.img as template and m8.img as target. After lddmm, I got the field which was applied to the m3_to_m8_atlas.img at last. Some code described below:
(field,invField) = imgMetamorphosisComposite(Brain_template,Brain_target,alphaList=[0.01,0.005,0.002],
scaleList = [0.25,0.25,0.25] , iterations = 100, verbose = True, useNearest = True)
#outLabelImage = imgApplyField(inLabelImage, field, useNearest=True)
Brain_lddmm = imgApplyField(Brain_template, field, size = Brain_target.GetSize(),  useNearest=True)
Atlas_lddmm = imgApplyField(Atlas_template, field, size = Atlas_target.GetSize(), useNearest=True)
imgWrite(Brain_lddmm,'Brain_output_path')
imgWrite(Atlas_lddmm,'Atlas_output_path')

Thanks for the detailed response.  You might want try a bigger set of alpha values e.g.
alphaList = [0.05, 0.02, 0.01] and you only have to use nearest neighbor interpolation for label images. Another thing that might be helpful for debugging is to have imgMetamorphosisComposite write all of the output files using the outDirPath parameter.  Therefore in summary...
imgMetamorphosisComposite(..., alphaList = [0.05, 0.02, 0.01], useNearest=False, outDirPath="/path/to/output/directory")

Brain_lddmm = imgApplyField(..., useNearest=False)
Atlas_lddmm = imgApplyField(..., useNearest=True)

This will create a directory with "step0", "step1", and "step2" subdirectories for the 0.05, 0.02 and 0.01 alpha values.  Each subdirectory has a "log.txt" file.  If you are still having problems could you post these files.

Thanks for your response.
But the evaluation results still bad.  But the evaluation result is the same as before except 2 regions' overlap volume improved. The log file shown below:
Step 0:
E, E_velocity, E_rate, E_image (E_image %), LearningRate
0.      2.52993e+09, 4354.25, 0, 2.52993e+09 (99.8108%), 1.100000e-03
.....
44.     2.18549e+09, 1.65008e+08, 0, 2.02048e+09 (79.7119%), 2.172306e-09
45.     2.18549e+09, 1.65008e+08, 0, 2.02048e+09 (79.7119%), 1.493460e-10
E = 2.18549e+09 (79.7119%)
Length = 10364.6
Time = 422.85s (7.04751m)
Step 1:
E, E_velocity, E_rate, E_image (E_image %), LearningRate
0.      2.04139e+09, 3403.78, 0, 2.04139e+09 (99.8283%), 1.100000e-03
......
E, E_velocity, E_rate, E_image (E_image %), LearningRate
40.     1.84947e+09, 9.52979e+07, 0, 1.75418e+09 (85.7829%), 3.798308e-07
41.     1.84947e+09, 9.52979e+07, 0, 1.75418e+09 (85.7829%), 1.632085e-09
E = 1.84947e+09 (85.7829%)
Length = 7889.88
Time = 391.931s (6.53219m)
Step 2:
E, E_velocity, E_rate, E_image (E_image %), LearningRate
0.      1.76706e+09, 1604.96, 0, 1.76706e+09 (99.9107%), 1.100000e-03
......
E, E_velocity, E_rate, E_image (E_image %), LearningRate
40.     1.61289e+09, 9.1514e+07, 0, 1.52138e+09 (86.0196%), 2.967428e-09
41.     1.61289e+09, 9.1514e+07, 0, 1.52138e+09 (86.0196%), 1.632085e-09
E = 1.61289e+09 (86.0196%)
Length = 5527.98
Time = 389.216s (6.48694m)

I think I have got the problem. That may be the problem about format of image in ITK. I'm read the target atlas by using 'imgRead' and then write it to a file again by using 'imgWrite', then evaluate the overlap volume between lddmm transformed atlas and the above wrote file. At last, I got a very nice evaluation results.

Good to hear!  I'll close the issue for now.


Belindas closet nextjs 5 300 qa testing 1

Resolves <issue #300>
Description:
After researching, I found the right setup to run tests using jest. What was happening was jest could not understand typescript which would throw an error. Originally, I used a custom babel and jest setup to be able to run tests. I built the tests but kept seeing that using the custom babel would cause next.js to not use SWJ. I downloaded the correct dependencies to be able to run jest with SWJ to maintain performance like next.js 13 intended :)
Testing is limited given the inability to mock next.js router. I found some code that I included in this pull. Here I found more discussions on mocking router.
The commit history shows my attempt at writing a test for the dropdown menu component. I could not finish it since the way the component is built, the routing string is pushed to the router.  You can see why mocking router is integral for further robust component testing.
BC mentioned creating snapshot tests. After researching, I found that the material UI component generates CSS with numbers generated at the end of the class at runtime. So, a snapshot test will always yield a change that would give us false warnings. There are methods of creating a wrapper that removes the numbers, but these solutions were made using a now-deprecated API. We could still do snapshot testing, but we need to figure out which API to call to modify and apply the custom wrapper for testing.
Those working on NSC events testing, try to replicate my settings. I am pretty sure it will work, but keep me updated if they don't work :)
Test Coverage Before:

Test Coverage After:

Adding write up from draft pull request on 4/18
After researching, I was able to find the configurations to get jest to run with typescript without encountering errors. Previously, I could not write tests on components because jest would complain about TSX files and throw runtime errors. Many tutorials later, I found the right environment for creating tests. An issue I am running into is I cannot run jest tests on certain components (non page components) without mocking the useRouter. I plan on finishing up writing the page tests since they are pretty straightforward.
Here is more informations on how other's were able to mock useRouter for jest. If you can figure out the right implementation, please let me know!
https://github.com/vercel/next.js/discussions/23034

Ran the test and all tests passed on my end

The tests look all good to me. I got the expected result on my end.

I finally was able to update my repo since there needed to be test rewrites. I also removed a test since some of the components are still being developed. Removed SWC modules since we have decided to use TSC for testing transpilation. I know we agreed to place tests next to the component. The Issue I am running into is getting a proper setup where the files next to components get added to the code coverage report. Given the extensive research and setup, I will get back to it another time so I can move forward in my sprint.


Warnings have been turned off

Capturing of warnings is turned on here:
https://github.com/COSIMA/cosima-cookbook/blob/19808e091c18f7c7b98a24abafe9e7f6807bbd6a/cosima_cookbook/database.py#L45
It occurred in this commit https://github.com/COSIMA/cosima-cookbook/commit/c1968611ec0b9c0b7ac09ff088745ce27817c3c8
It means users no longer get warnings that were designed to tell users there was potentially a problem with their query:
https://github.com/COSIMA/cosima-cookbook/blob/19808e091c18f7c7b98a24abafe9e7f6807bbd6a/cosima_cookbook/querying.py#L307-L322
Arguably the multiple filenames warning is no longer fit for purpose. Since the diagnostics have been split out into individual files with dates in the filename this warning is misleading and unhelpful.
However there is currently an issue with queries returning incorrect data (#252) and warning the user about this might be one potential approach.

Agreed about the multiple filename warning, but maybe we should be showing "warn" level warnings by default anyway? It's curious that they'd be hidden!

Agree definitely should be emitting warnings.
Weirdly in #252 I am getting warnings. Hrm. Might have jumped the gun on this. Will check more thoroughly tomorrow.

They're being captured by logging due to the logging.captureWarnings(True) in database.py.
Simple example:
import cosima_cookbook as cc
from cosima_cookbook import querying

import warnings
import logging

logging.captureWarnings(False)
warnings.simplefilter("always")

session = cc.database.create_session()

# Define experiment in database
expt = '01deg_jra55v140_iaf_cycle2'
start_time = '1990-01-01'
end_time   = '1990-12-31'

files = querying._ncfiles_for_variable(expt,
                                       'u',
                                       session,
                                       start_time=start_time,
                                       end_time=end_time,
                                       frequency='1 monthly',
                                       attrs_unique={'cell_methods': 'area: time: mean'},
                                       )

With the latest version of the cookbook I get this output (it loads the files because I've reset the warnings filter, otherwise it would thrown an exception which does make it to the console)
$ python test.py
/g/data3/hh5/public/apps/miniconda3/envs/analysis3-21.07/lib/python3.9/site-packages/cosima_cookbook/querying.py:357: QueryWarning: Your query returns variables from files with different cell_methods: {'time: mean', 'time: mean_pow(02)'}. This could lead to unexpected behaviour! Disambiguate by passing attrs={'cell_methods'=''} to getvar, specifying the desired attribute value.
  warnings.warn(
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output371/ocean/ocean-3d-u-1-monthly-mean-ym_1989_10.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output371/ocean/ocean-3d-u-1-monthly-pow02-ym_1989_10.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output372/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_01.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output372/ocean/ocean-3d-u-1-monthly-mean-ym_1990_01.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output373/ocean/ocean-3d-u-1-monthly-mean-ym_1990_04.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output373/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_04.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output374/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_07.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output374/ocean/ocean-3d-u-1-monthly-mean-ym_1990_07.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output375/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_10.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output375/ocean/ocean-3d-u-1-monthly-mean-ym_1990_10.nc

If I comment out logging.captureWarnings(False) no warning makes it to stderr
$ python test.py
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output371/ocean/ocean-3d-u-1-monthly-mean-ym_1989_10.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output371/ocean/ocean-3d-u-1-monthly-pow02-ym_1989_10.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output372/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_01.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output372/ocean/ocean-3d-u-1-monthly-mean-ym_1990_01.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output373/ocean/ocean-3d-u-1-monthly-mean-ym_1990_04.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output373/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_04.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output374/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_07.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output374/ocean/ocean-3d-u-1-monthly-mean-ym_1990_07.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output375/ocean/ocean-3d-u-1-monthly-pow02-ym_1990_10.nc
/g/data/cj50/access-om2/raw-output/access-om2-01/01deg_jra55v140_iaf_cycle2/output375/ocean/ocean-3d-u-1-monthly-mean-ym_1990_10.nc

Consequently I think this should be removed from database.py.

Created a custom warning for query errors and reset filter for it to throw exception in https://github.com/COSIMA/cosima-cookbook/pull/257


[Bug]: The blog's are merging

Contact Details
No response
What happened?
the gap between blogs is less making it difficult to see,the font is too large,and the top section is large too
What browsers are you seeing the problem on?
No response
Relevant log output
No response
Are you interested in contributing?

[X] I'd like to work on this issue

Code of Conduct

[X] I have used the search function to check if an issue already exists
[X] I agree to follow this project's Code of Conduct

Which program are you contributing in?
gssoc

We're using Blogs from hashnode and won't do changes on it


Add colab links to notebooks

Have you tested this existing example in colab yet?

Yeah, all I had to do was add a cell with !pip install sparseml[torchvision] and things moved along.
During training I get a RuntimeError on the forward pass though. It seems to change which specific conv it happens but it's always a conv.
torch                         1.7.1
torchvision                   0.8.2

Epoch 0/9
----------
---------------------------------------------------------------------------
RuntimeError                              Traceback (most recent call last)
<ipython-input-7-220e88f86f9a> in <module>()
     17     device,
     18     num_epochs=manager.max_epochs,
---> 19     is_inception=False,
     20 )

11 frames
<ipython-input-4-79b5366850ac> in train_model(model, dataloaders, criterion, optimizer, device, num_epochs, is_inception)
     48                         loss = loss1 + 0.4 * loss2
     49                     else:
---> 50                         outputs = model(inputs)
     51                         loss = criterion(outputs, labels)
     52

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
    725             result = self._slow_forward(*input, **kwargs)
    726         else:
--> 727             result = self.forward(*input, **kwargs)
    728         for hook in itertools.chain(
    729                 _global_forward_hooks.values(),

/usr/local/lib/python3.7/dist-packages/torchvision/models/resnet.py in forward(self, x)
    218
    219     def forward(self, x):
--> 220         return self._forward_impl(x)
    221
    222

/usr/local/lib/python3.7/dist-packages/torchvision/models/resnet.py in _forward_impl(self, x)
    209         x = self.layer2(x)
    210         x = self.layer3(x)
--> 211         x = self.layer4(x)
    212
    213         x = self.avgpool(x)

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
    725             result = self._slow_forward(*input, **kwargs)
    726         else:
--> 727             result = self.forward(*input, **kwargs)
    728         for hook in itertools.chain(
    729                 _global_forward_hooks.values(),

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/container.py in forward(self, input)
    115     def forward(self, input):
    116         for module in self:
--> 117             input = module(input)
    118         return input
    119

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
    725             result = self._slow_forward(*input, **kwargs)
    726         else:
--> 727             result = self.forward(*input, **kwargs)
    728         for hook in itertools.chain(
    729                 _global_forward_hooks.values(),

/usr/local/lib/python3.7/dist-packages/torchvision/models/resnet.py in forward(self, x)
    110         out = self.relu(out)
    111
--> 112         out = self.conv3(out)
    113         out = self.bn3(out)
    114

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/module.py in _call_impl(self, *input, **kwargs)
    725             result = self._slow_forward(*input, **kwargs)
    726         else:
--> 727             result = self.forward(*input, **kwargs)
    728         for hook in itertools.chain(
    729                 _global_forward_hooks.values(),

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/conv.py in forward(self, input)
    421
    422     def forward(self, input: Tensor) -> Tensor:
--> 423         return self._conv_forward(input, self.weight)
    424
    425 class Conv3d(_ConvNd):

/usr/local/lib/python3.7/dist-packages/torch/nn/modules/conv.py in _conv_forward(self, input, weight)
    418                             _pair(0), self.dilation, self.groups)
    419         return F.conv2d(input, weight, self.bias, self.stride,
--> 420                         self.padding, self.dilation, self.groups)
    421
    422     def forward(self, input: Tensor) -> Tensor:

/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/signal_handling.py in handler(signum, frame)
     64         # This following call uses `waitid` with WNOHANG from C side. Therefore,
     65         # Python can still get and update the process status successfully.
---> 66         _error_if_any_worker_fails()
     67         if previous_handler is not None:
     68             assert callable(previous_handler)

RuntimeError: DataLoader worker (pid 523) is killed by signal: Killed.

The above issue was because I wasn't on a GPU instance somehow. There is still an issue with the dataset and dataloader
Epoch 0/9
----------
---------------------------------------------------------------------------
UnidentifiedImageError                    Traceback (most recent call last)
<ipython-input-7-220e88f86f9a> in <module>()
     17     device,
     18     num_epochs=manager.max_epochs,
---> 19     is_inception=False,
     20 )

4 frames
<ipython-input-4-79b5366850ac> in train_model(model, dataloaders, criterion, optimizer, device, num_epochs, is_inception)
     27
     28             # Iterate over data.
---> 29             for inputs, labels in dataloaders[phase]:
     30                 inputs = inputs.to(device)
     31                 labels = labels.to(device)

/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py in __next__(self)
    433         if self._sampler_iter is None:
    434             self._reset()
--> 435         data = self._next_data()
    436         self._num_yielded += 1
    437         if self._dataset_kind == _DatasetKind.Iterable and \

/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py in _next_data(self)
   1063             if len(self._task_info[self._rcvd_idx]) == 2:
   1064                 data = self._task_info.pop(self._rcvd_idx)[1]
-> 1065                 return self._process_data(data)
   1066
   1067             assert not self._shutdown and self._tasks_outstanding > 0

/usr/local/lib/python3.7/dist-packages/torch/utils/data/dataloader.py in _process_data(self, data)
   1109         self._try_put_index()
   1110         if isinstance(data, ExceptionWrapper):
-> 1111             data.reraise()
   1112         return data
   1113

/usr/local/lib/python3.7/dist-packages/torch/_utils.py in reraise(self)
    426             # have message field
    427             raise self.exc_type(message=msg)
--> 428         raise self.exc_type(msg)
    429
    430

UnidentifiedImageError: Caught UnidentifiedImageError in DataLoader worker process 5.
Original Traceback (most recent call last):
  File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/worker.py", line 198, in _worker_loop
    data = fetcher.fetch(index)
  File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in fetch
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/usr/local/lib/python3.7/dist-packages/torch/utils/data/_utils/fetch.py", line 44, in <listcomp>
    data = [self.dataset[idx] for idx in possibly_batched_index]
  File "/usr/local/lib/python3.7/dist-packages/torchvision/datasets/folder.py", line 151, in __getitem__
    sample = self.loader(path)
  File "/usr/local/lib/python3.7/dist-packages/torchvision/datasets/folder.py", line 188, in default_loader
    return pil_loader(path)
  File "/usr/local/lib/python3.7/dist-packages/torchvision/datasets/folder.py", line 169, in pil_loader
    img = Image.open(f)
  File "/usr/local/lib/python3.7/dist-packages/PIL/Image.py", line 2896, in open
    "cannot identify image file %r" % (filename if filename else fp)
PIL.UnidentifiedImageError: cannot identify image file <_io.BufferedReader name='/root/.cache/nm_datasets/imagenette/imagenette-320/train/n03417042/n03417042_5600.JPEG'>


Dolby Digital EX detection

Any chance detection of the Dolby Digital EX flag could be added? (DTS ES Matrix detection seems to be implemented)

@Krobar a sample file please.

Hi @JeromeMartinez
Sorry I've been so slow to respond. First 100 frames attached (Rename to MKV)
DDEX.log

Sorry I've been so slow to respond.

I am not faster :)

First 100 frames attached

From specs (look for dsurexmod), bitstreams with bsid of 8 (and this is the case for your file) can not provide information about EX. The encoder should have switched to bsid of 6 for being able to provide EX info (which is not mandatory).
So impossible to detect the EX without decoding the AC-3 stream and catching the hidden EX bitstream from it. Not in the scope of MediaInfo (which relies on metadata or in worst case scenario in the encoded bistream, without decoding).

@Krobar I found a couple of E-AC-3 files with EX flag + one (and only one!) AC-3 file with EX flag.
Was enough for my tests though.
--> I'll support the EX flag detection, but EX line display in MediaInfo will be there only if the stream has the corresponding (non mandatory) flag. You file may be EX, just that it is not flagged as such (and the flag has no impact on the decoding, and the EX is "encoded" in the decoded content, and it is sure that I won't implement the AC-3 decoding not the maths for the matrix detection in MediaInfo, too much).

Thank you. I was just about to say I found a file which MKVToolNix knows is DDEX which I suspect is the same thing.


Failing nixops deployment when using boot.initrd.network.ssh

I filed this here and not in the nixops repo, as the commit introducing the problem is in nixpkgs.
Steps to reproduce
Using nixpkgs on 0a6a06346a, nixops from the same nixpkgs tree.

Create a nixops machine definition including a section for
boot.initrd.network.ssh.
In that section, set the hostRSAKey to point to a raw (unquoted) path:boot.initrd.network.ssh = {
  enable = true;
  hostRSAKey = /some/path/to/a/key;
  ...
};

nixops deploy

Expected behavior
nixops deploys the definition successfully.
Observed behavior
The deployment fails with the following errors:
$ nixops deploy
building all machine configurations...
host1> copying closure...
testdeployment> closures copied successfully
host1> cp: cannot stat '/some/path/to/a/key': No such file or directory
host1> Traceback (most recent call last):
host1>   File "/nix/store/nx0kav7cj0qy9s3hw0dvyb32rj94nrr5-systemd-boot-builder.py", line 149, in <module>
host1>     main()
host1>   File "/nix/store/nx0kav7cj0qy9s3hw0dvyb32rj94nrr5-systemd-boot-builder.py", line 144, in main
host1>     write_entry(gen, machine_id)
host1>   File "/nix/store/nx0kav7cj0qy9s3hw0dvyb32rj94nrr5-systemd-boot-builder.py", line 52, in write_entry
host1>     subprocess.check_call([append_initrd_secrets, "/boot%s" % (initrd)])
host1>   File "/nix/store/jmh1011sv7fwa9c3zgqgqgvvnz4nixkx-python3-3.5.3/lib/python3.5/subprocess.py", line 271, in check_call
host1>     raise CalledProcessError(retcode, cmd)
host1> subprocess.CalledProcessError: Command '['/nix/store/aii12czb6238vfi65pakwnch3lh9dqfw-append-initrd-secrets/bin/append-initrd-secrets', '/boot/efi/nixos/7i91ak3l5x049bp9wj0vl2xfl5mgkrkv-initrd-initrd.efi']' returned non-zero exit status 1
host1> error: unable to activate new configuration
error: activation of 1 of 1 machines failed (namely on ‘host1’)

Interpretation
Instead of copying the key (defined with a raw path) from the orchestrating host to the target machine, the script on the target machine tries to copy that key from within its own filesystem. As the file does not exist there, this is not possible. 59c0977300..3a26d09e15 introduced a way to avoid storing the keys world-readable in the nix store. However, this only seems to work when the key points to a local path.
Possible solutions
I disussed those solutions with @shlevy, who introduced the initrd secret facility, on IRC.

Store the key in a nixops deployment.keys key, then point the hostRSAKey value to the /run/keys/... path. --> deployment.keys.<name>.text can   only contain data, which is representable as a nix string. However, dropbear's privkey format is binary data.
Use a base64 encoded version of the key for a deployment.keys key, then decode and use on the target. --> not possible as there's no way to decode in between.
Set boot.loader.supportsInitrdSecrets = lib.mkForce false;. --> Activation script will still try to copy the key.
Make nixops transfer the key to the target machine, but store it outside of the nix store. Then copy from there and remove the data from the target machine. Seems complicated, too specific and "not quite right".
Allow supplying a standard openssh private key for hostRSAKey etc. (this could be checked) and if the privkey is in OpenSSH format, dropbearconvert it on the target machine before copying. This would eliminate having to figure out that the privkey is in a different format from OpenSSH, which can be confusing at first.
Allow deployment.keys to handle binary data. This seems like a simple solution, but I don't know if it can be done.

I'd be happy to hear your thoughts on this.

Currently, the only working solution for me was to revert b09490a3229dd5ac4169248ee38ca22e357c0aa2.

@shlevy Any news on this?

The right solution here is to have deployment.keys handle binary data. I haven't worked on it, though.

Hi! I’ve just hit this issue during a NixOS 19.03 install from the installation media (not using NixOps). The script building the initrd keeped saying the file did not exist, where I would cat it by just copy-pasting the “missing” path. Not sure it has the exact same cause, but the error message is the very same.


Fix environment variable loading in hosting #470

@Tratcher

Hi @pakrym, I'm your friendly neighborhood .NET Foundation Pull Request Bot (You can call me DNFBOT). Thanks for your contribution!
You've already signed the contribution license agreement. Thanks!
The agreement was validated by .NET Foundation and real humans are currently evaluating your PR.
TTYL, DNFBOT;

:shipit:


Redeem badge token link

@kevkevinpal here is the PR I created from a branch on our repo after merging your changes on our branch and doing a few small improvements.
Basically what I did is create a DeepLinkViewState for SaveProfile and one for RedeemTokens instead of using the same for both as you were doing. This way we don't need to pass the "path" on the viewState and check for it literally as you were doing when user taps on SAVE button on popup. (if(viewState.path == "claim_on_liquid"))
Right now, at that moment we check for the viewState type (RedeemTokensPopup or SaveProfilePopup) and depending on which type it is, it will go to SaveProfile or to RedeemTokens logic.
In addition the title is not needed anymore on the ViewState object since depending on the ViewState type we know which title to show, and I replaced the link on the ViewState by the host, since from the link we were getting the host to show it on the popup (then the host is enough there)
Let me know if they make sense to you

@kevkevinpal here is the PR I created from a branch on our repo after merging your changes on our branch and doing a few small improvements.
Basically what I did is create a DeepLinkViewState for SaveProfile and one for RedeemTokens instead of using the same for both as you were doing. This way we don't need to pass the "path" on the viewState and check for it literally as you were doing when user taps on SAVE button on popup. (if(viewState.path == "claim_on_liquid"))
Right now, at that moment we check for the viewState type (RedeemTokensPopup or SaveProfilePopup) and depending on which type it is, it will go to SaveProfile or to RedeemTokens logic.
In addition the title is not needed anymore on the ViewState object since depending on the ViewState type we know which title to show, and I replaced the link on the ViewState by the host, since from the link we were getting the host to show it on the popup (then the host is enough there)
Let me know if they make sense to you

perfect I was trying to find a way to do that better but the PR is looking good 👍


Improve the view command

to support viewing persons with attributes that contains a specified substring, on top whether it contains a specific word.
Search for words, ie people whose names contain the words "Alex" and "Tan"
view n/Alex Tan
> Found 3 results:
> Alex Tan ...
> Alex Chua ...
> Alice Tan ...

Search for substring, ie people whose names contain the substring "Alex Tan"
view n/"Alex Tan"
> Found 1 result"
> Alex Tan ...

Oh. I actually already open an issue on this earlier.

Apologies


How to use invoice subscriptions?

This is where my lack of Elixir knowledge shows, and it's not necessarily lnd_client specific, but after 30 mins of Googling I have not found the answer.
How do you tap into LndClient.Tools.InvoiceUpdates? I see that when I pay an invoice created using #6, the invoice is printed on the console.
What I imagine is running a function, defined in my app, with the invoice struct as an arg so I can do something about it in my app (i.e. update the database that the invoice has been paid and ping a webhook url).

This lib could use some little overhaul, as it's probably the first one I did in Elixir a little while ago.
The InvoiceUpdates is a GenServer that's started directly from the .iex.exs file in the root folder. This means, if you start iex, it will start automatically.
What it does, is call LndClient.subscribe_invoices with its own GenServer process pid. It then expects to get some messages, and that's the reason why it has handle_info functions. These are the ones printing what you see in the console.
Now... this module is pretty much useless in a standalone app that's using lnd_client. But... that specific app can use the LndClient.Tools.InvoiceUpdates module as a blueprint to create its own and manage invoices however it's supposed to.
Does it make sense?

This lib could use some little overhaul, as it's probably the first one I did in Elixir a little while ago.
The InvoiceUpdates is a GenServer that's started directly from the .iex.exs file in the root folder. This means, if you start iex, it will start automatically.
What it does, is call LndClient.subscribe_invoices with its own GenServer process pid. It then expects to get some messages, and that's the reason why it has handle_info functions. These are the ones printing what you see in the console.
Now... this module is pretty much useless in a standalone app that's using lnd_client. But... that specific app can use the LndClient.Tools.InvoiceUpdates module as a blueprint to create its own and manage invoices however it's supposed to.
Does it make sense?

Oh I see. My web app will make its own gen server to get updates. Got it! I thought there was some way to just plug into that gen server (updating it of course)

Well, the quickest way to consume this data is to subscribe and create a handle_info function straight in a LiveView page.
I don't necessarily recommend it, cause every page viewer will get its own subscription instead of having one for the whole site.. but it would work without having to code your own GenServer and would be an easy way to test this lib and have instant visuals.


Ensure compatibility check readiness

Coming from https://github.com/opensearch-project/opensearch-devops/issues/114#issuecomment-1548868449
Overview
In order to detect the breaking changes between OpenSearch (core/min) and plugins, we recently onboarded a compatibility check gradle task with OpenSearch. See the pull request.
The task is dependent on publishToMavenLocal task (that publishes the core engine artifacts to maven local). It then clones the plugins' repository in temporary directory and runs ./gradlew assemble.
Action Items
In order to avoid false positives and false negatives, we need to make sure the tasks in below checklist are complete:

[x] The build.gradle file in this repository uses mavenLocal() as the first entry in repositories() section. This will ensure that when core/min dependencies are published to maven local, gradle looks at maven local first and gets the required core/min dependencies rather than fetching from snapshots or maven central resulting in false checks.
[ ] ./gradlew assemble task passes for the plugin build. If the task itself is broken, checking compatitibility is irrelevant as it will always fail.

Please close this issue once the above checklist is complete.
Thanks!

@anirudha @dai-chen can you please provide an update?

@anirudha @dai-chen can you please provide an update?

@anirudha @dai-chen can you please provide an update?

Closing as completed. gradlew build/assemble was working, and currently working in 2.9/2.x. Currently main is broken, working on a fix for that but this is resolved


Update the addon-framework kind of to 0.9.2

The version looks a little funny because we need a commit from main that isn't in 0.9, but this has the latest fixes of 0.9.2.

The CI is failing here. Looks like WithManagedClusterClient doesn't exist any more?

The CI is failing here. Looks like WithManagedClusterClient doesn't exist any more?

oh my god

The CI is failing here. Looks like WithManagedClusterClient doesn't exist any more?

oh my god

I think it's working now :crossed_fingers:


Add iframe dispatcher

@liorgoldhamer @rauchy @yairperman @yuval-netanel @arbeli
To test it

use https://stash.internal.machines/users/lior.goldhamer/repos/sinatra-with-jockey/browse as a demo web client
run inapp from the test-iframe-dispatcher branch
run ngrok --subdomain lux 3000

Add documentation to read.me

How do you think we should add tests here? The project doesn't have js tests, should we add some kind of an iframe example?

+1


Add EXPORT functionality

As a user, I'd like to be able to use this as a normal environment loader as well if I so choose, such as using eval in front of it, so that the variables get the export keyword prepended.
Say I have many environment files that I switch between for local development, they may not contain secrets, but I don't necessarily want to manage them with generic Linux env files, and I'd like to be able to put the yml in VC for other teammates to replicate that non sensitive environment.
While using source is an option, if I'm going to use nv for secrets management as well, it may make sense to just use one tool.
I'm sure there are other applications to doing it that way as well or having that option, as I've used https://github.com/comcast/buildenv-tool with Makefiles this way for repeatable deployment and development as well.

Hey, @reskin89, the options are still under-documented (working on that), but if I'm understanding the request correctly, this functionality is currently available. The print command supports an output format called shell which will print as export KEY="value". You can then use that as eval $(nv print -o shell) to load vars into the current session. Alternately, you could start a new session with nv -- bash, which can be cleaner for managing sessions, since you can easily reset by exiting (especially handy if often switching between target environments).

Also heads up the currently installable version has an issue that only causes it to print values that were resolved and not everything loaded from .env files. Fix for that should be available shortly.

Also heads up the currently installable version has an issue that only causes it to print values that were resolved and not everything loaded from .env files. Fix for that should be available shortly.

Just fixed this, there's a new release available - https://github.com/maxnorth/nv/releases/tag/v0.1.1


Add background jobs to docker

This changes the files "update_zones.py" and "update_accounts.py" slightly, changing the error message to lower priority. It also moves them to the powerdnsadmin directory inside the docker image.
A new Dockerfile "Dockerfile.BackgroundJob" is created. This docker image differs from the stock one provided by including the s6-overlay https://github.com/just-containers/s6-overlay
That way, a cron instance can be started next to PowerDNS-Admin.
Using that, the Docker Image will automatically update Zones and Accounts every 5 minutes if the "bg_domain_updates" setting is enabled.
TLDR:
Have Dockerfile with background jobs

#940


A Bug in deal_post_data

When I am trying to run python goServer.py in the interface/server/ directory and trying to upload a .sgf file, the url change from/go.html to /go.html?file=Can't create file to write, do you have permission to write?, and nothing else have happened.
This error shows that it must be something wrong with the file permission. Please Solve it，thanks！

goServer.py is a work in progress - it doesn't do anything very exciting yet. We'll make sure to put together clear specs for it tomorrow.


Move rabbitmq password to environment.

I think the current rabbitmq spec contains a password 'guest' https://github.com/Azure/Kore/blob/master/examples/rabbitmq_scaledobject.yaml#L15
This should probably move to env vars like we handled all other secrets, right?
/cc @yaron2

This may be P0 only because I think it would be a breaking change?


How to disable warnings on invalid dates passed to parseDate

Whenever I pass an invalid date to flatpicker.parseDate() I get a warning on my console. I want to handle a failed attempt to parse the input by myself. How can I get rid of the warning?

I would also like to be able to handle invalid date warnings. If there was a new callback hook for error/invalid date when either the Enter key or input focus out events. This would enable the ability to apply custom styles or error messages on our end.

I think an error handler would be the best way to go here.
From there, you could parse the error message if you wish.


directions not accurate

Problem encountered on https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/install
Operating System: windows
The directions provided for adding .NET MAUI to an existing installation of Visual Studio Code are inaccurate. The URL below directs the user to Select the Windows key, type Visual Studio Installer, and press Enter., but that does nothing but open up a browser searching bing for the text typed. It seems the intent is to have the user rerun the installer so that it will ask you about add-ons (or extensions), but doing so does not result in the installer prompting you to check any add-ons that you want to install.
https://dotnet.microsoft.com/en-us/learn/maui/first-app-tutorial/install

I've transferred this issue to the .NET MAUI docs repo so that we can look at updating the instructions in the doc to provide better results. I also suggest filing a Windows Feedback report to improve the quality of results in the Start Menu search box.

@mairaw Looks like one for you?

@Eilon
This issue needs transferring to the dotnet/website repo, which I don't have access to. Can you oblige?

@Eilon
This issue needs transferring to the dotnet/website repo, which I don't have access to. Can you oblige?

I can't find that repo - is that the right name, or perhaps I don't have permission to access it?

@Eilon It used to be the dotnet/website repo, but it looks like it's split into multiple repos now. I'll track down which is the correct one.


feat: Optimize move2kube collect performance using ListAppsByQuery with depth 0

If we do this, then the data available in the collect will be less, which is not usable for transform then.

Closing this PR as we have a new PR https://github.com/konveyor/move2kube/pull/1026, which enhances the move2kube collect functionality by using a hybrid approach to collect only the selected CF apps metadata through an input yaml, and also supports query depth and spaceguid based filtering.


docs: minor typos fixed in readmes

Minor change, just fixing obvious typos
Thanks!
Ionic Version: 1.x / 2.x / 3.x / 4.x
4.x

Thanks!


Features/discourage base miners

A small PR to explicitely discourage the use of baseminers on main.

I don't think so, since mining with any of these base miners is essentially a trap, it probably is best that we don't outline any suggestions of which models to run.


Add transform_features arg

Issue #, if available:
Description of changes:

Add transform_features arg to TabularPredictor predict and predict_proba methods.
Add tutorials for advanced methods to speed up inference.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Job PR-1769-1 is done.
Docs are uploaded to http://autogluon-staging.s3-website-us-west-2.amazonaws.com/PR-1769/1/index.html


low difficulty share and incorrect extraNonce2 in nonce only with t-rex miner

Hello,
im testing Ergo on main net after on testnet everything went fine. So i connected 10GH/s to my pool. Every rig doing fine but one with t-rex 0.22.1 have 2 type of errors and one with nanominer have 1 type of error.
Issue 1 with nanominer:
Share rejected: job not found [nanominer/3.3.5-cuda11]
Issue 1 with t-rex:
Share rejected: low difficulty share (1.622755973752) [t-rex/0.22.1]
Issue 2 with t-rex:
Share rejected: low difficulty share (1.7530226835) [t-rex/0.22.1]
Im using vardiff.
My config:
"blockRefreshInterval": 100,
"jobRebroadcastTimeout": 60,
"difficulty": 0.5,
"varDiff": {
"minDiff": 0.1,
"maxDiff": null,
"targetTime": 15,
"retargetTime": 90,
"variancePercent": 30,
}
Thank you

some more info. node and miningcore and postgres are on the same server communicating locally with each other. between the server and the rig there is 32-40 ms in some rare cases jumping up to 200ms but no more.

@szilardkoppel May I ask why you've closed it?

job not found solved with incrased maxactivejobs and incrased blockrefreshinterval. and with trex nothing to do on the pool. its mining rig sided issue. if i allow maxdelta 1 in 90s vardiff change then trex is good. but if vardiff jump 3 or more diff then trex still sending shares with old diff. for example mining start on 0.5 then all ok for 90s. then vardiff change to 8.7 for example then trex still send some old 0.5 share. but on the same rig with other software like nbminer all of the shares good except trex. so conclusion with 3070 cards dont use trex.

T-Rex has always been problematic with Ergo. Not only in my own testing but according to other pool ops as well.

yes i got that too

yes i got that too

Okay, thanks.


double url-escape for plugin icon inside djangocms-text-ckeditor

When inserting a Plugin inside the text plugin, the urls produced for a Plugin icon are escaped twice. This results in invalid urls sometimes and can cause the icon to not be loadable.

This is for example the case when inserting an Image Plugin into djangocms-text-ckeditor using the S3 storage backend with authentication information in the url. But any url that relies on the get parameters is affected.
Expected url:
https://whatever.s3.amazonaws.com/my-bucket/image.jpg?many=different&get=parameters

What ends up being used to retrieve the file:
https://whatever.s3.amazonaws.com/my-bucket/image.jpg?many=different&amp;get=parameters

notice the &amp; instead of &.
I've already discussed this with @FinalAngel and it comes down to this about the CKEditor: all html will be escaped, because there should never be a single, unescaped & in html, otherwise it is not strict html. Apparently it is correct to have the url in this form in the <img src="... tag in the html document:
https://whatever.s3.amazonaws.com/my-bucket/image.jpg?many=different&get=parameters

Notice the & is only escaped once, as &. The browser will do the right thing and call the url with unescaped &.
The crux seems to be that django-cms already escapes the icon url server-side: https://github.com/divio/django-cms/blob/54693e7a121190d1df9ba3cdf453ee360fd4d748/cms/admin/placeholderadmin.py#L436
And there are probably good reasons to do so.
So I am not sure where the actual bug is that needs to be fixed.

Does CKEditor need to be smarter about escaping? e.g not escape a & again.
Should the backend return the icon url unescaped? security implications?
Need to check whether maybe the backend already does the double escaping.

http://docs.cksource.com/ckeditor_api/symbols/CKEDITOR.config.html#.basicEntities

@vxsx : @FinalAngel argued that we can't disable it globally, because then it won't escape stuff it should be escaping.

@vxsx this is a very special case, we do not want to disable escaping globally on aldryn otherwise no page will be ever able to pass validation.
http://www.htmlhelp.com/tools/validator/problems.html

@vxsx Is this still a problem w/ the new real preview thing?

@czpython not anymore i believe, as we no longer use images there

@vxsx hmm but we we now render the image plugin directly there.

Fixed by the djangocms-text-ckeditor real preview feature.


Update to use Swift 5.3

Closes #45
This PR is easier to review commit-by-commit

Codecov Report

Merging #46 into main will decrease coverage by 0.79%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main      #46      +/-   ##
==========================================
- Coverage   98.81%   98.01%   -0.80%
==========================================
  Files          21       21
  Lines         759      757       -2
==========================================
- Hits          750      742       -8
- Misses          9       15       +6

Impacted Files
Coverage Δ

...rces/SwiftInspectorCommands/TypealiasCommand.swift
100.00% <ø> (ø)

...ources/SwiftInspectorCommands/ImportsCommand.swift
100.00% <100.00%> (ø)

...es/SwiftInspectorCommands/InitializerCommand.swift
93.10% <100.00%> (-0.23%)
:arrow_down:

...wiftInspectorCommands/TypeConformanceCommand.swift
95.65% <0.00%> (-4.35%)
:arrow_down:

...es/SwiftInspectorCommands/StaticUsageCommand.swift
96.55% <0.00%> (-3.45%)
:arrow_down:

Sources/SwiftInspectorCore/PropertyAnalyzer.swift
97.01% <0.00%> (-2.99%)
:arrow_down:

Continue to review full report at Codecov.

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


RFP - Music Player Daemon

I can take it myself, please tell me how I can install this type of package (just .exe file with no installer) using choco.
https://www.musicpd.org/download/win32/0.20.5/mpd.exe

Its not that simple, you need to install it as a service.

Yes, I'm interesting how I can install mpd as portable app, since it's not a zip archive I can't use "Install-ChocolateyZipPackage" helper.

u can just pack mpd.exe directly in package, that probably isnt terribly usefull tho.
To downoad it use get-webfile from core extension. U should embed it tho. Mpd requires other stuff to be useful...

Probably best to not do it... inform urself about mpd

u can just pack mpd.exe directly in package

This is exactly what I trying to avoid. :-) Probably there is a better solution; I'm new to choco, not mpd. :-)

This is exactly what I trying to avoid. :-)

This is exactly something you should try not to avoid, see https://github.com/chocolatey/chocolatey-coreteampackages/wiki/Contributing-guidelines#114-embed-a-package-if-allowed

IMHO, a user should setup mpd's service manually if he want to.

Not if he doesn't have a default config file, plugins, etc...

Thanks for info, I can embed a default config file with this package, but I'm not sure it is needed.

but I'm not sure it is needed.

It is needed. Just install mpd on any linux and see what you get.

Yes, but no one will use the default config anyway. :P

It is unusable that way:
> .\mpd.exe
exception: No configuration file found

Yes, but no one will use the default config anyway

No, people will use 90% of the default config.

https://chocolatey.org/packages/mpd/


OCM-11732 | fix: AvailabilityZoneCount creates correct amount of resources

Fixing issue OCM-11732

/retest

/lgtm

/approve cancel

/approve

/cherry-pick release_1.2.47


Latest version of CQUI, Under Linux elements appear several pixels "below" top edge of screen

Under linux the UI elements at this top appear to float well below the top edge.  Unsure why this is occurring. Please let me know what logs will be helpful in diagnosing this and I can attach.

Disregard, this appears to be evident in the normal UI under linux.


Blocking can trigger external behaviors such as sending email or other user-defined notifications

As a system administrator, I want to be notified over my preferred communication medium when an IP subnet has been blocked by Fail2Ban4Win, so that I am aware of failed authentication requests to my network and can potentially monitor these blocks with a tool.

+1


need help about switch to customkeyboard(like telegram)

Hi, to continue the issue here https://github.com/kirillzyusko/react-native-keyboard-controller/issues/131, I make a example to explain my problem
I describe my problem again:
In Android(aka my options), switch to custom keyboard always make jump layout and not smooth like telegram, like my video below:
https://github.com/kirillzyusko/react-native-keyboard-controller/assets/8202437/38aced64-89da-45b4-ace0-8df0292fd5aa
Here is my sample code:( I edit in ReAnimatedChat folder => index.tsx):
import React, { useEffect, useRef, useState } from 'react';
import { Keyboard, Text, TextInput, View } from 'react-native';
import { KeyboardEvents, useReanimatedKeyboardAnimation } from 'react-native-keyboard-controller';
import Reanimated, {
  useAnimatedStyle,
  useDerivedValue,
} from 'react-native-reanimated';

import Message from '../../../components/Message';
import { history } from '../../../components/Message/data';
import { useTelegramTransitions } from './hooks';
import styles from './styles';

import type { StackScreenProps } from '@react-navigation/stack';
import type { ExamplesStackParamList } from '../../../navigation/ExamplesStack';

const AnimatedTextInput = Reanimated.createAnimatedComponent(TextInput);

type Props = StackScreenProps<ExamplesStackParamList>;

function ReanimatedChat({ navigation }: Props) {
  const [showCustomKeyboard, setShowCustomKeyboard] = useState(false);
  const keyboardHeightRef = useRef<number>(270)//defaut sticker keyboard height

  useEffect(() => {
    const subscription = KeyboardEvents.addListener('keyboardWillShow', (e) => {
      keyboardHeightRef.current = e.height
    });

    return () => subscription.remove();
  }, []);

  useEffect(() => {
    navigation.setOptions({
      headerRight: () => (
        <Text
          style={styles.header}
          onPress={() => setShowCustomKeyboard((value) => !value)}>
          {`sticker keyboard: ${showCustomKeyboard ? 'On' : 'Off'}`}
        </Text>
      ),
    });
  }, [showCustomKeyboard]);

  const { height: platform } = useReanimatedKeyboardAnimation();
  const height = useDerivedValue(
    () => platform.value,
    []
  );

  const scrollViewStyle = useAnimatedStyle(
    () => ({
      transform: [{ translateY: height.value }, ...styles.inverted.transform],
    }),
    []
  );
  const textInputStyle = useAnimatedStyle(
    () => ({
      height: 50,
      borderRadius: 12,
      marginHorizontal: 12,
      borderColor: 'green',
      borderWidth: 1,
      backgroundColor: '#BCBCBC',
      transform: [{ translateY: height.value }],
    }),
    []
  );

  const customStickerStyle = useAnimatedStyle(
    () => ({
      height: showCustomKeyboard ? keyboardHeightRef.current : 0
    })
  )
  const fakeView = useAnimatedStyle(
    () => ({
      height: Math.abs(height.value),
    }),
    []
  );

  return (
    <View style={styles.container}>
      <Reanimated.ScrollView
        showsVerticalScrollIndicator={false}
        style={scrollViewStyle}>
        <View style={styles.inverted}>
          <Reanimated.View style={fakeView} />
          {history.map((message, index) => (
            <Message key={index} {...message} />
          ))}
        </View>
      </Reanimated.ScrollView>
      <AnimatedTextInput style={textInputStyle} />
      <Reanimated.View style={[{
        width: '100%',
        backgroundColor: 'red'
      }, customStickerStyle]}/>
    </View>
  );
}

export default ReanimatedChat;

As your mention here: https://github.com/kirillzyusko/react-native-keyboard-controller/issues/131#issuecomment-1693539226
You said When keyboard changes its size the library makes an animated transition, I agree because it's work good when change the system emoji keyboard, but I want to implement my custom keyboard, it's act like my above video.
Can you give me some advices? Thanks

Hello @fukemy
Jump happens here:
const customStickerStyle = useAnimatedStyle(
    () => ({
      height: showCustomKeyboard ? keyboardHeightRef.current : 0
    })
  )

You are instantly trying to change a height of one view from 0 to keyboardHeight. Try to consider using (though I'm not sure, that withTiming will work in useAnimatedStyle, but I think you get the idea).
const customStickerStyle = useAnimatedStyle(
    () => ({
      height:  withTiming(showCustomKeyboard ?keyboardHeightRef.current) : 0).value
    })
  )

Also you are keeping two independent values for managing keyboard height (system and sticker) - because of that you have a double space. Telegram typically close the keyboard and just keep sticker space.
You may find useKeyboardHandler hook interesting, because it gives an access to keyboard lifecycle. In your case you can easily intercept the moment when you press on a button and when you need to ignore values reported by system keyboard movement.
Let me know if you have any other question (but please, be more specific - the code that you provided works absolutely as expected. Based on the issue I don't understand the expected result - is it expected to work as in Telegram app? If so, then your code contains a lot of mistakes that leads to the behavior that you currently see).

I tried 2 days by following your guide but no luck to me, I can not solve the jump state when changing keyboard, I close the issue now due to no solution

@fukemy Just try to log more values and you'll understand where your code doesn't work as expected. Also you may try to use https://github.com/wix-incubator/react-native-keyboard-input - theoretically it will replace a content of system keyboard and transitions will be smooth out of the box.

Linked issue - https://github.com/kirillzyusko/react-native-keyboard-controller/issues/226
There I give a code sample on how to achieve a desired behavior.


Feature: Request to Disable Status Center Display in Background Mode for Files

What feature or improvement do you think would benefit Files?
I have a suggestion regarding the Files application. Could it be possible to prevent the status center from appearing when I open Files with the "Leave app running in the background when the window is closed" mode enabled? Sometimes, I don't want to see my previous actions. Typically, when we close an application, we don't necessarily want to review our previous activities.
Requirements
Identify the user preference for the visibility of the status center in the background mode.
Files Version
<IP_ADDRESS>
Windows Version
22H2 22621.1992
Comments
No response

Thanks for the feedback, I've added this to the project board.

I'm on board with this change as long as there are no ongoing operations.


Parameter explanation Needed

Please explain about parameters
`
#map parameters
width_map = 14.7  // is it in feet or inches ?
height_map = 12.4 // is it in feet or inches ?
kx_locator = 0.532471 //How did you fix it ? Is it center point of device or its edge?
ky_locator = 0.558504 //How did you fix it ? Is it center point of device or its edge?
x_locator = kx_locator * width_map
y_locator = ky_locator * height_map
z_locator = 0.2   //How did you came with this value? any measure on this to find it? Also explain it
z_beacon = 0.814 //How did you came with this value? any measure on this to find it? Also explain it
`

Thanks for your interest in our materials.
We assume a single coordinate space. We define a location dimensions in meters: 14.7 width by 12.4 lenght (or hight if we consider the top projection of the respective location map).
Then the coordinate of devise is computed by multiplication x = width_map * kx = 14.7 * 0.53..  = 7.5 - distance in meters from the left wall.
As nothing was stated about edges of devices or its center, we consider the device position corresponds to its sensor position, which is the device center. As for antennas pose, we take center of antenna for its reference point.
As the result, we calculate point to point relative position.
z_locator and z_beacon are simply vertical coordinates in 3d space for locator and beacon respectively. You can see this in both article and video. E.g. the antenna positioned in 0.22 meters above the floor.
After we input this system configuration, we may transform from relative positioning, to local coordinate space. We may use location map image and project our location on the map and so on.
If you have more questions on this implementation, feel free to ask.
Timur, Navigine R&D developer

Thanks.


Assess using mongodb driver from deno ecosystem to enable single bundle compilation

https://github.com/search?q=repo%3Adenodrivers%2Fmongo command&type=code

See deno native tooling issue about compatibility


Language selection accessibility draft

Draft PR without the announcement of selected language for comparision.

Maybe you can help me with setting the focus after a language selection. I played a bit around with a ref to the FloatingTrigger, but couldn't really get it working.


One node of downstream cluster is in Unavailable state after rancher upgrade

Rancher Server Setup

Rancher version: 2.5.11 to 2.6.3-rc4 upgrade
Installation option (Docker install/Helm Chart): RKE1 elm install

If Helm Chart, Kubernetes Cluster and version (RKE1, RKE2, k3s, EKS, etc): RKE1 - v1.20.10 k8s version

Proxy/Cert Details: Rancher generated

Information about the Cluster

Kubernetes version: v1.17.17 k8s version
Cluster Type (Local/Downstream): RKE1 Azure node driver

Describe the bug
One node of downstream cluster is in Unavailable state after rancher upgrade
To Reproduce

On 2.5.11.
Deploy a Azure cluster - 1 etcd, 1 cp and 3 worker nodes
Deploy some workloads and resources
Helm upgrade rancher server to 2.6.3-rc4
The cluster is stuck in provisioning state (Checked after about a couple of hours)
Error on cluster: Timeout waiting rollout agent daemonset: exit status 1, Waiting for daemon set "cattle-node-agent" rollout to finish: 4 of 5 updated pods are available... error: timed out waiting for the condition - logged issue
One node in Azure downstream cluster is Unavailable - Kubelet stopped posting node status.
Not able to login to the node from local terminal
In Azure console it shows

Agent status - Not Ready
Agent version - Unknown

Note:

other clusters int his setup - EKSv2, AKS v1, Custom rke1 and import K3s cluster. None of these clusters had an issue. None of these clusters were on 1.17 k8s also.
Tried to reproduce on another single node docker install using EC2 node driver, 1.17 downstream cluster, and upgraded from 2.5.11 to 2.6.3-rc4, issue isnt seen

I have not been able to reproduce this issue.
The fact that the Agent status on the Azure VM is in the Not Ready state, I would expect that is the problem. In other words, Rancher doesn't control the Azure Guest Agent, so if it has a status of Not Ready then this is likely what is causing the node to be Unavailable and the rollout of the new node-agent daemonset to timeout.

@sowmyav27 gave me access to the cluster where she saw this issue. After investigation, it seems that the VM is not reachable and is not available because of that.
It is my belief that the unavailability of the node is related to the underlying VM and not Kubernetes/Rancher related.

One more thing: SSH is successful on wrker-2, but times out on the affected machine. This is another indication that the underlying VM is the problem here.

Closing this as per https://github.com/rancher/rancher/issues/35761#issuecomment-987337926


Graphs: Implement A* Algorithm in Javascript

hey @akgmage I want to work in this issue as a gssoc contributor please assign it to me


Fix grammatical issues in README.md

I worked on correcting subject-verb agreement, capitalization, punctuation, hyphenation, and errant marks in the README.

@johnmhenson thanks for the PR.
Your branch name should start with one of fix/, feature/ prefixes. Name, your branches correctly next time, please.
Please, review our Guidelines for Contributing, thank you!.

This looks good. Thanks for the PR :smile: (Note: please do add prefixed you your branches next time)

Thanks, Akira.  Will do.


Turbo 1.2.0 runs task against all packages when result of filtering is empty

What version of Turborepo are you using?
1.2.0-canary.3
What package manager are you using / does the bug impact?
npm
What operating system are you using?
Mac
Describe the Bug
If no package is found with --filter or --scope options, turbo 1.2.0 runs task against all packages instead of none.
1.1.6 fails with following message:
 ERROR  failed resolve packages to run invalid scope: No packages found matching the provided scope pattern.

Expected Behavior
Either do nothing or error out.
Personally I prefer the former; if the latter is adopted, an option to suppress the error would be nice.
Our particular use case is to copy subset of entire monorepo into Docker image.
To Reproduce
Commands:
npx create-turbo
# proceed with default answers
cd my-turborepo
npm i -D turbo@canary
npx turbo run build --filter=aaaaa

Output:
• Packages in scope:
• Running build in 0 packages
docs:build: cache miss, executing 6f8372745fc556e1
web:build: cache miss, executing 3f7cbe2bf762546c
web:build:
web:build: ><EMAIL_ADDRESS>build
web:build: > next build
web:build:
docs:build:
docs:build: ><EMAIL_ADDRESS>build
docs:build: > next build
docs:build:
web:build: info  - Checking validity of types...
docs:build: info  - Checking validity of types...
web:build: info  - Creating an optimized production build...
docs:build: info  - Creating an optimized production build...
web:build: info  - Compiled successfully
web:build: info  - Collecting page data...
docs:build: info  - Compiled successfully
docs:build: info  - Collecting page data...
web:build: info  - Generating static pages (0/3)
docs:build: info  - Generating static pages (0/3)
web:build: info  - Generating static pages (3/3)
web:build: info  - Finalizing page optimization...
web:build:
web:build: Page                                       Size     First Load JS
web:build: ┌ ○ /                                      304 B          71.3 kB
web:build: └ ○ /404                                   193 B          71.2 kB
web:build: + First Load JS shared by all              71 kB
web:build:   ├ chunks/framework-71b7ac9748a53568.js   42 kB
web:build:   ├ chunks/main-24e9726f06e44d56.js        26.9 kB
web:build:   ├ chunks/pages/_app-2ad88a182aea1df3.js  1.37 kB
web:build:   └ chunks/webpack-45f9f9587e6c08e1.js     729 B
web:build:
web:build: ○  (Static)  automatically rendered as static HTML (uses no initial props)
web:build:
docs:build: info  - Generating static pages (3/3)
docs:build: info  - Finalizing page optimization...
docs:build:
docs:build: Page                                       Size     First Load JS
docs:build: ┌ ○ /                                      305 B          71.3 kB
docs:build: └ ○ /404                                   193 B          71.2 kB
docs:build: + First Load JS shared by all              71 kB
docs:build:   ├ chunks/framework-71b7ac9748a53568.js   42 kB
docs:build:   ├ chunks/main-24e9726f06e44d56.js        26.9 kB
docs:build:   ├ chunks/pages/_app-2ad88a182aea1df3.js  1.37 kB
docs:build:   └ chunks/webpack-45f9f9587e6c08e1.js     729 B
docs:build:
docs:build: ○  (Static)  automatically rendered as static HTML (uses no initial props)
docs:build:

 Tasks:    2 successful, 2 total
Cached:    0 cached, 2 total
  Time:    10.953s

Confirmed

Think I have the same issue. For me packages in dry-run is empty but tasks is not empty


Support other circuit breaker implementations

https://github.com/Comcast/jrugged

This would be a nice place to implement a better usage abstraction as well.  For hystrix we basically do nothing and let the devs use @HystrixCommand directly.  Maybe @Curcuit.  This would be a good spot to make hooks for multi-tenancy in circuit breaker (see #20).  Would be cool to still supply a circuit stream that plugs into the hystrix dashboard still.

JRugged could be an alternate

maybe this help (it is an aspect that works with Observable):
@Retention(RetentionPolicy.RUNTIME)
@Target(ElementType.METHOD)
public @interface CircuitBreaker {
}

@Aspect
@Component
public class CircuitBreakerAspect {

    @Around("@annotation(sample.aspect.CircuitBreaker)")
    public Observable circuitBreakerAround(final ProceedingJoinPoint aJoinPoint) throws Throwable {
        String theShortName = aJoinPoint.getSignature().toShortString();
        HystrixCommand.Setter theSetter =
                HystrixCommand.Setter.withGroupKey(HystrixCommandGroupKey.Factory.asKey(theShortName));
        theSetter = theSetter.andCommandKey(HystrixCommandKey.Factory.asKey(theShortName));
        HystrixCommand hystrixCommand = new HystrixCommand(theSetter) {
            @Override
            protected Object run() throws Exception {
                try {
                    return aJoinPoint.proceed();
                } catch (Exception e) {
                    throw e;
                } catch (Throwable e) {
                    throw new Exception(e);
                }
            }
        };
        return hystrixCommand.observe();
    }
}

Thanks! @ArekCzarnik

Also, a good place to make passing the security context to the execution thread simpler.  See this stack overflow question: http://stackoverflow.com/questions/29566777/does-spring-make-the-securitycontext-available-to-the-thread-executing-a-hystrix

http://doc.akka.io/docs/akka/snapshot/common/circuitbreaker.html
http://qi4j.org/2.0/library-circuitbreaker.html
http://java.dzone.com/articles/circuit-breaker-pattern-apache

Support Spring MVC Controllers

Another interesting functional model based on java8 https://github.com/RobWin/circuitbreaker-java8.  Nice work @RobWin

Thx :)

Here is an example on how to use it with Reactive Streams. Should work similar with RxJava Observable.
https://github.com/RobWin/circuitbreaker-java8#reactive-streams-example

I think circuit breaker feature should be treat as same as cache http://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html and provide a Spring circuit breaker abstraction.
Regardless possible other lib support like jrugged or javaslang-circuitbreaker, abstraction can improve the existing Hystrix annotation.
Today HystrixCommand annotation lacks some useful support like custom dynamic key by using generator or SPeL as same as cache abstraction provides http://docs.spring.io/spring/docs/current/spring-framework-reference/html/cache.html#cache-annotations-cacheable-key

Sounds like a nice idea to create an abstraction like caching. Spring Cloud Hystrix includes too many Netflix library dependencies.

@RobWin whatever happens, Hystrix would be the first implementation, which would bring in the same libraries.

I could implement a second one based on javaslang-CircuitBreaker

Any plans to think about it again?

See https://github.com/spring-cloud-incubator/spring-cloud-circuitbreaker/


New command - tag

Added a new command "tag" that takes in [keywords] and searches the list for people who has those specified tags on their profile.

Pull Request Test Coverage Report for Build 41

26 of 26 (100.0%) changed or added relevant lines in 6 files are covered.
1 unchanged line in 1 file lost coverage.
Overall coverage increased (+0.09%) to 91.959%

Files with Coverage Reduction
New Missed Lines
%

src/main/java/seedu/address/logic/parser/AddressBookParser.java
1
95.45%

Totals

Change from base Build 27:
0.09%

Covered Lines:
1544

Relevant Lines:
1679

💛  - Coveralls


Graduate 'DisallowInsecureCSRUsageDefinition' to GA

Pull Request Motivation
This feature gate was introduced in https://github.com/cert-manager/cert-manager/pull/6300 (released in v1.13).
This PR graduates this feature to GA, so the deprecated code can be removed.
Kind
/kind cleanup
Release Note
Graduate the 'DisallowInsecureCSRUsageDefinition' feature gate to GA.

Thanks @yj-yoo for your PR.
To remove these functions, we also have to make the feature a GA feature; see https://github.com/cert-manager/cert-manager/blob/a9166a8af4cbd53232b0d93b73621b5b74e3cd0e/internal/webhook/feature/features.go#L94.
Could you please also update the feature flag in that file from Beta to GA?

Thanks @yj-yoo for your PR. To remove these functions, we also have to make the feature a GA feature; see
https://github.com/cert-manager/cert-manager/blob/a9166a8af4cbd53232b0d93b73621b5b74e3cd0e/internal/webhook/feature/features.go#L94
.
Could you please also update the feature flag in that file from Beta to GA?

thank you. I took your advice and pushed again.

@inteon The changes were reflected and pushed again.

/test pull-cert-manager-master-make-verify


html-script-indent

Issue Type: Feature Request
input "scr" , then press Tab:

then press Enter:
    <script>
        </script>

strange!
VS Code version: Code 1.27.2 (f46c4c469d6e6d8c46f268d1553c5dc4b475840f, 2018-09-12T16:17:45.060Z)
OS version: Windows_NT x64 10.0.16299

    <script>         </script>

That's what I see. Is this about the new line missing?

in any .html files
<script type="text/ng-template" id="btn.html">
</script>

below items wont work inside

@rashnk Please open a separate issue.

OK, @aeschli

@alexzshl can you give more information about what the problem is?


[Enhancement] Add a sample /etc/sysconfig/httpd file for the dispatcher

While it is good that the documentation references the need to put server-specific configurations into the /etc/sysconfig/httpd file, there is no sample provided with all configurable variables.
It would be great if such a file existed, that contained all configurable vars (docroots, hostnames, etc) that could be used to easily create a dispatcher in a local environment, without trawling through every file looking for ${ ... } and extracting the names.

Great idea, it would be amazing is someone would be ready to step forward with a pull request!


Specialized type tests

While working on serialization I've come across the need to know about the types of instances at runtime which our existing metamodel APIs don't satisfy very well.

Knowing that something is an Array (of any element type). Because Array is invariant I can't use is Array<Anything>. The best I have currently is type(instance).declaration == `class Array`  which is hardly egronomic and (given all I really need to do is an instanceof must perform terribly too).

Distingushing a Span from a Measure. Because Span and Measure are not shared from the language module I can't use is Span<Integer> for example, because uttering Span is verboten. My work around for this is the positively spine chilling type(instance).declaration.qualifiedName == "ceylon.language::Span".

Oh, and another related thing, as the above examples demonstrate, I end up going type(instance).declaration a lot. This requires construction of a ClassModel just to obtain it's ClassDeclaration. Having a ClassDeclaration classDeclaration(Anything instance) we could avoid that.

@tombentley why can't you use is Array<out Anything> array ??

Having a ClassDeclaration classDeclaration(Anything instance) we could avoid that.

That would be nice, I agree.

@tombentley why can't you use is Array<out Anything> array ??

Because I keep forgetting we have use-site variance I suppose.

@gavinking is there a reason why Span and Measure can't be shared? I know we don't want people to instantiate them directly (but use span() and measure()), but we could make them sealed. That way at least we can refer to their type.

Well, so we can change that design later. I mean there's not really a huge difference between a "span" and a "measure", they are much the same thing.

Moving to 1.3.


ts-ebml plugin: Safari record issue

Hi community,
ts-ebml have an issue with safari and that breaks the record.
The issues has been reported on ts-ebml and needs and needs a quick fix for now.

Please have a look at the original issue https://github.com/legokichi/ts-ebml/issues/33

To whom that are interested in we could bring the support of webm playback to safari via ogv.js.
I'm wondering if we could do the same for recording so we support one optimal format in all platforms.
Looking forward to the quick fix

Looking forward to the quick fix

?

I just meant that there is a quick fix available in the issue I linked to and that would be nice that a release is made with this fix while waiting the fix by the author of ts-ebml.

@Hideman85 if there's a quick fix, please open a pull request.

@Hideman85 can you give pull request #600 a try?

I don't think #600 fixed the issue with Safari, since the error is thrown when decoder.decode(buffer) is called. I can reproduce the error when I run the video-only-ebml.html demo.

This is still broken in my tests


consider another GH project for StrToInt

https://github.com/Seenkao/fast_StrToInt
this is project from @Seenkao

Yep, I saw it, thanks. I will probably refrain from commenting.


reply attack

Was skimming the README.md file, and noticed that you have reply attacks
Shouldn't it be: RePLAY like re-play a level, not reply to an email?

Fixed at https://github.com/onelogin/java-saml/commit/ecc7e087d7da9d654efa4d82e11be7293180ce20


Add new 970x90 ad sizes for leaderboards and billboards

Jira card: https://lonelyplanet.atlassian.net/browse/LPMC-138

:+1:


Prep/route reader

Moved filewriting functionality into server/server.js. Each time it receives a new transaction or set of transactions it will overwrite on the filepath provided with all transaction data in memory.
Also applied eslint quick fixes in modified files

bien hecho


feat: /x:description/attribute(result-file-threshold)

Closes #398
Closes #399
This pull request adds @separate-results to /x:description.
Background
As of now, if an actual result or an expected result has 1000+ nodes, it is saved in a separate file. This behavior does not work very well:

It's confusing.
(See #398 and https://groups.google.com/g/xspec-users/c/dt8JTB01mBM/m/bGAlR63zAAAJ.)
It is not compatible with the default Run XSpec Test transformation scenario.
(See "If you are running XSpec on Oxygen, the separate XML files may be deleted..." in Wiki.)

The behavior was introduced by e632690 whose commit message mentions two motivations:

Ant has problems opening the report to check whether the tests have succeeded or not.
It's also better for viewing the report, as these are now links to XML files rather than embedded serialised XML.

Probably those motivations were true when available resources were limited. I don't know if they still make sense today.
Changes
So this pull request changes the behavior as follows:

By default, the results are no longer saved as separate files.
If you prefer the old behavior, you can set /x:description/@separate-results. If the result has more nodes than this attribute value, it is saved as a separate file.

Further work
Update Wiki result-*.xml section

Further work
Update Wiki result-*.xml section

Done.
I think people will be only interested in the default behavior. So I just labelled the section as "only on XSpec v2.2.0 or earlier".

Interesting that the new attribute will be undocumented (except Oxygen tooltips). I agree with your judgment call, though. If surprisingly many users ask how to restore the old behavior, the wiki can always be changed.


fix: 🐛 bump sdk to v27.0.2

JIRA Link
Insert JIRA url here
Changelog / Description
include the latest SDK fixes
Checklist -

[ ] New Feature ?
[ ] Updated swagger annotation (if API structure is changed) ?
[ ] Unit Test (if possible) ?
[ ] Updated the Readme.md (if required) ?

/fast-forward


Allow tesseract/tessdata path to be specified by environment variables

I think this logic should be inverted to use ENV var if property or tesseractConfig object is not set in context. So global system configuration could be overridden by app specific configuration.

Hi, not sure I follow.   Are you saying TesseractConfig should override?  If the environment variable isn't set, then it will have the same behavior as before.  If you specify the env variables, than they will override

Yes, inverting the logic, if tesseractPath (or tessdataPath) has the default empty value, env var would be used if set. If properties are specified, it will keep past behaviour too. I'm thinking about different apps in the same system using Tika, but with different configurations. Inverting the logic, it will not be an issue.

I think that's what it's already doing.  If you don't specify it in the config and it is specified in the environment, it will use the environment values.

So I think what you're saying is that even if environment variables are specified, then still use the config by default.  And only if config is blank, then use environment ?

So I think what you're saying is that even if environment variables are specified, then still use the config by default. And only if config is blank, then use environment ?

Yes that was my suggestion. Other commiter can have other opinion of course.

I just want to make sure that it doesn't break anything or have any unexpected behavior.  Let me try it your way and see how it works

Overtaken by events


NtWow64ReadVirtualMemory64 fails; TestApp.exe stops working

ptr_t NativeWow64::getPEB( _PEB64* ppeb )
{
_PROCESS_BASIC_INFORMATION_T info = { 0 };
ULONG bytes = 0;
if (NT_SUCCESS(SAFE_NATIVE_CALL(NtWow64QueryInformationProcess64, _hProcess, ProcessBasicInformation, &info, (ULONG)sizeof(info), &bytes)))
	std::cout << "good query info" << std::endl;
else
	std::cout << "Failed query info" << std::endl;
if (bytes > 0 && NT_SUCCESS(SAFE_NATIVE_CALL(NtWow64ReadVirtualMemory64, _hProcess, info.PebBaseAddress, ppeb, (ULONG)sizeof(_PEB64), nullptr)))
	return info.PebBaseAddress;
else
	std::cout << "Error reading the PEB from process. bytes : " << bytes << std::endl;
return 0;

}
output is :
good query info
Error reading the PEB from process. bytes : 48
After some digging, the error code is 0xc0000022. (ntwow64readvirtualmemory64)
=> 0xC0000022 STATUS_ACCESS_DENIED
{Access Denied} A process has requested access to an object but has not been granted those access rights.
Any hints to work around this ?  Target is XIGNCODE3 protected (works fine on other targets).

If the target process is protected, either with a kernel callback or a usermode hook, then you're probably going to have to use BlackBoneDrv to accomplish your task.  This is not a bug with Blackbone.
Furthermore, opening a ticket on this project is not really the best place to ask for help in cheating in a video game.

Okay, I apologize for posting in the wrong place, I will no longer open non BSOD tickets.
This being said, I am a little surprised at what you said because it looked to me like the DeviceIoControl function from test app was directly calling the driver (ie same as using BlackBoneDrv i would have thought).
Furthermore, I moved the DeviceIoControl grant access function at the top of the DriverTests (ie before the driver fails to call ntwow64readvirtualmemory64) and it resulted in all tests resulting successivly.
If I may I'd suggest you guys to move this function as the first driver test being done so that it can give full access to further tests.
That being said, this library is amazing, this mere testapp.exe has defeated one of the hardest game protection where other elaborate memory engines will fail.
I am now closing the ticket. Many thanks.

I didn't mean to discourage you from opening issues when there is an issue with Blackbone.  I was just trying to point out that your question seemed less about Blackbone and more about bypassing a specific anti-cheat.

TestApp is just a bunch of unit-test for all major aspects of library and driver. It's not designed to do anything meaningful.
Issue tickets are useful, you shouldn't stay away from that.


Documentation on how to use FontAwesome pro Icon

Would it be possible to offer an example of how to use this library with FontAwesome pro icons

So far, here are some steps that made me get a little further
1.) add the pro *.otf files to your project.
2.) add the following list of font files to your info.plist file:
`

Font Awesome 5 Brands-Regular-400.otf
Font Awesome 5 Duotone-Solid-900.otf
Font Awesome 5 Pro-Light-300.otf
Font Awesome 5 Pro-Regular-400.otf
Font Awesome 5 Pro-Solid-900.otf

`
3.) in your code, before using FontAwesome.swift the first time, call:
       FontAwesomeConfig.usesProFonts = true
Thats it. Try to get the icon "fa-camera" with regular style, which is located in the pro version. Looks fine on my side.
I did not succeed to get all icons to work. E.g. fa-abacus is not showing up. Am I missing something in here?

@vjoomens Hi! I'm stuck on the same problem you had. How are you running the codegen file to regenerate the enum? The file isn't there when installing via podfile. Thanks!

@mralexhay check my fork of this project (https://github.com/vjoomens/FontAwesome.swift). It's fully compatible with FA pro.

@vjoomens amazing, this worked for me, thanks.
The only problem I haven't been able to sort is that using the Duotone style throws an error (despite the OTF being stored next to the others and being listed in the Info plist)

but the rest work perfectly.

To implement FA Pro support, follow the instructions from @pgrundner.
To get all FA Pro icons, you need to hack a bit by following this: https://github.com/thii/FontAwesome.swift/issues/230#issuecomment-605018622.

Alright, I've followed the steps listed here and https://github.com/thii/FontAwesome.swift/issues/230#issuecomment-605018622, but I guess I've done something wrong.
UIFont(name: style.fontName(), size: fontSize)! on line 98 of FontAwesome unexpectedly finds nil for file.
Maybe you guys can help me catch my mistake.
I've added the Pro otf files to the project. The otf files are added to the app target. I've set FontAwesomeConfig.usesProFonts = true. I generated the new enum.swift following the instructions mentioned in the link above.
I added the following to my info.plist
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
	<string>Font Awesome 5 Brands-Regular-400.otf</string>
	<string>Font Awesome 5 Pro-Light-300.otf</string>
	<string>Font Awesome 5 Pro-Regular-400.otf</string>
	<string>Font Awesome 5 Pro-Solid-900.otf</string>
</array>
</plist>

Any ideas?

@austintt It would help troubleshooting if you can catch the value of style.fontName() in the debugger. Then we would know which fontName is causing the problems.
A potential cause for your crash could be that even though duotone rendering is not support, you might have to add all the font file nevertheless:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<array>
	<string>Font Awesome 5 Brands-Regular-400.otf</string>
	<string>Font Awesome 5 Duotone-Solid-900.otf</string>
	<string>Font Awesome 5 Pro-Light-300.otf</string>
	<string>Font Awesome 5 Pro-Regular-400.otf</string>
	<string>Font Awesome 5 Pro-Solid-900.otf</string>
</array>
</plist>

@ghowen, thanks for the suggestion! I moved some stuff around and got a little more detail with the following error: com.apple.CoreText.CTFontManagerErrorDomain error 105 - Could not register the font file(s). I tried referencing the duotone font in the plist, but found the same error.
This happens with the first call in my app to FontAwesome, requesting a light styled icon. Placing a breakpoint in loadFontAwesome(ofStyle), I see that the style.fontName returns FontAwesome5Pro-Light

@austintt When you added the font files to the project, did you check the "Copy if needed" option? Also make sure that the all font files have the correct target membership. You can check this in the File Inspector when you click on the font files in your project. My current guess is that in your case the font files do not have a target membership.

@ghowen Did you ever find a solution to that unexpected nil error? Mine has started doing it and I haven't been able to find the answer yet. Thanks.

@mralexhay You should probably check with @austintt if https://github.com/thii/FontAwesome.swift/issues/232#issuecomment-609626259 did the trick for him. My bet is still that the fonts were not added to the target of the app.

My personal recommendation, and how I prefer to do it, is to use the FontBlaster library instead. Make sure the first line in application(didFinishLaunching: with options:) is FontBlaster.blast()
Also ensure that all of the fonts appear in Xcode, and you have added them to the Copy Bundled Resources build phase, found by going to your target -> Build Phases

@ghowen no dice, I had checked to make sure everything was a part of the correct target and copied to the app. For now, I'm just using the free fonts while I focus on other parts of my project. I'll try adding the Pro fonts again later. Thank you for the help though!


Move tests to root folder.

Codecov Report

Merging #30 (842060c) into main (814c33a) will decrease coverage by 3.93%.
The diff coverage is n/a.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
@@            Coverage Diff             @@
##             main      #30      +/-   ##
==========================================
- Coverage   93.57%   89.65%   -3.93%
==========================================
  Files          18        7      -11
  Lines         436      261     -175
  Branches       79       57      -22
==========================================
- Hits          408      234     -174
  Misses         17       17
+ Partials       11       10       -1

Impacted Files
Coverage Δ

tests/conftest.py

tests/test_django.py

tests/test_migrateci_command.py

tests/test_shell.py

tests/testapp/migrations/0001_initial.py

tests/testapp/migrations/0002_create_bus.py

tests/testapp/models.py

tests/testapp/settings.py

tests/testapp/settings_mysql.py

tests/testapp/settings_postgresql.py

... and 1 more

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


DlButton - added active prop to button

Added active prop so we can make the button look like it's being hovered over from outside. This allows persisting the hover styles from outside so we can have it look like it's pressed even on leaving the mouse
https://opentechdev.atlassian.net/jira/software/projects/DLCL/boards/17?selectedIssue=DLCL-899

@prodan-eric this needs attention


route-remove removes all routes

What happened?
When you run the command route-remove <name> <path> all the routes of the token are deleted, instead, it should remove just the specified path.
Reposilite version
3.x
Relevant log output
No response

You're right, thanks for reporting this! It should be fixed in the upcoming release.


Request: quartodoc script

Instead of calling python -m quartodoc, it would be convenient to be able to run quartodoc, or perhaps quartodoc-build.

in v3 you can now use quartodoc. (patching a few uses of the old style in the docs right now)