Integrate inputAccessoryView capabilities on iOS/iPadOS/macOS/tvOS

Use case
On iOS/iPadOS/macOS/tvOS, it is possible to make use of the inputAccessoryView property of UIResponder (https://developer.apple.com/documentation/uikit/uiresponder/1621119-inputaccessoryview) to attach a custom view on top of the OS keyboard.
This is the way to correctly attach an element natively on top of the keyboard and produce a native look&feel.
Proposal
Since the framework itself is providing the TextField and TextFormField widgets, which will trigger the keyboard to appear if focused, the implementation of the native component should include the property inputAccessoryView.

Hi @Kounex
I see there are some discussions about this: https://github.com/flutter/flutter/issues/18439#issuecomment-475917029, https://github.com/flutter/flutter/issues/22854#issuecomment-444548082, https://github.com/flutter/flutter/issues/12220.
And the given solution is using keyboard_actions which not only works on iOS but also works on Android as well.
Closing the issue from here since it can be solved by using a package instead. Thanks!

The mentioned package is not making use of a native implementation which in result is not producing a native look&feel.
My goal of this issue is to raise awareness that it is possible to implement it natively which to my knowledge is up to the framework since it has to be coupled with the implementation of 'TextField' / 'TextFormField'

Re-opening and labeling the issue for more insights.

cc @LongCatIsLooong from triage.

The mentioned package is not making use of a native implementation which in result is not producing a native look&feel.

What UI do you plan to add to the keyboard top bar region? The package looks pretty native to me to display buttons.

Hi @Kounex I see there are some discussions about this: #18439 (comment), #22854 (comment), #12220.
And the given solution is using keyboard_actions which not only works on iOS but also works on Android as well.
Closing the issue from here since it can be solved by using a package instead. Thanks!

@huycozy The keyboard_actions package doesn’t work well with complex forms and it’s API adds some constraints on how we structure our widget tree and where we define our focus nodes. Plus, it uses Material style widgets for the "Previous", "Next", and "Done" buttons, which look a little bit strange and inconsistent (ugly) in cupertino apps.

and inputView please


Invalid configuration: either “log_data_enabled” or “profiling_data_enabled” has to be true

Hi
I would like to report a problem. It's related to #444 I think . I did not have that problem in version 0.48.0 of the Helm chart.
In 0.51.0 it now complains with this error:
main.go:136: application run finished with error: failed to get config: invalid configuration: exporter “splunk_hec/o11y” has invalid configuration: either “log_data_enabled” or “profiling_data_enabled” has to be true

I can confirm that both log and profiling is disabled in my case, but why does any has to be enabled. I only want to have metrics and traces to be sent to o11y because of data governance restrictions.
I would like to see that no errors are raised when both log and profiling are disabled. Would that be possible?
Thank you

Thanks for your report @aquam8. The validation error was introduced in https://github.com/open-telemetry/opentelemetry-collector-contrib/commit/6e1dcf6c37cd68d52a96523aa463f1ed0760358e and I think the changes in #444 may expose that we could be using the wrong helper value for determining whether to enable the exporter for the agent and cluster receiver configurations. However, on first inspection I think I'm seeing this path as possible when the deprecated root --set logsEnabled=true and the newer conflicting --set splunkObservability.logsEnabled=false values are set. Using splunkObservability.logsEnabled=false,splunkPlatform.logsEnabled=true should be the desired config.
Are you able to share the values you're using and the container type that's throwing the validation error?

Hi @rmfitzpatrick
I am indeed using the values you listed splunkObservability.logsEnabled=false, splunkPlatform.logsEnabled=true.
See my Helm values:
autodetect:
  prometheus: false
clusterName: XXX
clusterReceiver:
  k8sEventsEnabled: true
distro: eks
gateway:
  enabled: false
logsEngine: otel
provider: aws
splunkObservability:
  accessToken: XXX
  logsEnabled: false
  metricsEnabled: true
  profilingEnabled: true
  realm: us1
  tracesEnabled: true
splunkPlatform:
  endpoint: XXX
  index: XXX
  logsEnabled: true
  metricsEnabled: false
  token: XXX

The error comes  from splunk-otel/splunk-otel-collector-chart-k8s-cluster-receiver deploy/pod:
2022/06/07 05:41:59 main.go:269: Set config to /conf/relay.yaml
2022/06/07 05:41:59 main.go:352: Set ballast to 165 MiB
2022/06/07 05:41:59 main.go:366: Set memory limit to 450 MiB
Error: failed to get config: invalid configuration: exporter "splunk_hec/o11y" has invalid configuration: either "log_data_enabled" or "profiling_data_enabled" has to be true
2022/06/07 05:42:00 main.go:136: application run finished with error: failed to get config: invalid configuration: exporter "splunk_hec/o11y" has invalid configuration: either "log_data_enabled" or "profiling_data_enabled" has to be true
Stream closed EOF for splunk-otel/splunk-otel-collector-chart-k8s-cluster-receiver-5bc754fc4tp8kk (otel-collector)

The splunk-otel/splunk-otel-collector-chart-agent daemonset starts okay.
Changing splunkObservability.logsEnabled: true fixes the problem - but it's not possible for me to enable for geolocation constraints at the moment.
Thank you!

@aquam8 this should be resolved in https://github.com/signalfx/splunk-otel-collector-chart/releases/tag/splunk-otel-collector-0.53.2. Thanks again for your report and patience.


Update tests for Vertica 12.0.2

Workflows need to be updated for Vertica 12.0.2 to properly test the new addition of Parquet export for complex types.
Related to #513.

Closed by #526.


Add open-cluster-management-policies namespace to the managed and hub cluster

Add open-cluster-management-policies namespace to the managed and hub cluster
After https://github.com/stolostron/governance-policy-framework-addon/pull/516 merged, will add test cases.
Ref: https://issues.redhat.com/browse/ACM-13609

/cc @mprahl

/hold

Closing this one since it's covered in #684


Python code is not highlighted

VS Code Version:  1.83.1
OS Version: Windows10 21H2 19044.3086

版本: 1.83.1 (user setup)
提交: f1b07bd25dfad64b0167beb15359ae573aecd2cc
日期: 2023-10-10T23:48:05.904Z
Electron: 25.8.4
ElectronBuildId: 24154031
Chromium: 114.0.5735.289
Node.js: 18.15.0
V8: <IP_ADDRESS>-electron.0
OS: Windows_NT x64 10.0.19044
After updating the latest version of VSCODE, the code color part of Python is not highlighted, and trying to install plugins and modify settings has no effect!

Solved, download the latest Pylance and you're good to go. Download https://marketplace.visualstudio.com/items?itemName=ms-python.vscode-pylance Install the plugin via VSIX


Check STunnel for redis-beznchmark

https://learn.microsoft.com/fr-fr/azure/azure-cache-for-redis/cache-how-to-redis-cli-tool#enable-access-for-redis-cliexe
Enable TLS 1.2 and remove connection from non-TLS port

Might be better to add docker-in-docker and run redis-benchmark from a container image (to add TLS) rather than having a STunnel


Party orders are not being affiliated to the party

Expected behavior
When placing a party order on Big C, the order should be affiliated to the party.
Actual behavior
I've placed two new party orders today, and the party affiliation is NULL. See screenshots below:

both of the above orders should have been affiliated to this party:

Steps to reproduce behavior
Search for a party, shop and checkout.
View SQL table.
FROM [BigCommerce].[dbo].[OrderAffiliation]

With an initial investigation, I found that after selecting a party, it redirects me to the homepage and changes the party ID value to undefined. Created a ticket for this: TST-165

8-14 SH - Placed new order this morning and it is affiliated to the party!


Bump mdbook version for contrib guide.

Just bringing in a few small fixes.

r? @alexcrichton
(rust-highfive has picked a reviewer for you, use r? to override)

@bors: r+

:pushpin: Commit ad328f44c651522c6e97e376b6c49c8d8a683402 has been approved by alexcrichton

:hourglass: Testing commit ad328f44c651522c6e97e376b6c49c8d8a683402 with merge b1f1c08f47e66d10837d7c9134590f3472cf257e...

:broken_heart: Test failed - checks-actions

@bors r=alexcrichton

:bulb: This pull request was already approved, no need to approve it again.

This pull request previously failed. You should add more commits to fix the bug, or use retry to trigger a build again.

:pushpin: Commit ad328f44c651522c6e97e376b6c49c8d8a683402 has been approved by alexcrichton

:hourglass: Testing commit ad328f44c651522c6e97e376b6c49c8d8a683402 with merge b65a495aa6e022ed24db78a93b8262a65700385b...

:sunny: Test successful - checks-actions
Approved by: alexcrichton
Pushing b65a495aa6e022ed24db78a93b8262a65700385b to master...


add native support for Gadfly plots

Add native Gadfly plot support.
Includes a new usage example and docstrings.

Merging this. There is an unfortunate annoying print to stdout when the plots are displayed, but this is a Gadfly/Compose issue (see https://github.com/GiovineItalia/Gadfly.jl/issues/1621 and https://github.com/GiovineItalia/Compose.jl/issues/440)


Cannot config or create local bridge

Prerequisites

[X] Can you reproduce?
[X] Are you running the latest version of SoftEtherVPN?

SoftEther version: 4.39 Build 9772
Component: Server
Operating system: Linux
Architecture: aarch64
Description
Cannot create or config local bridge. Working normal with virtual NAT but it consume too much CPU
Expected behavior:

Can config or create local bridge.

Actual behavior:

When using CLI with BridgeCreate command: (error 84) Local Bridge cannot be used by the destination VPN Server. Refer to online help or other documentation for the setting method when using Local Bridge on the VPN Server you are using.
When using VPN Server Manger : Local Bridge Setting button was faded out.

When using command BridgeDeviceList, it's print out an empty list.

Steps to reproduce
- WITH CLI

Login into server with admin privilege
Choose Hub to work with
Use BridgeCreate command to create local bridge and then I got error 84

Did you run vpnserver as root?

Did you run vpnserver as root?

Thank you, work like a charm now.


can you recommend the best traineddata for numbers and latin letters

I'm using tesseract for reading mrz codes and sometimes it gives me incorrect symbols eg. instead of "I" it gives me "1" or instead of "5" it gives "S"

Which version of tesseract and traineddata are you using?

I'm using tess2 and i want to select which traindata will fit bettter cause i need to read from MRZ passport  code, and it has such symbols '<,>', numbers and alpha letters
I see some mistakes while reading <,> and also while reading alpha letters

You may get better response to such questions on the tesseract-ocr forum.
Or open an issue on for tesseract.
You can also search for mrz.traineddata, it won't be in official repo but user contribution

See https://github.com/tesseract-ocr/tesseract/wiki/AddOns


Is peer info stored along configs?

Is there any connection between user config files and any of their information like name or contact info? That is a very important functionality for monitoring users and contacting them if needed

Currenty only keys and ip address in network for peer are stored, but in feature I will add fields related to contact info. Thank you for your question, I appreciate any feedback. I will mark whis issue as enhancement to implement it later

I implemented "info" field for server.

You should add info fields for each peer in your JSON config (if you have it)
now you must use /api/manage/new_peer/ with string to add information to the new peer.
Currently you can only view information, but can't query peers by given information


health: Add ability to restrict listener address

This commit introduces a new cilium-agent CLI option, --health-serve-addr and a corresponding environment variable CILIUM_HEALTH_SERVE_ADDR, to allow the user to restrict the address on which the cilium-health connectivity check responder listens on.
The listener address can be specified in the common IP:Port format. The IP part should always select an interfaces which is reachable from all other nodes. By default, all interfaces are bound. For the endpoint connectivity responder running inside the cluster network, only the Port portion is used.
This commit also removes unused code in the health package which was intended to support listening on multiple ports. That feature however was never completely implemented, therefore, the corresponding code is removed by this commit in order to support dynamic port selection.
Fixes: #8473

This change is

test-me-please

Coverage decreased (-0.03%) to 44.469% when pulling 19eafdd71d31de58abf5d651965dbe9497d6b655 on pr/gandro/restrict-health-serve-addr into 0091cd685ab1927801425e92b509231133df7174 on master.


is it possible to have specific values

[x] I have searched existing issues
[x] I am using the latest latest multi slider version

I'd like to keep scrolling positions in specific positions.
For instance, if I have min={1} and max={3}, I'd like to divide the slider in 3 positions to keep the position indicator, if the user stop scrolling in another position in slider, it should take the indicator to one of the 3 positions
Steps to Reproduce

Create a simple slider where min={1} and max={3}
Expected Behavior

it should only allow indicators in 3 fixed positions
Actual Behavior

it accept more positions on slider for the same value

Try snapped={true}

it works tks, I've sent a PR to improve the docs


See a sidebar list of cafes near the map

As an unregistered user I want to see a sidebar list of cafes near the map, so that I can view them outside of the map.
Mockup:

Acceptance Criteria:

WHEN Unregistered user accesses the website, THEN on the left side of the window he/she can see the list of test cafes.

Sidebar list of cafes include names of test cafes and their address.

List cafes should be sorted by name of cafe.

Test cafes, which are on the list in sidebar should be visible on the map in parallel.

Assumptions and Constraints:
This user story is related to user story #20

This story was joined with user story #20

Not relevant.


addHTTPHeadersTrackingFor not working when using retrofit

Summary
I'm using guide for collect header api.
I used addHeader to Interceptor request -> not working
I used addHeader by interface @Header of retrofit -> working
Details
I have implemented them as follows:

common:

    @Provides
    @Singleton
    @BaseSourceApi("Main")
    @Inject
    fun provideOkHttpClient(
        @ApplicationContext context: Context,
        @BaseSourceApi("Main") headersInterceptor: Interceptor,
    ): OkHttpClient {
        val cache = Cache(File(context.cacheDir, "http-cache"), CACHE_SIZE)
        val headers = mutableListOf<String>()
        headers.add("header1-test-app")
        headers.add("header2-test-app")
        NewRelic.addHTTPHeadersTrackingFor(headers)
        return OkHttpClient.Builder()
            .addInterceptor(headersInterceptor)
            .cache(cache)
            .connectTimeout(TIME_OUT, TimeUnit.SECONDS)
            .readTimeout(TIME_OUT, TimeUnit.SECONDS)
            .build()
    }

For case addHeader to Interceptor request (not working):

    @Provides
    @Singleton
    @BaseSourceApi("Main")
    fun provideHeadersInterceptor(): Interceptor {
        return Interceptor { chain ->
            val initialRequest = chain.request()
            val builder = initialRequest.newBuilder()
                .addHeader("header1-test-app", "Android developer")
                .addHeader("header2-test-app", "IOS developer")
            val response = chain.proceed(builder.build())
            return@Interceptor response
        }
    }

addHeader by interface @Header of retrofit (working):

@GET("path")
    suspend fun requestAPi(
        @Header("header1-test-app") header1: String = "Android developer",
        @Header("header2-test-app") header2: String = "IOS developer",
    ): BaseResponse<String?>

Query data: SELECT * FROM MobileRequest WHERE uuid = '$my_uuid' SINCE 1 hour ago

Expect
expect collect as attached photo
Someone please explain to me why case addHeader to Interceptor request  doesn't working.
Thanks a lot

@svn-nguyen-van-thanh-d  can you share example app ,as we are unable to reproduce this on our side?

Hi!
I have the same issue here, do you have any updates ?

I cannot share the code because it’s proprietary and belongs to my company. However, the issue I am facing is very similar to this one. I have an interceptor that I add to the OkHttpClient builder.
class InterceptorExample() : Interceptor {
    override fun intercept(chain: Interceptor.Chain): Response {
        val request = chain.request()
        val requestBuilder = request.newBuilder()
        requestBuilder.addheader("Example", "ExampleValue")

        return chain.proceed(requestBuilder.build())
    }
}

Usage:
val builder = okHttpClient.newBuilder()
    .addInterceptor(InterceptorExample)
    .build()

When I try to add the header in New Relic using:
NewRelic.addHTTPHeadersTrackingFor(listof("Example"))
It is not sending these headers to the MobileRequest table.
However, when I use Retrofit's @Header, it works as expected. In my use case, it is not viable to use @Header because we have multiple scenarios and requests.


Couldn't see a typescript demo - I've added one at this sandbox. Feel free to share on demo

Code link:
https://codesandbox.io/s/react-image-crop-demo-with-react-hooks-forked-nec5z?file=/src/App.tsx

Thanks for the effort! I believe you need to fix the "crop" type to Partial:
const [crop, setCrop] = useState<Partial<Crop>>({


mesh calculates layer [aggregated] hash too soon

Description

mesh tries to calculate layer hash and aggregated layer hash too soon. when we validate a layer N, we only know block validity for layer N-1.
Expected Behavior

only try to persist a layer's hash/aggregated hash when the block validity is determined.

duplicate of #2695


Missing description in opensearch chart readme

Describe the bug
There is a parameter called lifecycle: in the values.yaml of the OpenSearch Helm chart, but there is only description for opensearchLifecycle: in the README.md
To Reproduce
Steps to reproduce the behavior:

Go to charts/opensearch/README.md
Search for lifecycle

Expected behavior
Explanation of paramater.
Chart Name
opensearch

@peterzhuamazon   please assign to me

@prudhvigodithi can I work on this?

Thanks to both @opencmit2 and @premkirank, just checking back @opencmit2 you still working on this ?

@A-I-Dev what do I write in the description for lifecycle: parameter. This doesn't look like a generic parameter.


flux_bootstrap_git cannot support >1 GitRepository

I did a deep dive into migrating from the old way of deploying flux to a GKE cluster to the new flux_bootstrap_git resource today and was unable to complete the migration due to two main issues with its current implementation:
1 - flux_bootstrapt_git cannot be used to deploy >1 GitRepository into a single cluster, within a single terraform workspace (directory).

For some of our GKE clusters, we deploy 4 GitRepositorys. With the old TF implementation, I just added some minor logic to conditionally run the install portion of the flux implementation - that way I could install flux components once and only once. With this new setup - there is no way to conditionally install the flux core components (CRDs).  I attempted to pass an empty array to the components parameter - but that resulted in the following error:

resource "flux_bootstrap_git" "repo_2" {
 path = "path/to/cluster/config"
 components = []
}

Error: Invalid Attribute Value
with flux_bootstrap_git.repo_2
on main.tf line 35, in resource "flux_bootstrap_git" "repo_2":
  components = []
Attribute components set must contain at least 2 elements, got: 0

Error: Missing Required Set Contents
with flux_bootstrap_git.repo_2
on main.tf line 35, in resource "flux_bootstrap_git" "repo_2":
  components = []
Set has to contain the items [source-controller kustomize-controller]

2 - there is no parameter in the flux_bootstrap_resource that allows you to override the name of the base GitRepository and Kustomization. The default (and unchangeable) value for these resources is flux-system.

This is equally relevant in allowing a user to implement >1 GitRepository in a single cluster because the GitRepository and Kustomization name cannot be changed, and therefore would conflict with each other.

I would venture to guess that at least some of fluxcd users are running more than a single GitRepository in their clusters, so I think that both of these configuration options would be relevant and worthwhile to implement.

Hello, I am facing the second issue as well. Could we have some updates on this, or at least a workaround ?

I would venture to guess that at least some of fluxcd users are running more than a single GitRepository in their clusters, so I think that both of these configuration options would be relevant and worthwhile to implement.

I expect users to create extra GitRepositories and Kustomizations directly in the bootstrap repo instead of applying them directly on the cluster with Terraform. Using TF for this breaks the GitOps promise, as any update to these objects need cluster access instead of doing them directly in the bootstrap repo. Anyway, if you really want to do this, please see #480

Thank you for opening this PR, which solves the first issue and could be used as a workaround for the second one, too. However, would it be possible to open another PR to enable overriding the name of the base GitRepository and Kustomization in flux_bootstrap_resource ? I feel like this would be a lot easier to use in case of using one single repo, but that is not named 'flux-system'.

However, would it be possible to open another PR to enable overriding the name of the base GitRepository and Kustomization in flux_bootstrap_resource ?

I'm not for allowing this, the Terraform provider must subscribe to Flux bootstrap conventions as implemented in the CLI.


Exercise 3 loaderId

Hello.
For exercise 3 level 3, we are expected to create a new service base on expired service (if there are expired services). However, there is no getter method to get LoaderId.
Am I allowed to create additional help methods?
If no, then can I get the LoaderId?

i feel that getting loaderId in this context is fine because it does make sense for a service to know the Id of the loader carrying out the service

Then it’s fine, up to you :)
Get Outlook for iOShttps://aka.ms/o0ukef

From: Leow Wei Kai @.>
Sent: Friday, February 9, 2024 11:23:11 PM
To: nus-cs2030/2324-s2 @.>
Cc: Zhang Hao Dong @.>; Comment @.>
Subject: Re: [nus-cs2030/2324-s2] Exercise 3 loaderId (Issue #90)
i feel that getting loaderId in this context is fine because it does make sense for a service to know the Id of the loader carrying out the service
—
Reply to this email directly, view it on GitHubhttps://github.com/nus-cs2030/2324-s2/issues/90#issuecomment-1936121304, or unsubscribehttps://github.com/notifications/unsubscribe-auth/BBRJ5GWCXIAE37PBPAOUE23YSY5N7AVCNFSM6AAAAABC7HTE4WVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMZWGEZDCMZQGQ.
You are receiving this because you commented.Message ID: @.***>


[BUG] flake due to dependency on download

This is an integration test that's flaky in CI and for first-time users.
Steps to reproduce:
# clear downloads
rm -rf ~/.wash/downloads
cargo test --package wadm-cli --test command_worker_integration -- test_annotation_stop --exact --show-output

The error, if the test flakes, will be:
 ---- test_annotation_stop stdout ----
thread 'test_annotation_stop' panicked at tests/helpers.rs:120:37:
Unable to run detached wash up: Os { code: 2, kind: NotFound, message: "No such file or directory" }
note: run with `RUST_BACKTRACE=1` environment variable to display a backtrace
Error stopping wasmcloud host: No such file or directory (os error 2)

This is from the host download taking time to download.
Where possible we should avoid downloads including in integration tests. But if we need to stage a pipeline to run more e2e style tests, then the integration tests should be staged prior to triggering them like with a setup action in CI.

A little more research and I think this might be a good case for a wasmCloud testcontainer.

I'd be happy to take a pass at putting testcontainerizing this one, I've got some experience in working with them in other parts of the wasmcloud project, so it should be pretty manageable to transfer that over to wadm as well


Unable to copy bz2 file verbative to target

The automatic detection of bz2 file and appending of /* breaks the ability to copy a bz2 file as is to target. Or let the target decompress it.
uuu_script_recovery
# arguments for uuu script:

# @_flash_update                  | Update image to run

FBK: ucmd echo "Extract update archive"

FBK: acmd tar -C / -xj 2>&1
FBK: ucp _flash_update t:/
FBK: sync

Called with
 .\uuu.exe -v -b .\uuu_script_recovery updatearchive.tar.bz2

Fail since the built in command mangles the argument by rewriting it as updatearchive.tar.bz2/*.
The automatic decompression also fails in my case, maybe due to sub directories in the archive. But i only end up with a file actually named "*" on the target.

auto replace only happen at cmd line with -b option.  If you put filename in script directly, it should work.

Yes, but those scripts don't support parameters.

we can add command option to disable such replacement.  What's good name for such option?

Why not just assume if the zip file have a trailing /* issue decompression. If not, assume verbatime copy.

At beginning, uuu work as what's you said. but I found
The highest frequency user case is
uuu -b emmc_all  rootfs.bz2
Most time,  rootfs.bz2 is http link
uuu -b emmc_all http://xxxxxxx, which is quite long.  It will not convenience to append a * after file.
most people use uboot FB to write whole rootfs image instead extract tar file.  The efficiency of write many small file is quite low. Actually decompress bz2 is quite slow, especially running at target boards.

And I think if you remove -xj in tar, it should work.
Host will extract bz2 file to tar file, just transfer speed become little bit longer.
Host will use all Core to decompress bz2 parallels.  although increase transfer time, reduce target decompress time (only one core, default),

Might work. But i find the "automagic" behaviours very confusing.

The user also complain /* is confused and not common sense.

but sometimes, they also used uncompressed version's rootfs.


Adding examples to the API definition

A lot of our users have been using our tests as examples, it works but it is not the ideal solution because the tests are not curated to be used as examples. I'll be adding examples to the DAG API since they are being requested, but we should add to all the API definitions one or two examples as it makes sense.

This has been shipped


nipapd: improve smart_search_vrf search

When NIPAP page rendering was slow we found that removing this sleep
wastly improved performance. It was introduced with commit 1da02003
(www: Improvements of VRF list smart search).

LGTM, thanks!


Pull Request Reminder: 22/03/2016|Features/recurring tests

please review

ok, go ahead with the merge


Schedule page

Added schedule.md, removed schedule info from index.
Plz CHECK: the title tags in index and schedule files

Thank you!


feat: add cl_screenfade.gnut with fix

All this PR does is add cl_screenfade.gnut from basegame to Northstar. It includes a fix at lines 250 and 252. The reason for this is to fix a bug affecting Infection and possibly other gamemodes that causes a client crash during final killcam. The bug in question along with a detailed writeup can be found here https://github.com/Bobbyperson/InfectionRework/issues/7 (this issue does affect base infection).

Code review:
Since this is straight from Titanfall, the only code that really needs reviewing is at lines 250 and 252. You will find that a similar check is done a few lines up.
Testing:
Testing the fix in question is quite difficult, as the bug is fairly random and hard to produce. However, because this same exact check is done just a few lines earlier and seems to be unintentionally missing it shouldn't require any testing.

Added the corresponding vanilla file to main and updated this PR so it only reflects the actual change.


Update API schema based on new API changes

Hey thanks for catching the things I missed, and for fixing those! 😅


Scanner now needs to account for V2.12.2

Apache log4j development just released a new patch for this issue.
https://logging.apache.org/log4j/log4j-2.12.1/
News
Log4j 2.12.2 is now available for production. Log4j 2.12.2 is the latest release of Log4j and contains changes addressing only CVE-2021-44228 and CVE-2021-45046 for users still using Java 7
--
Please add this to the scanner signatures.

@MrPippin66 Would you test v1.6.3? Thank you for suggestion!

I  can, but we've not yet deployed 2.12.2, since priority is mitigation. May be able to check this, Monday. I'd assume others can check this.

Reverted. https://github.com/logpresso/CVE-2021-44228-Scanner/commit/c415d8aff46e4dde45f71dc49e93e67e4367b302


too much bug.....

You should really provide a description

@pheromone Do you know any better?

@d41z  wo use teaset: https://github.com/rilyu/teaset ,no bug.

I replace it too ,thanks @pheromone


The step 7 in creation private endpoint part will not work if the private link service is in a different tenant subscription

[Enter feedback here]
The guidance is not 100% right on below part:
In the step 7 of creation of private endpoint, it is telling us to use "connect to an Azure resource in my directory" and choose the resource type as private link service. But usually, the user creating the private endpoint is not in the same subscription of the owner of the private link service. The private link service is not in the user's sub. So it will not show when choosing this.
Instead, we need to get the alias of the private link service and choose "connect to an Azure resource by resource ID or alias." to make it work.

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

ID: 1895941d-fa70-08ea-53c4-c49a65300625
Version Independent ID: c41d9420-3dc5-5c49-8135-d208ee13bc14
Content: Quickstart - Create a Private Link service by using the Azure portal
Content Source: articles/private-link/create-private-link-service-portal.md
Service: private-link
GitHub Login: @asudbring
Microsoft Alias: allensu

@AgnesLi666, Thanks for the feedback! We are taking a look into this and will get back to you soon.

@AgnesLi666 , the doc provides the steps assuming the resources are in the same subscription. But you are correct on the part that - it doesn't clarify the steps for different subscription. Hence, we have assigned this to the content owner/author for review.
@asudbring , could you please add the steps for different subscription as mentioned in the step 8 (b) of this article into step 7 on this doc under Create private endpoint?

Thanks for your dedication to our documentation. Unfortunately, at this time we have been unable to review your issue in a timely manner and we sincerely apologize for the delayed response. The requested updates have not been made since the creation of this issue, and the timeline for resolution may vary based on resourcing, so we've created an internal work item to incorporate your suggestions. We are closing this issue for now, but feel free to comment here as necessary. #please-close


Installer Source Code

Hi, would you be willing to share the installer source code?
The installer looks really great and I have not been able to find any polished and complete working installers written with WixSharp using embedded WPF.
FYI, I found your project via an issue you posted on the WixSharp repo: https://github.com/oleg-shilo/wixsharp/issues/99

Hi, I can teach you how to create something similar.
It's a bit of a hack, you just need a XAML host inside a normal WinForms panel.
Besides that, you can use styles found in this repository. :)

Hi, thanks for the offer and tip. I moved forward with a WinForms solution that looks pretty decent.

HI Nicke, I am interested in learning on how to create installer like yours.
I am searching for information on how to host XAML inside WinForms panel, but I could not find it.
Could you share some information?
Thanks

Just search for "Host WPF elementin WinForms".
There's a built-in control that allows you to load your own WPF UserControl.


feat: Add Bech32 and Bech32m Bitcoin Address Validation in Crypto Recognizer and expand tests

Change Description

Extended the CryptoRecognizer with the capability to validate Bech32 and Bech32m Bitcoin addresses
Added new test cases have been added to cover Bech32 and Bech32m address validation

Issue reference
This PR fixes issue #1306
Checklist

[X] I have reviewed the contribution guidelines
[X] I have signed the CLA (if required)
[X] My code includes unit tests
[X] All unit tests and lint checks pass locally
[X] My PR contains documentation updates / additions if required

/azp run

/azp run

Thanks!

@omri374 thanks for merging my PR! I'm considering whether there might be interest in expanding the CryptoRecognizer to support addresses from cryptocurrencies other than Bitcoin. Would this be a valuable addition?

Absolutely

Cool! I'll look into it soon :)


Allow listing of permissions with specific context

The /lp user|group <user|group> permission info command currently doesn't have an option to only list permissions, that have a specific context set (e.g. server context).
That's why I suggest adding an optional context argument to the command, to filter the permissions.
Examples:
/lp group default permission info server=survival
/lp group default permission info world=world_the_end

Duplicate of #819


live test guard

Properly guard for live tests , no need to init tear down test proxy.
The internal check for IsAlive for the test proxy then fails which gets the test to fail .,
Pull Request Checklist
Please leverage this checklist as a reminder to address commonly occurring feedback when submitting a pull request to make sure your PR can be reviewed quickly:
See the detailed list in the contributing guide.

[x] C++ Guidelines
[x] Doxygen docs
[x] Unit tests
[x] No unwanted commits/changes
[x] Descriptive title/description

[x] PR is single purpose
[x] Related issue listed

[x] Comments in source
[x] No typos
[x] Update changelog
[x] Not work-in-progress
[x] External references or docs updated
[x] Self review of PR done
[x] Any breaking changes?

/azp run cpp - core

/azp run cpp - storage


Nice Timing

Describe your bug here.
I got this error and its pops out in nice timing

Command Prompt/Terminal logs (if existing)
No

Are you modding a build from source or with Lua?
Lua
What is your build target?
Windows
Did you edit anything in this build? If so, mention or summarize your changes.
No

i am not modding

seems like something in the shader is trying to pass a var from vec4 to something that takes a vec2

yea, now i am stuck in this endless loop

I've also been unable to reproduce this issue (I've literally been to this title screen a million times now), so what we can do is either send over a project that'll produce some GLSL info that I need you to send back over, or you can compile the engine in debug mode so I can see some GLSL info

did i fucked up something

one sec

I think I fixed it in 9d3f08a09fc155924ead88fbb3e6e477a5566248

try compiling now

cant even remove this folder

i think this is fucked up

let me restart the PC

restarted and removed assets and recloned folder

did i fucked up something

That happened to me too. I had to download everything and manually restore it myself.

I think you need just to fix it not checking

shader is just breaks your game

It’s not shaders. It’s flixel.

I mean in this engine not flixel


Modify terraform drift detection's diff detail

What this PR does / why we need it:

Fixed implementation of stack was reversed.
Fixed terraformDiffEnd outputting error depending on environment.
Changed diff detail header.

Which issue(s) this PR fixes:
Fixes #4167
Does this PR introduce a user-facing change?:
NONE

100% better, nice work 🙌


Add Search feature : Vanilla JavaScript

Add Search bar and functionality , you can use string matching algo or any technique of your choice
Make the UI clean and minimal you can use prebuilt components too for the UI .
Send SS for both mobile & desktop view before PR for review

@harshvardhansb I would like to work on this issue. Can you please assign it to me?

Hi @harshvardhansb i would like to contribute to this can you please assign it to me

@harshvardhansb Well I have implemented the search technique here is the SS

@harshvardhansb I have added the search technique do let me know for any changes.
SS are below

howz the search bar ?
you can PR

i want to work on this please please assign to me also

so we just need to add the search component in the page? as no api is currently linked in the javascript file to link with the search cimponent.


targz support

This would make Pull Tool usable for Cloud9.

Classifying this as 2floc under the assumption that interfacing with an existing tgz library will be roughly as simple as interfacing with JSZip.

ugh, I just looked at https://github.com/stuartpb/targz.js/blob/master/gzip.js and it looks like the currently available code for this is hardcoded around XHR, so I'm going to need to do a bunch of hacking around it to add something that can take an already-fetched blob, eck eck eck

Luckily, I just found another browser JS TAR library, whose development started in August, that looks significantly more enlightened, so there may be life in this feature yet.

Yeah, I looked into this again, and I can use that uncompression library that JSZip uses to handle the gz side of things, then another untar library to handle the untar bits


nexus series devices use MTP protocol and doesn't work out of the box

Install gvfs

Already available in awesome role. Closing.


[stdlib] Add 256 bits of extra state to Hasher

This is the ugly part of #20185, without any of the ABI cleanups.

@swift-ci please benchmark

Build comment file:
Code size: -O

TEST
OLD
NEW
DELTA
RATIO

Regression

DictionarySwap.o
27430
27894
+1.7%
0.98x

DictTest4Legacy.o
26936
27384
+1.7%
0.98x

DictTest4.o
26046
26430
+1.5%
0.99x

Code size: -Osize

TEST
OLD
NEW
DELTA
RATIO

Regression

DictTest4.o
21199
21535
+1.6%
0.98x

DictTest4Legacy.o
22585
22905
+1.4%
0.99x

Performance: -Onone

TEST
OLD
NEW
DELTA
RATIO

Improvement

Histogram
6844
5753
-15.9%
1.19x

RGBHistogram
24335
21601
-11.2%
1.13x

How to read the data
The tables contain differences in performance which are larger than 8% and differences in code size which are larger than 1%.
If you see any unexpected regressions, you should consider fixing the regressions before you merge the PR.
Noise: Sometimes the performance results (not code size!) contain false alarms. Unexpected regressions which are marked with '(?)' are probably noise. If you see regressions which you cannot explain you can try to run the benchmarks again. If regressions still show up, please consult with the performance team (@eeckstein).

Hardware Overview
  Model Name: Mac Pro
  Model Identifier: MacPro6,1
  Processor Name: 12-Core Intel Xeon E5
  Processor Speed: 2.7 GHz
  Number of Processors: 1
  Total Number of Cores: 12
  L2 Cache (per Core): 256 KB
  L3 Cache: 30 MB
  Memory: 16 GB

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge

@swift-ci please smoke test and merge


all: Update packages (typescript 4.5)

- repo: https://github.com/pre-commit/mirrors-prettier
  rev: "" # Use the sha or tag you want to point at
  hooks:
    - id: prettier

https://prettier.io/docs/en/precommit.html#option-3-pre-commithttpsgithubcompre-commitpre-commit


Update Postgres handling of DAO Coins and NFTs

use TEXT fields to store uint256 values
add FK from dao coin / dao coin transfers to txn hash
catch error in old migration and fix alignment
add PKID to string method so we can easily convert a PKID to a string in order to store the additional royalty maps
store additional royalty maps on posts in pg
store IsBuyNow and BuyNowPriceNanos on NFTs in pg
Fix registration of create dao coin tables migration

good timing i was just trying to figure out why pg_profiles is not being populated

Awesome yeah use "TEXT fields to store uint256" values would solve it

What is the expected eta for this PR? Solves some issues we have and Full Postgres syncing can take some days. Thanks.

It it would be possible to advance this PR we would be grateful.  Earlier hardfork stopped postgres syncing.

V2 was not meant to discontinue postgres support and weve been flagging issues with postgres since 2.0.1 was put out. I think its important due to premature hard fork to quickly address these issues and prioritise this work.


Language server issue on node 14

VSCode uses node 16 internally but we target the language server at node 14.
We have a report on discord that the language server is not starting on node 14:

When I was running node 16, the lsp worked fine. But when I switched to node 14, nomic executable fails to bind itself to neovim's lsp

As a note, node 14 support in the Language server will stop with Hardhat support for node 14, see: https://hardhat.org/hardhat-runner/docs/reference/stability-guarantees#node.js-versions-support
Basically, the language server will stop supporting node 14 from July 2023 - 2 months after it leaves node LTS.

We released our node 14 support with the v0.7.1 release.


DOC: add conda build instructions

Closes #704
Here is what the docs build looks like:

It does. It's a symbolic link. @jcrist suggested this approach to me here https://github.com/dask/dask/pull/6399#discussion_r453210442
Welcome to try it:
$ git clone https://github.com/raybellwaves/dask-ml.git
$ cd dask-ml
$ git checkout doc-contributing
$ # conda remove --name dask-ml-dev --all
$ conda env create -f ci/environment-latest.yaml --name=dask-ml-dev
$ conda activate dask-ml-dev
$ conda list

Thanks, I think I was confused by the diff, thinking that was the contents of the file.


Allocation performance is terrible under JRuby when UUID.state_file = false

Chuck-Remess-Mac-Pro:perf cremes$ ruby uuid_bench.rb
Rehearsal -------------------------------------------------------------------------
class allocation:                      59.914000   0.000000  59.914000 ( 59.914000)
uuid generation:                        0.020000   0.000000   0.020000 (  0.020000)
--------------------------------------------------------------- total: 59.934000sec

                                            user     system      total        real
class allocation:                      59.310000   0.000000  59.310000 ( 59.310000)
uuid generation:                        0.013000   0.000000   0.013000 (  0.013000)
Chuck-Remess-Mac-Pro:perf cremes$ ruby -v
jruby 1.7.0.dev (ruby-1.8.7-p352) (2011-12-19 f404f75) (Java HotSpot(TM) 64-Bit Server VM 1.6.0_29) [darwin-x86_64-java]
Chuck-Remess-Mac-Pro:perf cremes$ rvm system
Chuck-Remess-Mac-Pro:perf cremes$ ruby uuid_bench.rb
Rehearsal -------------------------------------------------------------------------
class allocation:                       0.003916   0.000361   0.004277 (  0.004240)
uuid generation:                        0.005223   0.000498   0.005721 (  0.005720)
---------------------------------------------------------------- total: 0.009998sec

                                            user     system      total        real
class allocation:                       0.003570   0.000199   0.003769 (  0.003759)
uuid generation:                        0.003729   0.000237   0.003966 (  0.003967)
Chuck-Remess-Mac-Pro:perf cremes$ ruby -v
rubinius 2.0.0dev (1.8.7 964a1a2b yyyy-mm-dd JI) [x86_64-apple-darwin10.8.0]

Generated by code:

# Test the performance of creating UUID instances and generating
# UUID values.
#

require 'rubygems'
require 'benchmark'
require 'uuid'
UUID.state_file = false

class Bar1

  def alloc_it
    UUID.new
  end
end # Bar1

class Bar2
  def initialize
    @uuid = UUID.new
  end

  def alloc_it
    @uuid.generate
  end
end

@bar1 = Bar1.new
@bar2 = Bar2.new

Iterations = 100

Benchmark.bmbm("Compare UUID allocation and generation".size) do |x|
  x.report("class allocation:") do
    Iterations.times { @bar1.alloc_it }
  end

  x.report("uuid generation:") do
    Iterations.times { @bar2.alloc_it }
  end

end

When I profile this, all of the time was in systemu which is a dependency for macaddr.

Would you accept a patch that adds a class method (UUID.mac_address) that cached the system's MAC so new instantiations of the class didn't have to query the system interfaces for that (unchanging) information?

Performance has not improved for the case where one UUID object is necessary, and the case where you'll need to create 100 UUID objects still need to be explained.

Performance for the singular case has not worsened either. With the current release version of the uuid gem (2.3.4), it takes approximately 1200 milliseconds for JRuby to allocate a single UUID instance with UUID.state_file=nil. That is entirely due to macaddr and its dependent gem systemu calling out to the system to retrieve the MAC address. Even for a single UUID object, that is ridiculous. My patch solves it.
Anyway, my use-case is as follows.
I have a distributed application comprised of hundreds of classes (it's a very big app). Many of these classes use UUID for a globally unique identifier to identify themselves as they pass messages around the network.
It is not reasonable for me to change method signatures so that a global "parent" object can allocate a singular UUID generator and then pass it around to all objects. Some objects are rather deeply nested in the system, so this would require intermediate objects (that have no use for a UUID generator) to save a reference to pass it along to the children objects.
I suppose I could use a global variable or a constant high in the namespace to hold it.
What do you suggest? My simple fix? Do you suggest that I move to a global or constant to satisfy the restrictions of your gem? Should I just fork it?

Use UUID.generate. It guarantees you won't get duplicate UUIDs.
Avoid generating many UUID objects. You're going to run into all sorts of issues, including duplicate UUIDs.


Sign the nuget packages

As per https://blog.nuget.org/20180522/Introducing-signed-package-submissions.html
Requires purchasing a code signing cert.

Won't be doing this.


Could not start full stack with docker-compose

# docker-compose up -d
      <<< skipped the bulding process>>>
Successfully built fe370d6e4302
Successfully tagged app-search-kb-demo_dataimport:latest
WARNING: Image for service dataimport was built because it did not already exist. To rebuild this image you must use `docker-compose build` or `docker-compose up --build`.
Creating app-search-kb-demo_frontend_1          ... done
Creating app-search-kb-demo_enterprise_search_1 ... done
Creating app-search-kb-demo_dataimport_1        ... done
Creating app-search-kb-demo_elasticsearch_1     ... done

#docker ps
CONTAINER ID        IMAGE                                                         COMMAND                  CREATED             STATUS              PORTS                                        NAMES
ed7d3e276db7        docker.elastic.co/elasticsearch/elasticsearch:7.8.0           "/tini -- /usr/local…"   12 seconds ago      Up 9 seconds        <IP_ADDRESS>:9200->9200/tcp, 9300/tcp             app-search-kb-demo_elasticsearch_1
1c4b5d59df3d        docker.elastic.co/enterprise-search/enterprise-search:7.8.0   "/usr/local/bin/dock…"   12 seconds ago      Up 9 seconds        <IP_ADDRESS>:3002->3002/tcp                       app-search-kb-demo_enterprise_search_1
66cf65712071        app-search-kb-demo_dataimport                                 "docker-entrypoint.s…"   12 seconds ago      Up 9 seconds                                                     app-search-kb-demo_dataimport_1
d65971f92daf        app-search-kb-demo_frontend                                   "docker-entrypoint.s…"   12 seconds ago      Up 9 seconds        <IP_ADDRESS>:5000->5000/tcp

after some time app-search-kb-demo_enterprise_search_1 container is dead:
# docker logs app-search-kb-demo_enterprise_search_1
Found java executable in PATH
Java version: 1.8.0_252

Enterprise Search is starting...

scripting container class loader urls: [file:/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/lib/jruby-stdlib-<IP_ADDRESS>.jar, file:/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/lib/jetty-util.jar, file:/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/lib/jruby-rack-1.1.21.jar, file:/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/lib/jetty-servlets.jar, file:/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/lib/jruby-core-<IP_ADDRESS>-complete.jar, file:/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/lib/jruby-rack-worker_0.14.1.jar]
setting GEM_HOME to /usr/share/enterprise-search/tmp/jruby5654986675178922316extract/gems
... and BUNDLE_GEMFILE to /usr/share/enterprise-search/tmp/jruby5654986675178922316extract/Gemfile
loading resource: /usr/share/enterprise-search/tmp/jruby5654986675178922316extract/./META-INF/rails.rb
invoking /usr/share/enterprise-search/tmp/jruby5654986675178922316extract/./META-INF/rails.rb with: [runner, SharedTogo.start_app_server!]
[2020-10-15T02:03:36.162+00:00][14][2002][app-server][INFO]: Failed to connect to Elasticsearch backend. Make sure it is running.
[2020-10-15T02:03:41.476+00:00][14][2002][app-server][INFO]: Successfully connected to Elasticsearch
[2020-10-15T02:03:41.726+00:00][14][2002][app-server][ERROR]:
--------------------------------------------------------------------------------

Elasticsearch API key service must be enabled. It is enabled automatically when you configure Elasticsearch to use TLS on the HTTP interface.
Alternatively, you can explicitly enable the setting within Elasticsearch by opening config/elasticsearch.yml and adding:

xpack.security.authc.api_key.enabled: true

--------------------------------------------------------------------------------

ERROR: org.jruby.exceptions.SystemExit: (SystemExit) exit
org.jruby.exceptions.SystemExit: (SystemExit) exit
	at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:751)
	at org.jruby.RubyKernel.exit(org/jruby/RubyKernel.java:714)
	at RUBY.fatal_error(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/shared_togo/lib/shared_togo.class:1114)
	at RUBY.check_elasticsearch_features!(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/shared_togo/lib/shared_togo.class:272)
	at RUBY.configure!(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/shared_togo/lib/shared_togo.class:259)
	at RUBY.<main>(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/config/application.class:19)
	at org.jruby.RubyKernel.load(org/jruby/RubyKernel.java:1013)
	at RUBY.<main>(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/config/application.rb:1)
	at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
	at RUBY.<main>(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/gems/gems/railties-<IP_ADDRESS>/lib/rails/commands/runner.rb:51)
	at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
	at RUBY.require_command!(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/gems/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:123)
	at RUBY.runner(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/gems/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:90)
	at RUBY.run_command!(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/gems/gems/railties-<IP_ADDRESS>/lib/rails/commands/commands_tasks.rb:39)
	at RUBY.<main>(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/gems/gems/railties-<IP_ADDRESS>/lib/rails/commands.rb:17)
	at org.jruby.RubyKernel.require(org/jruby/RubyKernel.java:978)
	at usr.share.enterprise_minus_search.tmp.jruby5654986675178922316extract.$_dot_.META_minus_INF.rails.<main>(/usr/share/enterprise-search/tmp/jruby5654986675178922316extract/./META-INF/rails.rb:7)

I'm getting the same error. Any news on this issue?


min Size ?

Hi,
I'm using your very good library for a mobile application. Except that on some (recent) phones, I have an overflowed RenderFlex (in width).
I tried to put a CalendarDatePicker2 in my own Dialog and also through the showCalendarDatePicker2Dialog method. I have the same result.
I couldn't find any setting or information about this. So I wanted to know if there was a minimum width required, and if there was a way to minimize the size of the columns to fit?

There is no min size required by this package. The size consists of day width and paddings which are fixed.
In the new release, you can now change the day width in the new release https://github.com/theideasaler/calendar_date_picker2/pull/178.
By setting [maxDayWidth] you can adjust the calendar to fit your needs but will need some fine-tuning of different sizes props


Folders created at the root directory of the example folder do not show the theme

I created folders in the root directory where the example files are placed. When I open the folder from the browser, it does not show the theme. It shows missing images on the page. When I copied the theme folder into this new folder, the theme displayed properly.
Is there a straightforward way of solving for this without having to copy the theme folder inside every folder and without symlinks inside each folder?

See issue #62.


feature request: typescript class library project

Project which creates a npm module or just a standalone reference-able .js / .d.ts file which could be added to another NTVS project as a reference together with npm projects, rebuild accordingly and so on. Like the C# does.
Both typescript and plain JS would be awesome, typescript being first.

Could you perhaps provide an example project or explain what this template would look like in a bit more detail? It may also help to understand how it would be different from the existing Console project templates.
Also, there was a PR out at one point for something like this I believe: #951 . Take a look at that PR and see if it would solve this problem. The PR needs a few updates before we would be able to merge it, but it may be a good starting point.
Thanks.

This is tracked here: https://github.com/Microsoft/TypeScript/issues/11


URL and URLFromSelf schemas

Type

[ ] Refactor
[x] Feature
[ ] Bug Fix
[ ] Optimization
[ ] Documentation Update

Description

Related

Related Issue #
Closes #

@gcanti Could you take a look?

I would add short descriptions like:
/**
 * Defines a schema that represents a `URL` object.
 *
 * @category URL constructors
 * @since 3.11.0
 */
// URLFromSelf

/**
 * Defines a schema that attempts to convert a `string` to a `URL` object using
 * the `new URL` constructor.
 *
 * @category URL transformations
 * @since 3.11.0
 */
// URL$ as URL

@gcanti thank you for your review - everything is fixed

Fixed
It seems that the vitest plugin for vscode deceived me

Thanks @KhraksMamtsov


chore: Adds search bar to site

:tada: This PR is included in version 1.10.1 :tada:
The release is available on:

GitHub release
npm package (@latest dist-tag)

Your semantic-release bot :package::rocket:


pileup of redshifts at z~0.9 for tile 11873, expid 199938, 2023-10-07

A second tile from 2023-10-07 (tile 11873, exp 199938) looks to have a band of redshifts at z~0.9 across all petals. Seems a bit suspicious so marking it as unsure.

Let's discuss on the survey-ops call tonight, but I think we'll end up saying that the redshift histogram looks nominal and the sframes look okay so we'll call it good.

@SGontcho , let's mark this as good and close.

Done. Closed.


.NET Summer Hackfest - Signup Here!

Our project is participating in the .NET Foundation's Summer Hackfest.
If you'd like more information about our event, check out our Hackfest Primer.
If you would like to join in, please add a comment on this issue so that we can better keep track of our contributors.  You can also use this issue to request to join our Slack channel.
Thanks for helping to move our cause forward!

I'm interested in contributing! I'd be glad to chat on Slack or via another means to get up to speed and have a way to ask any questions I run into. Thanks!

I would like to contribute. 👍

I would like to contribute!  Would be great to join Slack channel.

I would like to contribute

is there a place where I can see a running instance of this app to understand the functionality

@VenkateshSrini - Please see our live site which updates with master builds - http://allready-d.azurewebsites.net/ - You can find the admin login details which will be seeded in there from the appsettings.json file.

cc @BillWagner for Slack additions

I would like to contribute. Please add me to Slack channel.

I added those whose email addresses are listed in their GitHub profiles.
@Pothulapati  @marigerr @VenkateshSrini @sneh1 Please send me an email at Bill.Wagner  htbox.org and I'll add you to the slack channel

invites sent to all those who emailed me.

I would like to contribute.  I have emailed @BillWagner for access to the slack channel

Hi, I would like to contribute. Please add me to the slack channel.
cheers

hi,
I'd also like to contribute. Please add me to the slack channel.
cheers,
Maulik

@waiholiu @maulikk2000 Can you email me with the email address I should invite to Slack?  I'm bill.wagner  htbox org

Closing as this has finished now.


sip: add tests for headers sticky buffers v2

Ticket #6374
Ticket
If your pull request is related to a Suricata ticket, please provide
the full URL to the ticket here so this pull request can monitor
changes to the ticket status:
Redmine ticket:
https://redmine.openinfosecfoundation.org/issues/6374

Suricata PR: https://github.com/OISF/suricata/pull/10907

Suricata PR: https://github.com/OISF/suricata/pull/11004


DUP-Admin -> FQA page shows incorrect success toaster message

Parent ticket: https://github.com/bcgov/parks-reso-admin/issues/325
Scenario:

Navigate to the DUP Admin on TEST environment: https://d3jkh5unv9de6y.cloudfront.net/dayuse/
Login as a sysAdmin user
Navigate to the FQA page
Add content to the rich text editor and select the option to save.
Check the success toaster message displayed.

Expected:

Should display the toaster message provided in Figma: https://www.figma.com/file/2lQW8InOa0lEiUiMeGmeNC/Day-Use-Pass?type=design&node-id=3655%3A13289&mode=design&t=AAEyjwUKrPkhHGOz-1

Issue:

An incorrect success toaster is displayed.

Tested on TEST: Passed

Verified that this issue has been fixed.


Unable to open it on click of TouchableOpacity

I am not getting any way to open the selector on tapping TouchableOpacity. How to do that?

Sorry for the late reply.
I am not quite sure what you mean, could you please post a code example of this problem? It could then be easier to see what may be the cause.

Closing due to inactivity.  Will re-open if you can supply a code sample that recreates the problem.


Sometimes a kill + relaunch is needed to see all notifications

Happened only once though; no idea what caused it. Refreshing multiple times didn't help.
Safari:

Before:

After:

Ugh. Ya I'm not sure what this is from. It's either Apollo's cache or GitHub caching API responses. I nil out the HTTP cache, so that shouldn't be it, but I'm just not sure... Will keep an eye on it.

Ok here's to blame on issue/PR aggressive caching:
https://github.com/rnystrom/Freetime/commit/9ba1a51704e64fc35576d6a12ba684b5fc5166db
Doesn't explain notifications tho, that's a totally different client+API.

I am seeing this still / again... a lot. Refresh for a bunch of issues, going through all of them and marking them as read. Then when I go to github.com, I see some issues as unread (others than previously marked as read). Need to kill and relaunch the app to see them :/

@BasThomas since you're seeing this so often, kind digging into it a little?

I'll see what I can do! 👍

"Mark all as read" button is still enabled w/out the issues showing up
The issues in question are also not found in the "read" section

mark as read does work

does not resurface them as read until restart

Now that I have badges enabled, I'm noticing this now too. Very frustrating. Not sure if Alamofire is doing something special w/ the etag or what.

Copied the curl request via FLEX when I had a refresh bug (replaced my auth token):
curl -v -X GET 'https://api.github.com/notifications?access_token=123abc&all=true&page=1&participating=false&per_page=100' -H 'User-Agent: Freetime/1.10.0 (com.whoisryannystrom.freetime; build:1897; iOS 11.0.0) Alamofire/4.4.0' -H 'Accept-Language: en-US;q=1.0' -H 'Authorization: Bearer 123abc' -H 'Accept: */*' -H 'Accept-Encoding: gzip;q=1.0, compress;q=0.5' -H 'Cookie:'

Killed the app and restarted. It sent this request:
curl -v -X GET 'https://api.github.com/notifications?access_token=123abc&all=true&page=1&participating=false&per_page=100' -H 'User-Agent: Freetime/1.10.0 (com.whoisryannystrom.freetime; build:1897; iOS 11.0.0) Alamofire/4.4.0' -H 'Accept-Language: en-US;q=1.0' -H 'Authorization: Bearer 123abc' -H 'Accept-Encoding: gzip;q=1.0, compress;q=0.5' -H 'Cookie:'

The only difference is the -H 'Accept: */*'. Could that really be it?

I guess it must be? Very weird. Can we open an issue at GitHub somewhere?

Or it’s some weird caching issue on our side still?

Or it’s some weird caching issue on our side still?

This could totally be the case, tho we're still explicitly niling the cache.
Also hard to repro b/c as soon as I relaunch, the response is fresh. Maybe I can spend some time using my test account to blast notifications and wait until I start seeing stale data on refresh?

At this point, I guess just trying things is a good idea? It’s quite a nasty and impactful bug.

Thinking out loud: I think the “mark as read” is still available if this happens? Or not? If so, maybe we can do some logging / force reload when the amount of notifications in Unread is 0 but the mark all is still available?

@BasThomas the "Mark All" button isEnabled state is driven from the same data that powers the data source, so I don't think that's it. I hate this bug, but its super visible and looks bad. I honestly need to just set aside some time and hammer on it.

Yeah - just confirmed that it’s not working with the mark as read.

Ok this is really weird. The background job says 9 new. I foreground + refresh and it adds a new notification but limits it to 6. So I'm receiving new notifications, even tho they are technically stale. Attaching debugger and seeing what's up.

Yesssssssss

Oh noes - I have a notification on GH.com now, but it is not at all showing in the app - even after kill+relaunch :(. Not sure if this is different, as a relaunch doesn't fix? Want me to open another issue?

Seems like it was a push merely for file changes - do we filter these (on purpose) maybe?

API doesn’t report them
Sent with GitHawk

What do you mean? Think it’s in the response?
Sent with GitHawk

@BasThomas the notifciations API only reports for these reasons on an issue, PR, or commit. The API wont ever deliver notifications for things like "new release pushed". Your "file changes" notification wont be covered either.

Sorry - I don't think I don't understand.  The network response had items but they weren't shown in the app. Forgot to save the log (sorry!)

latest_comment_url is null, that's in a guard in Subject.swift:16 - Prevents the notification response from being made.
Comment URL wouldn't exist if it's a code change?

@rnystrom ^^ Opinion on this one?

@Sherlouk wouldn't that effect the background request and the foreground request though?
Agree we can get rid of it, just unsure if that would cause inconsistencies since technically all requests would be broken until that notification goes away. Right?

@rnystrom The issue I was having though is no matter what I did the notification wasn't showing. Regardless of background/foreground/how many times I kill and re-enter the app.
Which would insinuate that it is something just not being able to parse the notification

Ya that makes sense and we should def fix. So not part of the kill+relaunch bug where stuff is cached, more that stuff wasn't showing at all b/c of this.
Great find. PR would be awesome!

Reopening #939 then
Sent with GitHawk

Oops didn’t mean to close
Sent with GitHawk

Dang reference events are working 🤔
Sent with GitHawk

?

All I see on this thread is a closed event, no reference from the PR, thought I accidentally closed instead of auto.
Sent with GitHawk

Oh wow but how is it referenced then 😮?

Ah yeah they've been working for quite a while I think 😮


[skdb] Server "request tail" is broken

The "request tail" command of the SKDB replication protocol is currently broken. The call to skdb.canMirror() is missing a --data argument, but even then, it invokes skdb can-mirror <table_name> "<requested schema>", whereas <table_name> should be the actual schema of the table.
The reason this went unnoticed is probably that clients only use the "request tail batch" command, the implementation of which does not call canMirror.
Two possible fixes: ditch the canMirror() call in "request tail", or ditch the "request tail" command altogether, and only support "request tail batch".

Closing skdb-specific issues as skdb in its current form is being deprecated.


Provide a way to manually determine that two words are cognates

Currently, all cognate decisions are completely automatic. Allow users to override these decisions manually.

This is fixed in v.1.1.0.

This was incorrectly labeled as fixed in v1.1.0.

New option to pin word pairs to a cognate or non-cognate list has been added.


nixos/os-release: generate from attrset

Motivation for this change
I've had this sitting around for ages - instead of interpolating a large string
in order to generate =/etc/os-release=, build it from an attribute set instead
which is less likely to be broken in case of changes.
Additionally, generate =/etc/lsb-release= for compatibility with older software.
The cost of doing this is a few hundred bytes, so it should be fairly
non-controversial.
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, as applicable:

NixOS test(s) (look inside nixos/tests)
and/or package tests
or, for functions and "core" functionality, tests in lib/tests or pkgs/test
made sure NixOS tests are linked to the relevant packages

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
22.05 Release Notes (or backporting 21.11 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
[ ] (Release notes changes) Ran nixos/doc/manual/md-to-db.sh to update generated release notes

[X] Fits CONTRIBUTING.md.

Kinda, sorta related to RFC42.

I have /etc/NIXOS as a symlink (currently to /dev/null, tmpfs root, since this may be just be an empty file), and it seems that the check for "This is not a NixOS installation!" in switch-to-configuration checks that either /etc/NIXOS is an actual file (couldn't it just check that the path exists?) or that os-release has exactly the string ID=nixos, which broke with this PR, since this now renders to ID="nixos"

Couple of things here.

are you by chance creating /etc/NIXOS using tmpfiles? If so, instead of creating a link to /dev/null, you can use
the "f" command to create an empty file instead.

there is no reason that I can think of that /etc/NIXOS couldn't be a symlink though

the check for ID=nixos is definitely broken as there is nothing wrong with it being quoted

Can you confirm 1?

You could also use:
environment.etc."NIXOS".text = "";

Yes, that should also work. It'll still create it as a symlink, but being symlinked to an actual file would allow the -f test to pass. Either way, the os-release check may still require fixing. Thanks

This pull request has been mentioned on NixOS Discourse. There might be relevant details there:
https://discourse.nixos.org/t/veloren-airshipper-libegl-so-not-found/18225/8


Updates to futures crate causes breaking change

Specifically 0.3.31
See: https://github.com/rust-lang/futures-rs/pull/2830

Follow up: last working version = 0.3.29

Hi, could you try the latest version agnostic-lite = "0.3.16" or agnostic = "0.3.7"? If those do not solve your problem, could you provide some code for reproducing? I tested it locally in some crates and did not find any problem. Thanks!

Thanks for looking at this.
Turns out I had futures="0.3" in one of my crates which pulls in the crate which causes the breaking change. I now peg to 0.3.31 which fixes the issue.
BTW, you may want to look at the referenced link. The breaking change in futures is because of a soundness issue that is fixed in the latest version.
You mark this as closed.


Fix/bugre umi max record failure

Hi Andrew
I've decided to invest some more time, and came up with a simple (maybe a little dirty) solution for my problem, where the UMI Max + Android 7, doesn't record because the 1920x1080   versus 1920x1088 resolution problem.
In the PR, i've added 3 quick commits:

fix for the issue #11
after reviewing my fix, found a few lines above a call (when recording from a watch) that would fail the way the code was structured, as it would produce a call with "--size [empty] --raw.. "  instead of "..[empty] --raw...".
as the script already used awk for some var splitting, decided to replace all grep usage by awk native line pattern filtering awk '/pattern/ {...}', and avoid the extra utility needed and extra call.

I've teste the resulting script with my UMI Max and a Samsung S7 and had no problems, but i haven't it tested on a watch, not could i compile the entire code, as i have not the environment available to do that.
If you think it's usable, fee free to merge the PR.
Regards,

Hey thanks for looking into this. I’ll be able to review this Tuesday. Thanks for your contribution!

Let me know if you need any change/help.

On 28 May 2019, at 14:43, Andrew Mu<EMAIL_ADDRESS>wrote:
@muandrew commented on this pull request.
changes look good, I'll test this soon.
In AndroidTool/Scripts/startRecordingForSerial.sh https://github.com/muandrew/androidtool-mac/pull/12#discussion_r288221735:

 fi

-fi
+fi
You probably need to add a new line after 60.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/muandrew/androidtool-mac/pull/12?email_source=notifications&email_token=ABUUXQD3BFVTI3IOKI3JL3LPXVVNTA5CNFSM4HPXLZRKYY3PNVWWK3TUL52HS4DFWFIHK3DMKJSXC5LFON2FEZLWNFSXPKTDN5WW2ZLOORPWSZGOBZ4SH5Q#pullrequestreview-242820086, or mute the thread https://github.com/notifications/unsubscribe-auth/ABUUXQDV2X3QPB4YCAV4CS3PXVVNTANCNFSM4HPXLZRA.


When ES5 version is used babel-runtime is required

Per documentation https://babeljs.io/docs/plugins/transform-runtime/#technical-details you must include babel-runtime in dependencies of your library, otherwise it produces errors like this:
Error: Cannot find module 'babel-runtime/core-js/promise'

Can you try v6.1.0-beta.2 please. This has been an issue for users for a few weeks, but I had problems with the build preventing a fresh release. Finally managed to get a new release out though

Contents of client.js:
require('core-js/modules/es6.typed.array-buffer');
require('core-js/modules/es6.typed.data-view');
require('core-js/modules/es6.typed.int8-array');
require('core-js/modules/es6.typed.uint8-array');
require('core-js/modules/es6.typed.uint8-clamped-array');

Contents of installed package.json:
  "dependencies": {
    "glob-to-regexp": "^0.3.0",
    "path-to-regexp": "^2.1.0"
  },

So it still fails.

This is not right, think about, compatibility, even per babel-runtime doc a lib should install such dependency by itself, as dependency, not as peer dependency. If needed it will be lifted up by NPM.

On the other hand, having babel-polyfill present is an environment set up choice, very similar to letting the end user choose which version of node-fetch to install. I prefer to be as unopinionated as possible here, with the cost that use in older environments may take a little extra set up, but the benefit that fetch-mock is less likely to suffer from strange conflicts with other libraries. Probably at least 50% of the issues raised here are related to interoperability with various other dev tools - my gut feeling is that the less I bundle into fetch-mock, the easier that is to manage.
Thanks for sharing your thoughts though. It's good to be forced to think carefully about these things

I am not talking about babel-polyfill. Users should polyfill their own env, that's right. But here we are talking about babel-runtime, a DIRECT DEPENDENCY that is a result of code compilation. I must be a part of package dependencies, bc other packages may require different version. You can compile with different set of settings to avoid that.

@kirill-konshin is correct here.  If the library needs babel-runtime to run in production then it should have a dependency on it.  At the very least, it should be a peerDependency.
In my case, I have two different dependencies resolving to two semantically different versions of core-js.  Fetch-mock ultimately tries to use the version of core-js that ends up in the top-level of my node_modules, which fails my webpack build because it's core-js 1.x and fetch-mock needs 2.x.

It is a dependency now. Yep, kirill was right
On Tue, 12 Jun 2018 at 7:44 pm, Jim Simon<EMAIL_ADDRESS>wrote:

@kirill-konshin https://github.com/kirill-konshin is correct here. If
the library needs babel-runtime to run in production then it should have a
dependency on it. At the very least, it should be a peerDependency.
In my case, I have two different dependencies resolving to two
semantically different versions of core-js. Fetch-mock ultimately tries to
use the version of core-js that ends up in the top-level of my
node_modules, which fails my webpack build because it's core-js 1.x and
fetch-mock needs 2.x.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/wheresrhys/fetch-mock/issues/272#issuecomment-396693693,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAbUR0kIfqFGtgcCFJTMkrRmmMGHUL0Mks5t8AwfgaJpZM4SftSN
.

Hm...I'm still running into some issues, though I wonder if what I'm seeing is an npm bug maybe.


⚠ Fortnite has degraded performance

In f2ff4ae, Fortnite (https://fortnite.com) experienced degraded performance:

HTTP code: 200
Response time: 1544 ms

Resolved: Fortnite performance has improved in 79d4b1b.


Skip first time welcome message in .NET Core

Since .NET Core 3.1.300, there is a new environment variable named DOTNET_NOLOGO that specifies whether .NET Core welcome and telemetry messages are displayed on first run.
Can read more about this flag here:
https://docs.microsoft.com/en-us/dotnet/core/tools/dotnet

/azp run ubuntu1604, ubuntu1804, ubuntu2004


[#861] Remove cancel spend from public API

This code review checklist is intended to serve as a starting point for the author and reviewer, although it may not be appropriate for all types of changes (e.g. fixing a spelling typo in documentation).  For more in-depth discussion of how we think about code review, please see Code Review Guidelines.
Author

[x] Self-review: Did you review your own code in GitHub's web interface? Code often looks different when reviewing the diff in a browser, making it easier to spot potential bugs.
[ ] Automated tests: Did you add appropriate automated tests for any code changes?
[ ] Manual tests: Did you update the manual tests as appropriate? While we aim for automated testing of the application, some aspects require manual testing. If you had to manually test something during development of this pull request, write those steps down.
[x] Documentation: Did you update documentation as appropriate? (e.g README.md, etc.)
[ ] Run the app: Did you run the demo app and try the changes?
[x] Rebase and squash: Did you pull in the latest changes from the main branch and squash your commits before assigning a reviewer? Having your code up to date and squashed will make it easier for others to review. Use best judgement when squashing commits, as some changes (such as refactoring) might be easier to review as a separate commit.

Reviewer

[ ] Checklist review: Did you go through the code with the Code Review Guidelines checklist?
[ ] Ad hoc review: Did you perform an ad hoc review?  In addition to a first pass using the code review guidelines, do a second pass using your best judgement and experience which may identify additional questions or comments. Research shows that code review is most effective when done in multiple passes, where reviewers look for different things through each pass.
[ ] Automated tests: Did you review the automated tests?
[ ] Manual tests: Did you review the manual tests?
[ ] How is Code Coverage affected by this PR? We encourage you to compare coverage before and after changes and when possible, leave it in a better place.
[ ] Documentation: Did you review Docs, README.md, and Architecture.md as appropriate?
[ ] Run the app: Did you run the demo app and try the changes? While the CI server runs the app to look for build failures or crashes, humans running the app are more likely to notice unexpected log messages, UI inconsistencies, or bad output data. Perform this step last, after verifying the code changes are safe to run locally.

utACK. I'd go further and delete the whole thing even the private parts

utACK. I'd go further and delete the whole thing even the private parts

Good idea, although I'm going to file a followup issue so that I can move forward with the SDK release. https://github.com/zcash/zcash-android-wallet-sdk/issues/876


Make a SSO auth middleware to integrate Casdoor with Django

Now we already have the Python SDK: https://github.com/casdoor/casdoor-python-sdk and the plugin for a popular Python open source software, Odoo: https://github.com/casdoor/odoo-casdoor-oauth
Now we need to develop the plugins for Django. This plugin ideally will be based on casdoor-python-sdk and will provide friendly interface for Django users, like a Django app can easily integrate with Casdoor login with only one or a few lines of code.

@FitzLong

@leo220yuyaodog


Incorrect usage examples for --download-source

Minor issue, but your documentation states that you should do, e.g.:
apkeep -a org.mozilla.fennec_fdroid -d f-droid .
which does not work:
error: 'f-droid' isn't a valid value for '--download-source <download_source>'
because the actual names of accepted download-sources are defined as:
pub enum DownloadSource {
    APKPure,
    GooglePlay,
    FDroid,
}

so the example should be:
apkeep -a org.mozilla.fennec_fdroid -d FDroid .

@nsamarin thanks - the documentation is aligned with the latest commit in the repository, but not the latest release.  As of the next release, this will be resolved.

By "resolved" I mean the usage will change to invoke the download source with f-droid

That's great, thank you for the prompt response as well!


feat(install): added installation plans

WIP: Added installation plans
Working on adding all the current add more data sources to the repository based on the spec defined by @jbeveland27

Note: I removed the name field from the schema, as it was redundant having both name and title (and it wasn't clear that we'd use both in the UI).

In #203, I added some initial install plans as well and nested them under well-named directories. I think we could follow that pattern here.

Closing in favor of #220


Prevent submit from propagating.

Reasons for making this change
When forms are nested in the react DOM, child submit events will otherwise propagate to the parent form. This can result in unexpected behavior, such as stale data on the parent form if submission of the child triggers an update to the parent's data.
Checklist

[X] I'm updating documentation

[ ] I've checked the rendering of the Markdown text I've added

[X] I'm adding or updating code

[ ] I've added and/or updated tests
[ ] I've updated docs if needed

[ ] I'm adding a new feature

[ ] I've updated the playground with an example use of the feature

Trying to understand your use case -- forms should not be nested anyway, so maybe there is another solution to this?

I have a use case:
Take the following schema property nameIdValueMap which is an array but each child is an object with child properties. I would like to utilise the power of the RJSF library and the components I have build around it to render these child properties in a sub-form, however when I do so we have the propagation issue as well as invalid html output having nested forms.
"nameIdValueMap": {
    "title": "NameID Value Map",
    "type": "array",
    "items": {
        "type": "object",
        "properties": {
            "key": {
                "title": "Key",
                "type": "string"
            },
            "value": {
                "title": "Value",
                "type": "string"
            },
            "binary": {
                "title": "Binary",
                "type": "boolean"
            }
        }
    }
}

There is an added issue with the fact that the form tag is hard coded into the Form.js and that nesting forms like this will produce invalid html and a nasty error in the console. I would recommend then that in addition to this change it would need a way to override the form tag with something else. This should allow us to render complex nested schemas inside of arrays.

Yes, I agree, being able to override the default tag created so it is not a form would help, and would definitely accept a PR that does that.
If that happens, though, is there any additional need for preventing submit form from propagating? (given that we won't need to have nested <form> tags)

For my use case, the forms were not nested in the html dom; only the react dom.
I was using a custom ArrayFieldTemplate that adds in a control for each row that opens a modal in a react portal. The modal has a form where the user can update some aspects of the row, such as entering a new position. On submitting the form, what I was seeing was the Form.js onSubmit getting called twice-- once targeting the modal form (expected), and again targeting the parent form (unexpected). This was creating an odd race condition where the child form's submit would update the form data (such as changing the row); and then the parent form's onSubmit would fire with the stale data still in its state, essentially reverting the change.

I see, makes sense, thanks!

It seems like it's not a good idea to stop event propagation, though. https://css-tricks.com/dangers-stopping-event-propagation/
Since the event we're trying to prevent (parent form submission) is also controlled by us in rjsf, could we perhaps alternatively do this by adding some logic in onSubmit to see whether the form that initiated the event is the same as the current form?

Thanks for the change. All right -- seems like the logic is sufficiently complicated that it needs a test. Could you add a test with a Form-in-Form scenario?

Looks good -- thanks!


Add option header in AVURLAsset?

HI,
Great library for video playing.
I have a question regarding setting the assetUrl in FWPlayerController.
Is there a way to add custom header in the asset url?
For example: In Avplayer we can add AVURLAssetHTTPHeaderFieldsKey using AVURLAsset.
let url = URL(string: "url")
let asset = AVURLAsset(url: url!, options: ["AVURLAssetHTTPHeaderFieldsKey" : [ "Cookie" : "tx=\(some_value)" ] ])
let PlayerItem = AVPlayerItem(asset: asset)
let player = AVPlayer(playerItem: PlayerItem)

Hi,
Regarding the custom header, you can set it like this:
playerManager.requestHeader = ["AVURLAssetHTTPHeaderFieldsKey": ["Cookie": "tx=\(some_value)"]]
Thank you for you like this library.

Thanks, it works.


As a user, I want to be able to select a task and have it highlighted on the calendar

Part of #35.

Completed in #72.


Everything runs slowly after debugger is called

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)
[ ] Could not reproduce inside jupyter qtconsole (if console-related)
[x] Tried basic troubleshooting (if a bug/error)

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

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

Problem Description
After calling the debugger and pressing "c", things seem to run slowly in Spyder. Here is a very simple script to show this:
import pdb

x = 0
while True:
    x += 1
    if x % 10000 == 0:
        print(x)
    if x % 1000000 == 0:
        pdb.set_trace()
        # at this point, press "c"

When this script is run, it will count up to 1000000, printing the value of x every 10000 counts, and then call pdb.set_trace() for the first time. This happens fast enough to be almost instaneous on my computer; of course it doesn't take much time for Python to count to 1000000.
Once you are in pdb, you can press "c" to resume execution, and then you will see the counts of 10000 being printed extremely slowly in comparison. On my computer, it's about one or two every second.
This also seems to happen if, for instance, you replace the pdb.set_trace() above with pass and set a debugger breakpoint there instead.
Versions

Versions:

Spyder 5.4.2
Python 3.10.9 64-bit
Qt 5.15.6
PyQt5 5.15.7
Darwin 21.6.0 (macOS Monterey, M1 Max)

Dependencies

I don't see any "Dependencies" menu entry on Mac. Where is this??

Hey @battaglia01, thanks for reporting. I was able to reproduce your problem following your instructions.
@impact27, do you know what could be happening in this case?

From what I see, most of the time is spent in _is_in_decorator_internal_and_should_skip (IPython/core/debugger.py:934) (~70% of the dispatch time) so this is an IPython issue.

Hi @impact27 some responses

This also happens on real programs which don't just pass
It doesn't happen in just iPython
It does get marginally faster with skip_predicates debuggerskip False but still slow enough to ruin the program

Thank you!

spyder-kernels depends on ipython so any bug there will be here as well. You can use a tool like https://github.com/benfred/py-spy to check what is taking time for your setup. (The command is sudo py-spy record -o profile.svg -- python3 -m spyder_kernels.console and then console > connect to existing kernel > paste the kernel json file name)
But do keep in mind that the debugger will always add overhead and that you will never be as fast as not having a debugger.

Not sure what to say; I get you are saying this is an upstream IPython bug but it doesn't happen at all in regular IPython for me...

So there must be something different with your setup. If I:
1 - Create a file test.py containing:
x = 0
while True:
    x += 1
    if x % 10000 == 0:
        print(x)
    if x % 1000000 == 0:
        i = 1

2 - run in the spyder console %run test.py : It finishes instantaneously
3 - run in the spyder console %run -d test.py followed by b 4 to add a breakpoint on line 4, and c to continue, it takes ~ 4s
4 - open ipython and do the same, I don't see a difference in execution time
So if your problem is that the spyder kernel is much slower than ipython, then I can't reproduce your bug unfortunately.

Ah! You replaced the pdb.set_trace() with the IPython debugger. OK, yes, very interesting.
So to be clear, this doesn't cause any problems for me on ipython
import pdb

x = 0
while True:
    x += 1
    if x % 10000 == 0:
        print(x)
    if x % 1000000 == 0:
        pdb.set_trace()
        # at this point, press "c"

But this does
# run with %run -d test.py, then type b 8 to set breakpoint to "pass" and then c to run
x = 0
while True:
    x += 1
    if x % 10000 == 0:
        print(x)
    if x % 1000000 == 0:
        pass # set breakpoint here
        # at this point, press "c"

So you are right, this does seem to be upstream. I guess the only reason it was happening in Spyder is because Spyder seems to turn pdb.set_trace() calls into ipdb calls.

Ha! The difference is that IPython disables the debugger when there is no breakpoints left, as there is no way of adding a breakpoint after pressiong c.  Spyder doesn't because you might add a breakpoint from the editor.

@impact27, what if we add a command to our debugger that doesn't check for breakpoints on every frame? That could be entered by users like @battaglia01 that wouldn't like to rely on that check.

So you want a command to exit the debugger completely? We can add a "exit debugger" command which would remove the debugger overhead. But I am not sure I am convinced?
We can also try to optimise the debugger, which would improve the situation a bit

Hello,
I am on a MAC (Pro M1 MAX) too and face the same problem as @battaglia01 when using spyder's debugger. With the comments in this thread and an old stackoverflow thread (https://stackoverflow.com/questions/53381373/ipython-console-in-spyder-extremely-slow-in-anaconda) I could pin down the problem to ipython 8.x. I testet ipython 8.9 and 8.10 and benched it against 7.34.
Here is what I did. I used a slightly modified code
from datetime import datetime

x = 0
start = datetime.now()
while True:
    x += 1
    if x % 20000 == 0:
        print(x)
    if x % 100000 == 0:
        print("hello")
        break
end = datetime.now()
print(f"Runtime: {end-start}")
print("Set breakpoint here")

Without a breakpoints the runtime of the code withipython 7.34 and 8.x is about 0.01 seconds on my machine. However,
when is set a breakpoint in the last row and debug the code using spyders debugger the runtime with ipython 8.x is 3.6 seconds and with ipython 7.34 only 0.29 seconds.
Here is what I did to set up both environments: The default environment with ipython 8.11 was created via
conda create -n spyder_debugger8 python=3.9
conda activate spyder_debugger8
conda install spyder

And the benchmark env was created by installing ipython 7.34 like so
conda create -n spyder_debugger7 python=3.9
conda activate spyder_debugger7
conda install spyder
pip install ipython==7.34

As a result I have the follwing packages installed
spyder-5.4.2
spyder-kernels-2.4.2
ipython-8.10.0 / 7.34.0
pyqt-5.15.7

Hopefully my small test helps to understand the runtime problem a little bit better. In the meantime, I'll downgrade ipython on my machine as a workaround.

I can confirm reverting to ipython 7.33 made debug run much faster.

This was already reported to the IPython team (see issue https://github.com/ipython/ipython/issues/13972), but we haven't received an answer yet. However, we're considering how to solve this problem on our side.

Hey guys, I think the situation will be improved in our next version (5.4.4) because we disabled some IPython functionality that was making our debugger quite slow. So, the situation should be similar to what you experienced with Spyder 5.3.3
However, more improvements will come in Spyder 6 about this (that's why this issue is marked for that version).


Add german translation and fix typo in english translation

Here is a German translation for Nerinyan. I used a lot of reference from the official site, since there are a lot of hard-to-translate words. I didn't spellcheck it yet, so please don't merge it directly.
I also fixed a typo in the English translation ("ben" -> "been").
For everyone who speaks German, I have some questions:

Should we use the casual form du or sie instead?
Is the not_found_message a little bit too harsh, or is it okay?
I am not sure if we should use Archiv or Zip...
Should a beatmap be addressed with diese beatmap, or dieser beatmap?
(Both sound kinda wierd to me...)

I think everything should be fine now...

lgtm

can you translate lines 144-148?

I can work on it in a few hours


[camera] Add camera options used to constrain the camera audio and video

Adds CameraOptions, used to constrain the camera audio and video, to camera_web plugin.
These options represent web MediaStreamConstraints and can be used to request the browser for media streams with audio and video tracks containing the requested types of media.
Part of https://github.com/flutter/flutter/issues/45297
Pre-launch Checklist

[x] I read the Contributor Guide and followed the process outlined there for submitting PRs.
[x] I read the Tree Hygiene wiki page, which explains my responsibilities.
[x] I read and followed the relevant style guides and ran the auto-formatter. (Note that unlike the flutter/flutter repo, the flutter/plugins repo does use dart format.)
[x] I signed the CLA.
[x] The title of the PR starts with the name of the plugin surrounded by square brackets, e.g. [shared_preferences]
[x] I listed at least one issue that this PR fixes in the description above.
[x] I updated pubspec.yaml with an appropriate new version according to the pub versioning philosophy.
[x] I updated CHANGELOG.md to add a description of the change.
[x] I updated/added relevant documentation (doc comments with ///).
[x] I added new tests to check the change I am making or feature I am adding, or Hixie said the PR is test exempt.
[x] All existing and new tests are passing.

@ditman @felangel @orestesgaolin

@googlebot I consent.


Generate CSV for router-data redirects

Adds a rake task to output a CSV with redirect instructions, to feed to the router-data repo. It will redirect all topic pages to their new location at /topic.
For example:
/business-tax to /business-tax

And subtopics:
/business-tax/air-passenger-duty to /topic/business-tax/air-passenger-duty
/business-tax/air-passenger-duty/email-signup to /topic/business-tax/air-passenger-duty/email-signup
/business-tax/air-passenger-duty/latest to /topic/business-tax/air-passenger-duty/latest

Part of Trello: https://trello.com/c/EoWPp4qZ/187

Why are we doing this through router-data as opposed to sending redirect items to the content-store?

I thought router-data was still the canonical place to record redirects, and the content store was an optional extra.  Perhaps I've missed something in this chain getting more mature.
@bradleywright How are we meant to be setting up redirects these days?

Closing this, I agree with @alext that adding redirects to the content store is better. Part of that logic can then also be reused to allow slug changes.

Router data is only for things that don't fully integrate with the content-store.

Thanks for catching this @alext - my misunderstanding.


Release v0.5.0

Not a PR to merge, just checking this is correct and we can run the job:
❯ make bundle IMAGE_TAG=v0.5.0 REGISTERY=quay.io VERSION=0.5.0 REPLACES_VERSION=0.4.1 CHANNELS=stable LIMITADOR_OPERATOR_VERSION=0.7.0 AUTHORINO_OPERATOR_VERSION=0.10.0 WASM_SHIM_VERSION=0.3.0

see how this goes...

something to comment that I'll also add it to the RFC:
The push event that triggers the build of the images are not passing all the params needed. I usually cancel it, then trigger manually the workflow_dispatch "Build Images" with the same params you ran the make bundle

I reckon the manifest failed because of your local version of controller-gen

Oops, @guicassolato we (royal) forgot to do it the last time, but yes, we should do it

So, I will redo this yet again, but I challenge the usefulness of the changelog in this case...
where/how do we plan on distributing that changelog? If it has no use, I think we should just not have it at all.
I don't know (if at all) where that changelog is currently made available to end users... can someone shed some light?


Reduce dask tokenization time

When using dask (e.g., chunks={} with a zarr dataset), each dask.array gets a token. Calculating this token currently hits a recursive path within dask and is relatively slow (~10ms), which adds up for many variables. This PR makes a simpler but still unique token.
An example profile of open_dataset before:

and after

This is a great catch @martindurant ! I've seen the tokenization  slowness as well and this will be a great improvement!
Hmm, I was expecting this benchmark to get better:
https://github.com/pydata/xarray/blob/1e8f618e9d3754cb892a8438a1a7745aadce2bbf/asv_bench/benchmarks/dataset_io.py#L527
Something to ponder for another day.

Well this benchmark didn't change.
https://github.com/pydata/xarray/blob/8dddbca924fac1012245f510dca282f7f125cb06/asv_bench/benchmarks/dataset.py#L23-L32
Can you propose an improvement?

Can you propose an improvement?

That's for rechunk rather than open? I'm not sure it calls this code.

_maybe_chunk is shared between the two code paths AFAICT.

Hmmm I think I missed it earlier now I see
[52.71%] ··· dataset.DatasetChunk.time_chunk                            269±1ms
[77.71%] ··· dataset.DatasetChunk.time_chunk                            402±1ms

and
[52.71%] ··· dataset.DatasetChunk.time_chunk                            375±2ms
[77.71%] ··· dataset.DatasetChunk.time_chunk                            539±4ms

which is under the 50% reporting threshold we set but still great.


JBPM-6894 - User should be able to define case, process, activity lev…

…el SLA (#990)

@nmirasch @bsremac fyi cherry-picking from master.


Add tests for @yamada-ui/reorder

related: #74
Description
Currently, no tests in @yamada-ui/reorder. In the future, I feel the need for testing when operating @yamada-ui/reorder.
Problem Statement/Justification
Testing is essential to ensure quality when operating a package.

Hi @hirotomoyamada ! Can I work on this one?

@000000armor
Hi, thanks for the comment!
Yes, please.
i'll assign this issue to you.