Broken styling when registering multiple CMS re-authenticators

If you register an additional authenticator by implementing get_cms_login_form and supports_cms on your Authenticator class, the tab styling to select an authenticator in the dialog is broken when you get the popup after your session times out.
This needs to support the tabs correctly by resizing the dialog to fit the form. The form styling alignments inside the tab needs to be fixed as well, e.g. "Forgot password?" is no longer inline with the password field.

Related to https://github.com/silverstripe/silverstripe-framework/issues/6387. My comment in there:

I'm inclined to just show a "login again" button if you have more than one authenticator registered, which takes you to Security/login in the same window - rather than trying to make multiple login screens work in the modal.

Nevertheless, this is a visual bug at the moment, and needs to be solved one way or another.

This is my proposed mockup for this in the hope to limit the scope, it is a typical pattern for higher risk sites like banks etc.
https://invis.io/86BSBS0D5#/234565499_Login_-_Session_Timeout_For_Multi_Login

@clarkepaul So that's the mockup for multi login only, right? And it's a way to avoid creating a tabbed interface in the modal dialog. For a single login method, we still have a form in the modal dialog, see https://github.com/silverstripe/silverstripe-framework/issues/6387. Yep, that works for me. Multiple login methods aren't very common, and if that becomes a problem we can always implemented a more sophisticated UI


centralize functionality of sql count generation script

In this repo (and in study repos), we have a utility script for quickly generating SQL statements for table counts. This has enabled us to get studies moving more quickly, which is great, but we need a centralized way to import it in the future so that we're more DRY and are outputing autogenerated SQL that will pass linting.

resolved via #109


(WIP) Use Japanese prompt for factual_consistency_openai

This is included in #110, let me close it for now


Value Error while reading dicom_seg-DICOMSEG.dcm

Discussed in https://github.com/Project-MONAI/monai-deploy-app-sdk/discussions/343

Originally posted by Suchi97 September 13, 2022
Hi Team,
We used the MONAI Bundle to deploy the model using the MONAI Deploy App SDK. As the output, we obtained the dicom_seg-DICOMSEG.dcm. We would like to visualize this output using the pydicom or anyother supported libraries.
We tried to visualize the dcm file as following
import matplotlib.pyplot as plt
import pydicom

dataset = pydicom.dcmread('output/dicom_seg-DICOMSEG.dcm')

print("Storage type.....:", dataset.SOPClassUID)
print()

if 'PixelData' in dataset:
    rows = int(dataset.Rows)
    cols = int(dataset.Columns)
    print("Image size.......: {rows:d} x {cols:d}, {size:d} bytes".format(
        rows=rows, cols=cols, size=len(dataset.PixelData)))
    if 'PixelSpacing' in dataset:
        print("Pixel spacing....:", dataset.PixelSpacing)

plt.imshow(dataset.pixel_array, cmap=plt.cm.gray)
plt.show()

But we obtained the following error
Storage type.....: 1.2.840.10<IP_ADDRESS>.<IP_ADDRESS>

Image size.......: 440 x 440, 518616 bytes
Pixel spacing....: [1, 1]
---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
Input In [1], in <cell line: 17>()
     14     if 'PixelSpacing' in dataset:
     15         print("Pixel spacing....:", dataset.PixelSpacing)
---> 17 plt.imshow(dataset.pixel_array, cmap=plt.cm.gray)
     18 plt.show()

File ~/miniconda3/lib/python3.9/site-packages/pydicom/dataset.py:1882, in Dataset.pixel_array(self)
   1867 @property
   1868 def pixel_array(self) -> "numpy.ndarray":
   1869     """Return the pixel data as a :class:`numpy.ndarray`.
   1870
   1871     .. versionchanged:: 1.4
   (...)
   1880         :class:`numpy.ndarray`.
   1881     """
-> 1882     self.convert_pixel_data()
   1883     return cast("numpy.ndarray", self._pixel_array)

File ~/miniconda3/lib/python3.9/site-packages/pydicom/dataset.py:1444, in Dataset.convert_pixel_data(self, handler_name)
   1442     self._convert_pixel_data_using_handler(handler_name)
   1443 else:
-> 1444     self._convert_pixel_data_without_handler()

File ~/miniconda3/lib/python3.9/site-packages/pydicom/dataset.py:1556, in Dataset._convert_pixel_data_without_handler(self)
   1547 self._pixel_id = {}
   1549 logger.info(
   1550     "Unable to decode the pixel data using the following handlers: {}."
   1551     "Please see the list of supported Transfer Syntaxes in the "
   (...)
   1554     .format(", ".join([str(hh) for hh in available_handlers]))
   1555 )
-> 1556 raise last_exception

File ~/miniconda3/lib/python3.9/site-packages/pydicom/dataset.py:1536, in Dataset._convert_pixel_data_without_handler(self)
   1534 for handler in available_handlers:
   1535     try:
-> 1536         self._do_pixel_data_conversion(handler)
   1537         return
   1538     except Exception as exc:

File ~/miniconda3/lib/python3.9/site-packages/pydicom/dataset.py:1563, in Dataset._do_pixel_data_conversion(self, handler)
   1559 """Do the actual data conversion using the given handler."""
   1561 # Use the handler to get a 1D numpy array of the pixel data
   1562 # Will raise an exception if no pixel data element
-> 1563 arr = handler.get_pixeldata(self)
   1564 self._pixel_array = reshape_pixel_array(self, arr)
   1566 # Some handler/transfer syntax combinations may need to
   1567 #   convert the color space from YCbCr to RGB

File ~/miniconda3/lib/python3.9/site-packages/pydicom/pixel_data_handlers/numpy_handler.py:330, in get_pixeldata(ds, read_only)
    326         warnings.warn(
    327             "The odd length pixel data is missing a trailing padding byte"
    328         )
    329     else:
--> 330         raise ValueError(
    331             "The length of the pixel data in the dataset ({} bytes) "
    332             "doesn't match the expected length ({} bytes). "
    333             "The dataset may be corrupted or there may be an issue "
    334             "with the pixel data handler."
    335             .format(actual_length, padded_expected_len)
    336         )
    337 elif actual_length > padded_expected_len:
    338     # PS 3.5, Section 8.1.1
    339     msg = (
    340         "The length of the pixel data in the dataset ({} bytes) indicates "
    341         "it contains excess padding. {} bytes will be removed from the "
    342         "end of the data"
    343         .format(actual_length, actual_length - expected_len)
    344     )

ValueError: The length of the pixel data in the dataset (518616 bytes) doesn't match the expected length (1161600 bytes). The dataset may be corrupted or there may be an issue with the pixel data handler.

Please take a look at this issue.
Any help is appreciated.
Thanks in advance.

The App SDK Seg Writer generates DICOM Seg objects which have been tested viewable by various DICOM viewers, e.g. MiroDicom, OHIF, 3D Slicer etc. The original discussion was related to how a 3rd party can best consume a DICOM Seg obj, generically not limited to output from the MONAI Deploy App SDK.
This is not deemed an App SDK issue based on the information available.


Debug console suggest not accepting

Are you pressing tab or enter? The debug console is different than the editor here, you have to press tab, see the hint at the bottom of the suggest widget.

I press Enter

You can set debug.console.acceptSuggestionOnEnter to make that work


Update the main README

This PR fixes some typos in the main README and updates the content of several sections.

I removed the plot that displays the evaluation performance on the Tox21 dataset. I think it makes more sense to have it inside the examples directory, but let me know if you don't agree and I will revert the changes.

Codecov Report

Merging #265 into master will not change coverage.
The diff coverage is n/a.

@@          Coverage Diff           @@
##           master    #265   +/-   ##
======================================
  Coverage    83.6%   83.6%
======================================
  Files         112     112
  Lines        5509    5509
======================================
  Hits         4606    4606
  Misses        903     903

@mottodora: Can you please review this?


No unit/integration tests in the project.

I will like to add some unit and integration test if possible using jest.

For sure @mohitms007
Thanks for adding them.

Yeah I will start working on this! Thanks!


wip: do not merge backports 2018 08 28 v3

testing if backport https://github.com/cilium/cilium/pull/5432 would have pass k8s tests

test-me-please

test-me-please


if variable syntax in Jinja2 doesn't throw an error if the value is undefined

For example:
{% if constraint %}
    parameter_constraints=[
        {% if sum_constraint %}"x1 + x2 <= 15.0", # example of a sum constraint
        {% endif %}
        {% if composition_constraint %}f"x1 + x2 <= {total}", # example of a reparameterized compositional constraint, which is a type of sum constraint
        {% endif %}
        {% if order_constraint %}"x1 <= x2", # example of an order constraint
        {% endif %}
        {% if linear_constraint %}"1.0*x1 + 0.5*x2 <= 5.0", # example of a linear constraint. Note the lack of space around the asterisks
        {% endif %}
        ],
{% endif %}

