♻ Move to Immediate.Handlers

Immediate.Handlers is an improved way of dealing with the command/dispatch pattern; both for clarity of dependency relationship, and for performance.
Example VSA Template using it: https://github.com/viceroypenguin/VsaTemplate/tree/master/Web
Would love to hear your opinion on it, and whether you think it's useful for your template.

Hi @viceroypenguin, thanks for the issue :)
I've seen you link & talk about it on the discord, I've been meaning to check it out, and I will do

@viceroypenguin
I've triaged this to be in the next release :)

Awesome! If you wait another day or two, I'm also working on Immediate.Apis, which will automate registration of [Handler]s that have [MapGet] (or post, put, patch, delete) with Minimal APIs

Yeah I saw you release that, I believe theres a few source generated endpoint mappings. Whats the difference between Immediate.Apis and the few examples below? Are both your Immediate packages AOT compatible?
https://github.com/davidfowl/uController
https://github.com/joaofbantunes/RegisteringMinimalApisWithSourceGeneratorsSample
I assume it is the whole end to end of interface + wiring up to the generic host?

https://github.com/joaofbantunes/RegisteringMinimalApisWithSourceGeneratorsSample

I would recommend against this one generally because it uses ISourceGenerator and hasn't been updated to IIncrementalGenerator. There are some pretty steep performance differences between the two, which make anything still using ISourceGenerator a disrecommendation.

https://github.com/davidfowl/uController

Same for this one.
Goal of Immediate.Apis
Register the following:
using Immediate.Apis.Shared;
using Immediate.Handlers.Shared;
using Microsoft.AspNetCore.Authorization;

namespace Immediate.Apis.FunctionalTests.Features.WeatherForecast;

[Handler]
[MapGet("/forecast")]
[AllowAnonymous]
public static partial class Get
{
	public sealed record Query;

	public sealed record Result
	{
		public required DateOnly Date { get; init; }
		public required int TemperatureC { get; init; }
		public required string? Summary { get; init; }
		public int TemperatureF => 32 + (int)(TemperatureC / 0.5556);
	}

	private static async ValueTask<IReadOnlyList<Result>> Handle(
		Query _,
		CancellationToken token
	)
	{
		await Task.Delay(1, token);
		return [
			new() { Date = new(2024, 1, 1), TemperatureC = 0, Summary = "Sunny and Freezing" },
		];
	}
}

by adding the following:
using Microsoft.AspNetCore.Mvc;

#pragma warning disable CS1591

namespace Microsoft.AspNetCore.Builder;

public static class ImmediateApisFunctionalTestsRoutesBuilder
{
	public static IEndpointRouteBuilder MapImmediateApisFunctionalTestsEndpoints(
		this IEndpointRouteBuilder app
	)
	{
		_ = app
			.MapGet(
				"/forecast",
				async (
					[AsParameters] global::Immediate.Apis.FunctionalTests.Features.WeatherForecast.Get.Query parameters,
					[FromServices] global::Immediate.Apis.FunctionalTests.Features.WeatherForecast.Get.Handler handler,
					CancellationToken token
				) => await handler.HandleAsync(parameters, token)
			)
		    .AllowAnonymous()
			;

		return app;
	}
}

I have not tested, but both should be AOT compatible, because there's no reflection or dynamic type analysis done.

Interesting - thank you for the example. I'll give this one a good look & try it out as well :)

BTW - if you're keen to contribute - I'd be happy to accept a PR moving from MediatR requests to Immediate.Handlers if you've got the time. Otherwise I'll action it myself

BTW - if you're keen to contribute - I'd be happy to accept a PR moving from MediatR requests to Immediate.Handlers if you've got the time. Otherwise I'll action it myself

I wish I did have the time. Unfortunately, I've got too many projects on my plate already, before I cursed myself by releasing two source generator projects. 😂
Besides, I need feedback from users other than myself on how well they work. :)

Perfect - I'll give you any feedback once I have a working version

Done - moved to immediate.handlers. Immediate APIs will be tracked in another issue/PR. (e.g. #62)


OpenAPI v3

Hi there!
As far as I see, swagger-diff doesn't support specifications in OpenAPI v3 format.
Please correct me if I'm wrong or share your plans.
Is v3 support somewhere on the roadmap?

+1 is this supported?

Would love to see this support added. Can see the full spec here:
https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.0.md

is support for OAS 3.0.0 and OAS 3.1.0 available now?


Disable sshd password authentication by default

https://github.com/coreos/bugs/issues/2114

@jeremyd Any chance you could send a PR for this? 😄

Ah, thanks for the reminder, I had forgotten to PR it :)


Add data dictionary generation

Add sfdc-generate-data-dictionary dependency
Add new task generate-data-dictionary

I think you should improve the readme with the new tool (description and references) before This pull request can be accepted

Yes, it should be good now. I have also added configuration properties.

Pull request rebased and updated


The type or method related to File Management cannot be used for Extension development

We are developing one extension. we got the error as per below error.
File Management Codeunit
The type or method ServerTempFileName cannot be used for Extension development
The type or method DownloadToFile cannot be used for Extension development
File Variable
The type or method CREATE cannot be used for Extension development
The type or method CREATEOUTSTREAM cannot be used for Extension development
The type or method CLOSE cannot be used for Extension development
The type or method COPY cannot be used for Extension development
The type or method ERASE cannot be used for Extension development
what should we do to proceed further.
Thank you.

Functions that use the file system cannot be used in extensions with "target" set to "Extension" in the app.json file of your project.
Therefore, I think you'll have two options:

If you are developing for on-premise and are sure you want to use functions that access the server file system, then you should set "target" to "Internal" in your app.json file. This will allow you to use these functions that would normally give you these error messages in VSCode.
Use streams and/or blobs instead of files/filepaths.

Follow the ideas of @rvanbekkum plus:
ReThink why you are using the methods, what are you trying to accomplish?
Maybe you can solve the issues by redesigning your solution at this point..

This repository no longer handles general questions and is only dedicated to bug reports and feature suggestions for the AL compiler and developer tools.
To get help for your question please use one of the following resources:
Business Central Community
mibuso forum
Dynamics User Group


Get rid of sepia tint on mugshots

I don't think it looks good

I liked sepia, willing to try this.

I'm open to experimenting with different ways to do hover effects, but the sepia tint on a bunch of differently coloured photos didn't work for me.

I think we should use a rosy color next.

:-)


[9.x] Use write connection on Schema::hasColumn() and Schema::hasTable() for MySQL and PostgreSQL

This is a follow up PR to https://github.com/laravel/framework/pull/25203.
That PR made it so that the Illuminate\Database\Schema\Builder would do a select on the write connection.
The change was made to prevented migrations from getting PDOException when the read connection had not received the preceding migration changes due to replication lag.
The problem with that PR was that it applied the fix towards the generic schema builder which is overridden for MySQL and PostgreSQL specific builders.
This PR is an attempt to fix that.
This change will not break any existing features.

I just realized there were no tests for this case. I will add some.

AWS's S3 library seems to be failing but that is unrelated to this fix.
I submitted a PR to aws-sdk-php to fix the failing test.

Sorry, you're right, I meant I sent an issue.


[feat|sde-backend] : Policy-hub Proxy controller and Policy pojo added

Description
Added

Added Policy-hub Proxy controller.
Added New Policy Entities and pojo classes.

Pre-review checks
Please ensure to do as many of the following checks as possible, before asking for committer review:

[x] DEPENDENCIES are up-to-date. Dash license tool. Committers can open IP issues for restricted libs.
[x] Copyright and license header are present on all affected files

@almadigabor  Please review and merge.

merge before #87

@almadigabor  We have updated copyright header with current year whichever class has affected/ modified.

@almadigabor Updated copyright headers as per handbook


Fix missing py.typed files

Fixes #108
We were accidentally copying typeshed/stubs/entry-stubs to dist/entry-stubs-stubs instead of dist/entry-stubs

This change seems fine, although I'm unsure how this fixes #108?

This change seems fine, although I'm unsure how this fixes #108?

We were copying the py.typed marker file to the wrong location. So it wasn't included in the package.

Does this mean that some of our uploaded stub packages are missing this file? Should we force a new release for those?

Stubs packages generally don't need py.typed files. We only started adding them recently to typeshed's packages because we wanted to explicitly mark some of them as partial. So it means the new feature has been broken up till now, but hopefully it'll work from this point onwards

Does this mean that some of our uploaded stub packages are missing this file? Should we force a new release for those?

The 40 stubs with partial_stub = true in METADATA.toml would be affected. But as @AlexWaygood just mentioned, it wasn't a regression so much as a non-working new feature.


export loadConfiguration and implement SaveConfiguration

the runtime is the only one that know how to manipulate its configuration hence in order to do not duplicate code and keep compatibility between projects loadConfiguration should be exported and SaveConfiguration should be implemented.
runtime config will be vendor by tests

Could you elaborate why we need LoadConfiguration() and SaveConfiguration() from other projects ? Not sure to understand the final usage for that.


Autodetect flight stack MAVLink dialect

Currently, there's a config MavlinkDialect to choose one of common (the default) and ardupilotmega. Add a new option auto and make it the default. It should detect flight stack MAVLink dialect automatically. It should be possible, as, for instance, QGroundControl is able to do that.
We could leave the option to 'force' a dialect if we see fit, or always use auto in the future.

Fixed in #71


rsz_rdiff_scan.py keeps losing connection

Hi, starting today rsz_rdiff_scan.py loses connection, and never gets to the end of scanning transactions.
Is it a api problem or is mempool clogged?
I also increased the timeout... but nothing...
The program never gets to the end, it always tells me this:
"Unable to connect internet to fetch RawTx. Exiting.."
My connection is 1000 download/500 upload with the netgear xr1000.
Thanks for your help.
Ice, this file is fantastic, it should be upgraded

The only solution is to either look for another pool, or set a longer delay using time.sleep(20) - its mean 20 seconds

The only solution is to either look for another pool, or set a longer delay using time.sleep(20) - its mean 20 seconds

Ok, thank you. I'll try again with 20 seconds.
Can you tell me which pool I can try please?

OK I turned on Windows 10 updates and it works great now. I would like to ask just one more thing, if possible. Can the file be modified to scan multiple addresses together? Thank you

what are the updates for windows 10?

Hi there...
Trying to run this on Ubuntu 20. I added the secp256k1.so and py to the directory where I am running it. I still get this error:
workstation:~/rsz$ python3 rsz_rdiff_scan.py XXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Traceback (most recent call last):
File "rsz_rdiff_scan.py", line 11, in
import secp256k1 as ice
ImportError: dynamic module does not define module export function (PyInit_secp256k1)


Add Google Maps

Each Post contains geo information that can be placed in a map.

Make sure to use
https://developers.google.com/android/reference/com/google/android/gms/common/GoogleApiAvailability#getOpenSourceSoftwareLicenseInfo(android.content.Context)

Added the first part in the google-maps branch

Fixed in commit https://github.com/lalongooo/permutas-sep/commit/ccaa60796566707e0a4787c52a9424a086d9a168