If constraint wasn't passed to render, then the if constraint block isn't entered into (i.e., it's None?)

StrictUndefined


link error

= note: ld: error: unable to find library -lgcc
clang-12: error: linker command failed with exit code 1 (use -v to see invocation)
error: could not compile adder-ffi due to previous error
[2021-11-22T07:50:36Z INFO  cargo_ndk::cli] If the build failed due to a missing target, you can run this command:
[2021-11-22T07:50:36Z INFO  cargo_ndk::cli]
[2021-11-22T07:50:36Z INFO  cargo_ndk::cli]     rustup target install aarch64-linux-android
[cargo-make][1] ERROR - Error while executing command, exit code: 101
[cargo-make][1] WARN - Build Failed.
[cargo-make] ERROR - Error while running duckscript: Source: Unknown Line: 4 - Error while executing command, exit code: 1
[cargo-make] WARN - Build Failed.

what is your platform? also do you have LLVM installed? besides, you should also make sure that you have NDK installed for android.

@yueyedeai This is a bug in cargo-ndk. Downgrade to Android NDK to Version 22.x to fix this. The bug comes in Version 23.


readonly modifier throws errors during compilation

Expected behavior:
Valid typescript syntax should not raise errors during compilation.
Actual behavior:
The readonly modifier causes compilation errors. Eg, this line:
readonly change: Observable<MdButtonToggleChange>;

Throws the following errors during compilation:

error TS1005: '=' expected.
error TS1005: ';' expected.
error TS1005: '(' expected.

The typescript compiler (typescript 2.0.2) does not throw errors
Your gulpfile:
gulp.task('build-ts', function () {
    return gulp.src(appDev + '**/*.ts')
        .pipe(sourcemaps.init())
        .pipe(typescript(tsProject))
        .pipe(sourcemaps.write('.',{
            sourceMappingURL: function(file) {
                return host + '/' + appProd + file.relative + '.map';
            }
        }))
        .pipe(gulp.dest(appProd));
});

The app runs fine despite these errors.

The readonly modifier is not supported in the last stable release of TypeScript (1.8). You have to install a nightly or the release candidate of 2.0 to use it, and configure it in your gulpfile. See more in the readme.

Thanks @ivogabe . That resolved things for me. I didn't know gulp-typescript could be used with a custom version.
Do you have any insight about whether this tool can be used with ngc the angular compiler? (ngc it is a drop in replacement for tsc that compiles and bundles Angular typescript into JS)
Reference: https://github.com/angular/angular/tree/master/modules/%40angular/compiler-cli#install-and-use

gulp-typescript can be used with forks of TypeScript, but ngc seems to be a different program instead of a fork. So I'm afraid that ngc cannot be used with gulp-typescript, but there might be a different gulp plugin for it.


Remove custom rule and formatter info from README and move to a wiki page

Closing this, want to move content to GitHub pages instead.


Setup benchmark CI for KEVM

We should set up the CI for running kevm foundry-prove in the tooling benchmark repository and add out tests there: https://github.com/eth-sc-comp/benchmarks.

[ ] Integrate conformance tests used in KEVM (https://github.com/runtimeverification/evm-semantics/tree/master/tests/foundry)
[ ] Prepare scripts for foundry-prove

@JuanCoRo do you think setting up the repo for Solady falls into the scope of this issue?

Absolutely! Using that repo to benchmark speed improvements with Kontrol sounds great.

Oh wait, @JuanCoRo, sorry, I thought I commented on a different issue related to downstream testing (this one: https://github.com/runtimeverification/kontrol/issues/17, and I'll assign it to you for now, if you don't mind). I agree it makes sense too though!


VSCode not working (probably a dup of #1260)

Environments

IDE Version: vscode 1.89.1
Extension Version:  1.7.2
CSharpier Version:   0.28.2
will NOT be the same as the extension version
Operating System: w11
.csharpierrc Settings: no
.editorconfig Settings: no

Log Output
["INFO" - 8:15:39 PM] Initializing csharpier-vscode
["DEBUG" - 8:15:39 PM] Trying to find dotnet on PATH using 'dotnet --info'
["DEBUG" - 8:15:42 PM] Using dotnet found from PATH at C:\Program Files\dotnet\dotnet.exe
["DEBUG" - 8:15:43 PM] c:\Users\glmne\.vscode\extensions\csharpier.csharpier-vscode-1.7.2\build
["DEBUG" - 8:15:43 PM] c:\Users\glmne\.vscode\extensions\csharpier.csharpier-vscode-1.7.2\build
["DEBUG" - 8:15:43 PM] Ensure there is a csharpier process for c:\git\dfp1\src\DF.DFp1
["DEBUG" - 8:15:43 PM] Looking for c:\git\dfp1\src\DF.DFp1/*.csproj
["DEBUG" - 8:15:43 PM] Looking at c:\git\dfp1\src\DF.DFp1\DF.DFp1.csproj
["DEBUG" - 8:15:43 PM] Looking for c:\git\dfp1\src\DF.DFp1\.config\dotnet-tools.json
["DEBUG" - 8:15:43 PM] Looking for c:\git\dfp1\src/*.csproj
["DEBUG" - 8:15:43 PM] Looking for c:\git\dfp1\src\.config\dotnet-tools.json
["DEBUG" - 8:15:43 PM] Looking for c:\git\dfp1/*.csproj
["DEBUG" - 8:15:43 PM] Looking for c:\git\dfp1\.config\dotnet-tools.json
["DEBUG" - 8:15:43 PM] Looking for c:\git/*.csproj
["DEBUG" - 8:15:43 PM] Looking for c:\git\.config\dotnet-tools.json
["DEBUG" - 8:15:43 PM] Looking for c:\/*.csproj
["DEBUG" - 8:15:43 PM] Looking for c:\.config\dotnet-tools.json
["DEBUG" - 8:15:43 PM] Unable to find dotnet-tools.json, falling back to running dotnet csharpier --version
["DEBUG" - 8:15:44 PM] dotnet csharpier --version output: 0.28.2
["DEBUG" - 8:15:44 PM] Using 0.28.2 as the version number.
["DEBUG" - 8:15:44 PM] Validating install at C:\Users\glmne\AppData\Local\CSharpier\0.28.2
["DEBUG" - 8:15:45 PM] "C:\Users\glmne\AppData\Local\CSharpier\0.28.2\dotnet-csharpier" --version output: 0.28.2
["DEBUG" - 8:15:45 PM] Using 0.28.2 as the version number.
["DEBUG" - 8:15:45 PM] CSharpier at C:\Users\glmne\AppData\Local\CSharpier\0.28.2 already exists
["DEBUG" - 8:15:45 PM] Adding new version 0.28.2 process for c:\git\dfp1\src\DF.DFp1
["DEBUG" - 8:15:45 PM] Warm CSharpier with initial format
["INFO" - 8:15:45 PM] Formatting started for c:\git\dfp1\src\DF.DFp1\UnreliableChannel.cs using CSharpier 0.28.2
["DEBUG" - 8:15:45 PM] Connecting via port 49152
["WARN" - 8:15:45 PM] CSharpier process return the following error:
"Unhandled exception: "
["WARN" - 8:15:45 PM] CSharpier process return the following error:
"System.Net.Sockets.SocketException (10013): An attempt was made to access a socket in a way forbidden by its access permissions.
   at System.Net.Sockets.Socket.UpdateStatusAfterSocketErrorAndThrowException(SocketError error, Boolean disconnectOnFailure, String callerName)
   at System.Net.Sockets.Socket.DoBind(EndPoint endPointSnapshot, SocketAddress socketAddress)
   at System.Net.Sockets.Socket.Bind(EndPoint localEP)
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportOptions.CreateDefaultBoundListenSocket(EndPoint endpoint)
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketConnectionListener.Bind()
   at Microsoft.AspNetCore.Server.Kestrel.Transport.Sockets.SocketTransportFactory.BindAsync(EndPoint endpoint, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Infrastructure.TransportManager.BindAsync(EndPoint endPoint, ConnectionDelegate connectionDelegate, EndpointConfig endpointConfig, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.<>c__DisplayClass28_0`1.<<StartAsync>g__OnBind|0>d.MoveNext()
--- End of stack trace from previous location ---
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindEndpointAsync(ListenOptions endpoint, AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.ListenOptions.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.EndpointsStrategy.BindAsync(AddressBindContext context, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.AddressBinder.BindAsync(ListenOptions[] listenOptions, AddressBindContext context, Func`2 useHttps, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.BindAsync(CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Server.Kestrel.Core.KestrelServerImpl.StartAsync[TContext](IHttpApplication`1 application, CancellationToken cancellationToken)
   at Microsoft.AspNetCore.Hosting.GenericWebHostService.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.Internal.Host.<StartAsync>b__15_1(IHostedService service, CancellationToken token)
   at Microsoft.Extensions.Hosting.Internal.Host.ForeachService[T](IEnumerable`1 services, CancellationToken token, Boolean concurrent, Boolean abortOnFirstException, List`1 exceptions, Func`3 operation)
   at Microsoft.Extensions.Hosting.Internal.Host.StartAsync(CancellationToken cancellationToken)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at Microsoft.Extensions.Hosting.HostingAbstractionsHostExtensions.RunAsync(IHost host, CancellationToken token)
   at CSharpier.Cli.Server.ServerFormatter.StartServer(Nullable`1 port, ConsoleLogger logger, String actualConfigPath, CancellationToken cancellationToken) in /home/runner/work/csharpier/csharpier/Src/CSharpier.Cli/Server/ServerFormatter.cs:line 36
   at CSharpier.Cli.Program.Run(String[] directoryOrFile, Boolean check, Boolean fast, Boolean skipWrite, Boolean writeStdout, Boolean pipeMultipleFiles, Boolean server, Nullable`1 serverPort, Boolean noCache, Boolean noMSBuildCheck, Boolean includeGenerated, String configPath, LogLevel logLevel, CancellationToken cancellationToken) in /home/runner/work/csharpier/csharpier/Src/CSharpier.Cli/Program.cs:line 59
   at System.CommandLine.Invocation.CommandHandler.GetExitCodeAsync(Object value, InvocationContext context)
   at System.CommandLine.Invocation.ModelBindingCommandHandler.InvokeAsync(InvocationContext context)
   at System.CommandLine.Invocation.InvocationPipeline.<>c__DisplayClass4_0.<<BuildInvocationChain>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass23_0.<<UseParseErrorReporting>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass16_0.<<UseHelp>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass27_0.<<UseVersionOption>b__1>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass25_0.<<UseTypoCorrections>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<UseSuggestDirective>b__24_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass22_0.<<UseParseDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass11_0.<<UseDebugDirective>b__0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c.<<RegisterWithDotnetSuggest>b__10_0>d.MoveNext()
--- End of stack trace from previous location ---
   at System.CommandLine.Builder.CommandLineBuilderExtensions.<>c__DisplayClass14_0.<<UseExceptionHandler>b__0>d.MoveNext()
"
["WARN" - 8:15:46 PM] CSharpier process failed to start. Formatting cannot occur.
["WARN" - 8:15:46 PM] CSharpier process failed to start. Formatting cannot occur.
["WARN" - 8:15:46 PM] CSharpier process failed to start. Formatting cannot occur.
["INFO" - 8:15:46 PM] Formatted in 1004.4106000065804ms
["DEBUG" - 8:15:48 PM] c:\Users\glmne\.vscode\extensions\csharpier.csharpier-vscode-1.7.2\build
["DEBUG" - 8:15:48 PM] Ensure there is a csharpier process for c:\git\dfp1\src\DF.DFp1
["DEBUG" - 8:15:51 PM] c:\Users\glmne\.vscode\extensions\csharpier.csharpier-vscode-1.7.2\build
["INFO" - 8:15:51 PM] Formatting started for c:\git\dfp1\src\DF.DFp1\UnreliableChannel.cs using CSharpier 0.28.2
["WARN" - 8:15:51 PM] CSharpier process failed to start. Formatting cannot occur.
["INFO" - 8:15:51 PM] Formatted in 0.3797000050544739ms
["DEBUG" - 8:17:50 PM] c:\Users\glmne\.vscode\extensions\csharpier.csharpier-vscode-1.7.2\build
["DEBUG" - 8:17:50 PM] Ensure there is a csharpier process for c:\git\dfp1\src\DF.DFp1

Steps to reproduce
format on save
Expected behavior
Actual behavior

Restarting the computer fixed the problem.
Not sure the issue, did check the port it chose was open by something else but that didn't seem to be the cause.

My guess is that you ran into the windows reserving ports issue - https://github.com/belav/csharpier/issues/1249#issuecomment-2129993017
I'll have a better fix out in 0.29 and will update the extensions to stop using csharpier server on 0.28 to avoid you running into this again.


so high CPU load rate，while GPU load normal

thanks
python3 train.py --snapshot imagenet --phi 0 --gpu 0 --random-transform --compute-val-loss --freeze-backbone --batch-size 8 --steps 1000 pascal datasets/VOC2012
when i run this command on tensorflow-gpu 1.15，I have a strange problem

why so high CPU load rate，while GPU load normal

i had the same issue. so have you solve this problem yet?

How about trying to increase batch size?
On Thu, Jan 9, 2020 at 5:40 PM stale[bot]<EMAIL_ADDRESS>wrote:

This issue has been automatically marked as stale because it has not had
recent activity. It will be closed if no further activity occurs. Thank you
for your contributions.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/xuannianz/EfficientDet/issues/53?email_source=notifications&email_token=AI54AFYS5NWOMVEB5LEVFDTQ43WHZA5CNFSM4J7WTSCKYY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGOEIPUUQI#issuecomment-572475969,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AI54AF2SV4HWSQIYCVEWJF3Q43WHZANCNFSM4J7WTSCA
.


Accept subgraph frontiers in setup

This PR fixes a bug that mysteriously hasn't shown up until some stress testing over in https://github.com/MaterializeInc/materialize/issues/5622.
The issue is that in set-up, a Subgraph will propagate pointstamp information among its operators and then schedule them for their first time. However, it would not first accept updates from the outside world, which meant that the initial calls into operator logic would not reflect "safe" frontiers, especially if an operator's input was from outside the scope (there would be no initial capability locally within the subgraph to present at it). The observed behavior was a spurious empty frontier in the first call, followed by legit frontiers after that call.
In fact, this manifests in enterleave::enter_at with enough panicky double-checking code (and indeed that example has an operator that consumes directly from outside the scope).
This fix is very local, but another take is that set_external_summary could plausibly be deleted, as the surrounding scope no longer presents a summary downwards, and initial frontiers are presented in the initial population of the SharedProgress struct rather than by method call.

Hrm. Mysteriously I have picked up some branch I must have been on. Closing and re-opening with the one line diff. :)


[Spark-5406][MLlib] LocalLAPACK mode in RowMatrix.computeSVD should have much smaller upper bound

JIRA link: https://issues.apache.org/jira/browse/SPARK-5406
The code in breeze svd  imposes the upper bound for LocalLAPACK in RowMatrix.computeSVD
code from breeze svd (https://github.com/scalanlp/breeze/blob/master/math/src/main/scala/breeze/linalg/functions/svd.scala)
val workSize = ( 3
* scala.math.min(m, n)
* scala.math.min(m, n)
+ scala.math.max(scala.math.max(m, n), 4 * scala.math.min(m, n)
* scala.math.min(m, n) + 4 * scala.math.min(m, n))
)
val work = new ArrayDouble
As a result, 7 * n * n + 4 * n < Int.MaxValue at least (depends on JVM)
In some worse cases, like n = 25000, work size will become positive again (80032704) and bring wired behavior.
The PR is only the beginning, to support Genbase ( an important biological benchmark that would help promote Spark to genetic applications, http://www.paradigm4.com/wp-content/uploads/2014/06/Genomics-Benchmark-Technical-Report.pdf),
which needs to compute svd for matrix up to 60K * 70K. I found many potential issues and would like to know if there's any plan undergoing that would expand the range of matrix computation based on Spark.
Thanks.

Test build #26087 has started for   PR 4200 at commit e48a6e4.

This patch merges cleanly.

Test build #26087 has finished for   PR 4200 at commit e48a6e4.

This patch fails Scala style tests.
This patch merges cleanly.
This patch adds no public classes.

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

Test build #26088 has started for   PR 4200 at commit 23860e4.

This patch merges cleanly.

Sorry for the style violation, The comment line was added after test build.

Test build #26088 has finished for   PR 4200 at commit 23860e4.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

Th evaluation of this criteria seems correct, but this isn't the solution, I think. As you approach this limit, you're allocating a single ~16GB array. This is already at the kind of scale where this implementation is not sufficient. Therefore should the code not select the distributed version in this case, rather than just fail?

Thanks for review, @srowen
Indeed a more proper policy for svd mode selection is needed. I'm having some troubles with my cluster now and I'll perform investigation for distributed mode after it's back to normal.
And, the require can still be useful as a must-have criteria check before invocation of brzSvd, right?
BTW, I'd like to know if there was successful experience computing svd on Spark with a scale about 20K * 20K ?

You can at least make this part of the logic under "auto" mode above right? Yes, if the user asks for local mode, it will either have to be an error or automatically change modes. I have not run the SVD at any scale, but the mode you're choosing is not appropriate for anything that large. use the distributed version.

Well, a clear problem for current auto mode is it will choose local mode as long as k > n / 2, regardless of matrix scale
I've not fully evaluated the capacity and constraints of LocalARPACK and DistARPACK, (like whether or not DistARPACK will be better), and until then, rewriting auto seems rash.

@hhbyyh It really depends on whether you need the full SVD or the truncated SVD. For the 60k * 70k problem, do you need its full SVD? If that is the case, I would say this is not yet supported. If you only need top 50 singular values, the dist mode should be able to handle it.
The limit is correct but I agree with @srowen that this is already beyond what we can really handle on a single machine. I would keep this hard limit and set a soft limit at 5000 (or 10000). We output a warning message if n is greater than this soft limit.

@hhbyyh Just curious, the commits from you always appear at the very bottom of the PR page. It made me feel that you just updated your PR. Is it a GitHub bug or did you do something special?

@mengxr Sorry I was on something else yesterday.
Are you suggesting putting a soft limit  in the auto mode for local and keep the hard limit in case LocalLAPACK ?
I agree with the general idea.
Just when I tried on my local machine, it took only about 2 hours to compute the full svd for a 10K * 10K matrix. And I even haven't install the NativeSystemBLAS. So I guess the limit for a single machine will be quite near the hard limit (17515). I'll try with distribute mode today.

10000x10000 is definitely doable with multi-threaded native BLAS on a single machine. But usually the full SVD is not necessary for the application. This is why I want to put a soft limit and throw a warning message, which might help users re-consider whether they need a full SVD.
That's interesting. Did GitHub show "added some commits 20 hours in the future"?

Test build #26318 has started for   PR 4200 at commit f7864d0.

This patch merges cleanly.

PR updated. Several findings:

LocalLAPACK and LocalARPACK shares similar upper bound, "requested array exceeds vm limit"   when n = 17000. For 15000, it will take more than 5 hours but doable.
k is actually ignored in LocalLAPACK mode. It always compute full svd.
computeGramianMatrix also has upper limit somewhere < 17000. Actually that's why 1 fails at 17000. I'll look into it. Yet I need more time to locate the root cause for that.
Under DistARPACK mode, for 17K * 17K full svd, I got a lot of future times out and job failed. I'm trying k = 10 with 17K * 17K (1 hour now), and seems all worker CPUs are always idle.

My intention is to expand the range of matrix computing for Spark but not to measure exact upper bound.... I'll probably try to optimize the DistARPACK mode.

Test build #26318 has finished for   PR 4200 at commit f7864d0.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

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

@mengxr Sorry to disturb. I know you are probably quite busy with many PR in review.
Can you please provide some comments if got a minute? I will close the PR if it's regarded as unnecessary for now~ Thanks.

The changes look good to me. We may want to investigate more on the limits, but the current setting is certainly better than master. I've merged it. Thanks for testing!

Thanks


Turned off Outreachy Prompt when status is not true

Signed-off-by: Parth Nanda<EMAIL_ADDRESS>This PR...
Changes
-Added one if-else statement
Screenshots

Second Last one is when outreachy status=true
Last one is when outreachy status=false
Checklist

[x] tested locally
[ ] added new dependencies
[ ] updated the docs
[ ] added a test

Fixes #

Thank you for contributing! @parthn2


[QUESTION] How to return "Void" (wrong swagger.json)

Hi,
In my project I have described the following route that does not return anything
    @Post("/")
    @Returns(constants.HTTP_STATUS_NO_CONTENT)
    @Description("Send a new or updated fire to the gateway")
    async newFire(@BodyParams(PostFireModel) body) {
        Services.serial.write(body);
    }

But the generated swagger definition contains a "schema" entry (here is a fragment)
    "post": {
      "operationId": "fireNewFire",
      "responses": {
        "204": {
          "description": "No Content",
          "schema": {
            "type": "object"
          }
        }
      },

How could I describe a route without the "schema" entry (A route that does not return anything)?
PS: I tried to use @Status instead of @Returns but it does not change anything

:tada: This issue has been resolved in version 6.20.1 :tada:
The release is available on:

v6.20.1
GitHub release

Your semantic-release bot :package::rocket:

:tada: This issue has been resolved in version 6.20.1 :tada:
The release is available on:

v6.20.1
GitHub release

Your semantic-release bot :package::rocket:


Remove hint()

Doing my part to discourage the use of hovers, mainly because they create usability problems with touch screens, I've decided to remove our hint method for displaying a hint on hover of Ninja Objects.
Another upside, is less JavaScript and CSS for a feature not likely to be used.

This change took off 1k. :)


Add example of client/server using mTLS

What type of PR is this?
Enhancement
What does this PR do / why is it needed ?
This PR adds test code and scripts that demonstrate a client and server communicating with mTLS.
Note : This is an addition to test code that will be used in future PRs for adding TLS and mTLS support in ServiceStore.
Which issue(s) this PR fixes:
Fixes #
Other notes for reviewers:
Does this PR introduce a user-facing change?
No

This PR is stale because it has been open for 30 days with no activity. Please remove stale label or add any comment to keep this open. Otherwise this will be closed in 5 days.


Fix DelegatingRestHandlerTests

Description
Fix DelegatingRestHandlerTests
Issues Resolved
Caused by https://github.com/opensearch-project/OpenSearch/pull/13772
Is this a backport? If so, please add backport PR # and/or commits #
Testing
N/A
Check List

[X] New functionality includes testing
[X] New functionality has been documented
[X] Commits are signed per the DCO using --signoff

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Come up in https://github.com/opensearch-project/security/pull/4432#issuecomment-2160045889 , thanks to @nibix

What do you think about moving the delegating handler into core so this is avoided in future iterations?


PHP Snippets are not being summoned by IntelliSense

VSCode Version: Code 1.8.0 (38746938a4ab94f2f57d9e1309c51fd6fb37553d, 2016-12-13T17:38:28.425Z)
OS Version: Darwin x64 14.5.0
Extensions:

Extension
Author
Version

beautify
HookyQR
0.6.2

code-settings-sync
Shan
2.3.8

toml
be5invis
0.0.3

LogFileHighlighter
emilast
1.0.1

php-intellisense
felixfbecker
0.0.12

Theme-MaterialKit
ms-vscode
0.1.1

stylelint
shinnn
0.20.4

pasteandformat
spoeken
0.0.5

Align
steve8708
0.2.0

Material-theme
zhuangtongfa
1.0.3

Steps to Reproduce:

Create a custom PHP Snippet.
Create a new PHP file, or edit an existing one.
Try to invoke a snippet using its prefix.
Press ⌘+Space.
Your custom snippet is not showing in the list.

Ok, it seems that snippets do kick in, but only when the <? tag is written. As a consequence, I get a duplicate <? because of the snippet. This didn't happen in the previous version.

Outside of <?php is just HTML...

@felixfbecker I understand. Is this related to the fact that I'm running your IntelliSense plugin? Because, as I said, this didn't happen in the 1.7.x version.

I don't know, why don't you try disable it first

@felixfbecker Ok, I tried disabling the extension, but the problem persists. Actually, IntelliSense is providing PHP code completion whether or not there's a <?php tag, but snippets, even built-in ones, are only shown if there's a <? or <?php tag.

Still the case - the snippet portion is by design. The intellisense is just because the builtin portion is not very smart. But probably not going to fix it.

So I basically worked this out. A .php file is basically treated as an html file since everything outside the php code block is html. Put the snippet to open/close the php tags in the html.json snippet file. Then if you want an html snippet available within a block of php code, you need to put that snippet in the php.json file.


Text on gallery cards screen extends beyond card

See image (image from iPod touch)

Good catch. Just iOS?

My Android devices have a wider screen, so I think that may be why it only looks bad on iOS.

@HansMuller thinks this may be fixed.


An undefined reference to'viewer:: ViewerWindow:: Instance ()' on ubuntu18.04

I tried example of viewer on ubuntu18.04, but i met some problem when i was ready to make.
Main. cpp:(. text + 0x131): An undefined reference to'viewer:: ViewerWindow:: Instance ()'
Main.cpp:(.text+0x158): An undefined reference to'viewer:: ViewerWindow:: Initialize (char const*, int, int)'
Main.cpp:(.text+0x17e): An undefined reference to'viewer:: ViewerWindow:: CreateTexture (std:: pair < int, int>)'
Main.cpp:(.text+0x1a1): An undefined reference to'viewer:: ViewerWindow:: CreateTexture (std:: pair < int, int >)'
Main.cpp:(. text + 0x1bc): Undefined reference to'viewer:: ViewerWindow:: BeginFrame ()'
Main.cpp:(.text+0x2a6): An undefined reference to'viewer:: Texture:: Update (viewer:: BgraPixel const*)'
Main.cpp:(.text+0x2c7): An undefined reference to'viewer:: Texture:: Update (viewer:: BgraPixel const*)'
Main.cpp:(.text+0x37b): undefined reference to `viewer:: ViewerWindow:: ShowTexture'(char const*, viewer:: Texture const &, ImVec2 const &, ImVec2 const &)'
Main.cpp:(.text+0x3d8): undefined reference to'viewer:: ViewerWindow:: ShowTexture (char const*, viewer:: Texture const &, ImVec2 const &, ImVec2 const &)'
Main.cpp:(. text + 0x3e7): Undefined reference to'viewer:: ViewerWindow:: EndFrame ()'
Main. cpp:(. text + 0x413): An undefined reference to'viewer:: Texture:~Texture ()'
Main. cpp:(. text + 0x422): An undefined reference to'viewer:: Texture:~Texture ()'
Main. cpp:(. text + 0x4c4): An undefined reference to'viewer:: Texture:~Texture ()'
Main. cpp:(. text + 0x4db): An undefined reference to'viewer:: Texture:~Texture ()'

And it's my cmakelists. The folder imgui includes imgui header files and CPP files.
folder opengl is copied from source. k4a may have no use
cmake_minimum_required(VERSION 3.0.0)
project(Test2 VERSION 0.1.0)

include(CTest)
enable_testing()
include_directories(
"/home/mzh/c++code/Test2/Imgui/",
"/home/mzh/c++code/Test2/",
"/usr/include/k4a",
)
add_subdirectory(opengl)
find_package(k4a REQUIRED)

add_executable(Test2 main.cpp)
target_link_libraries(Test2 "/usr/lib/libk4a.so")
set(CPACK_PROJECT_NAME ${PROJECT_NAME})
set(CPACK_PROJECT_VERSION ${PROJECT_VERSION})
include(CPack)

how to solve?

Hello @SingleMzh,
It looks like you are trying to build the simple viewer example independently of the full SDK. Is that correct?
To build the full SDK, please look at the building instructions. If that works for you, then you should at least have all the dependencies that you will need, which will be helpful for you separating out the example.
I filed issue #589 to track adding some additional documentation and build resources to make this easier.


[1.2.4b] Fish Feeder Broken

The fish feeder seems rather broken. Fish food is not added to the tank, either by pumping it in, dropping fish meal in surrounding water, or by placing bottles of it in the gui. It also does not seem to be detecting cooling upgrades from what I can tell, as well as not detecting the water around it.
Image: http://i.imgur.com/bgF240i.png

Checking over this. The food will be related to the water. As the size of the tank depends on the amount of water. Working on it now.

Fixed in dev grab from ondraster.cz:8080/job/Mariculture/
I'll release properly soon, just waiting on something ^_^.


For single robot application.

Hello author, thank you very much for open sourcing this project.
FAST-LIO will experience drift during loopback.So i Attempt to change the loop back detection module,like this

But there was an error in the global_manager module

and i noticed that MR SLAM supports single robot applications, Can you give me some help for this. Thanks

@cxmzdd Thanks for following our work.
I cannot understand the first question. The drift is common in FAST-LIO, and the loopback problem is caused by the loop play of the rosbag, which is not the problem of the loop detection module.
As for single robot application, the error indicates that the robotid is mismatched. You may modify the start_robot_id in launch file.

Thanks for your reply.
I'm sorry I didn't express myself clearly. I mean FAST-LIO will experience drift during loopback. Is there a way to eliminate this drift.
I noticed there is a "odometry_loop_enable" parameter,Perhaps I can change it to true to achieve my goal？

@cxmzdd odometry_loop_enable is only enabled using built-in loop detection which is not recommended. The way to achieve single robot SLAM, you need to activate the corresponding lines to detect inter-robot loops. https://github.com/MaverickPeter/MR_SLAM/blob/a46cbadac6400f4a815dcabe806e02ed67d17a0f/LoopDetection/src/RING_ros/main_RING.py#L276C4-L277C116. Also you need to comment out the inter-robot check in this line: https://github.com/MaverickPeter/MR_SLAM/blob/a46cbadac6400f4a815dcabe806e02ed67d17a0f/LoopDetection/src/RING_ros/main_RING.py#L213

@MaverickPeter Thank you for your advise.i've tried it.But the mapping wil crash when receiving loop.
[ INFO] [1713874305.252086589,<PHONE_NUMBER>.077912261]:  received loop update
[global_manager-1] process has died [pid 636399, exit code -11, cmd /home/Mapping/devel/lib/global_manager/global_manager_node __name:=global_manager __log:=/root/.ros/log/54aaab66-015c-11ef-9537-0242ac110002/global_manager-1.log].
log file: /root/.ros/log/54aaab66-015c-11ef-9537-0242ac110002/global_manager-1*.log

@cxmzdd  Could you please share your launch file and loop detection python file? I'll check it out.

Sure,here is the launch file:https://gist.github.com/cxmzdd/8259728c2946ada907860388cc12d2cd i only change the "start_robot_id" to 2.
And this is the loop detection python file:https://gist.github.com/cxmzdd/5472b1247da6cefc3798691b42b60fa0. i use detect_loop_single_icp to add a time limit for single robot loop back detection,and change some parameters for icp to run faster

@cxmzdd  Sorry for the late reply. I'll try to reproduce your issue this weekend and try to fix it.

@cxmzdd You may need to use the callback1 to subscribe /robot_2/xxx in  main_RING.py to achieve single_robot application.

I got it.
Thanks


Addd mkcert and make chrome trust https URLs, fixes #15

#15 points out that https URLs aren't trusted by chrome here.
This installs mkcert in the chrome container and makes it trust the shared mkcert CA.
curl also works inside the chrome container.
You can test this PR with
ddev get https://github.com/rfay/ddev-selenium-standalone-chrome/tarball/20230121_trust_certs
This seems to demonstrate that the demonstration repo provided by @ptmkenny in #15 will work OK, trusting https URLs.

So I tried running ddev get https://github.com/rfay/ddev-selenium-standalone-chrome/tarball/20230121_trust_certs in the test repo and then doing ddev restart but I couldn't get it working-- when I run ddev composer behat, I'm seeing an SSL failure after removing the --ignore-certificates flag in behat-ddev-selenium.yml.
I then tried to delete the data and start over with ddev delete and then ddev drush site:install --account-name=admin --account-pass=admin -y but I got the same error.
I committed my changes to a new branch so maybe you can see what I'm doing wrong?
https://github.com/ptmkenny/d10-behat/compare/main...pr17

I'm frustrated that you had the --ignore-certificate-errors in your repo that was supposed to demonstrate the error. Maybe I missed something along the way.
And I guess I don't know why you now care to remove that, and what trouble it causes.

I didn't have any trouble with your repo and ddev composer behat as you had put it out there to demo. Seems like you're changing the rules of the game :)
I imagine headless chrome needs something to install the CA at a different point, not sure.
Can you please get your repo to a place where it demonstrates the problem we're trying to solve? Or is that what the pr17 branch now is?

Please also help me to understand how to know that the failure which I now see is a result of untrusted cert. Behat has always been a bit inscrutable in its explanation of what's going on. How can I see the cert failure?

Ah, I see I can see the interaction at
https://d10-behat.ddev.site:7900/

I'm sorry to cause you frustration.  I'm going to restate the problem to avoid further miscommunication and to make sure that we have the same understanding.
The issue at hand is that when testing with behat using the selenium-standalone-chrome container, you get a certificate error if you test with an https URL. This error can be worked around by setting the  --ignore-certificate-errors flag for Chrome in the behat config file (in my repo's case, tests/behat/behat-ddev-selenium.yml.  Since this allows behat tests to be run, I submitted a PR that added a note to the README about setting this flag.  Then you suggested it would be better to fix this in the container itself if possible by getting it to trust the certificate (which I agree- that would definitely be better because it's zero config on the part of the user).
The repo I added was a "working" demonstration of an https URL with the --ignore-certificates flag.  That's probably the source of the confusion-- I submitted a repo in a working state instead of in a broken state because (to my mind) I was demonstrating the "fix" (my workaround) rather than a bug that needed to be fixed, but thinking about it now it makes more sense to submit a broken repo showing the problem and then an additional branch showing the fix, so I'm sorry about that.
So, to sum up, to see the problem, --ignore-certificate-errors should not be set (as is the case in pr-17, so pr-17 is demonstrating the problem, whereas the original main branch is "fixing" the https issue by setting --ignore-certificate-errors).

Looks like the installation of CA is covered in https://github.com/seleniumhq-community/docker-seleniarm#install-certificates-for-chromium-based-browsers, and apparently it doesn't trust the system CA by default.

But @ptmkenny does --ignore-certificate-errors solve all your problems? Is that the easy path?

But @ptmkenny does --ignore-certificate-errors solve all your problems? Is that the easy path?

Yes, it solves all my problems, specifically:

All the tests run as expected.  All https URLs, including images and CSS, load properly in the tests.
http to https redirects on the test site work.

I think this is also a pretty easy way to do it because if you are running behat tests like this you probably already have a behat.yml, and this is just adding one line to that file.

The chrome launched in the container should be able to accept --ignore-certificate-errors by default, but I haven't figured out how to get it to do that, despite a number of resources.

https://stackoverflow.com/a/25063706/215713
https://stackoverflow.com/a/49835651/215713
https://sahajamit.medium.com/selenium-chrome-dev-tools-makes-a-perfect-browser-automation-recipe-c35c7f6a2360
https://stackoverflow.com/a/74733865/215713
http://blogs.stevelongchen.com/2020/05/14/selenium-how-to-disable-or-bypass-connection-is-not-private-for-chrome-and-firefox/

I would have thought that just this would do the job,
  - MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\", \"--ignore-certificate-errors\",\"--allow-insecure-localhost\"]}}, \"http://selenium-chrome:4444/wd/hub\"]

I'm pretty sure we can make the selenium-chrome container trust the mkcert CA with docs, but it would be so very much easier to just figure out where the magic goes for defaulting --ignore-certificate-errors

I would have thought that just this would do the job,  - MINK_DRIVER_ARGS_WEBDRIVER=[\"chrome\", {\"browserName\":\"chrome\",\"chromeOptions\":{\"w3c\":false,\"args\":[\"--disable-gpu\",\"--headless\", \"--no-sandbox\", \"--disable-dev-shm-usage\", \"--ignore-certificate-errors\",\"--allow-insecure-localhost\"]}}, \"http://selenium-chrome:4444/wd/hub\"]

I am not an expert on this, but fixing it here should work for anyone using the default args, so the only people who wouldn't be covered by this case would (I think) be people like me who are specifying additional chrome options/setting up a browser profile in a behat config.yaml, which will require setting the flag manually.

@ptmkenny that's what I was aiming for. All the changes discussed here were aiming at that. The quote I gave was something in the docker-compose.

Closing this for now. Happy to return to it later or work on solving this problem another way. For now it's distracting for it to be in here.


Added Automatic1111 SD colab backend

Hello, thank you for creating this elegant Stable Diffusion UI!
I revised a Automatic1111 SD colab notebook and added some comments so that one can use colab as their backend in using diffusionui.com
I hope this helps! Thanks!

Thanks! I'll look into it.

I tested it and it seems to work great!
But wouldn't it make more sense to save the notebook in the repo here so that we could modify it if needed?
I'm not really familiar with colab so I don't know if that's possible.

Thanks, @leszekhanusz! I created a new PR that includes the colab notebook.
https://github.com/leszekhanusz/diffusion-ui/pull/54


validate mentions

Validate existence of mentioned user (in form [~username]) in issue description and in comments, and prevent creating/updating an issue and comment which would mention a nonexisting user (suspecting typo or misremembered username).
additionally it'd be extra helpful to list users whose real name or user name sounds like the one to be corrected (if a user lising is supported by Jira).

This is a good idea, I am limited on time, so not sure when I will get to it though.


percent_expand: unknown key %C

ssh appends the literal '%C' on Ubuntu 14 (possibly other OS) eg from pkb.log: ...ssh flags
 -o PreferredAuthentications=publickey -o PasswordAuthentication=no -o ConnectTimeout=5 -o GSSAPIAuthentication=no -o ServerAliveInterval=30 -o ServerAliveCountMax=10 -i /tmp/perfkitbenchmarker/runs/1160bba4/perfkitbenchmarker_keyfile -o ControlPath="/tmp/perfkitbenchmarker/runs/1160bba4/ssh/%C" -o ControlMaster=auto -o ControlPersist=10m hostname}  ReturnCode:255
STDOUT:
STDERR: percent_expand: unknown key %C

relevant commit (198: control_path = os.path.join(temp_dir.GetSshConnectionsDir(), '%C')): https://github.com/GoogleCloudPlatform/PerfKitBenchmarker/commit/b15bf30494c8621929c1677914a125da905e36c5#diff-6c0dd34a0f7b6f2f2e0668bfbe15a263
tested on:
uname -a:
Linux i-2019021411-a5f6c2c1 4.4.0-142-generic #168~14.04.1-Ubuntu SMP Sat Jan 19 11:26:28 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

This means you've got an older version of openssh (https://unix.stackexchange.com/questions/218272/how-can-i-maintain-open-ssh-connection-and-use-it-from-shell-scripts indicates %C was introduced in v6.7). If you don't want to upgrade you can turn off the PKB feature by passing in the flag --reuse_ssh_connections=False


Bug Fix: Failure in One Map State Causes Abort in Others

If one of the map states for an account fails, all of the other map states will abort.

If one of the map states for an account fails, all of the other map states will abort.

This is due to how inline map states work, switched to distributed to solve issue

Tested with data that was causing failure, failed map state failed, others ran fine.


Delete or close  this  pull request #2 from redmatrix/master

merge branch

I think this pull requests is mistake . Nothing to commit here

deleting


Delete LogDB wmstats docs when wfs are archived

Have to decide whether we can completely get rid of of the LogDBTasks cherrypy thread.
Still have to be tested, I think it won't work, but you're welcome to have a look at it Seangchan :)

Hi Alan, I have a few questions.

Current setting is that the logDB not deleted?
It seems the procedure is not fault tolerant (it the deletion fails it doesn't get retried.

test this please

Seangchan, please leave your review and I'll check it tomorrow. I'm also running some tests over night and will check the outcome tomorrow morning before merging it. Thanks

Seangchan, basic tests work fine. I reverted changes as you suggested.
I'm merging it now and we can further validate it in testbed.


Added is.json type checking

is.json() is for specifically checking pure JSON types. is.object()  fails with this since it clubs functions also as object type.

Thanks @Guru107


Column HTML Data Attributes

Summary of problem or feature request
Is there a way to set HTML data attributes for a column? HTML data attributes can be used with DT as such: https://datatables.net/examples/advanced_init/html5-data-attributes.html
System details

Operating System: Ubuntu 14.04
PHP Version: PHP 5.6.10
Laravel Version: 5.0.35
Laravel-Datatables Version: 6.10.1

I think you can use DT Row Options for this. See this demo for reference specifically this part:
->setRowAttr([
  'color' => 'red',
])

Oh, very nice - for some reason I was thinking that this was used for CSS styles, not attributes. Thanks, this worked perfectly.
In hindsight though, I suppose that the HTML 5 data attributes in the URL that I referenced aren't actually very useful when you're using server side processing and AJAX. Oh well, at least I know how to do it.


monetize channel ads not showing

monetize channel ads not showing in preview

I just checked script is showing the ads..

what's in your urls.txt?


Verify the TNT SQL events with the 3.0 version of the IM

We moved the TNT SQL into the general Information model, but forgot to compare it to the 3.0 definition.

Closing. Frazer is working on this as a part of aligning the SQL with IM 3.2


Unusual ffmpeg version strings cause the version tab to give null pointer

A ffmpeg build returns something like this:
ffmpeg version 4.3.1-tessus  https://evermeet.cx/ffmpeg  Copyright (c) 2000-2020 the FFmpeg developers
The extra spaces and the URL causes this to error out:
Error getting ffmpeg version TypeError: Cannot read property '1' of null
testtv             |     at FFMPEGInfo.getVersion (/home/node/app/src/ffmpeg-info.js:19:51)

fixed

fixed


Captutre Links to other assets

Asset Inventory - Capturing perils to which each asset is exposed.
Capture links to other assets - in event of a hazard - failure chains


Feature/GitHub users

Add new actions

Get user
list teams for organization
Add (and invite if not member) user to team within organization

Bug exists in the current version of PyGitHub, so using their trunk.

Great, thanks.
And yeah, last time I checked, PyGithub was less than ideal. In fact, all of the Python libraries for interacting with Github I checked were less than ideal (kinda sad that Github doesn't develop an official one, anyways).

+1
Merging.

@tonybaloney Appreciate the contribution!


Dapr does not configure pubsub locally

I am working for my internship with DAPR and everything has been going perfectly up until yesterdat when it stopped working.
Me and someone from the team looked at it but couldn't find anything. He ran it on his own computer and everything worked fine
It also works perfectly on azure container apps only not on my machine.
Reinstalling dapr does not work!
I have 2 services running: sensordataproducer and fishtankstatus.
Running the app:

Component pubsub file:

Logs:
sensordataproducer service:

Code:

Request:

Error:
Dapr.DaprException: Publish operation failed: the Dapr endpoint indicated a failure. See InnerException for details.
 ---> Grpc.Core.RpcException: Status(StatusCode="FailedPrecondition", Detail="no pubsub is configured")
   at Dapr.Client.DaprClientGrpc.MakePublishRequest(String pubsubName, String topicName, ByteString content, Dictionary`2 metadata, String dataContentType, CancellationToken cancellationToken)
   --- End of inner exception stack trace ---
   at Dapr.Client.DaprClientGrpc.MakePublishRequest(String pubsubName, String topicName, ByteString content, Dictionary`2 metadata, String dataContentType, CancellationToken cancellationToken)
   at sensordataproducer.Services.DataProducerService.Start(Int32 frequency, DaprClient client) in C:\Users\YordiD\Documents\GitHub\EventDrivenMicroservicesYordi2023\current\src\sensordataproducer\sensordataproducer\Services\DataProducerService.cs:line 60
   at sensordataproducer.Controllers.StartStopController.Start(Int32 frequency) in C:\Users\YordiD\Documents\GitHub\EventDrivenMicroservicesYordi2023\current\src\sensordataproducer\sensordataproducer\Controllers\StartStopController.cs:line 27
   at lambda_method5(Closure , Object )
   at Microsoft.AspNetCore.Mvc.Infrastructure.ActionMethodExecutor.AwaitableObjectResultExecutor.Execute(IActionResultTypeMapper mapper, ObjectMethodExecutor executor, Object controller, Object[] arguments)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeActionMethodAsync>g__Awaited|12_0(ControllerActionInvoker invoker, ValueTask`1 actionResultValueTask)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeNextActionFilterAsync>g__Awaited|10_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Rethrow(ActionExecutedContextSealed context)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.Next(State& next, Scope& scope, Object& state, Boolean& isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ControllerActionInvoker.<InvokeInnerFilterAsync>g__Awaited|13_0(ControllerActionInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeFilterPipelineAsync>g__Awaited|20_0(ResourceInvoker invoker, Task lastTask, State next, Scope scope, Object state, Boolean isCompleted)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Mvc.Infrastructure.ResourceInvoker.<InvokeAsync>g__Logged|17_1(ResourceInvoker invoker)
   at Microsoft.AspNetCore.Routing.EndpointMiddleware.<Invoke>g__AwaitRequestTask|6_0(Endpoint endpoint, Task requestTask, ILogger logger)
   at Swashbuckle.AspNetCore.SwaggerUI.SwaggerUIMiddleware.Invoke(HttpContext httpContext)
   at Swashbuckle.AspNetCore.Swagger.SwaggerMiddleware.Invoke(HttpContext httpContext, ISwaggerProvider swaggerProvider)
   at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

When I Post to the sensordata endpoint in in my fishtankstatus web api it invokes the middleware:

Publishing via the DAPR CLI gives the following error:
dapr publish -i fishtankstatus --pubsub sensorpubsub --topic sensordata --data '{}'
http://localhost:62159/v1.0/publish/sensorpubsub/sensordata
Error publishing topic sensordata: unexpected status code 400 on publishing to sensordata in sensorpubsub

The fishtankstatus container subscribes to the topics as we can see via a curl command:
 curl http://localhost:7002/dapr/subscribe -v
VERBOSE: GET with 0-byte payload
VERBOSE: received -1-byte response of content type

StatusCode        : 200
StatusDescription : OK
Content           : {91, 123, 34, 116...}
RawContent        : HTTP/1.1 200 OK
                    Transfer-Encoding: chunked
                    Date: Tue, 28 Mar 2023 14:01:44 GMT
                    Server: Kestrel

                    [{"topic":"sensordata","pubsubName":"sensorpubsub","route":"sensordata"}]
Headers           : {[Transfer-Encoding, chunked], [Date, Tue, 28 Mar 2023 14:01:44 GMT], [Server, Kestrel]}
RawContentLength  : 73

Is there anything else I can try to fix this?

Hi @YordiVanDyckPXL, can you run both the apps with --log-level as debug and then share them as text files or attachments here?

fishtankstatus.txt
sensorDataProdcuer.txt

@YordiVanDyckPXL thanks for sharing, few points

The sensordataproducer app is loading the component correctly, but I don't see the component being loaded by fishtankstatus. Are you specifying the components directory properly?
When you tried to publish a message above, you seem to be using fishtankstatus. If you want sensordataproducer to publish the message, you should run

dapr publish -i sensordataproducer --pubsub sensorpubsub --topic sensordata --data '{}'

Publish event won't work from fishtankstatus since the component is not actually loaded.

They are referencing to the same component folder and checked it many times.
Same happens with the producer:
dapr publish -i sensordataproducer --pubsub sensorpubsub --topic sensordata
http://localhost:6005/v1.0/publish/sensorpubsub/sensordata
Error publishing topic sensordata: unexpected status code 400 on publishing to sensordata in sensorpubsub

@YordiVanDyckPXL interesting.  When this happens with producer, do you still see this in logs? level=debug msg="found component. name: sensorpubsub, type: pubsub.redis/v1" app_id=sensordataproducer

Yes it is there

@YordiVanDyckPXL are you on Dapr discord? You can ping me there (shubham1172), we can do a pair-debugging session https://aka.ms/dapr-discord

I Send a message on discord.

We found the issue.
It is windows 11 interfering with something.
We tried running dapr in wsl and then it worked perfectly.
This log was missing in the dapr
DEBU[0000] loading component. name: pubsub, type: pubsub.redis/v1  app_id=test instance=YORDID01 scope=dapr.runtime type=log ver=1.10.4


Implicit squeezing for logical comparison in Vector?

Right now if I have two vectors vect1 and vect2, both with a single feature, and I do:
vect1.intersects(vect2)

It gives back a Series:
0    True
dtype: bool

which will fail in a conditional statement with if.
ValueError: The truth value of a Series is ambiguous. Use a.empty, a.bool(), a.item(), a.any() or a.all().

Is there anything upstream in pandas to accept this behaviour implicitly?
Or should we have an all_intersects function?

Actually writing all(v1.intersects(v2)) is not especially long. I think I can live with it!


AttributeError: 'COCO_dataset_generator' object has no attribute 'r_x'

Traceback (most recent call last):
  File "/home/usr/.local/lib/python3.6/site-packages/matplotlib/cbook/__init__.py", line 215, in process
    func(*args, **kwargs)
  File "segment.py", line 332, in onclick_release
    elif self.r_x and np.abs(event.xdata - self.r_x)>10 and np.abs(event.ydata - self.r_y)>10: # 10 pixels limit for rectangle creation
AttributeError: 'COCO_dataset_generator' object has no attribute 'r_x'

When clicked, this is printed from time to image.

This error was caused because of out-of-screen or illegal clicks resulting in None objects. I added a fix with the latest commit. Apologies for the delay, I've been focused on other things. Let me know if you still get the error.


Make Chromeheadless as default test browser

Changes

Make ChomeHeadless as default test browser.

Coverage remained the same at 51.885% when pulling 2d9c66b4deed4f6c9d90ebb667b9d9f009c0e312 on chromeheadless into c12b29129663e22ba400e0aad318933b0a0ab31c on master.


mgmt tsp, fix listByParent

fix https://dev.azure.com/azure-sdk/internal/_build/results?buildId=3960525&view=logs&j=ca395085-040a-526b-2ce8-bdc85f692774&t=738c417a-4a48-5620-b571-4f9e77e0bfd2&l=25 for next typespec-azure-resource-manager.
Tried to make interface ResourceListByParent work, all in vain.. Switched to using operation instead.
code: https://github.com/Azure/autorest.java/pull/2860/commits/c557444bee4df61dedf592230565f8b62b48586d

Not sure why order changed...

Not sure either.. My guess is that interface operations are listed before operations defined in later blanket {}.


Chat tabs can't be closed

If you try to close them. nothing happens

This was rather a symptom of an underlying bug that causes aeolus to not correctly load (only a few users displayed)


SSH key problems in Fedora 30 Server

Hi,
I tried to install netconf2 / sysrepo / netopeer2 and required dependencies on a freshly installed Fedora 30 virtual machine, using last updates as of 2019-06-25. It did not work out of the box. Starting sysrepod, sysrepo-plugind and netopeer-server startet sucessfully without error messages (loglevel=3), but connecting via netopeer2-cli didn't succeed.
netopeer2-cli says:
> connect
nc ERROR: Starting the SSH session failed (Socket error: Connection reset by peer).
cmd_connect: Connecting to the localhost:830 as user "devel" failed.
>

netopeer2-server says:
[INF]: Accepted a connection on <IP_ADDRESS>:830.
[2019/06/26 16:52:17.027497, 2] ssh_pki_import_privkey_base64:  Trying to decode privkey passphrase=false
[2019/06/26 16:52:17.027718, 1] pki_private_key_from_base64:  Unknown or invalid private key.
[ERR]: Failed to set hostkey "ssh_host_rsa_key" (/etc/keystored/keys/ssh_host_rsa_key.pem).

Googling around resulted in the possibility to use '-m PKCS8' instead of '-m PEM' when generating the keys with ssh-keygen. I removed the keys in /etc/keystored/keys and generated new keys with '-m PKCS8'. As a result, I could connect to the netopeer2-server from netopeer2-cli, without anything showing any error.
That's good SO FAR.
But, when I execute the command 'get' from within netopeer2-cli, sysrepo-plugind shows errors:
...
[ERR] (keystored_read_pubkey_skip_type:75) File "/etc/keystored/keys/ssh_host_rsa_key.pem.pub" is not a public key in PEM format.
[ERR] (ks_privkey_get_cb:185) Memory allocation failed (Resource temporarily unavailable).
...

The reason is, that there is no headline (-----BEGIN ...) / footline (-----END ...) in the .pub file. Converting the .pub file with ssh-keygen into a PEM file isn't enough, because ssk-keygen generates the headline '-----BEGIN RSA PUBLIC KEY-----', whereas keystored expects '-----BEGIN PUBLIC KEY-----' (and vv for the footline).
Thus, the final working solution is:
cd /etc/keystored/keys
rm -f ssh_host_rsa_key.pem*
ssh-keygen -m PKCS8 -t rsa -q -N "" -f ./ssh_host_rsa_key.pem
ssh-keygen -f ssh_host_rsa_key.pem -e -m pem | sed -e 's/RSA PUBLIC KEY/PUBLIC KEY/' > ssh_host_rsa_key.pem.pub

I don't know whether there is the same problem in other distros (now or in the near future), so I cannot decide whether it makes sense to update the file keystored/scripts/ssh-key-import.sh in order to respect this, future will show.
As reference, the versions of related stuff is:

openssh: version 8.0p1 (release 4.fc30)
libssh:  version 0.8.7 (release 1.fc30)
openssl: version 1.1.1c (release 2.fc30)
As mentioned above, the rest actual as of 2019-06-25.

Kind Regards,
Peter

Hi Peter,
thanks for letting us know. In the new netopeer2 (that is almost ready and will soon go public) the key generation is implemented differently, so I would keep the current netopeer2 the way it is. If you encounter this problem with the new netopeer2, we can discuss an appropriate fix.
Regards,
Michal

Hi Michal,
thank you for the fast response.
That's okay for me, since a simple workaround exists. I will recheck it when the new netopeer2 is available.
Kind Regards,
Peter


chore: increse code coverage

Description:
Increase code coverage for edge agent
Checklist:

[x] My PR follows the contribution guidelines of this project
[x] My PR is free of third-party dependencies that don't comply with the Allowlist
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] I have added tests that prove my fix is effective or that my feature works
[x] I have checked the PR title to follow the conventional commit specification

Pull Request Test Coverage Report for Build<PHONE_NUMBER>
Details

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+1.0%) to 42.642%

Totals

Change from base Build<PHONE_NUMBER>:
1.0%

Covered Lines:
2984

Relevant Lines:
6114

💛  - Coveralls


[TextField] Update labelWidth for outline variant if required is updated

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

Currently, if a TextField using outlined for the variant has the required prop update to true the asterisk will overlap with the outline a little bit. This will update the width if required changes to accommodate for the additional spacing.
As a note, I did originally go through to write tests for this, but the offsetWidth was always reporting 0 no matter the label or changes. I assume this is a JSDOM limitation. If anyone has any ideas the best way to test this I am open to adding one.

We might want to take the label property into account too.

I thought about this before but I think this is an Anti-Pattern. If you change the label associated to an input then the whole semantics of the input change at which point you should reset it i.e. re-mount it.
One case where this would hide bad UX is #15142. Validation information shouldn't change the label but add a helper text. Not sure about a11y here though so I might be wrong.
Maybe add an example for dynamic labels to the docs:
...
   <TextField key={label} label={label} />
...

No need to rush. We can delay the label problem to another time. I do agree that keeping the same label should be encourage. The question we need to answer is. Should we force people not to change it? Changing the DOM node can be a non option in some case, e.g. If you still have the focus on the field.

@dmiller9911 It's a great first pull request on Material-UI 👌🏻. Thank you for working on it!

Updating the outline when the label changes is important for the multiple language use case.
The label is changed to reflect the language setting though the semantics of the field remain the same.
For example with Japanese/English the labels for the fields on a login dialog may be
ユーザ名
Username
パスワード
Password
If the dialog opens in Japanese and is switched to English, the Username label overlaps the outline and there is a large gap after the Password label.  The reverse is true when English is the initial setting.
As the language selector is on the login dialog, it is important to preserve previously entered values.
As a kludge, the text fields are placed in a form group that is duplicated for each language and displayed based on the selected language.  Seems silly to have multiple fields that input the same values just because the label won't display properly.

@Mark-K You can use the label as the key which results in a recalculation if the label changes. It's probably best anyway to remount the textfield if the used language changes since e.g. number format changes anyway.

@eps1lon Works beautifully Thanks!!


Automatically add Open Beta group to Fastlane build process

We'll need to do something like this to automatically distribute our builds to the Open Beta group. We should do this so the Open Beta group automatically gets added to each latest build of the app.

bundle exec fastlane beta should do this, but we do need to update the README.

FWIW, we decided today that we would just update the Open Beta every time we update the internal build w/o any additional qa/qc checks, so IMO we just need to run that additional fastlane command every time we release.


How do I log in without username and password?

After creating a user (which btw does not require a username and password) the next step to do anything appears to be logging in with a username and password.
quoting the samples.md file

Create a user
# Make sure we are in Sandbox
SynapsePay.api_base = SynapsePay.api_sandbox

SynapsePay.client_id = "client-id"
SynapsePay.client_secret = "client-secret"

# This creates an oauth client for the newly created user.
client = SynapsePay::User.create({
  :email =><EMAIL_ADDRESS>  :fullname => "Test Account",
  :ip_address => "<IP_ADDRESS>",
  :phonenumber => "123456789"
})

Login as a user
# Make sure we are in Sandbox
SynapsePay.api_base = SynapsePay.api_sandbox

SynapsePay.client_id = "client-id"
SynapsePay.client_secret = "client-secret"

# Returns an oauth client for this user
client = SynapsePay::User.login("username", "password")

So how does one log in as a user with the oauthtoken returned by the first create call?

Ideally if I have the oauth token I probably shouldn't even need to log in or have a method to login with the token. But not sure how I would add a card to a user without logging in because in the examples it seems to be done on the client (logged in user)

Dorian, this seems to be an issue. We are going to do a rigorous code review this weekend.
I would suggest do this:
client = SynapsePay::User.create({
  :email =><EMAIL_ADDRESS>  :fullname => "Test Account",
  :ip_address => "<IP_ADDRESS>",
  :phonenumber => "123456789"
  : force_create => "no"
})

This would return the existing customer if available without the login protocol. In the meantime we will work on adding support for oauth token client initialization as well

@dkarter There are a few options.

Like @sankaet said, you can use :force_create => "no" and this will return the user info for an existing user.

You can use a refresh token to get a new client. eg:

client = SynapsePay::Client.refresh_access("refresh-token")

You can just create a new client with the user's oauth token:

client = SynapsePay::Client.new("oauth-token", "refresh-token")

# the refresh is optional, but if you provide it you can do this to refresh if your token expires:
client.refresh_access

This isn't shown clearly in the docs, so I will update the samples today.

Also, you can always access the refresh_token and oauth_consumer_key in a client from a newly created user via:
client = SynapsePay::User.create(...)
client.oauth_consumer_key
client.refresh_token


How to build this in Scala 3?

How to build this to publish scala 3 artifact locally?

Both on ZIO 1 branch (master) and ZIO 2 branch (zio2):
sbt ++ 3.1.3 zio-k8s-client/publishLocal zio-k8s-client-quicklens/publishLocal zio-k8s-client-optics/publishLocal zio-k8s-operator/publishLocal

Note that zio-k8s-monocle subproject is not available for Scala 3 (because it depends on Monocle 2: https://github.com/coralogix/zio-k8s/issues/231), also the zio-k8s-crd is only available for 2.12 because it is an sbt plugin.


Can not install latest tinygo on MaOS

Hi, thanks for doing this project. Wanted to report couple of issues
Describe the bug

Installation of latest (0.34.0 as of now) is silently failing

asdf install tinygo 0.34.0
* Downloading tinygo release 0.34.0...

Installing 0.33.0 goes fine however prints error while installation

% asdf install tinygo 0.33.0
* Downloading tinygo release 0.33.0...
/Users/timanovsky/.asdf/plugins/tinygo/lib/utils.bash: line 79: [: : integer expression expected
tinygo0.33.0.darwin-arm64.tar.gz: OK
tinygo 0.33.0 installation was successful!

Steps to reproduce
OS version:
% uname -a
Darwin at-MacBook 24.0.0 Darwin Kernel Version 24.0.0: Tue Sep 24 23:37:36 PDT 2024; root:xnu-11215.1.12~1/RELEASE_ARM64_T6020 arm64

Expected behavior

Screenshots

Additional context

I have added SHA-256 values for TinyGo 0.34.0 in b5309d2d00.  I really wish that they would sign releases so I don't have to manage hashes manually.
$HOME/.asdf.plugins/tinygo/lib/utils.bash: line 79: [: : integer expression expected

This appears to happen because wc on macOS has some space to the left of the number, while GNU wc does not.  I've added awk '{print $1}' to fix that.  (I don't work on macOS regularly thus I had not tested the scripts there before today.)
This is fixed in a78a68ac57.


add multipart ranges to encryption tests

@alimaredia this one is ready to merge - how would you like to coordinate this with the others prs in flight?

@alimaredia this one is ready to merge - how would you like to coordinate this with the others prs in flight?

@mdw-at-linuxbox is working on a similar encryption bug for multisite in https://tracker.ceph.com/issues/46062, so i plan to rebase this and make sure they still pass

@alimaredia rebased tests still passing against ceph main 👍


Cannot establish a Wifi connection

I cannot establish a Wifi connection with the data entered in the RaspI Imager, while identical settings work with the standard image (Bookworm 64bit Lite).

Raspi 4
Beta Release v2.0.0-beta.1

https://forum.iobroker.net/post/1120941
syslog.txt

I don't need to put any energy into testing a dead project.

I cannot establish a Wifi connection with the data entered in the RaspI Imager, while identical settings work with the standard image (Bookworm 64bit Lite).

Raspi 4
Beta Release v2.0.0-beta.1

https://forum.iobroker.net/post/1120941
syslog.txt

Raspi-config might resolve this within1 minute


Multiple Eval instances in the same Tenant/Sub

What files/parameters need to be modified so that my team can deploy multiple instances of an Eval HCI cluster in a single tenant/sub? My team has a need to have an HCI instance for each dev to work independently. Since each HCI instance will create app registrations, when using the guided eval to create the instance it does not have the flexibility to change the name of the cluster and therefor the app registrations.
Is there a way for us to edit scripts that get run to provide the uniqueness?

Hello. Have you tried creating each cluster in a different resource group? Otherwise, all of the scripts used in the ARM template can be found under the deployment folder.

Even if we use different resource groups, the App Registrations in AAD will be named the same. Will look at the deployment scripts

Hey Byron - are you referring to when you get to the registration phase of the cluster, and because all clusters by default should be called AZSHCICLUS, that's causing the challenge, or is it related to the Windows Admin Center registration?
If it's the AZSHCICLUS naming that's causing the issue, you could choose a different name, you may just need to pre-create the AD objects to streamline things. The automation does take care of that, however there's a script here that would help you do that after the fact: https://github.com/Azure/AzureStackHCI-EvalGuide/blob/main/deployment/helpers/Update-AD.ps1 - just choose whatever cluster name you like in that script, run it on the AzSHCIHost001 and then you should be good to create your AzSHCI cluster, with whatever name you specified in that script, and register accordingly.
Does that help?
In future, I could possibly edit the ARM template to allow you to specify a cluster name, and that would pass through to the DSC and onto the Update-AD script, but that would take me a bit of time to test and validate - hopefully the workaround above is OK for now.
Thanks!
Matt

Hey Byron - are you referring to when you get to the registration phase of the cluster, and because all clusters by default should be called AZSHCICLUS, that's causing the challenge, or is it related to the Windows Admin Center registration?
If it's the AZSHCICLUS naming that's causing the issue, you could choose a different name, you may just need to pre-create the AD objects to streamline things. The automation does take care of that, however there's a script here that would help you do that after the fact: https://github.com/Azure/AzureStackHCI-EvalGuide/blob/main/deployment/helpers/Update-AD.ps1 - just choose whatever cluster name you like in that script, run it on the AzSHCIHost001 and then you should be good to create your AzSHCI cluster, with whatever name you specified in that script, and register accordingly.
Does that help?
In future, I could possibly edit the ARM template to allow you to specify a cluster name, and that would pass through to the DSC and onto the Update-AD script, but that would take me a bit of time to test and validate - hopefully the workaround above is OK for now.
Thanks! Matt

Thanks for the reply Matt...I will see if I can follow the steps you outlined.

Hey Byron - are you referring to when you get to the registration phase of the cluster, and because all clusters by default should be called AZSHCICLUS, that's causing the challenge, or is it related to the Windows Admin Center registration?
If it's the AZSHCICLUS naming that's causing the issue, you could choose a different name, you may just need to pre-create the AD objects to streamline things. The automation does take care of that, however there's a script here that would help you do that after the fact: https://github.com/Azure/AzureStackHCI-EvalGuide/blob/main/deployment/helpers/Update-AD.ps1 - just choose whatever cluster name you like in that script, run it on the AzSHCIHost001 and then you should be good to create your AzSHCI cluster, with whatever name you specified in that script, and register accordingly.
Does that help?
In future, I could possibly edit the ARM template to allow you to specify a cluster name, and that would pass through to the DSC and onto the Update-AD script, but that would take me a bit of time to test and validate - hopefully the workaround above is OK for now.
Thanks! Matt

Matt, this morning I turned on my host and reviewed the various objects in Azure. I observed the following issues:

My host came up fine and the cluster node VMs started fine. When I went into WAC and looked at the cluster, everything seemed fine but when I went into the Azure portal it shows the nodes as not connected.
When I created the cluster, I modified the scripts to call the cluster a different name and to put the cluster into a different Resource Group. I noticed that another Resource Group got created that is named with the format <cluster_name>-GUID-Arc-Infra-RG. This Resource Group has the Server -Azure Arc resources for each cluster node (AZSHCINODE01, AZSHCINODE02).
When I click on either Server -Azure Arc object, they both say This server is not connected to Azure
If I go into the Resource Group I specified in the script to create my cluster in, it only has the Azure Stack HCI resource. If I click on that resource, it shows both nodes as disconnected.
I tried restarting the host but it did not change anything.


make plotly work using WSL

This PR addresses #59 by adding support for WSL.
Note that this does assume the user wants to show the plots in a Windows browser! I haven't set up a browser I can open from WSL itself, so I'm not able to see if / how that might work. Under those circumstances the actual posix approach should work (which isn't possible after this PR).
One could introduce some command line argument to specify whether to use a Windows or WSL browser.
What do you think @Clonkk?

Ok, I just rebased this on the other PR (so that CI has a chance of passing) and moved the show calls for the suplot grids to the main display file. Finally added some tests that show that indeed the calls to show/saveImage fail if compiled without --threads:on.

well that was fast ! I'll check this tomorrow.

So the WSL problem has been solved (it correclty opens on a Windows browser).
saveImage with --threads:on seems to never return.

saveImage with --threads:on seems to never return.

Hm, that's weird. That's exactly why I switched the websocket library. You did check out this full branch, correct? So the websocket library being used is ws instead of websocket?

Yup you're right that's my bad, it's working as intended.
What happend is that I forgot to uninstall plotly from nimble before using nimble develop on the repo I cloned & checked out.

And this can go in too now.
I'm not entirely happy with the /proc/version check for each plot, but I don't want to introduce a global for this. One could check at compile time, but it seems wrong to reduce compatibility of the binary because of that. So I propose to leave it like this for the time being.

not sure what is going on with these checks.

No idea either. Can you just merge regardless (I can't do anything) or do you somehow override them on travis directly?

i can merge despite the non-pass checks on github with my admin privileges.


Update RealismOverhaul

RealismOverhaul recently updated to v10.5.0. This update removed a folder from the download without updating their netkan file. I made a PR on their repo to reflect that.
This file should be merged after RO updated their netkan file.
KSP-RO/RealismOverhaul/pull/640

This file should be merged after RO updated their netkan file.
KSP-RO/RealismOverhaul#640

If you were to merge this now it would make the version available to CKAN users while not being overwritten by netkan-bot (because netkan-bot is currently failing).

Your call

Closing, CKAN already added it automatically


micro-PKC using Depricated windo.web3 API?

Getting a warning in metamask

Can you please provide the 'here' link?

I'm afraid I have not been able to reproduce this dialogue box.

We could also not reproduce the error. Therefore 'wontfix' for now.


[Request] show min max values below marker position

show min max values below the marker and update the values as the marker position changes

Can you expand the issue? Not sure I follow the problem.

Closing because of inactivity


Feature/font size

First, thank you for creating this plug-in, it is amazing. I teach in the MFA program at the School of Visual Arts. I'm definitely using this plugin to introduce .css next semester.
On to business, this PR adds font-size support. Check my work on the Headers, I'm a web standards guy and very rusty with C.

Thanks for the PR! Tested it and it looks good.
So cool to hear CSSketch is getting classroom usage, you just made my day!


POM contains insecure external repositories

The jaxb-parent 2.3.0 POM contains <repositories> and <pluginRepositories> with non-https URLs. That makes it unsafe to use JAXB from Maven Central, since downloads of artifacts from those third-party repositories may be intercepted and maliciously modified in-flight. (2.2.10 has only https URLs.)
Please do at least one of the following:

Remove the <repositories> and <pluginRepositories> entirely.
Change all of their URLs to https.
Move them into a <profile> that isn't active by default.

Note that the requirements for publishing to Maven Central discourage the use of <repositories> and <pluginRepositories>. In the past, it was forbidden.

not an issue any more


Feat : add copy button on code snippet

What kind of change does this PR introduce? (Bug fix, feature, docs update, ...)
feature
Why was this change needed? (You can also link to an open issue here)
#950
Other information:

Hi @sossost
Thank you so much for your PR.
There are a few edits that we need to make before we can merge

The new copy button should only be displayed on code blocks.
The copy button should become visible on hover over the code block itself, not the whole message.

Appreciate your contribution!

@dartpain Oh my mistake. I'm fool Additional work has been done and committed.

@sossost No worries at all!
Thank you so much!

@dartpain Thank you too. have a nice day


quantity

const subscription = await stripe.subscriptions.retrieve(...) returns a subscription which does not have quantity. Guessing the relevant line should instead be: quantity: subscription.items.data[0].quantity

BTW: converting to typescript shows these kinds of issues.

BTW: converting to typescript shows these kinds of issues.

Have you maybe converted this to typescript? I would like to have a typescript version

I believe #86 takes care of TypeScript conversion

Yep, I believe this is fixed now with the TS conversion 😄 I can reopen if not.


Apple pay by showDropIn

Hi,
the following coding :
BraintreePayment braintreePayment = new BraintreePayment();
var data = await braintreePayment.showDropIn(
nonce: clientNonce, amount: "2.0", enableGooglePay: true);
It shows the bottom dialog with PayPal and Credit or Debit Card ,
Would it support apple pay ?
If yes , would you mind telling me how to set it up by showDropin ?
Thanks

additional:
I did have a merchantID and uploaded to braintree,
and also enabled in the targets


ERROR [ckanext.archiver.tasks] Error occurred during archiving package: 'NoneType' object has no attribute 'ugettext'

When I use the extension in the terminal I get an error...
The backup/archive completes just fine, and CKAN adds all the info in the resource page (Link is ok, Link checked, Download cached copy, Size,Cached on)
After completing the archiving I get this and the process does to exit..
2018-07-19 11:59:34,908 INFO  [ckanext.archiver.tasks] Notifying package as 1 items were archived

2018-07-19 11:59:34,941 ERROR [ckanext.archiver.tasks] Error occurred during archiving package: 'NoneType' object has no attribute 'ugettext'
Package: 857b7063-f48a-46dc-9777-ed2f55742de5

[2018-07-19 11:59:34,950: ERROR/MainProcess] Task archiver.update_package[another-test/1738] raised unexpected: AttributeError("'NoneType' object has no attribute 'ugettext'",)
Traceback (most recent call last):
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task
    R = retval = fun(*args, **kwargs)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__
    return self.run(*args, **kwargs)
  File "/home/hit/ckan/lib/default/src/ckanext-archiver/ckanext/archiver/tasks.py", line 150, in update_package
    _update_package(ckan_ini_filepath, package_id, queue, log)
  File "/home/hit/ckan/lib/default/src/ckanext-archiver/ckanext/archiver/tasks.py", line 186, in _update_package
    _update_search_index(package_id, log)
  File "/home/hit/ckan/lib/default/src/ckanext-archiver/ckanext/archiver/tasks.py", line 200, in _update_search_index
    package = toolkit.get_action('package_show')(context_, {'id': package_id})
  File "/home/hit/ckan/lib/default/src/ckan/ckan/logic/__init__.py", line 431, in wrapped
    result = _action(context, data_dict, **kw)
  File "/home/hit/ckan/lib/default/src/ckan/ckan/logic/action/get.py", line 976, in package_show
    package_dict = model_dictize.package_dictize(pkg, context)
  File "/home/hit/ckan/lib/default/src/ckan/ckan/lib/dictization/model_dictize.py", line 301, in package_dictize
    result_dict['license_title'] = pkg.license.title.split('::')[-1]
  File "/home/hit/ckan/lib/default/src/ckan/ckan/model/license.py", line 50, in __getattr__
    return self._data[name]
  File "/home/hit/ckan/lib/default/src/ckan/ckan/model/license.py", line 201, in __getitem__
    value = getattr(self, key)
  File "/home/hit/ckan/lib/default/src/ckan/ckan/model/license.py", line 272, in title
    return _("Creative Commons Attribution")
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/pylons/i18n/translation.py", line 106, in ugettext
    return pylons.translator.ugettext(value)
  File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/paste/registry.py", line 137, in __getattr__
    return getattr(self._current_obj(), attr)
AttributeError: 'NoneType' object has no attribute 'ugettext'

installing the QA extensions and running it again, gives a different error.
The archiver process seems to work now but QA give this error
[2018-07-19 14:09:00,834: INFO/MainProcess] Task archiver.update_package[test/4098] succeeded in 4.3282878s: None [2018-07-19 14:09:00,839: ERROR/MainProcess] Task qa.update_package[another-test-1aad] raised unexpected: AttributeError("'update_package' object has no attribute 'get_logger'",) Traceback (most recent call last):   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task     R = retval = fun(*args, **kwargs)   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__     return self.run(*args, **kwargs)   File "/home/hit/ckan/lib/default/src/ckanext-qa/ckanext/qa/tasks.py", line 83, in update_package     log = update_package.get_logger()   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/local.py", line 143, in __getattr__     return getattr(self._get_current_object(), name) AttributeError: 'update_package' object has no attribute 'get_logger' [2018-07-19 14:09:00,844: ERROR/MainProcess] Task qa.update_package[test-d55a] raised unexpected: AttributeError("'update_package' object has no attribute 'get_logger'",) Traceback (most recent call last):   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 240, in trace_task     R = retval = fun(*args, **kwargs)   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/app/trace.py", line 438, in __protected_call__     return self.run(*args, **kwargs)   File "/home/hit/ckan/lib/default/src/ckanext-qa/ckanext/qa/tasks.py", line 83, in update_package     log = update_package.get_logger()   File "/usr/lib/ckan/default/local/lib/python2.7/site-packages/celery/local.py", line 143, in __getattr__     return getattr(self._get_current_object(), name) AttributeError: 'update_package' object has no attribute 'get_logger'

Fixed in #55.


[BUG] The scrollbar and the mini-map scrollbar are not in the same position

The position of the scrollbar on the mini-map is not the same as the position of the code. For example, if I pull the code to the bottom, the scrollbar of the mini-map is not at the bottom.

can you show a picture?

do you enabled reader mode option?

Which glance did you choose?

like this

No, I didn't enable this mode. I am editing the code.

I can't revert your problem.In my editor is not appear. please check your fold things，possible expand it

Okay. It makes me confused, in fact, both CodeGlance2 and CodeGlance3 run fine on my Intellij idea. I don't know what the reason is. Thanks for your help.

If you can please provide the text, and the corresponding Settings.i can try

Is it normal to reopen the file？


Warning when style parameter is used

Ref.: https://github.com/maputnik/editor/issues/436#issuecomment-432552078

There are some failing tests https://circleci.com/gh/maputnik/editor/693
This is failing because the tests use the ?style= parameter to load styles into the editor. Two options to fix them

Use alertAccept in the webdriver tests to accept the confirm box.
Add a ?warning=no querystring option, which disables the confirm. This should only be allowed if Debug.enabed() is also enabled (see https://github.com/maputnik/editor/blob/master/src/components/App.jsx#L146)

Option (1) is cleaner, but webdriver tests can be a pain to get working
Links

Running the tests locally - https://github.com/maputnik/editor#tests

Perfect, merging!


Try Svelte Vite 4 with monaco-editor-vite-fix

https://www.npmjs.com/package/monaco-editor-vite-fix?activeTab=readme

@veebs  @vothaison  We have NOT upgraded successfully vite 4, so I have to revert back (undo commit) to vite 3
With vite 4, there is no problem at developer local. However, when create installer and publish package (by npm run publish:win, see here), there is issue:   electron run with latest code but not svelte.  I guess something wrong (or breaking change) so latest svelte code was not compile/build and include into release package
I would like to reopen this issue to fix later


Enhancement: Raise phpstan level from 3 to 4

This PR

[x] raises the phpstan level from 3 to 4
[x] fixes issues reported by phpstan

❗ Blocked by #767.

Thank you, @svpernova09!