nftables

Great work, i just have a minor issue. Debian 10 + systemd + nftables....
it still uses iptables, would it be possible to add support for nftables too?

Last night I had a look at how ip(6)tables is set up by openvpn-install.sh, I used the same method for nftables and here's what I ended up with:
openvpn-nftables.zip (.sh isn't supported by github, so I zipped it),
Maybe that will give who(m?)ever will be assigned something to start with?
I'm not sure about the default policy though, or the priority setting. Personally, I like to set the default policy for input, output and forward to drop and then allow what's needed.
The problem with nftables is that you can choose the name for those chains. So unlike ip(6)tables, you cannot expect chains with the names input, output or forward to be present. This might complicate things, that's why I had the script create chains purely for the VPN-rules.

I think that support of firewalld may be better alternative

While waiting for this feature request to be processed, maybe it's an idea to add an option to not do anything firewall related? Otherwise nftables users will end up with iptables rules.


Feature request: evaluating the fidelity of the full joint distribution

Wanted to propose an evaluation of the fidelity of the full joint using optimal transport, as seen in the Generative Forests preprint (2024)
here’s an example implementation in python using the regularized sinkhorn algorithm they use
A few notes:

this would address the limitations of evaluating low-dimensional marginals
users would need to generate the same number of synthetic samples as there are test cases
we could begin by using the discretized data, and eventually experiment with continuous data that is normalized so that the distances are comparable
this would allow investigating how well we fit the data (compared to baselines) as we change the number of dimensions of the marginal

see also this implementation by microsoft: https://github.com/microsoft/otdd


How to change weekday background?

You mean the background color for weekday symbols? There's no public interface to do that.


configure issues

ERROR: /home/wenjian/pkgs/tensorflow/tensorflow/core/kernels/BUILD:2207:1: no such package 'base': BUILD file not found on package path and referenced by '//tensorflow/core/kernels:android_tensorflow_kernels_no_rtti_lite_runtime'.
ERROR: /home/wenjian/pkgs/tensorflow/tensorflow/core/kernels/BUILD:2207:1: no such package 'base': BUILD file not found on package path and referenced by '//tensorflow/core/kernels:android_tensorflow_kernels_no_rtti_lite_runtime'.
ERROR: /home/wenjian/pkgs/tensorflow/tensorflow/core/kernels/BUILD:2207:1: no such target '//tensorflow/core:android_tensorflow_lib_lite_no_rtti_lite_runtime': target 'android_tensorflow_lib_lite_no_rtti_lite_runtime' not declared in package 'tensorflow/core' defined by /home/wenjian/pkgs/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/core/kernels:android_tensorflow_kernels_no_rtti_lite_runtime'.
ERROR: /home/wenjian/pkgs/tensorflow/tensorflow/core/kernels/BUILD:2207:1: no such target '//tensorflow/core:android_proto_lib_no_rtti_lite_runtime': target 'android_proto_lib_no_rtti_lite_runtime' not declared in package 'tensorflow/core' defined by /home/wenjian/pkgs/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/core/kernels:android_tensorflow_kernels_no_rtti_lite_runtime'.
ERROR: Evaluation of query "deps((//... union @bazel_tools//tools/jdk:toolchain))" failed: errors were encountered while computing transitive closure.

I am having the same issue (fresh pull of master); it seems to reference a different package each time I try to run ./configure, e.g.

ERROR: /opt/local/src/tensorflow/tensorflow/core/BUILD:689:1: no such package 'base': BUILD file not found on package path and referenced by '//tensorflow/core:ios_tensorflow_test_lib'.
ERROR: /opt/local/src/tensorflow/tensorflow/core/BUILD:689:1: no such package 'base': BUILD file not found on package path and referenced by '//tensorflow/core:ios_tensorflow_test_lib'.
ERROR: Evaluation of query "deps((//... union @bazel_tools//tools/jdk:toolchain))" failed: errors were encountered while computing transitive closure.

and

ERROR: /opt/local/src/tensorflow/tensorflow/contrib/session_bundle/BUILD:237:1: no such target '//tensorflow/core:android_lib_lite': target 'android_lib_lite' not declared in package 'tensorflow/core' defined by /opt/local/src/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature_lite'.
ERROR: /opt/local/src/tensorflow/tensorflow/contrib/session_bundle/BUILD:237:1: no such target '//tensorflow/core:meta_graph_portable_proto': target 'meta_graph_portable_proto' not declared in package 'tensorflow/core' defined by /opt/local/src/tensorflow/tensorflow/core/BUILD and referenced by '//tensorflow/contrib/session_bundle:signature_lite'.
ERROR: Evaluation of query "deps((//... union @bazel_tools//tools/jdk:toolchain))" failed: errors were encountered while computing transitive closure.

presumably because of bazel is running more than one job at a time.

Yes, it's duplicate of #4312.


Range Sum of BST

@UtkarshTiwari1750

Please change file name, dont use space in file names instead use "-"
Your pic image is showing larger, please adjust the dimensions.

I will approve once the comments are catered.

@GouravRusiya30 I have made change


Add Q-Points Calculator

Is your feature request related to a problem? Please describe.
Q Points is going to replace the Sinclair coefficient at some stage in the future and it would be good to have a calculator on the site.

Additional context
https://huebner.shinyapps.io/Qpointsapp/

Further context:
https://osf.io/8x3nb/


Rewrite readme

Rendered

#43 should be merged first, since this includes the record -> object change in the readme text.


Unknown opcode was emitted to the console

Console log:
[2018-10-30 19:14:13.627] [INFO] [Websocket]: Shard [0] connected
[2018-10-30 19:14:13.882] [INFO] [Client]: Connected and ready!
UNKNOWN OPCODE: {"t":"PRESENCES_REPLACE","s":10,"op":0,"d":[]}

Normal behavior. I'm logging unknown opcodes to just notify about them.


Automatically generate HANDLED_RULES.md

This isn't urgent, but I think we should generate the HANDLED_RULES.md file. The descriptions of the processors can be written in the processor source file, and everything else can simply be generated.
This will ensure that documentation stays up-to-date, make it easier to add new processors, and also provide a reference for the operation of a processor right in the source file.

The descriptions of the processors can be written in the processor source file, and everything else can simply be generated.

I was thinking we could add test cases for each rule using the resources inside processor_test_files but that might make the length of the description excessively long given the number of test cases for some of the sonar rules. I just thought to put forth this idea anyway.
Also, how shall we classify each rule into Sonar rule types (BUG, CODE_SMELL, etc.)? Since there is no segregation in sorald/processors, should we consider adding another attribute in ProcessorAnnotation for marking the violation type?

I am thinking the python script for generating HANDLED_RULES.md should go inside experimentation/tools so that it can be executed as python3 -m sorald.handled_rules. However, writing a Python script would require string parsing of docstrings and the attributes inside @ProcessorAnnotation. We could make it easier by adding keywords in comments so that the required text is easier to find in the file but still it could be tough to keep the format consistent across all processors.
Another solution could to write a Java script (no pun intended) so that we are able to use spoon. This would make it really easy to access the comments over types and the attributes of @ProcessorAnnotation. But there are cons with this approach too.

We use jinja for rendering templates in python so we would have to look for corresponding library in Java. In the worst case, we would have to manually generate the entire markdown file.
This script is essentially a chore and all chores are packaged as a python package under experimentation/tools so it seems odd to ostracize the script in question from the package.

Also, how shall we classify each rule into Sonar rule types (BUG, CODE_SMELL, etc.)?

We can get that from the rule metadata. We fetch the rule metadata for another thing, you can extract that functionality into the _helpers package and reuse it.

However, writing a Python script would require string parsing of docstrings and the attributes inside @ProcessorAnnotation

That shouldn't really be all that hard, I'd go with a Python script to centralize the support script effort to one language.


Identify deployment scenarios:

Self-Contained POC (AAD Join)
Self-Contained POC w Hybrid Networking (AADDS or AD DS)
Deployment w AZFW Premium
Deployment w Third-party NVA
Deployment w no FW

All self-contained POC scenarios will include the following:

AZFW Premium w self-generated SSL Certificate
AIB with AZFW certificate injected into VM image
Pre-built AVD firewall rules with TLS inspection and web content filtering

We also should include Template Spec definitions for deployments that link to Azure Key Vault enabling easy addition of session hosts without prompting for domain join and local admin passwords.

As I was working through the portal code tonight, I hit a few issues that would be easier to solve if we built a few things first. I was initially trying to make one deployment, but it will just be easier to break them apart; similar to how the data landing zones work.


Swaps need to track the case when redeem BTC transaction stuck at the memory pool and increase the fees

Swaps are automatic, so the redeem transaction can stuck in the memory pool and it need to be processed in timely manner.
Because of that wallet will need to increase the fee amount and mining doesn't happens.
The chances much depend in number of mined blocks, mining fee in the first block and the expired time interval

Keep wallet open until the merge to the master branch.
Please note, automated increasing fees is applicable to redeem BTC transaction only.  Refund and other coins don't need that.
Testing:
The test need to be done for BTC mainnet (it is impossible to do that for testnet because any tx fee will work):

Specify the low fees for BTC transaction on seller side and start swap trade.  The BTC amount should be large enough so expected fees will be smaller  than 50% of transaction amount. Swap trade should go by happy path, so saller will need to redeem.
Validate that at redeem state the transaction will stuck in the memory pool because of small fees. QT wallet will increase the fees by 20% every 6 BTC blocks and repost the transaction. Eventually fee should be high enough so transaction will pass through.


feat(wix): add cargo wix to build msi installers

Did you have a chance to test this? I'm down to merge it when ready, shouldn't impact anything outside building the windows bin.


Ability to pass literal Drawables where only resource IDs are accepted now

All my vector drawables are black. When I run in my dark theme I would like them to appear in white.
For the rest of my app I apply a tint to the black vectors - i.e. for the menu system. Since I can only pass a resource ID to the dialog it would be nice there was support for passing a drawable.
Would rather not double up all the vector drawables - one white and one black - as that gets to be a maintenance nightmare. Similar to how you allow string ID vs. actual string for title and message.

@KevinPosim where exactly are you missing this ability? You can already pass a literal drawable to .icon(...) and other methods now

You are correct, I figured out how to do this. Missed seeing how to do icon(null, drawable). Don't think this is discussed in the sample code. Might be nice to add a reference to this handy feature.

It is - e.g. https://github.com/afollestad/material-dialogs/blob/master/documentation/CORE.md#adding-an-icon

You wouldn't pass null, but rather use named parameters.


Clone Settings - Add Core APIs

Codecov Report
Patch coverage: 92.75% and project coverage change: +0.02 :tada:

Comparison is base (afa26f8) 97.03% compared to head (dfe27bf) 97.06%.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #224      +/-   ##
==========================================
+ Coverage   97.03%   97.06%   +0.02%
==========================================
  Files          44       47       +3
  Lines        3436     3505      +69
==========================================
+ Hits         3334     3402      +68
- Misses        102      103       +1

Impacted Files
Coverage Δ

apps/workspaces/apis/clone_settings/views.py
87.50% <87.50%> (ø)

apps/workspaces/apis/clone_settings/serializers.py
93.18% <93.18%> (ø)

apps/workspaces/apis/clone_settings/helpers.py
100.00% <100.00%> (ø)

... and 2 files with indirect coverage changes
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

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


when you view a project with custom settings like widescreen, when you view another project from that same page it doesnt return back to normal

https://github.com/user-attachments/assets/2c677c1d-3b3b-422c-a238-a9f5d07d1993

i think this has to do with no new settings being stored in the different project

yes
the entirety of scratch is designed horribly for doing this, you should always reload when doing things like changing project saves. especially since things like extensions and the runtine itself can have states that shouldve been cleared and didnt on the next save load and so causes errors with the project itself

:c

can u guys make it reload the whole page instead then

i meant can u guys make it load a new page entirely when u click on a project down there instead of loading the new project onto the existing page

no cause the save you passed in to he loaded wouldnt then continue to exit when the page reloada 🥱

blud its the same damn issue either way, the answer is still no we can not

blud its the same damn issue either way, the answer is still no we can not

dude how turbowarp when u click a project down there right now it loads a whole new page i meant to make it do that

it already does that

it clearly doesnt what

https://github.com/user-attachments/assets/7ed00cda-01f8-4c01-aed7-3eb3a3096a66
look, the turbowarp one loads a new page entirely while the penguinmod one doesnt look at the loading icon at the tab

https://github.com/user-attachments/assets/8f4f60af-5612-431c-8ed2-f9ce964d83d3

red man u dum dum


Adding or deleting fields in source data affects mapping even for columns which do not change

It appears that mappings are stored using column positions within the source data rather than column names. (Eg when I added a column in source data then all following columns in the mapping were changed, making them incorrect). This is very annoying and I would say dangerous because someone could adjust the view in the database without realising that IPT will be affected.

Thanks for reporting this issue. I agree this is dangerous.
The IPT needs to make users aware of the consequences of changing the columns of a source that has already been mapped:

If the number of columns changes, users should receive a warning explaining that they have to update its corresponding mappings.
If the SQL statement changes but the number of columns stays the same, users should receive a warning that they may need to update its corresponding mappings.

Now when the IPT detects the number of columns in a mapped data source has changed, the user is warned that they should update its mappings.

A warning can also be added to the user manual in the following the sections:

https://github.com/gbif/ipt/wiki/IPT2ManualNotes.wiki#file-as-data-source
https://github.com/gbif/ipt/wiki/IPT2ManualNotes.wiki#database-as-data-source

Issue verified.

Changes to user manual completed. The following sections have been updated:

https://github.com/gbif/ipt/wiki/IPT2ManualNotes.wiki#file-as-data-source
https://github.com/gbif/ipt/wiki/IPT2ManualNotes.wiki#database-as-data-source


[Bug]: Help text for bal run command doesn't correctly explain how to specify program arguments

Description
Under the EXAMPLES section in the help text for the bal run the example for specifying program arguments goes as follows.

Run the 'main' function in the current package with three program args:
add, 10, and 5.

But program arguments should be specified as -Ckey=value.
The same has happened in the SYNOPSIS section  of the help text and in the USAGE text as well.
Steps to Reproduce
Run bal help run
Affected Version(s)
No response
OS, DB, other environment details and versions
No response
Related area
-> Other Area
Related issue(s) (optional)
No response
Suggested label(s) (optional)
No response
Suggested assignee(s) (optional)
No response

Fixed in #39546


Add configuration for test sources and test dependencies for Eclipse

Fixes #18138
Context

Contributor Checklist

[ ] Review Contribution Guidelines
[ ] Make sure that all commits are signed off to indicate that you agree to the terms of Developer Certificate of Origin.
[ ] Make sure all contributed code can be distributed under the terms of the Apache License 2.0, e.g. the code was written by yourself or the original code is licensed under a license compatible to Apache License 2.0.
[ ] Check "Allow edit from maintainers" option in pull request so that additional changes can be pushed by Gradle team
[ ] Provide integration tests (under <subproject>/src/integTest) to verify changes from a user perspective
[ ] Provide unit tests (under <subproject>/src/test) to verify logic
[ ] Update User Guide, DSL Reference, and Javadoc for public-facing changes
[ ] Ensure that tests pass sanity check: ./gradlew sanityCheck
[ ] Ensure that tests pass locally: ./gradlew <changed-subproject>:quickTest

Gradle Core Team Checklist

[ ] Verify design and implementation
[ ] Verify test coverage and CI build status
[ ] Verify documentation
[ ] Recognize contributor in release notes

@bot-gradle test rFN

OK, I've already triggered ReadyForNightly build for you.

@bot-gradle test rFM

OK, I've already cancelled the old build and triggered a new ReadyForMerge build for you.

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.

@bot-gradle test Quick Feedback Linux

@bot-gradle test QuickFeedbackLinux

OK, I've already triggered QuickFeedbackLinux build for you.

@bot-gradle test rFM

OK, I've already triggered ReadyForMerge build for you.

Superseded by #19310


Forced desktop switch on Windows when opening with a path argument

Issue Type: Bug

Start a VS code instance and make sure it is the currently selected window.
Switch to another desktop
Open a command prompt
Execute the command: code .

Expected
A new VS Code instance opens on the current desktop.
Actual
A new VS Code instance opens on the desktop where the previously active VS Code instance is located, and the view is switched to that desktop.
VS Code version: Code 1.49.3 (2af051012b66169dde0c4dfae3f5ef48f787ff69, 2020-10-02T17:57:01.595Z)
OS version: Windows_NT x64 10.0.18363

System Info

Item
Value

CPUs
Intel(R) Xeon(R) CPU E5-1650 v3 @ 3.50GHz (12 x 3492)

GPU Status
2d_canvas: enabledflash_3d: enabledflash_stage3d: enabledflash_stage3d_baseline: enabledgpu_compositing: enabledmultiple_raster_threads: enabled_onoop_rasterization: disabled_offopengl: enabled_onprotected_video_decode: unavailable_offrasterization: enabledskia_renderer: disabled_off_okvideo_decode: enabledvulkan: disabled_offwebgl: enabledwebgl2: enabled

Load (avg)
undefined

Memory (System)
31.92GB (15.04GB free)

Process Argv
. --crash-reporter-id 5f24b731-69eb-4e15-bbf8-514921257f9f

Screen Reader
no

VM
0%

Extensions (25)

Extension
Author (truncated)
Version

vscode-css-formatter
aes
1.0.1

Bookmarks
ale
11.3.1

markdown-preview-github-styles
bie
0.1.6

path-intellisense
chr
2.3.0

vscode-markdownlint
Dav
0.37.1

xml
Dot
2.5.1

EditorConfig
Edi
0.15.1

auto-rename-tag
for
0.1.4

vscode-pull-request-github
Git
0.20.0

code-eol
jef
1.0.11

prettify-json
moh
0.0.3

vscode-docker
ms-
1.6.0

csharp
ms-
1.23.2

remote-containers
ms-
0.140.1

remote-ssh
ms-
0.55.0

remote-ssh-edit
ms-
0.55.0

remote-wsl
ms-
0.44.5

vscode-remote-extensionpack
ms-
0.20.0

powershell
ms-
2020.6.0

vsonline
ms-
1.0.2965

vscode-yaml
red
0.11.1

code-spell-checker
str
1.9.2

tabnine-vscode
Tab
3.0.2

sort-lines
Tyr
1.9.0

vscode-jumpy
wma
0.3.1

This issue has been reported already in either this or a similar form. Please check the label that was assigned to this issue to find it.

Can you try to reproduce with our nightly insider builds? You can give our preview releases a try from: https://code.visualstudio.com/insiders/

I can't reproduce it all any more. Although I my RTM installation has moved on to 1.50 in the meantime, so perhaps it contains a fix.


Summons other defendants screen comes up when "Using Case.net"

The interview is asking the lower block to set users.there_is_another
if: docket_available and len(users)==1
question: |
Is any other tenant listed on this eviction case?
subquestion: |
Look in the box labeled "Defendants"
In an eviction case, tenants are called Defendants.  Defendants are listed underneath the Plaintiffs, and your name and address should be included as a Defendant.
fields:

Are there any other Defendants listed besides you?: users.there_is_another
datatype: yesnomaybe

if: tenant_got_summons and petition_available and len(users)==1
question: Is any other tenant listed on this eviction case?
subquestion: |
In eviction cases, tenants are called Defendants.  Defendants are listed underneath the Plaintiffs, and your name and address should be included as a Defendant.
[FILE ComplaintCaptionDefendant.png, 100%]
fields:

Are there any other Defendants listed besides you?: users.there_is_another
datatype: yesnoradio

Variables that have different blocks depending on tenant_got_summons and petition_available and  docket_available

other_parties[i].name.first
In the code, this has petition_available as the lowest block, and then docket_available, and then a question block with no if.  This works because this question is asked before the question about whether the docket is available.  So if the person says the petition is available, this question will be asked using the petition_available question, and won't be asked this question again after the question about docket_available.  If they say no, then the user will be asked about the docket, and will get either the question using the docket or not depending on their answer

original_hearing_date

users.there_is_another

These two questions work differently because they aren't asked until after the docket_available question.  A problem was being caused because the petition_available block was lower and so that was the one that was being used, even if the docket was available.  I changed this by reordering the questions blocks so that docket_available was lower, but also added a defined{'docket_available') so it wouldn't call that question setting docket_available unintentionally.


security holding package

Hi,
it seems you have accidentally added fs but this is not a package on npmjs, fs is an internal NodeJS module.
https://github.com/hyperpress/pressmedics/blob/master/package.json#L50
See https://nodejs.org/api/fs.html
You might want to remove it using npm uninstall fs.

Thanks for the heads up. I've removed it in https://github.com/hyperpress/pressmedics/commit/f09f9e6ef247d586bab703f3a08af6b2e7396cc6


Added method for logging in using a token obtained through server to …

…server authentication.

Closing this while I work on a larger PR that will include this.


v4.4.0

[4.4.0] - 2019.11.20

[New] Add transformRuntime option (#60)

@lencioni Sorry, think I need a review here.

The version seems published even tho this isn't merged?

Yes, unfortunately - I have the ability to publish the package, but I can't merge this PR or push to master to update the version without a review.

Typically the publish is the last step, after the bump is merged and pushed, since the publish is the only irrevocable part.
I'd stamp, but maintainer permissions seem to be set up incorrectly ¯\_(ツ)_/¯

Gotcha, I'll keep that in mind next time I release a version (and hopefully, I won't have to 🤞).


Conditional statement - does not always trigger a new validation

Hello,
I noticed that the conditional statement is not always working correctly on the client side with Yii2.
For example: create a statement where the attribute year in a model should be required when a name is not empty. Make a form and then add the two fields. Now, fill the name and go to the year. Leave the field without entering data. The validator says the field is required according to the rule. That's good.
Now empty the name field and go to the year field. Leave the field again without entering data. The validator is now not triggered and so the message that it is required remains there, when it is actually now not required anymore.
Perhaps it would be better to trigger the validator on "focusout" instead of on a change.
Best regards.

related to #6744

https://github.com/yiisoft/yii2/commit/88241f24f37498ffcd99d25248edebf2f12ed9e5


orchis-theme: 2021-06-25 -> 2021-10-16

Motivation for this change
Package update. Now the theme includes all variants.
Added new tweaks flag for customisation.
Things done

Built on platform(s)

[x] x86_64-linux
[ ] aarch64-linux
[ ] x86_64-darwin
[ ] aarch64-darwin

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

[ ] (Package updates) Added a release notes entry if the change is major or breaking
[ ] (Module updates) Added a release notes entry if the change is significant
[ ] (Module addition) Added a release notes entry if adding a new NixOS module

[x] Fits CONTRIBUTING.md.

@fufexan eval failure

@fufexan eval failure

I know, but I'm not sure how to fix it.

It seems my comment in the my review somehow disappeared.
In your assert, the check is wrong. You are checking if there is any valid tweak in the tweaks list:
assert lib.assertMsg (builtins.any (x: builtins.elem x tweaks) [ "solid" "compact" "black" "primary" ])
  "You entered a wrong tweak! Valid tweaks are: solid, compact, black, primary.";

What you need to do is check if all tweaks in the tweaks list are a valid tweaks. Something like:
assert lib.assertMsg (builtins.all (x: builtins.elem x [ "solid" "compact" "black" "primary" ]) tweaks)
  "You entered a wrong tweak! Valid tweaks are: solid, compact, black, primary.";

Or even with the following assert, which is more precises:
let
  validTweaks = [ "solid" "compact" "black" "primary" ];
  unknownTweaks = lib.subtractLists validTweaks tweaks;
in
assert lib.assertMsg (unknownTweaks == []) ''
  You entered wrong tweaks: ${toString unknownTweaks}
  Valid tweaks are: ${toString validTweaks}
  '';

@romildo oh, that's very helpful! Thanks!


CDK-863: Deprecate DatasetWriter flush/sync, add Flushable.

This deprecates the DatasetWriter#flush and #sync methods, which are
replaced by Flushable#flush. Sync needed to call flush to guarantee the
records were durable, but flush was still exposed, requiring callers to
flush and sync, with sync calling flush immediately afterwards. Instead,
the new Flushable interface carries a stronger guarantee that records
have not only been flushed to the underlying buffer, but that they are
persisted to disk also.

The interfaces look right to me now. +1
I created https://issues.cloudera.org/browse/CDK-892 as a follow up, and successfully ran all tests with the deprecated methods removed.


ROX-25221: Remove Lerna from UI build process

Description
Removes Lerna from the UI build process, and de-monorepos the ui/ monorepo.
Why?

We currently have monorepo tooling and a monorepo structure under ui/ that manages only a single package
This tooling and structure complicates the codebase, and more pressingly, complicates integration with Konflux
There is no intention in the near future to once again divide the UI code into multiple packages under a monorepo structure
If there was, we would likely structure the project differently anyway

Core process

The yarn.lock file was modified by removing top level dev deps with the following commands:

yarn remove lerna
yarn remove chalk-cli

The resolutions section of ui/package.json was moved to ui/apps/platform/package.json
The workspaces section of ui/package.json was removed
yarn.lock was moved into ui/apps/platform
(!) All node_modules were removed, and yarn install was run from apps/platform. No changes occurred in the yarn.lock as a result of the install.
All package.json scripts in the top level package.json that used lerna to stream to all child packages were updated to instead traverse down a directory and run cd apps/platform; yarn <command> instead.

Future follow ups

Delete ui/package.json and combine scripts with ui/apps/platform/package.json

User-facing documentation

[x] CHANGELOG update is not needed
[x] Documentation is not needed

Testing

[x] inspected CI results

Automated testing

[x] contributed no automated tests

The CI build process is essentially the automated test for this change.
How I validated my change
Manually verify that all top level Make targets related to UI complete successfully:
make ui-lint && \
make ui-build && \
make ui-test && \
make ui-component-tests && \
make generate-junit-reports

Manually verify that all ui level Make targets related to UI complete successfully:
make clean && \
make all && \
make test-e2e && \
make start

Manually verify that dependency cache is created and detected correctly in GHA https://github.com/stackrox/stackrox/actions/runs/9894326245/job/27338197817?pr=11928#step:5:29
Manually verify that the test-results directory is created under ui/apps/platform - both in this branch and on master.
Delete node_modules, then yarn in apps/platform. For each dependency under resolutions:
grep version <pkg_dir>/package.json and compare to the declared version in resolutions.
Manually verify that junit output is detected and read during CI jobs.

[x] unit tests
[x] component tests
[x] e2e tests

yarn start in apps/platform and verify that the front end is served correctly.
Finally, pull the image from this PR and run it on cluster to verify that the build image was created successfully.

/retest

/retest

/retest


A way to read data byte from current preview, like a previewCallback?

Is there a way to read the data from the current preview? My goal is to retrieve the camera preview as a Pixel Array.
A preview callback would be a good addition, passing the data byte, just like the onPreviewFrame callback when you set it up.

yes, need to preview the captured images

yes, need to preview the captured images

Agreed, need a preview callback function.

@n1ru4l Has  this issue was fixed in new release version?How can i use it.

@DennisJu007 Please open a new issue or even better a pull request with an implementation.


Add ability to pick display output

Hi,
I have not found a way of specifying which output the program should run in.
I'm not sure where the responsibility lies in being able to pick the either the "main" output or an arbitrary one instead of the one the program is launched from.
Thanks

This should be possible using the window backend. Did you figure it out?


Add an interface to allow for update listeners on child object

This will allow for custom behaviour on objects using TransferGrid, to handle changes to fields. Objects will be told what field has changed, and what it has been changed to.

Added in newest update


Error when running on lambda

After following the build/deploy instructions and then trying to execute the image on Lambda, an error occurs:
START RequestId: afef572a-efc2-4a5d-aa2c-6e676f834f2d Version: $LATEST
[WARNING]	2024-01-09T20:08:27.854Z	afef572a-efc2-4a5d-aa2c-6e676f834f2d	could not detect version_main.therefore, we are assuming it is chrome 108 or higher
2024-01-09T20:08:29.655Z afef572a-efc2-4a5d-aa2c-6e676f834f2d Task timed out after 3.06 seconds
END RequestId: afef572a-efc2-4a5d-aa2c-6e676f834f2d
REPORT RequestId: afef572a-efc2-4a5d-aa2c-6e676f834f2d	Duration: 3064.06 ms	Billed Duration: 3789 ms	Memory Size: 128 MB	Max Memory Used: 128 MB	Init Duration: 724.72 ms

You have to increase your Lambda's timeout, by default it's 3 seconds
I guess I'll mention it in the readme

Thanks,  your work has been so helpful!   I was able to mostly get your example up and running by changing the Dockerfile to  update for Python 3.12.   I had to update the line:
RUN dnf install -y git && pip install setuptools git+https://www.github.com/filipopo/undetected-chromedriver@master
Sorry for my ignorance, I'm new to docker, and python.   I do have one more question.   I can run the docker locally and then docker exec -it (CONTAINER ID) /bin/sh as you noted in your instructions.   However, the handler function in main.py didn't get triggered.   I edited main.py to add handler() as the last line, and now it runs when I execute it locally, but when I deploy it the task still times out after 45 seconds now.   It seems like somehow the function on the image is not getting called.   Do you have any idea what I'm doing wrong?
It looks like the last line of the Dockerfile is supposed to launch the handler function in the main.py file, but that doesn't seem to work for me.

Hey man, thanks for you too for testing it, you're right... I need to change yum to dnf for the newer version
I shouldn't even be using yum in here but I'm waiting for undected-chromedriver to merge my pull request into the main repository
Yes, the last line in the Dockerfile is supposed to call the handler function of main.py, I'm not sure why isn't it working for you, adding handler() as the last line is not how you should deploy the thing to AWS Lambda because it should call the handler method upon invocation
Try to read through the AWS documentation for running a container on Lambda and see if you can figure it out:
https://github.com/filipopo/undetected-chromedriver-lambda/blob/main/Dockerfile

@shafersystems I just re-read the AWS docs and saw that I forgot to include "--platform linux/amd64" in the docker build command, if I recall correctly if you're building on Windows/Mac without this it causes problems on Lamda
Sorry for the confusion, here is the full command
docker build --platform linux/amd64 -t filipmania/undetected-chromedriver-lambda:latest .
Let me know if it helps

Hi, thanks for your work here.   I don't think I could have got it all working without your help.   I had a few other changes that I had to make.   The Dockerfile was not copying main.py to the right location.   Here's my updated DockerFile.

FROM umihico/aws-lambda-selenium-python:latest
RUN dnf install -y git && pip install setuptools git+https://www.github.com/filipopo/undetected-chromedriver@master
WORKDIR /var/task
COPY main.py /var/task
CMD [ "main.handler" ]

I also had to make some modifications to allow chrome to download a file into a writable lambda directory in main.py
Defines autodownload and download PATH
params = {
    "behavior": "allow",
    "downloadPath": data_path
}
chrome.execute_cdp_cmd("Page.setDownloadBehavior", params)

Lastly, I found it helpful to come up with my own local invocation instructions that allowed me to run the container and then in another shell call it with lambda parameters:
You may of course run and interactively test the container yourself before tagging and pushing:
docker run -p 9000:8080 filipopo/undetected-chromedriver-lambda:latest

curl -XPOST "http://localhost:9000/2015-03-31/functions/function/invocations" -d '{"test_parm":"test_value"}'

I hope this is helpful.   Thanks again.


README: improve readability and use standard layout

Improve the landing page.
The goal is that people can read the first 2 paragraph and quickly figure out if the project is for them or not. Then how to use it. And finally get into the more hacky things.

thanks for the review!


adds --parallel-options option to parallel_stereo

adds gnu parallel options pass-through for parallel_stereo
Description
adds a argparse param to parallel_stereo that accepts a string input of additional parameters for gnu parallel, currently not parsed/validated in any way as we assume gnu_parallel will handle the errors.
Related Issue
fixes #335
Motivation and Context
allows passing in flags such as sshdelay to gnuparallel to work within bounds of hpc clusters
How Has This Been Tested?
not tested
Types of changes

New feature (non-breaking change which adds functionality)

Checklist:

My change requires a change to the documentation.
I have updated the documentation accordingly.

Licensing:
This project is released under the LICENSE.

I dedicate any and all copyright interest in my contributions in this pull request to the public domain.  I make this dedication for the benefit of the public at large and to the detriment of my heirs and successors. I intend this dedication to be an overt act of relinquishment in perpetuity of all present and future rights to this contribution under copyright law.

note, the call to split(' ') may not actually be needed at all, I just decided to have it for now to be consistent with the cmd list variable

Andrew, thank you!
I tweaked a bit the doc, while hopefully reflecting your original intent.


Nuxt 3 Deployment Issue

My Next 3 app is failing on build with the error below;
[7mCopying files to destination directory '/bin/staticsites/55e7b8-e69f-427a-bebd-ede67a47ce9-swa-oryx/app'...[***m
[***7mDone in *** sec(s).[***m
[***7m[***m
[***7mRemoving existing manifest file[***m
[***7mCreating a manifest file...[***m
[***7mManifest file created.[***m
[***7mCopying .ostype to manifest output directory.[***m
[***7m[***m
[***7mDone in ***4 sec(s).[***m
[***7m[***m
[***7m[***m
[***7m---End of Oryx build logs---[***m
Try to validate location at: '/bin/staticsites/55e7b8-e69f-427a-bebd-ede67a47ce9-swa-oryx/app/.output/public'.[***m
[***1mThe app build failed to produce artifact folder: '.output/public'. Please ensure this property is configured correctly in your workflow file.[***m

Can you share a repo with a reproduction of your issue?

Hi Thomas,
https://github.com/app-stealth-technologies/NexSyncBE/actions is a
repository with the issue.
You can see the logs of the build error in the workflow. I tried different
approaches and different directories, but none worked.
Best regards
On Mon, Feb 12, 2024 at 4:35 PM Thomas Gauvin @.***>
wrote:

Can you share a repo with a reproduction of your issue?
—
Reply to this email directly, view it on GitHub
https://github.com/Azure/static-web-apps/issues/1413#issuecomment-1939104428,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/BCOWO5GG4YYZVBLLIQJ36Z3YTJAGRAVCNFSM6AAAAABDD4BRMCVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZZGEYDINBSHA
.
You are receiving this because you authored the thread.Message ID:
@.***>


Homepage or Landing Page

Add a homepage or landing page for the base of the site.
Maybe using the README.md.

While thinking about it I would be willing to replace Storybook.js as the homepage and make it something like demo.reactpureloaders.io and use something simple like Gatsby.js as the homepage or something like it.
CC: @wps13 what are your thoughts on this?

I was thinking someting similar. For the homepage it would be better using a similar construction for readme, but changing the way as the usage example is showed. For instance:
Import the desired component
import { BallBeat } from 'react-pure-loaders';

Create the component:
<BallBeat loading color={'#fff'} />

And we could a sort of tutorial, showing the usage.

I was thinking that we could improve the documentation, explaining how a component is created

I like that 👍
Sent with GitHawk

@jameswlane did you start working on the homepage? How can I help you?

@wps13 I have not yet, I was looking at knocking out a logo first. I am open to any help you would like to do on anything. If you wanna start with the homepage your help is always welcome.
Sent with GitHawk

@jameswlane okay, I will start working on it.

@wps13 You are awesome, I really do appreciate you helping with this project. It's hard being a sole maintainer, having your help with things is making it a lot easier.

@wps13 would you like a separate repo to host the homepage or would you like to have it stored in the same repo as the project?

@jameswlane Thanks! I'm enjoying a lot working with a library, i'm glad that i can help. For the repository, it would be better if it is a separated one, cause it will be easier to do maintenance and would be more organised.

I think so also, I will make one and give you access to it also.
Sent with GitHawk

@wps13  here you go:
https://github.com/jameswlane/reactpureloaders.io
Sent with GitHawk

Thanks!

Hello @jameswlane , How you doing? I've been working on the homepage a little bit these days and I wanted to ask about a few details.
First, about the content direction, which one do you prefer?

Column
Row

For the header, I think that we could add a background color, related to the logo and add the logo itself replacing the logo text. I'm working on both desktop and mobile versions, but still have to fix the getting started section, cause I have problem with the jsx inside the markdown, so I'm looking for a work around and used a image to illustrate how it was supposed to be.

@wps13 I been well, I am recovered from my surgery so that's a plus. I hope all has been well down your direction? The homepage is looking awesome! I like the column direction better, for me it's easier to read. If you want JSX inside markdown look at MDX. The designer is working on the logo, hopefully will have something by Monday. If you need any help with anything please let me know.

@jameswlane Glad to hear that you're recovering well! I'm happy that you liked, I will take a look at mdx. Thanks.

@wps13 Logo's are done and located here for now.

@jameswlane great, thanks! Until the weekend I will add them to the site.Also still couldn't fix the mardown issue, mdx didn't work properly with webpack.

New website is live thanks to @wps13


Create "Dashboard"

Dashboard is a Web-based administrative system where user can:

Register new supported embedded device
Customise own firmware with available operations for this device
Build firmware via SACC
Upload firmware with local installed PlatformIO
Monitor device states, number of sent packets and etc.

Done.


list_objects_v2 fails after upgrading the sdk

Describe the bug
Using older sdk:
aws-config = { version = "0.52", default-features = false, features = ["native-tls"]}
aws-sdk-s3 = { version = "0.22", default-features = false, features = ["native-tls", "rt-tokio"]}
It worked doing a listing of files on s3 using
let mut req = client.list_objects_v2().bucket(bucket).prefix(key);

(and later a send().await of course)
After doing the upgrade to the latest sdk:
aws-config = { version = "0.54", default-features = false, features = ["native-tls"]}
aws-sdk-s3 = { version = "0.24", default-features = false, features = ["native-tls", "rt-tokio"]}
This call suddenly fails with:
Aws Sdk Error: ServiceError(ServiceError { source: ListObjectsV2Error { kind: Unhandled(Unhandled { source: XmlDecodeError { kind: Custom("encountered invalid XML root: expected ListBucketResult but got StartEl { name: Name { prefix: \"\", local: \"ListAllMyBucketsResult\" }, attributes: [], closed: false, depth: 0 }. This is likely a bug in the SDK.") } }), meta: Error { code: None, message: None, request_id: None, extras: {} } }, raw: Response { inner: Response { status: 200, version: HTTP/1.1, headers: {"connection": "keep-alive", "x-amz-request-id": "564959999", "content-length": "189"}, body: SdkBody { inner: Once(Some(b"\n***")), retryable: true } }, properties: SharedPropertyBag(Mutex { data: PropertyBag, poisoned: false, .. }) } })
Nothing else is modified between the working and non-working version except the aws sdk version.
Note: This call is made to a on-prem s3 server, by setting an endpoint. This should not be the issue here I assume, since it seems to actually contact the server, and the server is the same as the working version which still works with aws sdk for other platforms and languages.
Expected Behavior
Receive a ListObjectsV2 from the call.
Current Behavior
Get an error as stated above.
Reproduction Steps
Upgrade to latest sdk and call list_objects_v2
Possible Solution
No response
Additional Information/Context
No response
Version
aws-config = { version = "0.54", default-features = false, features = ["native-tls"]}
aws-sdk-s3 = { version = "0.24", default-features = false, features = ["native-tls", "rt-tokio"]}

Environment details (OS name and version, etc.)
Fedora Linux 37
Logs
No response

We'd like to better understand the on-prem s3 server you mentioned. It sounds like it's not the AWS-hosted S3 service, is it? Is it a proxy server that delegates HTTP requests to the AWS-hosted S3 or is it an server that internally handles and  requests and sends responses in a way AWS S3 does (which is why aws-sdk-s3 is able to work with)?

It is a non-aws related file storage that uses the S3 protocol. And, I do not know much about it to be honest, since I just write a service that interacts with it.
Still, not sure that is really the issue here since that server works with other s3 SDKs and the only thing that changed from working to non-working was the rust SDK version.

Thank you for clarifying. The issue seems to be that the server in question returns an XML that does not conform to AWS S3 service model (from which the Rust SDK is derived) after the upgrade. We'll further look into it and see if there is a way to mitigate it.

Well, it might not fully implement the s3 spec, like not having the ListBuckets call or something (as I said, I'm only a user of the server), but I'm not doing any ListBuckets call. The call I'm doing is
ListObjectsV2 { handle: Handle { client: Client { connector: DynConnector, middleware: DynMiddleware, retry_policy: Standard { config: Config { initial_retry_tokens: 500, retry_cost: 5, ┤
no_retry_increment: 1, timeout_retry_cost: 10, max_attempts: 3, initial_backoff: 1s, max_backoff: 20s, base: 0x56101dd02870 }, shared_state: CrossRequestRetryState { quota_available: Mutex { data: 500, poisoned: false, .. } } }, operation_timeout_config: OperationTimeoutConfig { operation_timeout: None, operation_a│
ttempt_timeout: None }, sleep_impl: Some(TokioSleep) }, conf: Config }, inner: Builder { bucket: Some("bucket-name"), delimiter: None, encoding_type: None, max_keys: None, prefix: Some(""), continuation_token: None, fetch_owner: None, start_after: None, request_payer: None, expected_bucket_owner: None│
 } }

so, why is it getting a ListBuckets response?

And i just tested the call list_buckets, which actually works just fine.

We have confirmed that an example list-objects, which uses list_objects_v2, works for S3 using aws-sdk-s3 version 0.24 and aws-config version 0.54.

why is it getting a ListBuckets response?

It is up to the on-prem server in question how it handles a request for ListObjectsV2, so it may work for a certain version of aws-sdk-s3 but unfortunately we cannot guarantee that it will continue working for a future version of the crate against the on-prem server.
Closing this issue as it is deemed not a bug in the Rust SDK.

Just reopened to add a comment that issue 730 may help. Between 0.52 and 0.54, the Rust SDK was integrated with Endpoints 2.0 (release notes), so it's possible that you need to use endpoint_url when configuring the endpoint for the on-prem server (and possibly with setting force_path_style to true on the Client config).
While it does not guarantee the suggestion above will work, I'd be curious to know how it goes. Kindly let me know.

Just reopened to add a comment that issue 730 may help. Between two versions you worked on, the Rust SDK was integrated with Endpoints 2.0 (release notes), so it's possible that you need to use endpoint_url when configuring the endpoint for the on-prem server (and possibly with setting force_path_style to true on the Client config).
While it does not guarantee the suggestion above will work, I'd be curious to know how it goes. Kindly let me know.

I am using minio to pass e2e test on my CI. I can confirm using .endpoint_url(...) + .force_path_style(true) made the error go away !

Yes, the combination of endpoint_url and force_path_style seems to fix this issue. Thanks for the help with resolving this.

Thanks for letting us know. Glad to know it worked out. Closing this as resolved.


Backfill broken

This commit broke backfilling by changing the outputs from sets to vectors. Further down, contains? is used on these parameters.

I think the idea was to improve readability, but it also changed this from a one pass algorithm into 6-10 pass algorithm.

Yes the change was to improve readability. Are you concerned about
performance? I have a change that I need to push out to send only a small
subset (10x of max jobs considerable) of the full scheduler contents to
this function so that we don't process through a potentially very large
queue. Once that change is in this function is a fairly insignificant
performance wise and so it is worthwhile to have the readability.
On Mon, Sep 12, 2016, 3:31 PM David Greenberg<EMAIL_ADDRESS>wrote:

I think the idea was to improve readability, but it also changed this from
a one pass algorithm into 6-10 pass algorithm.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/twosigma/Cook/issues/179#issuecomment-246463956, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZnHa5vPIcJ5vC3zlQ_nbkzQY9oHCrMks5qpaicgaJpZM4J68V6
.

I'm just mentioning that the performance is worse.
The actual problem is that none of the code works, because those collections need to be set, not vector.

Yea for sure worse but not problematic (yet). Broken is more bad. I noticed
we were not getting upgraded jobs often but didn't dig in. Thanks for
finding this
On Mon, Sep 12, 2016, 4:30 PM David Greenberg<EMAIL_ADDRESS>wrote:

I'm just mentioning that the performance is worse.
The actual problem is that none of the code works, because those
collections need to be set, not vector.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/twosigma/Cook/pull/179#issuecomment-246481456, or mute
the thread
https://github.com/notifications/unsubscribe-auth/ABZnHUoVKBT8_8tufMh8X-FmSJUt4mL2ks5qpbZPgaJpZM4J68V6
.

No problem!


plugin:@typescript-eslint/disable-type-checked config is reported as an unlisted dependency

One more exception could be added here, but does it make sense?

That is such a mess indeed. I remember I looked at ESLint's own config parser, to no avail. One of the reasons ESLint is moving to a normal config system now, but in the meantime I guess I can just shove in another ugly line in there.

What's the reason for being specific with \/(eslint-)?(recommended.*|stylistic.*|strict.*|all)? Is there some sort of potential false-positive if matching just \/.+?

Yes. You can see for instance in this fixture what the strings should translate to in this test.

Hmm, I think that test would pass if you throw away everything after the last slash as long as specifier starts with plugin:?

:rocket: This issue has been resolved in v2.18.0. See Release 2.18.0 for release notes.

Added some unit tests just for that helper for future reference. Thanks again!

After publishing a fix yesterday I suddenly saw the light. If I just consider @typescript-eslint/ as an exception, the rest is pretty straightforward. It's just odd that this org is handled differently than others.

Thank you! It works :+1:

Related: #195


mediaservices housekeeping - fixing tags, removing redundancies

Tag package-2018-07 stays default.
Included files from 2018-07-01 in package-2019-05-preview as these files in 2019-05-01-preview were just exact copies referring to 2018-07-01 API. Removed redundant files.
Included streamingservice.json from 2019-05-01-preview into 2019-09-01-preview to make sure it's not lost when 2019-09-01-preview is released

Automation for azure-sdk-for-python

Automation for azure-sdk-for-go

requesting re-assign as this is ARM spec.

Can one of the admins verify this patch?

Hi, @zikalino. The PR has be closed for a long time and it's related branch still exist. If no further used for over 14 days, I will delete this related branch. Please tell me if you still need this branch.

Hi, @zikalino. The PR has be closed for a long time and it's related branch still exist. Please tell me if you still need this branch or i will delete it in 14 days.


fix(build): bump core to 9.21.2

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


chore(dev): release 0.4.1

:robot: I have created a release beep boop
0.4.1 (2024-08-03)
Bug Fixes

navigation blocker appeared after channel update (#645) (a2809d8)
new custom show programming button led to wrong path (#647) (554a003)

This PR was generated with Release Please. See documentation.

:robot: Created releases:

v0.4.1
:sunflower:


How to turn off Doppler factor

Hello, @cheneyuwu! Nice Work! How to disable the Doppler factor and test the STEAM-ICP?

Hello,
You can disable it by setting use_rv to false in the config file:
https://github.com/utiasASRL/steam_icp/blob/b13bf47b44ddb8071f163d775edbf803c7eb82c8/steam_icp/config/default_config.yaml#L37


Cannot find module .output/server/node_modules/vue/server-renderer/index.mjs

Environment

Operating System: Darwin
Node Version:     v18.20.4
Nuxt Version:     3.13.0
CLI Version:      3.16.0
Nitro Version:    2.9.7
Package Manager<EMAIL_ADDRESS>Builder:          -
User Config:      default
Runtime Modules:  -
Build Modules:    -

Reproduction
Simply start with a fresh project
pnpx nuxi@latest init
cd nuxt-app
pnpm run build
node .output/server/index.mjs

Describe the bug
New project build output server was crash when follow the startup cli commends
When visit the localhost:3000 it shows with the logs:
(base) aaa@aaa-Pro nuxt-app % node .output/server/index.mjs
Listening on http://[::]:3000
[nuxt] [request error] [unhandled] [500] Cannot find module '/Users/aaa/WebstormProjects/broadcaster/projects/nuxt-app/.output/server/node_modules/vue/server-renderer/index.mjs' imported from /Users/aaa/WebstormProjects/broadcaster/projects/nuxt-app/.output/server/chunks/routes/renderer.mjs
  at new NodeError (node:internal/errors:405:5)
  at finalizeResolution (node:internal/modules/esm/resolve:327:11)
  at moduleResolve (node:internal/modules/esm/resolve:980:10)
  at defaultResolve (node:internal/modules/esm/resolve:1206:11)
  at ModuleLoader.defaultResolve (node:internal/modules/esm/loader:404:12)
  at ModuleLoader.resolve (node:internal/modules/esm/loader:373:25)
  at ModuleLoader.getModuleJob (node:internal/modules/esm/loader:250:38)
  at ModuleWrap.<anonymous> (node:internal/modules/esm/module_job:76:39)
  at link (node:internal/modules/esm/module_job:75:36)

Additional context
I am not change any project file what pnpx nuxi@latest init created in the directory.
package.json
{
  "name": "nuxt-app",
  "private": true,
  "type": "module",
  "scripts": {
    "build": "nuxt build",
    "dev": "nuxt dev",
    "generate": "nuxt generate",
    "preview": "nuxt preview",
    "postinstall": "nuxt prepare"
  },
  "dependencies": {
    "nuxt": "^3.14.1592",
    "vue": "latest",
    "vue-router": "latest"
  }
}

Logs

The minimal project zip file for reproduction nuxt-app.zip

I downloaded that, regenerated the lockfile and experienced no issues. Can you reproduce on stackblitz? Does it make a difference if you change the directory?

Seems it's my local environment issue, when i try to use docker to make a reproduction everything works...

fwiw, I had the same issue coming back to known working repo after a month. I had to blow away my node_modules dir and then reinstall, rebuild.

fwiw, I had the same issue coming back to known working repo after a month.

I still not sure the extact reason why the issue exist now.
But i guess it's because of Nodejs18 with older version of global nuxi or other global node_module conflict with the latest nuxi, when i change to a new node env (pnpm env use --global lts, nodejs 22) and retry start from the fresh project, everything is fine.


The form function is performed 5 times

Just open console and try to change input value. Every keypress triggers format 5 times. https://codesandbox.io/s/istarkovrifm-enforcement-vx86k
Why? Is input re-rendered 5 times?

No, format is called a few times in render and commit phases.

If you put log in render you can see only two renders happen. This is by design.

Uh ok thanks)


install issues

Type: Feature Request
I just can not install any extesions
Extension version: 0.25.1
VS Code version: Code 1.72.2 (d045a5eda657f4d7b676dedbfa7aab8207f8a075, 2022-10-12T22:15:18.074Z)
OS version: Windows_NT x64 10.0.10240
Modes:
Sandboxed: No

Please give more details about the issue. Which driver extension are you trying to install? What happens?


[Suggestion] Notification sounds

Thanks, this seems like the best of the solutions I found for Linux.
I find the "Desktop Notifications" option useful, but I still think the alert sound (at least in Linux under GNOME) is very short and low volume, specially if one if listening to focusing music while working. It would be great if the notification duration and volume (until turned-off, like an alarm) could be edited.
Best,
João

+1 for this feature :)

@hamdyl052 where is the path of the local for that ? I can't find the .wav or .mp3 file

@hamdyl052 where is the path of the local for that ? I can't find the .wav or .mp3 file

@napstercc I meant any local directory, e.g. inside My Music.

Three years. Strong plea

I think it's an issue that plagues many public projects. There's only enough time to dedicate to them and many times more people asking for features than becoming involved in the projects. @Splode, please feel free to close this suggestion if you'd like to.

@bearcai Maybe open an issue hunt with some money to get people motivated?

I think it's an issue that plagues many public projects. There's only enough time to dedicate to them and many times more people asking for features than becoming involved in the projects. @Splode, please feel free to close this suggestion if you'd like to.

@j3mdamas I've been leaving this issue open, along with others, with the hope someone will pick it up as a feature contribution, or so that it serves as a feature story for the next version of Pomotroid.
Good discussion in this thread. I can certainly understand the frustration!

It would be great if after every finish, there was sound settings for at least 3 seconds. Then we can turn on the timer or the break time manually.

This would be great! Missing the sound all the time. :)

Please add this feature! Either selectable tones or a longer/repeating tone are essential. I honestly don't know how people are able to make this work for them. I've been trying to use Pomotroid for the past couple of days, but it's not helping a lot because I'm missing every other alert! I really love the app and don't want to use a different one, but it's just not working for me since I don't know when periods begin/end unless I just happen to look.
FWIW, I actually recently rediscovered Pomotroid, and was reminded why I had to stop using it before. I'd make a PR myself, but my pomodoro timer didn't tell me my break is over. ;)


ReadTransaction::open_table errors on new tables

When calling open_table on a table that hasn't been created yet the call errors. It would be nice to either have the call create the table, have an option to pass to the call that defines the behavior, or have a different call that would act as open_or_create_table
edit(1):
The behavior of this function is workaroundable but it is clumsy:
        let known_nodes = match read_txn.open_table(NODES) {
            Ok(table) => do_stuff(table),
            Err(TableError::TableDoesNotExist(t)) => {
                info!("Table {t} does not exist, assuming it is empty");
                HashMap::new()
            }
            Err(e) => {
                return Err(r_err(dbg!(e)).into());
            }
        };

edit(2):
an alternative seems to be to always use  a write transaction but that's also not optimal (not really as it violates some locking constraints)

That's not possible because read transactions are read-only. Another workaround is to use a write transaction at the beginning of your program to create all the tables that will be used

Then as an alternative would it be possible to treat a table that doesn't exist when opened as empty instead of creating a hard error? That won't violate the read only constraint and lead to effectively the same outcome from a API perspective.
Ultimately the use case doesn't care if the table is created, just that it doesn't hard error :)

I think the current API is better, and ya as you noted this would break the current API so would need to go into a 2.0 release.
What's your use case where this is a problem and another workaround doesn't work well?

Heya,
I don't say it will break the API, but change it. The change might very well be a new function or allow for a builder pattern like (names just ideas):
let read_txn = db.begin_read().allow_empty_tables();
// or
let table = read_txn.open_table_relaxed(NODES) ;

I want to use redb as storage for a openraft implementation, and yes, there are workarounds but all of them feel clumsy as they seem to work around a limitation that is not technically necessary.

Thanks for the suggestions, but I decided not to implement this. I think the use case is fairly niche and easy to work around, so I don't want to add additional surface area to the API.


Fix for Issue #1763

Refactor PendingRequestState and KafkaSinkCluster
This PR refactors the PendingRequestState enum and related components in the KafkaSinkCluster implementation.

[x] Removed redundant destination field from all PendingRequestState variants.
[x] Added destination field to the PendingRequest struct.
[x] Updated PendingRequestState::routed method to exclude destination.
[x] Modified methods in KafkaSinkCluster to utilize the new structure.
[x] Ensured all relevant code is updated to maintain functionality.

Testing

[ ] All existing tests updated and passing.
[ ] Integration tests executed successfully.

This refactoring improves code organization and reduces redundancy.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Changes to support spec v0.6.0 compliance

Implement specification v0.6.0 changes
See changes since last release.
Please note there's no need to complete all these tasks in a single PR (in fact, that's not recommended).
Functional requirements:

[ ] implement flag metadata: https://github.com/open-feature/spec/commit/74c373e089ad77bf8cac84f3d93c00c945ff3a8a
[x] implement named client support: https://github.com/open-feature/spec/commit/4cf8229d23a88feeaadf8b066e5d3662b94ff262
[ ] implement initialization/shutdown: https://github.com/open-feature/spec/commit/a4ffec3d4416b8ad6d12d1ebfa2faf81ad153f65
[ ] implement events: https://github.com/open-feature/spec/commit/bf9e45b1d51c316ee2d6340bc2b807294995d0ad

the spec is intentionally loose here to allow for an implementation that feels "java-ish", consider:

java.util.EventListener and its subclasses
a custom interface
other options?

Non-functional requirements:

[ ] add relevant tests
[ ] add examples and documentation, see template README
[ ] update specification badge to v0.6.0:

Keep in mind:

backwards compatibility is highly encouraged

take every precaution to ensure existing code written by application authors and existing providers implementations, do not break

it's recommended these features are released together

named client support was implemented by @justinabrahms

I'm interested in taking on the events part of this. I'm going to open a new issue specifically about that if nobody objects.

I am actively working on metadata requirement and will open a PR soon for the review

Done with https://github.com/open-feature/java-sdk/pull/364


feat: cache SSM values (v0.33.x)

Fixes #N/A
Description
Caches SSM parameter results for 24 hours to reduce duplicate API call volume. SSM parameter results are expected to be relatively static since we only query EKS managed SSM parameters.
How was this change tested?
/karpenter snapshot
Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

Pull Request Test Coverage Report for Build<PHONE_NUMBER>5
Details

31 of 33 (93.94%)  changed or added relevant lines in 4 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.07%) to 77.191%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

pkg/operator/operator.go
0
2
0.0%

Totals

Change from base Build<PHONE_NUMBER>6:
0.07%

Covered Lines:
5293

Relevant Lines:
6857

💛  - Coveralls


Fix spelling avator -> avatar

Codecov Report

Merging #14115 (b70cbe8) into master (27fa481) will decrease coverage by 0.11%.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##           master   #14115      +/-   ##
==========================================
- Coverage   42.36%   42.25%   -0.12%
==========================================
  Files         726      726
  Lines       77839    77839
==========================================
- Hits        32976    32890      -86
- Misses      39449    39543      +94
+ Partials     5414     5406       -8

Impacted Files
Coverage Δ

routers/repo/issue.go
38.17% <100.00%> (ø)

modules/log/stack.go
0.00% <0.00%> (-81.82%)
:arrow_down:

modules/util/timer.go
42.85% <0.00%> (-42.86%)
:arrow_down:

modules/log/file.go
33.60% <0.00%> (-40.00%)
:arrow_down:

modules/log/logger.go
0.00% <0.00%> (-10.53%)
:arrow_down:

modules/indexer/stats/db.go
56.00% <0.00%> (-4.00%)
:arrow_down:

modules/log/event.go
58.49% <0.00%> (-3.31%)
:arrow_down:

modules/git/repo_commit_nogogit.go
63.33% <0.00%> (-1.67%)
:arrow_down:

services/pull/pull.go
42.85% <0.00%> (+0.50%)
:arrow_up:

modules/queue/unique_queue_disk_channel.go
55.38% <0.00%> (+1.53%)
:arrow_up:

... and 2 more

Continue to review full report at Codecov.

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


Spyder won't update to 4.2.0 due to Python < 3.8 requirement

Issue Report Checklist

[x] Searched the issues page for similar reports
[x] Read the relevant sections of the Spyder Troubleshooting Guide and followed its advice
[x] Reproduced the issue after updating with conda update spyder (or pip, if not using Anaconda)
[x] Tried basic troubleshooting (if a bug/error)

[x] Restarted Spyder
[ ] Reset preferences with spyder --reset
[ ] Reinstalled the latest version of Anaconda
[x] Tried the other applicable steps from the Troubleshooting Guide

[x] Completed the Problem Description, Steps to Reproduce and Version sections below

Problem Description
Trying to update Spyder to 4.2.0 (from 4.1.5) through Anaconda but update will not install due to Python < 3.8.0 requirement.
What steps reproduce the problem?

conda update conda
conda update spyder

will say "# All requested packages already installed."

conda install spyder=4.2.0

gives the Python requirement <3.8.0 (as shown below)

What is the expected output? What do you see instead?
Spyder should update and Python version 3.8.0 should not prevent the Spyder update. I haven't updated Python seperately, just using Anaconda, so seems like my Python version should be fine?
Paste Traceback/Error Below (if applicable)

(base) C:\>conda install spyder=4.2.0
Collecting package metadata (current_repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: failed with repodata from current_repodata.json, will retry with next repodata source.
Collecting package metadata (repodata.json): done
Solving environment: failed with initial frozen solve. Retrying with flexible solve.
Solving environment: /
Found conflicts! Looking for incompatible packages.
This can take several minutes.  Press CTRL-C to abort.
failed

UnsatisfiableError: The following specifications were found
to be incompatible with the existing python installation in your environment:

Specifications:

  - spyder=4.2.0 -> python[version='>=3.7,<3.8.0a0']

Your python: python=3.8

If python is on the left-most side of the chain, that's the version you've asked for.
When python appears to the right, that indicates that the thing on the left is somehow
not available for the python version you are constrained to. Note that conda will not
change your python version to a different minor version unless you explicitly specify
that.

Versions

Spyder version: 4.1.5
Python version: 3.8.3 64-bit
Qt version: 5.9.7
PyQt version: 5.9.2
Operating System name/version: Windows 10

Dependencies

# Mandatory:
atomicwrites >=1.2.0           :  1.4.0 (OK)
chardet >=2.0.0                :  3.0.4 (OK)
cloudpickle >=0.5.0            :  1.6.0 (OK)
diff_match_patch >=20181111    :  20200713 (OK)
intervaltree                   :  None (OK)
IPython >=4.0                  :  7.19.0 (OK)
jedi =0.17.1                   :  0.17.1 (OK)
nbconvert >=4.0                :  6.0.7 (OK)
numpydoc >=0.6.0               :  1.1.0 (OK)
paramiko >=2.4.0               :  2.7.2 (OK)
parso =0.7.0                   :  0.7.0 (OK)
pexpect >=4.4.0                :  4.8.0 (OK)
pickleshare >=0.4              :  0.7.5 (OK)
psutil >=5.3                   :  5.7.2 (OK)
pygments >=2.0                 :  2.7.3 (OK)
pylint >=1.0                   :  2.6.0 (OK)
pyls >=0.34.0;<1.0.0           :  0.34.1 (OK)
qdarkstyle >=2.8               :  2.8.1 (OK)
qtawesome >=0.5.7              :  1.0.1 (OK)
qtconsole >=4.6.0              :  4.7.7 (OK)
qtpy >=1.5.0                   :  1.9.0 (OK)
rtree >=0.8.3                  :  0.9.4 (OK)
sphinx >=0.6.6                 :  3.2.1 (OK)
spyder_kernels >=1.9.4;<1.10.0 :  1.9.4 (OK)
watchdog                       :  None (OK)
zmq >=17                       :  20.0.0 (OK)

# Optional:
cython >=0.21                  :  0.29.21 (OK)
matplotlib >=2.0.0             :  3.3.2 (OK)
numpy >=1.7                    :  1.19.2 (OK)
pandas >=0.13.1                :  1.1.3 (OK)
scipy >=0.17.0                 :  1.5.2 (OK)
sympy >=0.7.3                  :  1.6.2 (OK)

Hello Caseyb87,
I had the same issue (I'm sure many others have also)
After trying to update using Anaconda Prompt I got the same errors as you described, but after restarting Anaconda Navigator, it signaled me that Spyder 4.1.5 has an updated version (a small blue arrow near the 4.1.5 version). I clicked on the Gear symmbol in the corner and choose Update application - That did NOT worked! but when I choose Install specific version - 4.2.0 it failed with the message spyder==4.2.0 cannot be installled on this enviroment Do you want to install the package in an existing enviroment or create a new enviroment? Creating new enviroment did the trick for me.
HTH!

The Anaconda team hasn't released packages for Spyder 4.2 and Python 3.8 yet (only 3.7 at the moment). So please be patient, I'm sure they'll release Python 3.8 packages soon.

Ah - OK, makes sense.
Is there anyway for Spyder to be a bit smarter with its update prompt then? It's rather confusing for new users (or at least for me!) to be told there's an update avilable, follow all of the documentation/guidance, to then only find the update isn't actually yet available without fundamentally changing their current (and recommended) installation set-up.
In short: could Spyder be context aware and actually check if an update is available for that user, rather than just checking that there's been a new release?

This is the first time in six years that Anaconda has released packages for one Python version instead of all of them at the same time (I didn't follow Anaconda previous to that). So it's highly unusual of them and our update prompt mechanism was not adapted to that.

Fresh off the newswire
[https://anaconda.org/anaconda/spyder/files]
just appeared this evening

Great! Thanks for the update @Dan-Patterson!


[Proposal] Introducing Namespacing for Common Swift Error Scenarios

Swift's fatalError is a one-size-fits-all hammer.  This proposal provides a namespaced umbrella for common exit scenarios, modernizing a holdover from C-like languages.
Swift lacks a modern extensible solution that differentiates fatal error scenarios with uniform outcomes. Many developer libraries implement custom exit points to provide that functionality. Namespacing these marker functions to a common type results in groupable, extensible, and discoverable IDE elements.
Discussion thread: forums

Was a struct with static constants chosen over an enum for the purposes of extensibility?

This looks really good. After the "unwrap or die discussion" I would very much like to see these as returnable after the !! if it is accepted so we can return them rather than strings.
URL(string: "url not there" !! .notYetImplemented

The Core Team will run a review of this proposal once there is an implementation.

@tkremenek Just saw this today. I put in a pull request with whatever I had back in June: https://github.com/apple/swift/pull/18943
I have not had a moment to even check whether it is still compatible.

I discussed with @erica and @davedelong that this proposal is still going through some revision/alternate designs by the authors.  My preference is the close the PR , and open it when a revised design comes in.

The Language Workgroup is trying to be better about not allowing proposals to sit for long periods without making progress.  Unfortunately, this PR has fallen into that state, and it's not clear to us that anyone is still actively engaged with it.  I am closing it as stale, but that's not a judgment on the underlying proposal; please feel free to reopen it if you're interested in bringing it through evolution.


Return json.Unmarshal error when importing issues deferred

The error was not returned when the 202 status was received during the issues import.

Thank you, @gabriel-samfira !
Merging.


[dev/gws] discussion/forum

Coverage decreased (-0.2%) to 80.048% when pulling 7c3648c46426188aa7e467645ccd645cd6c5a382 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage decreased (-0.2%) to 80.048% when pulling 7c3648c46426188aa7e467645ccd645cd6c5a382 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage decreased (-0.2%) to 80.049% when pulling 7c3648c46426188aa7e467645ccd645cd6c5a382 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage decreased (-0.2%) to 80.045% when pulling d165e65fa18cd52aacac84116e5544e036b7d582 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage decreased (-0.3%) to 79.998% when pulling 8a4da949b7a9ab5ee7e22eec3b0a17ba94595cc6 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage decreased (-0.006%) to 80.243% when pulling aecc14f6708b1c0d35f9ac00789fa651149e8efa on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage decreased (-0.03%) to 80.216% when pulling 1ad1c631326b9e9d35894e87bf3065c90ad9efe0 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage decreased (-0.009%) to 80.241% when pulling 1ad1c631326b9e9d35894e87bf3065c90ad9efe0 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.

Coverage increased (+0.01%) to 80.262% when pulling 1ad1c631326b9e9d35894e87bf3065c90ad9efe0 on itowtips:dev/gws-discussion into 49f2dde86fb1d846fd10ea2e3774af84e6714092 on shirasagi:dev/gws.


build dart step crashing flakily on pkg-linux-debug

It's crashing in various steps, for example, while creating the dart2js snapshot entry (happened once, example log):
[1523/1569] ACTION //utils/compiler:dart2js_create_snapshot_entry(//build/toolchain/linux:clang_x64)
  FAILED: gen/utils/compiler/dart2js.dart
  python ../../build/gn_run_binary.py compiled_action dart --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/utils/compiler/create_snapshot_entry.dart --output_dir=/b/s/w/ir/cache/builder/sdk/out/DebugX64/gen/utils/compiler --dart2js_main=pkg/compiler/lib/src/dart2js.dart
  Command failed: ./dart --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/utils/compiler/create_snapshot_entry.dart --output_dir=/b/s/w/ir/cache/builder/sdk/out/DebugX64/gen/utils/compiler --dart2js_main=pkg/compiler/lib/src/dart2js.dart
  output:
  ===== CRASH =====
  si_signo=Trace/breakpoint trap(5), si_code=128, si_addr=(nil)
  version=2.2.1-edge.98dddc9daa9bfffa370af2437d33bdd0b7c2464e (Fri Mar 22 19:51:41 2019 +0000) on "linux_x64"
  thread=23305, isolate=kernel-service(0x55c37b863200)
    [0x00007f750b683e0d] Unknown symbol
    [0x00007f750b683e0d] Unknown symbol
...
    [0x00007f750bbeb833] Unknown symbol
    [0x00007f750d38153a] Unknown symbol
    [0x000055c3792107a3] dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)
    [0x000055c379213a41] dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)
    [0x000055c37925501e] dart::IsolateMessageHandler::HandleMessage(dart::Message*)
    [0x000055c379297098] dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)
    [0x000055c379297e06] dart::MessageHandler::TaskCallback()
    [0x000055c37943026c] dart::ThreadPool::Worker::Loop()
    [0x000055c37942fd4b] dart::ThreadPool::Worker::Main(unsigned long)
    [0x000055c379371a95] Unknown symbol
  -- End of DumpStackTrace

or while creating the stack trace mapper in the dev compiler (happened three times, example log):
[1523/1569] ACTION //utils/dartdevc:stack_trace_mapper(//build/toolchain/linux:clang_x64)
  FAILED: dev_compiler/build/web/dart_stack_trace_mapper.js
  python ../../build/gn_run_binary.py compiled_action dart --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/dart2js.dart /b/s/w/ir/cache/builder/sdk/pkg/dev_compiler/web/stack_trace_mapper.dart -m -o/b/s/w/ir/cache/builder/sdk/out/DebugX64/dev_compiler/build/web/dart_stack_trace_mapper.js
  Command failed: ./dart --packages=/b/s/w/ir/cache/builder/sdk/.packages /b/s/w/ir/cache/builder/sdk/pkg/compiler/lib/src/dart2js.dart /b/s/w/ir/cache/builder/sdk/pkg/dev_compiler/web/stack_trace_mapper.dart -m -o/b/s/w/ir/cache/builder/sdk/out/DebugX64/dev_compiler/build/web/dart_stack_trace_mapper.js
  output:
  ===== CRASH =====
  si_signo=Trace/breakpoint trap(5), si_code=128, si_addr=(nil)
  version=2.2.1-edge.9c6a882af045828f79ecc22d5ed86354ddd92cac (Fri Mar 22 20:09:01 2019 +0000) on "linux_x64"
  thread=18158, isolate=kernel-service(0x5576e0fbfb00)
    [0x00007f22d11c3e0d] Unknown symbol
    [0x00007f22d11c3e0d] Unknown symbol
    [0x00007f22d130a98a] Unknown symbol
...
    [0x00007f22d10eb39c] Unknown symbol
    [0x00007f22d172b833] Unknown symbol
    [0x00007f22d31c153a] Unknown symbol
    [0x00005576df8ce7a3] dart::DartEntry::InvokeFunction(dart::Function const&, dart::Array const&, dart::Array const&, unsigned long)
    [0x00005576df8d1a41] dart::DartLibraryCalls::HandleMessage(dart::Object const&, dart::Instance const&)
    [0x00005576df91301e] dart::IsolateMessageHandler::HandleMessage(dart::Message*)
    [0x00005576df955098] dart::MessageHandler::HandleMessages(dart::MonitorLocker*, bool, bool)
    [0x00005576df955e06] dart::MessageHandler::TaskCallback()
    [0x00005576dfaee26c] dart::ThreadPool::Worker::Loop()
    [0x00005576dfaedd4b] dart::ThreadPool::Worker::Main(unsigned long)
    [0x00005576dfa2fa95] Unknown symbol
  -- End of DumpStackTrace

The earliest failure seems to be build 914 (the dart2js snapshot failure above), which corresponds to commit 98dddc9daa9, but since it's flaky I can't say that commit caused it (and am fairly certain it didn't, given what that commit is).

Tried 100 runs of each of the commands that failed in the runs above, but couldn't get them to crash.

Just a note, this hasn't happened again since the day this issue was opened (Mar 25). It was happening fairly often between March 22-25, so it's likely whatever underlying issue has been addressed since. Given that, I'm closing this issue.


"The solution" = "This article"?

Please check the page here: https://learn.microsoft.com/en-us/azure/architecture/example-scenario/manufacturing/teamcenter-plm-netapp-files
The beginning of the first sentence sounds confusing: "The solution demonstrates how to use Azure NetApp Files as a storage solution for Siemens Teamcenter product lifecycle management (PLM)."
Could it rather be "This article demonstrates how to use Azure NetApp Files as a storage solution for Siemens Teamcenter product lifecycle management (PLM)." ?
Best regards,
François

Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 29a0e1ee-1e2a-9e03-db3f-904ce0b382de
Version Independent ID: 29a0e1ee-1e2a-9e03-db3f-904ce0b382de
Content: Use Teamcenter PLM with Azure NetApp Files - Azure Architecture Center
Content Source: docs/example-scenario/manufacturing/teamcenter-plm-netapp-files.yml
Service: architecture-center
Sub-service: example-scenario
GitHub Login: @gvanteylingen
Microsoft Alias: b-gevant

@FRFR-LO
Thanks for your feedback! We will investigate and update as appropriate.

I approve of this change. Please implement.


MAX button in the DEX does not work properly

Hello all,
When trying to exchange ETH into DFI on DEX, the maximum number of ETH is selected when pressing the MAX button, but the calculation of the resulting DFI does not take place. Only after manually changing the ETH the DFI window updates and you can perform the swap.
Here is a video recording:
https://user-images.githubusercontent.com/76614620/103155067-8cf0e580-479c-11eb-8c66-acb6373e6f3a.mp4

Hi @bernd-mack , thanks for your feedback! Could you kindly send your app logs please? Thank you!

app logs.zip

@bernd-mack Thank you, please give us time to investigate this issue.

I'm having the same issues. My app logs are attached.
Woodrow1997_app logs.log
Thx.

I'm having the same issues. My app logs are attached.
Woodrow1997_app logs.log
Thx.

Hi @bernd-mack @Woodrow1997 , the team is still investigating this. I think someone from the community manage to find a temporary solution: type 1 > click MAX, function should work from there.

Hi @bernd-mack @Woodrow1997 , the team is still investigating this. I think someone from the community manage to find a temporary solution: type 1 > click MAX, function should work from there.

Hi @bernd-mack @Woodrow1997 , update v2.1.7 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, this build may not consist of the [MAX] button issue, but rest assured it's pending to be fixed. Thank you for your patience.

Hi @bernd-mack @Woodrow1997 , update v2.1.7 is out https://defichain.com/downloads/.
Do give a thumbs up to this comment if your issue has been resolved, this build may not consist of the [MAX] button issue, but rest assured it's pending to be fixed. Thank you for your patience.

2.1.12 -> works fine

2.1.12 -> works fine


⚠ ClamAV has degraded performance

In 8e194cd, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 206 ms

Resolved: ClamAV performance has improved in 43b24d0 after 6 minutes.


Provide additional flexibility for assume_role_policy

I was frustrated to find that there's not a way to achieve this type of trust policy:
{
  "Version": "2012-10-17",
  "Statement": [
    {
      "Sid": "",
      "Effect": "Allow",
      "Principal": {
        "Service": "lambda.amazonaws.com"
      },
      "Action": "sts:AssumeRole"
    },
    {
      "Effect": "Allow",
      "Principal": {
        "AWS": "arn:aws:iam::ACCOUNT_NUM:root"
      },
      "Action": "sts:AssumeRole",
      "Condition": {
        "StringEquals": {
          "sts:ExternalId": "SomeExternalId"
        }
      }
    }
  ]
}

We can already add additional principals as trusted entities to the assume_role policy document. It would be great if we could also add additional statement blocks to the assume_role policy doc.

This is a good point. There are multiple ways users can build the policies (even assume_role policies), so we probably need to implement it in a way similar to this one which will be in addition to the existing statement block in assume_role policy document:
https://github.com/terraform-aws-modules/terraform-aws-lambda/blob/8556dbc7ea2fd44c8f05401a2c4e71bfbe708f19/iam.tf#L302-L338
PR is welcome.


Build warning on 2.3.0

ld: warning: directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks'

Is anyone else getting a similar warning after upgrading to Xcode 7? Here's my warning:
directory not found for option '-F/Applications/Xcode.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/SDKs/iPhoneSimulator9.0.sdk/Developer/Library/Frameworks'

It looks to be coming from the FRAMEWORK_SEARCH_PATHS set by Kiwi.
I'm using Kiwi 2.4.0.