Response is not defined

Describe the bug
The page in the load function makes a request to endpoint, it returns a normal response, but an error appears:
<script lang="ts" context="module">
    import type { Load } from "@sveltejs/kit";
    export const load: Load = async function ({ fetch }) {
        let res;
        try {
            res = await fetch("/api/"); //<-- here
            res = await res.json();
            if (res.ok) {
                return { props: { res: res } };
            }
        } catch (error) {
            return { status: 404, error: error as any };
        }
        return { status: 404, error: res };
    };
</script>

It is not in dev mode, but it is in the build from adapter-node.
Reproduction
I'll do it if necessary, but I think there are enough logs.
Logs
ReferenceError: Response is not defined
    at fetch (file:///D:/.../node_modules/@sveltejs/kit/dist/ssr.js:955:7)
    at processTicksAndRejections (node:internal/process/task_queues:96:5)
    at async load2 (file:///D:/.../build/middlewares.js:1730:15)
    at async load_node (file:///D:/.../node_modules/@sveltejs/kit/dist/ssr.js:1058:12)
    at async respond$1 (file:///D:/.../node_modules/@sveltejs/kit/dist/ssr.js:1264:15)
    at async render_page (file:///D:/.../node_modules/@sveltejs/kit/dist/ssr.js:1454:19)
    at async resolve (file:///D:/.../node_modules/@sveltejs/kit/dist/ssr.js:1717:10)
    at async Object.handle (file:///D:/.../build/middlewares.js:11718:24)
    at async respond (file:///D:/.../node_modules/@sveltejs/kit/dist/ssr.js:1696:10)
    at async Array.<anonymous> (file:///D:/.../build/middlewares.js:11969:22)

System Info
System:
    OS: Windows 10 10.0.19042
    CPU: (12) x64 AMD Ryzen 5 2600 Six-Core Processor
    Memory: 1.24 GB / 7.95 GB
  Binaries:
    Node: 16.6.1 - ~\AppData\Roaming\npm\node.CMD
    npm: 7.22.0 - ~\AppData\Roaming\npm\npm.CMD
  Browsers:
    Chrome: 96.0.4664.110
    Edge: Spartan (44.19041.423.0)
  npmPackages:
    @sveltejs/adapter-node: ^1.0.0-next.56 => 1.0.0-next.56
    @sveltejs/kit: ^1.0.0-next.202 => 1.0.0-next.202
    svelte: ^3.44.3 => 3.44.3

Severity
blocking all usage of SvelteKit
Additional Information
No response

I did a quick look and the logs doesn't provide much info. Please provide a reproduction. It is necessary according to the issue template description.


add logging integration test

Please provide a description of this PR:
add logging integration test

For the sake of reducing the test time (Telemetry test is already the slowest test suite), can we combine this to the existing telemetry test to avoid adding a new suite? The prometheus test seems to be a better fit.

IMHO, logging is the first class api, it's not a good idea to combine with other test suite.
this PR is the first way, I'll add more test cases about logging provider and telemetry in the near future。

IMHO, logging is the first class api, it's not a good idea to combine with other test suite. this PR is the first way, I'll add more test cases about logging provider and telemetry in the near future。

First class API does not mean that we need to create a new suite. As an analogy, all networking APIs are tested with one suite with TestTraffic. Creating a new suite will increase test time significantly. The existing prometheus test does not conflict with log at all, so would be a better place to augment. If the name of test package is not inclusive enough, it can be renamed to telemetry etc.

IMHO, logging is the first class api, it's not a good idea to combine with other test suite. this PR is the first way, I'll add more test cases about logging provider and telemetry in the near future。

First class API does not mean that we need to create a new suite. As an analogy, all networking APIs are tested with one suite with TestTraffic. Creating a new suite will increase test time significantly. The existing prometheus test does not conflict with log at all, so would be a better place to augment. If the name of test package is not inclusive enough, it can be renamed to telemetry etc.

ok, did you means tests/integration/telemetry/stats/prometheus ?

ok, did you means tests/integration/telemetry/stats/prometheus ?

Yep, the package name and test directory might need some reorganization to better accommodate new tests that will come with telemetry API.

ok, did you means tests/integration/telemetry/stats/prometheus ?

Yep, the package name and test directory might need some reorganization to better accommodate new tests that will come with telemetry API.

ok, I'll take a overall look after holiday.

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test gencheck_istio

lint_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test gencheck_istio

lint_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test lint_istio

analyze-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test analyze-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test gencheck_istio

lint_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test lint_istio

analyze-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test analyze-tests_istio

unit-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test gencheck_istio

lint_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test lint_istio

analyze-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test analyze-tests_istio

unit-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test unit-tests_istio

integ-telemetry-istiodremote-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test integ-telemetry-istiodremote-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test gencheck_istio

lint_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test lint_istio

analyze-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test analyze-tests_istio

unit-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test unit-tests_istio

integ-telemetry-istiodremote-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test integ-telemetry-istiodremote-tests_istio

integ-telemetry-mc-k8s-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test integ-telemetry-mc-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test gencheck_istio

lint_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test lint_istio

analyze-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test analyze-tests_istio

unit-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test unit-tests_istio

integ-telemetry-istiodremote-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test integ-telemetry-istiodremote-tests_istio

integ-telemetry-mc-k8s-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test integ-telemetry-mc-k8s-tests_istio

integ-telemetry-k8s-tests_istio
14e0b9bd7ab519a61ea8518cb90314f397430434
link
true
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@bianpengyuan PTAL, it's better to do re-org with another PR.

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
f20ff65a755cd803996d4c68c50be170c894979a
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest

@bianpengyuan request for a review again.

@zirain: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test gencheck_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test gencheck_istio

lint_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test lint_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test gencheck_istio

lint_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test lint_istio

integ-telemetry-k8s-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test gencheck_istio

lint_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test lint_istio

integ-telemetry-k8s-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-k8s-tests_istio

integ-telemetry-mc-k8s-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-mc-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

gencheck_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test gencheck_istio

lint_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test lint_istio

integ-telemetry-k8s-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-k8s-tests_istio

integ-telemetry-mc-k8s-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-mc-k8s-tests_istio

integ-telemetry-istiodremote-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-istiodremote-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

lint_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test lint_istio

integ-telemetry-k8s-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-k8s-tests_istio

integ-telemetry-mc-k8s-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-mc-k8s-tests_istio

integ-telemetry-istiodremote-tests_istio
62501f8a39fc8028dfd630b3016a954ba22e2840
link
true
/test integ-telemetry-istiodremote-tests_istio

unit-tests_istio
d810a2b7c96d91ba01ee9029c6f966a154a85fdd
link
true
/test unit-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@zirain: The following tests failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

unit-tests_istio
d810a2b7c96d91ba01ee9029c6f966a154a85fdd
link
true
/test unit-tests_istio

integ-telemetry-mc-k8s-tests_istio
d810a2b7c96d91ba01ee9029c6f966a154a85fdd
link
true
/test integ-telemetry-mc-k8s-tests_istio

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/retest-required

/retest


Add map pin

@dunateo
I am adding new feature for pinning bpf maps.
This PR shows you how to define TcHashMap which is compatible with tc.
I defined TcHashMap as a replacement of HashMap of redbpf.
Because HashMap of redbpf utilizes bpf_map_def and tc uses bpf_elf_map structure, you can not use HashMap of redbpf for tc. But I do not know why normal HashMap is working fine with tc.
Map::from_pin_path can be used to create Map instance from pinned maps.
The usage scenario is

run cargo build --example tc-test, then tc-test.elf is generated.
run llvm-objcopy-11 --remove-section .text target/debug/build/example-userspace-562684cf2c45fccb/out/target/bpf/programs/tc-test/tc-test.elf tc-test.elf to remove .text section.
run sudo tc filter add dev lo ingress bpf da obj tc-test.elf sec tc_action/test_tc command, then this command creates /sys/fs/bpf/tc/global/blocked_packets
run sudo cargo run --example tc-test as root user, then the program monitors the pinned map periodically
run curl localhost, then you can see that the counter reported by tc-test changes.

Maybe it's because on the user side it only do bpf syscall and the call adapt it directly in function of the map type.
* Corresponding syscall bpf commands from userspace */
enum bpf_cmd {
      [...]
      BPF_MAP_LOOKUP_ELEM,
      BPF_MAP_UPDATE_ELEM,
      BPF_MAP_DELETE_ELEM,
      BPF_MAP_GET_NEXT_KEY,
      [...]
};

hope it will be in the crate soon !

This feature is merged into upstream redbpf
https://github.com/foniod/redbpf/pull/148


Use large_client_header_buffers instead of http2_max_header_size for nginx config

The Problem/Issue/Bug:
I noticed this error in the ddev-webserver log:

the "http2_max_header_size" directive is obsolete, use the "large_client_header_buffers" directive instead in /etc/nginx/nginx.conf:133

So somewhere in our doubling of the http2_max_header_size journey we did/did not switch to the new format.
This switches to the new format in ddev-webserver and ddev-router.

@TravisWhitehead would appreciate your review of this. I guess nginx got ahead of us during the various times we were working on this.

@rfay Looks good to me. :+1:


Increase coverage for microcosm-http

microcosm-http's coverage was low and I wanted to experiment with what a test adapter would look like for mocking HTTP requests. Pretty neat stuff. I'm curious if we could use a fake axios adapter in collaboration with micromanage to mock API calls to CRUD resources.
How it works
The axios http library, used by microcosm-http, allows for custom adapters for XHR requests. I'm using this to control for HTTP requests  when testing.

Codecov Report

Merging #503 into master will increase coverage by 4.32%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master     #503      +/-   ##
==========================================
+ Coverage   95.21%   99.54%   +4.32%
==========================================
  Files          27       27
  Lines         669      658      -11
  Branches      130      129       -1
==========================================
+ Hits          637      655      +18
+ Misses         29        3      -26
+ Partials        3        0       -3

Impacted Files
Coverage Δ

packages/microcosm-http/src/http.js
100% <100%> (+100%)
:arrow_up:

packages/microcosm/src/domain.js
96.96% <0%> (-3.04%)
:arrow_down:

Continue to review full report at Codecov.

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


Plugin with id 'kotlin-android' not found.[BUG]

Describe the bug
A problem occurred evaluating project ':react-native-vision-camera-face-detector'.

Plugin with id 'kotlin-android' not found.

Logs and Screenshots

What went wrong:
A problem occurred evaluating project ':react-native-vision-camera-face-detector'.

Plugin with id 'kotlin-android' not found.

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

2: Task failed with an exception.

What went wrong:
A problem occurred configuring project ':react-native-vision-camera-face-detector'.

compileSdkVersion is not specified. Please add it to build.gradle

Try:

Run with --stacktrace option to get the stack trace.
Run with --info or --debug option to get more log output.
Run with --scan to get full insights.
==============================================================================

Smartphone (please complete the following information):

Vision Camera version: 4.0.1
react-native-vision-camera-face-detector: 1.4.0

Additional context
At the time of building project this error comes up.

You're using an outdated version of react-native-vision-camera-face-detector

@luicfrr  i facing same issue with V1.6.3
A problem occurred evaluating project ':react-native-vision-camera-face-detector'.
> Plugin with id 'kotlin-android' not found.

@nolife08021 can you reproduce this issue on example app?

@luicfrr not yet try, it it working with RN v0.71.17?


Behavior during flare

As pointed out by the user PilotTrev in the msfs 2020 forums, the plane floats with power idle when it should settle down quicker. I'm still figuring out how to play with the flight model but I will also try to fix that if I can.

Version 1.2 beta is the first attempt to improve these behaviors.


Change Dumb executor to TLS-based one [ECR-3204]

Overview

See: https://jira.bf.local/browse/ECR-3204
Definition of Done

[ ] There are no TODOs left in the code
[ ] Change is covered by automated tests
[ ] The coding guidelines are followed
[ ] Public API has Javadoc
[ ] Method preconditions are checked and documented in the Javadoc of the method
[ ] Changelog is updated if needed (in case of notable or breaking changes)
[ ] The continuous integration build passes

Coverage remained the same at 86.581% when pulling e08ade3edcd9d6494fedb9e70f7ccc54409f4245 on vitvakatu:tls_executor into e9dd5508f491babb0cb856b49117ff5e82385162 on exonum:master.


Submit VCell <IP_ADDRESS>

id: vcell
version: <IP_ADDRESS>
specificationsUrl: https://raw.githubusercontent.com/virtualcell/vcell/<IP_ADDRESS>/biosimulators.json
specificationsPatch:
version: <IP_ADDRESS>
image:
url: ghcr.io/virtualcell/biosimulators_vcell:<IP_ADDRESS>
validateImage: true
commitSimulator: true

This was just a bot permissions test


Nextjs Image Error message Failed to parse src "static/media/public/logo.jpeg" on next/legacy/image on Nextv13

Describe the bug
Similar issue as #122, except this is for Nextjsv13 with next/legacy/image. My hunch is this is because the stub doesn't touch the legacy image.
Your minimal, reproducible example
Can add if needed.
Steps to reproduce

Create a story using next/legacy/image + a static import.
Load it up in Storybook
See the error

Expected behavior
Legacy image is mocked similar to default next/image component.
How often does this bug happen?
Every time
Screenshots or Videos
No response
Platform

OSX
Nextjs v13
Storybook v6

storybook-addon-next version
v1.8.0
Additional context
No response

You would be correct. This addon has been placed on Keep The Lights On mode as @storybook/nextjs is now the preferred solution.
If you would like some help migrating, see the migration docs on the README and let me know if you run into any issues :)


Reactivity: Support for TypedArrays

What problem does this feature solve?
Currently the set of "Observable Types" is limited to: Object, Array, Map, Set, WeakMap, WeakSet.
This feature would extend the set of "Observable Types" to include TypedArrays:
Int8Array, Int16Array, Int32Array, Uint8Array, Uint16Array, Uint32Array, Uint8ClampedArray, Float32Array, Float64Array
These types are common in low-level APIs, such as WebGL. They are standard built-in objects, so it would be nice if they would work with Vue out of the box. The Proxy-based approach to reactivity makes it feasible to support them.
The feature would treat these types just like plain Arrays, simplifying usage and reducing potential problems due to unexpected behavior (lack of reactivity). For instance, I encountered the lack of reactivity when trying to write a Vue component to interactively edit WebGL shader uniforms.
The problem has been reported in the past, however I believe that it is worth revisiting with the new Proxy-based approach to reactivity.
What does the proposed API look like?
The API remains unchanged, the feature just expands the set of "Observable Types", enabling the following code to work as expected:
<template>

Arrays

Index: <input type="text" v-model="index">

Plain Array: {{ plainArr }}

Change element #{{index}} <input type="text" v-model="plainArr[index]">

Typed Array: {{ typedArr }}

Change element #{{index}} <input type="text" v-model="typedArr[index]">

</template>

Edit: Sandbox example of current behaviour.

I just want to add that I have a "working" proof-of-concept implementation, but due to my lack of familiarity with the internals of Vue, I am not confident enough to create a pull request. However, I am more than happy to share the details if there is interest.
Essentially, it boils down to one change, adding TypedArrays in reactive.ts:
const isObservableType = /*#__PURE__*/ makeMap(
  'Object,Array,Int8Array,Int16Array,Int32Array,Uint8Array,Uint16Array,Uint32Array,Uint8ClampedArray,Float32Array,Float64Array,Map,Set,WeakMap,WeakSet'
)

However, due to reasons I do not fully understand, by itself this causes to some exceptions. My best explanation is that built-in TypedArray methods are incorrectly being called on a Proxy. Therefore, to make it work, I had to create some additional arrayInstrumentations in  baseHandlers.ts.

And I think this issue won't fix. See https://github.com/vuejs/vue-next/pull/991#issuecomment-616800766

@Himself65 Thank you for taking a stab at it nonetheless. It seems like supporting this feature is more of a philosophical/design decision, rather than a technical issue.
I do wonder if there should not be a mechanism to implement this avoiding some of the costs/penalties that were mentioned. Also, I do not think the fact that TypedArrays are typically used in performance-sensitive scenarios necessarily means that there aren't scenarios in which it would be useful to observe them (e.g. think of a web-based visual editor for 3d content).
Still, I respect @yyx990803 position, and I am happy to go along with it, provided that the suggested workaround works and is well documented.

Judging from the convo in the PR, this issue can be closed.


Added translated strings in views

This is a simple fix to add i18n to the HTTP responses when uploading images.
The output from these responses is currently just displayed in a JS alert.

Coverage increased (+0.02%) to 96.891% when pulling df7c8d9a051d1666d8a1c1678e94b650d4d1f56d on ktokolwiek:master into 795c0963790705142ab807b999078279a421c334 on summernote:master.

@ktokolwiek Thanks a lot!


Fix subscription to txs for balance updating

UI Version: 0.8.0
Description:
Currently the balance is not updated when a tx for your account is detected. The subscription is never called.

and cache tx history, same as balances

@jolesbi moved the caching into #1013


onDayCreate and disable [functions] always affect the NEXT day

Unfortunately i cant provide a JSFiddle link mostly because of the amount of data being handled before the picker is initialized.
Your Environment

flatpickr version used: 4.6.13
Browser name and version: Firefox Dev Edition 105.0b5 (64-bit) || Chrome Version 104.0.5112.102 (Official Build) (64-bit)
OS and version: Windows  Pro x64

Im running into a really weird problem.  Contitional cases in functions like onDayCreate or disable[func()] always affect the NEXT day.
For example:
Red box is correctly disabled by providing an array with the disabled dates..
['2022-09-02']
(Disregard the missing css)

disable: maxAllotmentReachedDates,

When using functions in disable: or onDayCreate everything except from BLUE boxes is offset by one day

The Code:
            disable: maxAllotmentReachedDates,
            onDayCreate: function(dObj, dStr, fp, dayElem) {
                let dateToIso = dayElem.dateObj.toISOString().slice(0,10);
                let dateIsoParsed = Date.parse(dateToIso);
                // console.log(dayElem.dateObj.toISOString().slice(0,10))
                if(maxAllotmentReachedDates.includes(dateToIso)){
                        dayElem.classList.add('allotment-max');
                        dayElem.classList.add('flatpickr-disabled');
                    }else if(reserveData[dateToIso] >= halfAllotment){
                        // console.log(reserveData[dateToIso])
                        dayElem.classList.add('allotment-half');
                    }else if(dateIsoParsed >= dateNowParsed) {
                        console.log('a')
                        dayElem.classList.add('allotment-good');
                    }
                if(!days.includes(dayElem.dateObj.getDay())){
                    dayElem.classList.add('flatpickr-disabled');
                    dayElem.classList.remove('allotment-good');
                }
            }

I have tried different combinations of ifs, standalone ifs with stricter conditions, looping through all the arrays.
Even a single condition, if it's inside a function is wrong.
Any help is appreciated,
Thanks in advance

Okay i didnt search thoroughly enough.
toIsoDate() returns the day in UTC, which happens to not the correct one for my use case.
Solution was posted here https://github.com/flatpickr/flatpickr/issues/2426#issuecomment-826082828


missing resources

maybe i don't have things in the right place???
current folder hierarchy is...
/source/cstrike/
/source/platform/
/source/valve/
/source/default.fmf
/source/fteqw64

partial console log
$ ./fteqw64
Binary is located at "/storage/Downloads/FreeHL/valve/"
couldn't exec masters.lst
couldn't exec cvars.cfg
Couldn't load plugin ffmpeg
couldn't exec autoexec.cfg

Engine Version: FTE build Jan 15 2023
Setting fullscreen windowed OpenGL
Found monitor HDMI-A-0 1920x1080 0,0
GL_VENDOR: AMD
GL_RENDERER: AMD Radeon Vega 11 Graphics (raven, LLVM 15.0.7, DRM 3.42, 5.15.91-1-MANJARO)
GL_VERSION: 4.6 (Compatibility Profile) Mesa 22.3.4
Mesa detected, disabling the use of glsl's invariant keyword. This will result in z-fighting. Use '+set gl_blacklist_mesa_invariant 0' on the commandline to reenable it (but you will probably get glsl compilation errors from your driver).
Initiating OpenAL: OpenAL Soft.
AL_HRTF_STATUS: DISABLED.
OpenGL renderer initialized
------- Half-Life Initialized -------

==============================================================================
Copyright (c) 2016-2022 Marco Cawthorne<EMAIL_ADDRESS>
Permission to use, copy, modify, and distribute this software for any
purpose with or without fee is hereby granted, provided that the above
copyright notice and this permission notice appear in all copies.

 IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
WHATSOEVER RESULTING FROM LOSS OF MIND, USE, DATA OR PROFITS, WHETHER
IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING
OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
==============================================================================

loaded font definition for fonts/fontcon.font
loaded font definition for fonts/menu_label.font
loaded font definition for fonts/menu_main.font
loaded font definition for fonts/menu_label_bold.font
loaded font definition for fonts/menu_header.font
Couldn't load plugin 2
--------- Initializing Server-Module ----------
--------- Initializing Plugins ----------
no plugins.txt found.
--------- Initializing SoundDef (SERVER) ----------
allocated 26624 bytes for soundDef
SoundDef initialized.
--------- Initializing PropDefs (SERVER) ----------
allocated 6656 bytes for prop data.
allocated 1024 bytes for breakmodels.
PropData initialized.
no soundDef found for sfx_impact.rock
sfx sample player/pl_snow1.wav does not exist!
sfx sample player/pl_snow2.wav does not exist!
sfx sample player/pl_snow3.wav does not exist!
sfx sample player/pl_snow4.wav does not exist!
sfx sample player/pl_sand1.wav does not exist!
sfx sample player/pl_sand2.wav does not exist!
sfx sample player/pl_sand3.wav does not exist!
sfx sample player/pl_sand4.wav does not exist!
--------- Initializing Server Entities ----------
--------- Initializing SentencesDef (SERVER) ----------
SentencesDef initialized with 1043 entries.
--------- Initializing World ----------
--------- Respawning Server Entities ----------
--------- Setting New Level Parameters ----------
client Player connected
Wrote /storage/Downloads/FreeHL/valve/valve/game.cfg

Snow and sand sounds are used in CS. Because Half-Life doesn't ship with them (and it generally does not have surfaces marked with a snow flag) the 'sfx sample' warnings can be ignored.


Solve why Error 。ES6

It looks like you just deleted our lovely crafted issue template. It was there for good reasons. Please help us solving your issue by answering the questions asked in this template. I'm closing this. Please either update the issue with the template and reopen, or open a new issue.


"Țaga", "Năsal", "Sântejude", "Sântejude-Vale" and "Sântioana" villages are listed in the drop-down menu

The villages are listed in the drop-down menu alongside its corresponding county and commune, according to the law
Preconditions : the website (https://peviitor-ro.github.io/ui.orase/) is up and runing. After every step delete the text you typed from the search bar.

Buna, nu ai adaugat Expected si Actual(Pasii)

Step 1
Write in the search bar "Țaga"

Expected results
The location appears in the drop-down menu as "Sat Țaga, CLUJ (Țaga)"

Step 2
Write in the search bar "Năsal"

Expected results
The location appears in the drop-down menu as "Sat Năsal, CLUJ (Țaga)"

Step 3
Write in the search bar "Sântejude"

Expected results
The location appears in the drop-down menu as "Sat Sântejude, CLUJ (Țaga)"

Step 4
Write in the search bar "Sântejude-Vale"

Expected results
The location appears in the drop-down menu as "Sat Sântejude-Vale, CLUJ (Țaga)"

Step 5
Write in the search bar "Sântioana"

Expected results
The location appears in the drop-down menu as "Sat Sântioana, CLUJ (Țaga)"

Tania, retest please


openSUSE: Update image to Leap 15.2

Please make this available on the Playground environment. Thanks.

Look good, it's available for use in vpsAdmin.

Thanks, I did some basic tests following the KB article and it seems good to me too.
Thanks!


3.0.0

Changed: Uses commas instead of semicolons to separate options for PostCSS v6 compatibility.
Changed: Allows postcss- prefixed plugins by default rather than none.
Updated: postcss from 5.x to 6.x.
Updated: resolve-from from 2.x to 4.x.
Removed: Dependencies on balanced-match and lodash.isplainobject.

@ai, @ben-eb
My ultimate goal is to remove dependencies and shape this for a PR into create-react-app

Coverage decreased (-3.7%) to 96.296% when pulling 7e21811a87ffbba382fa39adfe2d1f862a98475b on feature/3.0.0 into c9a1b42ac992285afdafc420d4852625c3b97415 on master.


Updated last symbols to README

Updated example output to match previous symbol updates

Landed as https://github.com/KenanY/chemical-symbols/commit/140e58a6ef279ff270eaa4a5bfaf2bcd871217f8. Thanks!


Game.Player.Character.CurrentVehicle does not return null after leaving vehicle in v2699

Version
3.4.0
Description
As of the latest title update for GTA5 and SHV (2699), SHVDN is no longer returning null for Game.Player.Character.CurrentVehicle after a player leaves a vehicle. Once you enter a vehicle, Game.Player.Vehicle.CurrentVehicle is updated to the vehicle you are in. When you exit the vehicle fully, this value is nulled. If you revert GTA5 to v2628 (even leaving SHV 2699 alone), this behavior returns to normal. However, when using GTA5 v2699, this value does not return null after a player leaves any vehicle. Instead, it is updated each time the player enters a new vehicle, but is never nulled. This causes unexpected behavior in scripts which rely on knowing when a player has exited a vehicle in order to fire events.
Upon further testing, it appears there is something wrong with the underlying natives as of 2699. I do not know if this means a memory location has changed, or if Rockstar actually introduced a huge bug as of 2699.
If you return Function.Call(Hash.GET_VEHICLE_PED_IS_IN, Game.Player.Character.Handle, true), it will return the last vehicle you were in. If you change 'true' to 'false', it will still return the last vehicle you were in instead of null. However, Function.Call(Hash.IS_PED_IN_VEHICLE, Game.Player.Character.Handle, {vehiclehandle}) will return false as expected. So the game appears to be aware that you are not in a vehicle, but is not nulling the 'current vehicle'.

I can see GET_VEHICLE_PED_IS_IN returns the last vehicle handle even if the second argument is set to false in b2699, so we should add a workaround about this.
I suspect Rockstar messes up with the native. They use last vehicle address and some flag like the ped is in the last vehicle to return current vehicle since GTA III. Maybe the procedure that checks the flag bit is unreachable from GET_VEHICLE_PED_IS_IN in b2699?
The piece of assembly code that checks the driving flag is like this in b2699:
mov eax, [rdi + 0x1468] // 0x1468 (or 0x146B) is where the driving flags is at of CPed
shr eax, 1E
test al, 01

In the script where I first noticed this behavior, I implemented a workaround by creating a void that checks Game.Player.Character.CurrentVehicle.NotNullAndExists() && Game.Player.Character.CurrentVehicle.Occupants.Contains(Game.PlayerCharacter) and if true, returns Game.Player.Character.CurrentVehicle, otherwise it returns null. This corrected the issue with CurrentVehicle returning null in my script.
However, there seems to also be odd behavior surrounding LastVehicle. In the mod, there is the ability to travel into the past and run into a clone of yourself that's performing all the tasks you did. In one check, we have Ped.NotNullAndExists() && Ped.LastVehicle.NotNullAndExists() && Ped.LastVehicle.IsConsideredDestroyed where 'Ped' in this context is not Game.Player.Character, but is rather (Ped)Entity.FromHandle(PedHandle) where PedHandle is the player's handle (so that we can handle character switching and such). In v2628, this check will return true if you destroy the last vehicle that this cloned ped had been in. In v2699, however, it does not return true upon the vehicle's destruction.
Just odd behavior all around. Not sure what Rockstar did, but it appears to have been something of a doozy.

I can't reproduce the Ped.LastVehicle or Vehicle.IsConsideredDestroyed problems, but fixed Ped.CurrentVehicle. Wait for the next SHVDN version.

Just as a follow-up for closure's sake, I discovered the root cause of the other bug. It was because a check was happening later in the code for Game.Player.Character.IsFullyOutVehicle(). That void is defined as ped.CurrentVehicle == null && !ped.IsTaskActive(FusionEnums.TaskType.ExitVehicle) && !ped.IsTaskActive(FusionEnums.TaskType.EnterVehicle), and since CurrentVehicle never returns null, this statement never returned true.
Thus, this bug will likewise be fixed with the SHVDN update. Thanks again!


fix: word paste missing formats

PR
PR Checklist
Please check if your PR fulfills the following requirements:

[x] The commit message follows our Commit Message Guidelines
[ ] Tests for the changes have been added (for bug fixes / features)
[ ] Docs have been added / updated (for bug fixes / features)

PR Type
What kind of change does this PR introduce?

[x] Bugfix
[ ] Feature
[ ] Code style update (formatting, local variables)
[ ] Refactoring (no functional changes, no api changes)
[ ] Build related changes
[ ] CI related changes
[ ] Documentation content changes
[ ] Other... Please describe:

What is the current behavior?
Issue Number: #61
What is the new behavior?
paste correct format about line-height / text-indent / font-size / font-style / list.
Does this PR introduce a breaking change?

[ ] Yes
[x] No

Other information

Summary by CodeRabbit

New Features

Introduced new attributors for text styling: Font Size, Font Style, Line Height, and Text Indent, enhancing text formatting options in the editor.
Added a new attribute for table cells to support list functionalities.

Bug Fixes

Improved HTML management in the editor to ensure content remains in sync with user edits.

Refactor

Streamlined code for managing text styles by centralizing update logic and removing outdated configurations.

Chores

Updated module registration to reflect new styling capabilities and improved organization.

@zzxming text-indent 未生效，其他的都OK了

@zzxming text-indent 未生效，其他的都OK了

text-indent 设置的是首行缩进，文本前后缩进是另外的格式，quill本身也没有实现文本前后的缩进，需要吗？

@zzxming text-indent 未生效，其他的都OK了

text-indent 设置的是首行缩进，文本前后缩进是另外的格式，quill本身也没有实现文本前后的缩进，需要吗？

了解，我觉得不着急，Word 粘贴本身就比较复杂，后续根据业务需求再逐渐完善吧


Some problems were found with the configuration of task ':mirai-compose:checkRuntime' (type 'AbstractCheckNativeDistributionRuntime').

Some problems were found with the configuration of task ':mirai-compose:checkRuntime' (type 'AbstractCheckNativeDistributionRuntime').
  - Type 'AbstractCheckNativeDistributionRuntime' property 'javaExec' is private and annotated with @Internal.

* Try:
Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights.

when runDistributable happend
code reference https://github.com/sonder-joker/mirai-compose/tree/BetterLoginSystem
version 0.3.2 buf 0.4.0-build183 also happened

So...just error dependence

Please check the following ticket on YouTrack for follow-ups to this issue. GitHub issues will be closed in the coming weeks.


Making Websocket Local read-write

Fixes #675

Thanks for that, can you add the signatures to the readme like the other middlewares?
we plan to improve the readme's and also make them available in our online fiber doc
https://github.com/gofiber/contrib/tree/main/swagger#signatures
https://github.com/gofiber/contrib/tree/main/swagger#signatures
....
https://github.com/gofiber/fiber/blob/453ccadadd09b80155cdde7cc9d1beae9ec91f21/docs/partials/routing/handler.md?plain=1#L8-L26

This should wait for #669 so we can test it

@supagroova friendly ping

@ReneWerner87 I took care of the merge conflict, do we need another unit-test for these changes? and the README changes.

@ReneWerner87 I took care of the merge conflict, do we need another unit-test for these changes? and the README changes.

yes would be good

I honestly have no idea how to test this, maybe @mstrYoda can help with this unit-test

I honestly have no idea how to test this, maybe @mstrYoda can help with this unit-test

Well I think adding the new if condition as a test scenario to here works well: https://github.com/gofiber/contrib/blob/main/websocket/websocket_test.go#L224

@mstrYoda @gaby is it ready for merge ?

@mstrYoda @gaby is it ready for merge ?

May be we can add unit tests here 🤔  Or we can just merge it as is.

I was going to add tests, then i realize i have no idea how to test this 😂

I was going to add tests, then i realize i have no idea how to test this 😂

Well I will add test for this function no worry, we can merge this PR 👍


Terminal feature

Adds a terminal component.
Adds the ability to execute a command against a container.
Adds a separate extension view for holding terminals, displayed as tabs at the bottom of Octant.

fixes #135
closes #43

There are some known issues that we will be creating issues for after this PR is merged:

xtermjs console error when resizing the slider view.
remote resize causes interactive shells to freeze (currently commented out).
after resizing the slider, if you navigate to a new page, the slider size is forgotten.
current tab in the extension view is forgotten when navigating to a new page.

Some observations:

The terminal has about a quarter second delay between typing a character and it showing up on the screen. Tried it on two devices in multiple browsers
When I run a command, I'd expect the terminal to open as soon as I hit enter. If it didn't open, I'd click the the thing that changed (the title of the terminal), and then maybe I'd figure out that you need to click on the thing on the bottom right. This does not feel intuitive to me.
Using the terminal creates a large amount of network traffic between the cluster and octant. I'm currently not even using the terminal, but it's sending approximately 10MB/s traffic to the cluster.
The terminal bar at the bottom of the screen should not cover up any content. It should not be over the bottom of the page when closed, but rather at the bottom of the page below the navigation and overview content areas.
When the terminal exits, it should say that it exited and also change the title to show that it has exited.
Multiple Octant browsers windows share a set of tabs. When multiple windows are open at once, the input works, but the output looks like it randomly displays parts of it on all the open open windows.

I believe I have addressed the input lag in a commit I pushed up, but I was not experiencing input lag before, so I will need you to test it for me @bryanl.
I have also pushed up a quick adjustment so the terminal / tab show that they have exited. It introduced a new bug that will need to be resolved. Changing the tab name makes angular and clarity redraw the component instead of updating it and the result it you get bumped off the tab.
The bottom bar does not cover up any content for me in Chrome or Firefox. Can you please provide a screenshot and browser details.

The multiple tab issue is something we probably want to address on a larger scale. Even without using the terminal, if you run Octant with go run -race and open multiple tabs and start clicking around there are 4 data races that are found and the result is odd behavior on the front end in some cases.
I am not dismissing it and will create an issue for it but I don't think that is a blocker here. These issue of a single Octant with multiple tabs also goes away once we make Octant an Electron application. Since there would be essentially the equivalent of an Octant per tab.

Had a conversation with @bryanl and he thinks that the switching tabs causing stream jitters is a bad experience. After thinking about it more, I agree. Although are intent is to have Octant be an application our reality is that the browser is currently our UI client and we must try to make that experience good while that's what we have.
He also pointed out a bug in which we do not properly close out the terminals when switching contexts.

@GuessWhoSamFoo has discovered that using the v2 version of the stream protocol removes the performance issues we've been seeing.

We may not need to pin the stream version. It appears that there is just an implementation problem with our TerminalSizeQueue / TerminalSize handling

Also check out the following typescript file as they are not formatted by prettier:

web/src/app/components/quick-switcher/quick-switcher.component.ts
web/src/app/models/resource-node.ts
web/src/app/modules/overview/overview.module.ts
web/src/app/modules/overview/services/websocket/websocket.service.ts


version conflict?

Version of the custom_component

Exactly the issue at hand, not sure, since the repo shows anther version than the resource in the download??
the new commit shows

while the repo file shows:

which is it?
thanks
Configuration

Add your logs here.

Describe the bug
A clear and concise description of what the bug is.
Debug log

Add your logs here.

 A release can always differ from the master branch ;)


How To Pair with Harmony Hub

I searched in the issues and wasn't able to make it work with any solution. Issue #1058 was similar to mine, but I don't run Docker, so the solution did not apply to me.
I have the ha-bridge 5.3.0 running on a raspberry pi on port 80.
When I add the Philips Hue in the Harmony Hub app on my mac, it tells me to press the center button in the bridge. I then press the link button in ha-bridge, but Harmony Hub never discovers my ha bridge and finally times outl
How can i get the pairing done?

Please turn on upnp trace from the control page and post the log after you do a discovery with the harmony hub.

Deleting the db did the job.


improved some of the English language files

Before even bothering with the German language files, I tried to improve the English files a bit. I didn't yet go through all of them though.

Thanks for your contribution. It is now merged and will be included in the next release.


chore: update @vaadin/common-frontend

Let's make sure that https://github.com/vaadin/flow/pull/18273 is merged at the same time.


new fields added to cancer disease status

Updated the example csv for cancerDiseaseStatus located at data/csv/cancer-disease-status-information.csv to include observationStatus and diseaseStatusText attributes. Also, removed dateRecorded as an attribute.

DP1 - Might want to remove the pack-lock changes :)

DP2 - Also looks like this branch has also duplicated your commits much like in the previous one! Might want to try the interactive rebase strat we went over before

I think now we just need to update the package-lock.json here to reference the new commit on MEF and we should be set


[Bug]: Project Info page opens with scroll bar in the middle

What happened?
I found a BUG 🐞
When I try to click the "More" button on the project page, it redirects to the Project page but the scroll bar is in the middle of the page rather than staring from the top.
Add screenshots
Add screenshots
https://github.com/priyankarpal/ProjectsHut/assets/95839946/5244ba66-8dc4-4bf7-840d-6814b725f326
What browsers are you seeing the problem on?
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct

yeah! assigned to you

@priyankarpal Can you assign this issue to me?
I am in GSSOC 2023.

@priyankarpal Can you assign this issue to me? I am in GSSOC 2023.

he already created a PR

Completed. Thanks for your contributions 🎉 ❤


iDRAC module failure in release-1.1.1

Describe the bug
iDRAC modules in release-1.1.1 fails due to dellemc.openmanage latest version(5.0.0) with addition of security validation parameters.

This issue has been closed with PR #786


Add support for sliding across rating on mobile

On desktop if I hold click on a star and then drag the cursor to a different star and release the click then the selected rating will reflect the last star that the cursor was positioned on. This is a nice detail that gives the rating plugin a good sense of responsiveness.
However it does not appear that this behavior works on mobile, where tapping and then sliding across the stars does not register a selection (only a single tap on a star will register a selection).
It would be nice if the aforementioned behavior worked on mobile, allowing users to make adjustments to a rating by sliding their finger rather than having to perform another tap.
Thank you for sharing this plugin- it is my favorite JS rating plugin of the countless that I've looked at!

Implemented in v2.2.0


⚠ Samsung has degraded performance

In cd00f74, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2499 ms

Resolved: Samsung performance has improved in 64c3742.


Added modifiers to listen to scroll events

Added the ability to listen to scroll events. I added the scrollmonitor dependency to listen to the changes. I added 4 modifiers (enter, enterFully, exit, and exitPartially).

``

@coreycoburn wow thank you very much for this. Would you mind if I ask you to add this to the docs as well?

Sure, I'll do that!

@coreycoburn Thank you! You can edit the index.html in the root dir. It's a bit messy tho, I'll update to a better one as soon as you're done. Thank you so much. I'll merge this, then just do another PR for the docs. Cheers!


lib2geom: fix tests on i686

Description of changes
ZHF #200691
Lib2geom tests fail on i686 due to what seems to be an integer precision issue. I have reported the issue upstream here and it got fixed there.
This imports and uses the patch from upstream to fix it here for the time being.
This library is a dependency of the Cinnamon desktop, so ideally I want this backported onto the 22.11 release branch too.

Things done

Built on platform(s)

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

[ ] For non-Linux: Is sandbox = true set in nix.conf? (See Nix manual)
[x] 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/)
23.05 Release Notes (or backporting 22.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.

Thanks.


fix: Handle scientific notation in label hex colors

Fixes #707
Properly convert numeric hex colors that could be interpreted as scientific notation (e.g. 5319e7)
Before
labels:
  - name: "example"
    color: 5319e7  #<PHONE_NUMBER>0

After
labels:
  - name: "example"
    color: 5319e7  # 5319e7

@PendaGTP Please provide a test for your code. Such as:
const actualString = parseColorFromScientificNumber(5319e7);

expect(actualString).toEqual('5319e7');

Do you get these results with the provided code?

Thanks for your feedback. I apologize my local testing was wrong.
The Issue stems from yaml.load converting scientific notation to its decimal. After consideration, I don't believe this warrants implementing a custom schema for the color, especially since the doc already specifies that labels should be quoted.
We can close the PR and the issue related.
I appreciate your time reviewing. Thanks you.


Keep dependencies up to date

Now we've upgraded to Elixir 1.8 in #489. All other outdated dependencies should be upgraded too.
Namely :phoenix + a few more.

Given v1.2 is becoming almost stable, better do this with the release after.


Question about the Gaussian Distribution and Fourier Transform

Dear Professor,
During today’s lecture, you mentioned that the Fourier Transform of a Gaussian distribution changes sigma to 1/sigma, which results in the "narrowing" of the distribution in the frequency domain. understand that sigma>0 is required for the Gaussian function to be valid.However, I was wondering: does this relationship (the narrowing effect) hold only when sigma>1? Intuitively, it feels like the transformation might behave differently when sigma<1.
Could you clarify whether sigma must be greater than 1 for this property to hold, or does it work the same for any positive sigma?
Thank you for your explanation.
[20220906-이수린]

If you are concentrating on the fact that 'narrowing' the graph of Gaussian, the narrowing effect does not occur when $$σ<1$$. In fact, the opposite happens: the Gaussian distribution in the frequency domain becomes wider.
The Fourier Transform of a Gaussian distribution swaps the standard deviation $$σ$$ in the spatial domain with $$1/σ$$ in the frequency domain.

If $$σ>1$$: The Gaussian in the spatial domain is wide, and the frequency domain Gaussian becomes narrow. This indicates that low-frequency components are dominant, emphasizing smooth variations and the overall structure of the signal.
If $$σ<1$$: The Gaussian in the spatial domain is narrow, and the frequency domain Gaussian becomes wide. This reflects that high-frequency components are less suppressed, allowing sharper transitions or finer details in the signal to persist.

These images might be helpful to understand.

Else, if you are interested in 'inversing' standard deviation of gaussian, this relationship always satisfiy by mathematical logics. I'm afraid this prove would be very long and difficult, so if you want to see more details, you can refer to followings(with the help of ChatGPT).

Fourier Transform of Gaussian

1. Gaussian Function
The Gaussian function in the spatial domain is defined as:
$$f(x) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right)$$
where:

$$\mu$$: mean (center of the distribution).
$$\sigma$$: standard deviation (controls the width of the distribution).

2. Fourier Transform Definition
The Fourier Transform is defined as:
$$F(s) = \int_{-\infty}^{\infty} f(x) e^{-i 2 \pi s x} dx$$
where:

$$s$$: frequency domain variable.
$$e^{-i 2 \pi s x}$$: complex exponential function for transformation.

3. Substituting the Gaussian Function
Substituting $$f(x)$$ into the Fourier Transform gives:
$$F(s) = \int_{-\infty}^{\infty} \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2}\right) \cdot e^{-i 2 \pi s x} dx$$
$$F(s) = \frac{1}{\sqrt{2\pi\sigma^2}} \int_{-\infty}^{\infty} \exp\left(-\frac{(x-\mu)^2}{2\sigma^2} - i 2 \pi s x\right) dx$$
4. Combining Exponentials
Simplify the exponent:
$$-\frac{(x-\mu)^2}{2\sigma^2} - i 2 \pi s x = -\frac{x^2 - 2\mu x + \mu^2}{2\sigma^2} - i 2 \pi s x$$
$$= -\frac{x^2}{2\sigma^2} + \frac{\mu x}{\sigma^2} - \frac{\mu^2}{2\sigma^2} - i 2 \pi s x$$
Group terms involving $$x$$:
$$-\frac{x^2}{2\sigma^2} + \left(\frac{\mu}{\sigma^2} - i 2 \pi s\right)x - \frac{\mu^2}{2\sigma^2}$$
5. Completing the Square
Complete the square for $$x$$-dependent terms:
$$-\frac{x^2}{2\sigma^2} + \left(\frac{\mu}{\sigma^2} - i 2 \pi s\right)x = -\frac{1}{2\sigma^2}\left(x^2 - 2x \cdot \sigma^2 \left(\frac{\mu}{\sigma^2} - i 2 \pi s\right)\right)$$
$$= -\frac{(x - \sigma^2 (\frac{\mu}{\sigma^2} - i 2 \pi s))^2}{2\sigma^2} + \frac{\sigma^4 (\frac{\mu}{\sigma^2} - i 2 \pi s)^2}{2\sigma^2}$$
This simplifies to:
$$-\frac{(x - \sigma^2 a)^2}{2\sigma^2} + \frac{\sigma^2 a^2}{2}$$
where $$a = \frac{\mu}{\sigma^2} - i 2 \pi s$$.
6. Variable Substitution
Let $$u = x - \sigma^2 a$$, then:
$$F(s) = \frac{1}{\sqrt{2\pi\sigma^2}} \exp\left(-\frac{\mu^2}{2\sigma^2} + \frac{\sigma^2 a^2}{2}\right) \int_{-\infty}^{\infty} \exp\left(-\frac{u^2}{2\sigma^2}\right) du$$
7. Gaussian Integral Solution
The integral of a Gaussian function is:
$$\int_{-\infty}^\infty \exp\left(-\frac{u^2}{2\sigma^2}\right) du = \sqrt{2\pi\sigma^2}$$
Thus:
$$F(s) = \exp\left(-\frac{\mu^2}{2\sigma^2} + \frac{\sigma^2 a^2}{2}\right)$$
Substitute $$a = \frac{\mu}{\sigma^2} - i 2 \pi s$$ and simplify to obtain:
$$F(s) = \exp\left(-2 \pi^2 \sigma^2 s^2\right) \cdot e^{-i 2 \pi \mu s}$$
Final Result
The Fourier Transform of the Gaussian function is:
$$F(s) = \exp\left(-2 \pi^2 \sigma^2 s^2\right) \cdot e^{-i 2 \pi \mu s}$$
where:

$$\exp(-2 \pi^2 \sigma^2 s^2)$$: Gaussian form in the frequency domain.
$$e^{-i 2 \pi \mu s}$$: phase shift due to the mean $$\mu$$.

@surinlee @jaein4722
Thank you for the question and the answer.
I tried to comment additional information, but failed:) @jaein4722 , thank you again for the detailed answer!


[macos] suppress swiftc warnings regarding deprecated API

Description
we are fine with that API usage, no need to see warnings every time

Related issue:
Check list

[ ] Related issue / work item is attached
[ ] Tests are written (if applicable)
[ ] Documentation is updated (if applicable)
[ ] Changes are tested and related VM images are successfully generated

/azp run macos11,macos12

/azp run macos11,macos12

/azp run macos11,macos12


[T6A3][W15-C4] Patel Drashti

Ready for Review

@Drashti96
Some comments added. Please ack & close the PR after reading comments.


Set ALL_CARGO_DIST_INSTALLER_ARGS to ''.

Closes #101.

Thanks, and sorry for the delay! I'm in the middle of a big rearchitect that will probably clobber this file but this is still a correct fix for now :)


color needs to be changed

Description

The color upon selection (auto/manual) of the carousel can confuse the user if it's selected/changing or not.
Expected Behavior

I will change its color from grey to white (when in an active state).
Screenshots

Environment:

OS: Mac Linux Windows
Browser: Chrome Safari Firefox
Version:
Device: Desktop Mobile

-> Please assign this issue to me under GSSOC (2023).

I am a GSSoC'23 contributor. I can change the color. I have all the skills required.
Please assign me this issue, I want to work on this issue under the GSSoC'23.


Make predefined FPLs visible to the user

User should have a way to list predefined FPLs ("eap", "eap-8.0", ...). Maybe they should use a different CLI option than the "custom" FPLs in the install command?

Good idea. I'm not sure if I can make the help string dynamically generated though.
There is also the ticket about allowing arbitrary versions (e.g. "eap-8.0.1"). Is that use case also intended to use the same predefined configuration (packages, repositories) as "eap"?

Maybe just hardcoded is enough for now as we're only going to support EAP and XP initially (and possibly Wildfly).
As for #40 - thinking about it, I'm not sure if it actually makes sense as the channels would override the exact version. Maybe that needs to be limited to major.minor version which would be used to select channel G:A

So XP can be just "xp", or do you want to append some version to it? I'm not sure if it's XP 5 or 6.
Re #40, I guess it's better to just stick to hardcoded "eap-80", and in future add "eap-81". Eventually to add dots.
When providing "fully qualified" fpl, do we expect just G:A, like "org.jboss.eap:wildfly-ee-galleon-pack"? Or at least is that what should be in the usage message? The version is gonna be determined from channel?

When providing "fully qualified" fpl, do we expect just G:A, like "org.jboss.eap:wildfly-ee-galleon-pack"? Or at least is that what should be in the usage message? The version is gonna be determined from channel?
Yes. The channel will dictate feature pack's version
So XP can be just "xp", or do you want to append some version to it? I'm not sure if it's XP 5 or 6.
"xp" should resolve to latest known major version, apart from that we should have "xp-50" to XP5, "xp-60" to XP6 etc


[Bug]: Windows build can't be built

Platform
Windows
Plugin
connectivity_plus_windows
Version
1.2.1
Flutter SDK
3.0.1
Steps to reproduce

connectivity_plus: ^2.3.1 in dep;
build windows desktop version.

connectivity_plus_windows version is 1.2.1, resolved by pub.
Logs
D:\projects\vergo\App\crumbs\ui_and_api_dw\windows\flutter\ephemeral\.plugin_symlinks\connectivity_plus_windows\windows\connectivity_plus_windows_plugin.cpp(84,3): error C2597: illegal reference to non-static member '`anonymous-namespace'::ConnectivityPlusWindowsPlugin::_methodChannel' [D:\projects\vergo\App\crumbs\ui_and_api_dw\build\windows\plugins\connectivity_plus_windows\connectivity_plus_windows_plugin.vcxproj]
D:\projects\vergo\App\crumbs\ui_and_api_dw\windows\flutter\ephemeral\.plugin_symlinks\connectivity_plus_windows\windows\connectivity_plus_windows_plugin.cpp(94,3): error C2597: illegal reference to non-static member '`anonymous-namespace'::ConnectivityPlusWindowsPlugin::_eventChannel' [D:\projects\vergo\App\crumbs\ui_and_api_dw\build\windows\plugins\connectivity_plus_windows\connectivity_plus_windows_plugin.vcxproj]
Exception: Build process failed.

Flutter Doctor
[√] Flutter (Channel stable, 3.0.1, on Microsoft Windows [Version 10.0.19044.1706], locale ru-RU)
    • Flutter version 3.0.1 at D:\Source\Flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision fb57da5f94 (12 days ago), 2022-05-19 15:50:29 -0700
    • Engine revision caaafc5604
    • Dart version 2.17.1
    • DevTools version 2.12.2

[√] Android toolchain - develop for Android devices (Android SDK version 32.0.0)
    • Android SDK at D:\Source\Android
    • Platform android-32, build-tools 32.0.0
    • ANDROID_HOME = D:\Source\Android
    • Java binary at: C:\Program Files\Android\Android Studio1\jre\bin\java
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)
    • All Android licenses accepted.

[√] Visual Studio - develop for Windows (Visual Studio Community 2022 17.1.6)
    • Visual Studio at D:\Source\VisualStudio
    • Visual Studio Community 2022 version 17.1.32421.90
    • Windows 10 SDK version 10.0.19041.0

[√] Android Studio (version 2021.2)
    • Android Studio at C:\Program Files\Android\Android Studio1
    • Flutter plugin can be installed from:
       https://plugins.jetbrains.com/plugin/9212-flutter
    • Dart plugin can be installed from:
       https://plugins.jetbrains.com/plugin/6351-dart
    • Java version OpenJDK Runtime Environment (build 11.0.12+7-b1504.28-7817840)

[√] VS Code (version 1.67.2)
    • VS Code at C:\Users\xjester0-work\AppData\Local\Programs\Microsoft VS Code
    • Flutter extension version 3.38.1

[√] Connected device (1 available)
    • Windows (desktop) • windows • windows-x64 • Microsoft Windows [Version 10.0.19044.1706]

[√] HTTP Host Availability
    • All required HTTP hosts are available

+1
As a Temporary Fix I overrided Dependency to 1.2.0
dependency_overrides:
  connectivity_plus_windows: 1.2.0

+1
connectivity_plus: ^2.3.0
Flutter ： 2.10.5

that's bad, I will revert the latest changes made here: https://github.com/fluttercommunity/plus_plugins/commit/8bf6ee8be2159e820ff440bf568bfedf38f414f2

https://github.com/fluttercommunity/plus_plugins/pull/883

connectivity_plus_windows 1.2.2 is now released. Do a pub upgrade to get it.


isEqualToIgnoringGivenFields(Object, String...) should fail on unrecognized field names

Summary
isEqualToIgnoringGivenFields(Object, String...) should fail if any of the field names to be ignored is unknown to both objects.
Example
    public static class Fields {
        public String field;
    }

    @Test
    public void cantIgnoreUnknownFields() throws Exception {
        Fields a = new Fields(), b = new Fields();
        a.field = b.field = "toast";

        assertThat(a).isEqualToIgnoringGivenFields(b, "unknownField");
        // should fail!
    }

Good idea, that something we are going to do as part of #1002 which I'm going to release a beta version this week.

Added to the #1002 and closing this one as duplicate.


A and D to move left and right, and I to shoot. J to use the super, which destroys all enemies on screen.

Code
Check off the items that are true.

[x] The game was made using the Sprig editor.
[x] The game is placed in the in the /games directory.
[x] The code is significantly different from all other games in the Sprig gallery (except for games labeled "demo").
[x] The game runs without errors.
[x] The name of the file/game contains only alphanumeric characters, -s, or _s.
[x] The game name is not the same as the others from gallery

Great game! why did you choose that name?

thank you, and bc it’s a shitty tempest clone
On Thu, Dec 22, 2022 at 2:28 PM Lucas @.***> wrote:

Great game! why did you choose that name?
—
Reply to this email directly, view it on GitHub
https://github.com/hackclub/sprig/pull/664#issuecomment-1363268063, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AGC3MRDBQE4PEC57ADN4P4TWOSTWLANCNFSM6AAAAAATHBFPIY
.
You are receiving this because you authored the thread.Message ID:
@.***>

I can't find it, could you send a link or a photo?

Can't find the game? It's in the commit I believe

I meant the reference game

https://en.m.wikipedia.org/wiki/Tempest_(video_game)

oh, right


Fixed ftp_uploder for new server

watch out we have a batch expert here!

all the best Onefootball mates!

@ghophp Exactly!


[Feature Request] Integrate Magichome wifi LED controllers.

I would be absolutely thrilled if you could have aurora interface with a common type of room lighting.
Its called Magichome, and it apparently uses a common HTTP request protocol to talk.
Someone already laid some groundwork using python; https://github.com/beville/flux_led
Would it be within the realm of possibilities?

I don't have any of these devices to test with, so someone else will have to implement this.

 But I don't know how to hook it into Aurora. If you can maybe tell me where/how aurora spits out commands for other devices, I might be able to jerryrig something? :')
I found an example python script in your package, but im not sure how to use it. I simply edit a copy of the script to set 'enabled' to TRUE, and put whatever is necessary to pass a color on to the magichome python script in SendColorToDevice at the bottom? How do I assign something to it in Aurora though, will it just 'tune in' to the peripheral channel, so to speak?
Im sorry for sounding so noobish, but if theres nobody who can do this, im gonna have to learn it somewhere myself. :')


Added new controller for getMessages

Added new controller for getting users message
removed guard clauses

All these change are present even in User Controller optimization PR: https://github.com/Shivz3232/inovact-nodejs-veyga/pull/34


Improvement: Recognise when the user is talking with mic muted

Idea: Would be awesome to have a behavior similar to Hangouts, that recognizes when the user is speaking with the mic muted. Maybe shoot a notification, etc. What you think?

I think that's great. I'm planning to have a audio meter to help adjust the audio level.
Your request will be easy to implement once this is done.

Awesome, no rush, just a handy feature. :+1:


Creation of multilingual documentation

All commands are described in the documentation in the section https://www.esmerald.dev/contributing/#documentation.
If you haven’t installed it yet, you need to install “click”.
In order to collect documentation you need to run the command
python .\scripts\docs.py build-all
Checklist

[ ] The code has 100% test coverage.
[ ] The documentation was properly created or updated (if applicable) following the correct guidelines and appropriate language.
[ ] I branched out from the latest main or is a sub-branch.

@DJWOMS there are some conflicts apparently but I can still checkout and test it soon. Good stuff 👍🏼


Segfault in non-debug exports when using queue_free() on a referenced node

Godot version:
3.2.3 official
OS/device including version:
Ubuntu Linux 20.04, but have tested this also applies to Windows exports
Issue description:
Apologies if I've missed something really obvious in the docs about this, but there appears to be an inconsistency in the way freed nodes are handled in GDScript.
The following works without a hitch in a debug build:
var i := 0
onready var child_node := $Child as Node2D

func _physics_process(_delta):
	if child_node:
		child_node.visible = true
	i += 1
	if i == 2:
		child_node.queue_free()

But on a release (or non-debug) build, it segfaults.
is_instance_valid seems to be how to deal with this properly, but I just find the above confusing, and it's lead me to have to do a huge refactoring operation just before a release.
Steps to reproduce:
Attach the above script to a scene with a child Node2D called Child
Minimal reproduction project:
queue-free-segfault.zip

Related: #43021
Basically, you need to set child_node to null manually (the null check should also fail in debug builds but currently it doesn't)

I may have missed a side-effect somewhere, but I noticed this happening even after I'd set them to null.


Removed exit error when run-time and load shape supplied

I noticed a little discrepancy, when running in headless mode with run-time parameter and a LoadTestShape I got the error: It makes no sense to combine --run-time and LoadShapes. Bailing out.. I also noticed that the same thing doesn't occur when running with GUI. I tested my solution locally and it seems to work fine. I also ran the automated tools and the following failed two: test_print_stats, test_print_percentile_stats. However they also failed without the change and I'm not sure if its related to me running them in WLS2. Could someone who is more involved with the project test this changes properly and merge if everything is ok?

Can you add a unit test? (in test_main.py) One that runs a shape-test with no end time and --run-time 1


Better support for defining grid in LESS (instead of html)

Instead of using html classes like .span4 and .row in your html, it was possible to set the grid in your LESS code (in 1.4) with  makeColumn(@columnSpan) and .row directyly in LESS. (See Issue #824)
With the new grid system, this has become more difficult. What is the best way to approach this?
My first approach was creating custom functions for my grid, like .makeColumn(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, @gridSpan){ but than you have to do the following for every thing you want to define:
.block {
      #customGridSystem > .makeColumn(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, 4);
 }

My second approach is changing the #gridSystem mixin
[class*="span"] {
  #gridSystem > .gridColumn(@gridGutterWidth);
}

to
.span1, .span2, .span3, .span4, .span5, .span6, .span7, .span8, .span9, .span10, .span11, .span12 {
  #gridSystem > .gridColumn(@gridGutterWidth);
}

Then (also in the #gridSystem > generate() mixin)
#customGridSystem > .generate(); // Generate our grid (also in responsive..)
For responsive, also just include this. I can then define my grid once.
#customGridSystem {
    .generate() {   //Generate our custom grid
        header, #main, footer {
           .row;
        }
        .block {
          .span4;
        }
    }
}

Offcourse I could also code this directyly in the gridSystem..
Any thoughts on the best way to handle this? Any big downfalls for using 12 selectors (span1, span2 etc) instead of [class*="span"], or for assigning grids like this?
(Edit: same goes for responsive.less;
// Make all columns even
.row > [class*="span"],
.row-fluid > [class*="span"] {

Yes, that would work, but only when you define the variables for the grid globally, instead of in the mixin:
(Which they were first)
@media (min-width: 1200px) {

    // Reset grid variables
    @gridColumns:       12;
    @gridColumnWidth:   70px;
    @gridGutterWidth:   30px;

    // Fixed grid
    #gridSystem > .generate();
}

This way you can use the variables globally, and create a makeColumn(@num) function, instead of passing all the variables to each function, so it's easier to oversee the function.
(ie. I would rather use .block { .makeColumn(3); } or .block{ .span4;} instead of #gridSystem > .columns(@gridGutterWidth, @gridColumnWidth, @gridRowWidth, 1); )

Hi, totally agree with previous comments, great love and efforts on bootstrap minus the lack of simple syntax for fixed/fluid grid that we can directly use in less file... It should be simple as :
@columns: 12;
@column-width: 60;
@gutter-width: 20;
body{
    row;
}
article{
    column(9);
}
aside{
    column(3);
}

Take a look at http://semantic.gs/ wich has an interesting pattern for grid generation with 25 lines of less definition that give ability to :

Fixed Layout
Fluid Layout
Maximum-width
Nested Columns
Responsive

KISS ! ;-)

I've added the .makeColumn mixin back, along with .makeRow, to 2.0.1-wip. You can now once again use them to create more meaningful layouts. Please note though, you'll need to reset these for responsive layouts if you like—they will not work out of the box.

For the new (2.0.2) version, I use the same markup as the new grid system, but on my custom mixin.
#custom {
	.grid(@gridColumnWidth, @gridGutterWidth){   //Generate our custom grid
		//Define styles for our custom grid (same as normal, but added width=auto version
		.span (@columns){
			width: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1));
			float: left;
			margin-left: @gridGutterWidth;
		}
		.span (@columns) when(@gridColumnWidth = auto){
			float: none;
			display: block;
			width: auto;
			margin: 0;
		}
		.row() {
			margin-left: @gridGutterWidth * -1;
			.clearfix();
		}
		.row() when(@gridColumnWidth = auto){
			margin-left: 0;
		}
		.offset (@columns) {
			margin-left: (@gridColumnWidth * @columns) + (@gridGutterWidth * (@columns - 1)) + (@gridGutterWidth * 2);
		}

		//Define the styles
		header, #main, footer {
		   .row();
		}

		.block {
		  .span(4);
		}
	}
}

This way, you can use the responsive layout, like the #grid .core():
#custom > .grid(70px, 30px);

But also for the <767px:
#custom > .grid(auto, 20px);

This way, the behaviour is the same as the normal .span and .row classes. (Full width on small devices)

@Barryvdh Thanks for the example, that seems to be a pretty way to accomplish this


Clear credits on logout

If response dictionary has length (1 or more buckets for credits), update shared prefs with the values, otherwise, user has no reward history. Set count to 0 for default bucket.
@aaustin @derrickstaten

What's the value of setting it to 0 vs just letting counts[default] return 0 for the nil / missing value?

both the previous solution and this solution fail to properly handle the case where
cached locally:
"default": 1
on server:
"special": 1
--
the outcome after should be
cached locally:
"special": 1
unfortunately the actual result would be:
"default": 1,
"special": 1

So then you just need to start from a clean dictionary on each load, right? I'm actually curious why these are even kept locally, as they can be out of date at any point (the server has to re-verify when you try to actually use them). I had made a task at one point to just make the getCounts methods async, but never got to it.

@derrickstaten - your use case is solved when logout is invoked - so we don't need accommodate that logic here. In the case of the same user no longer having "default" (or rather, that going to 0), then the result would be:
"default": 0
"special": 1

@Sarker what about when the user doesn't log out, but between sessions, their credit amounts change? Locally the value isn't cleared, so you'd still see one.

I think for a full solution, setting should be moved to BNCPreferenceHelper, which can then return hasChanged.
As mentioned above, we have a scenario that isn't covered. With the current method, if a key isn't present in response.data but it is present locally on BNCPreferenceHelper, then we don't update locally -- we don't set that bucket to 0 (or remove the bucket entirely) on BNCPreferenceHelper.

updated, please review @derrickstaten

looks good :+1:
It's also possible to locate the comparison logic in the BNCPreferenceHelper and have a method there return YES/NO for updated, which would involve less passing back and forth between preference helper and load rewards request. But I see no advantage to refactoring at this point. Good work!


Add Autoplay functionality

replays will tend to break at aspect ratios narrower than 4:3

tested this with a ton of beatmaps and different mods and it seems to work relatively well, though if you can i really wish that you can fix it breaking on an aspect ratio any narrower than 4:3.

I think the issue comes from the scaling of the playfield. I'll try to see what i can do.
Also right now it always alternates between keys. Do you think it should single tap if the notes are slow enough?

yeah sure, there's not really much reason for it to alternate if the notes aren't fast

so for some reason the replay input is scaling to fit 4:3 aspect ratio while the playfield is scaling to fit 1:1 which causes the inconsistency. Still not sure how to fix it though.

Wait, I just realized that made the playfield smaller

seems to work well now, but the cursor seems to go out of place on a 0.67:1 aspect ration

Adding the TauPlayfieldAdjustmentContainer also started to break scaling on some things

I'm not very experienced with this so I would appreciate any help

you can change the distance as which the DrawableTauJudgement is placed from the center here:
https://github.com/Altenhh/tau/blob/120c7758bca5e233815d450cd395a3d546638bc9/osu.Game.Rulesets.tau/UI/tauPlayfield.cs#L158

thank you. I'll see if i can get it working nicely tomorrow

works quite well now! 👍


Include Dockerfile

I've tried this a few times and every time I run into some random problem that I can only assume is related to the version of node/npm installed or something. A Dockerfile would help alleviate this.

@colemickens can you make a pull-request?

I don't know the condition for a pull request. But I have a starting point for you. It is working for me:
FROM node:slim

MAINTAINER Robert Brem<EMAIL_ADDRESS>
RUN apt-get update && \
    apt-get install git -y
WORKDIR /var/www
RUN git clone https://github.com/robertBrem/pokerui
WORKDIR /var/www/pokerui
RUN apt-get purge -y git && \
    apt-get autoremove -y && \
    apt-get -y clean && \
    rm -rf /var/lib/apt/lists/*

RUN npm install -g webpack webpack-dev-server typings typescript
RUN npm install
RUN npm run typings-install
RUN typings install
CMD npm start

I had also to add the -- host <IP_ADDRESS> in package.json. But i think normally it should be the default.
    "server": "webpack-dev-server --inline --colors --progress --display-error-details --display-cached --host <IP_ADDRESS> --port 3000 --content-base src",

I think it is out of scope of this simple starter kit. Closing for now.


More progress on biome stuff

You're going to have to fix the merge conflicts with the refactor PR. As I stated in Discord, it really would've been a better idea to hold off on posting this PR until after the refactor was done so you could've had merge conflicts already taken care of.

Manual merge wasn't difficult


How to query only own data?

How to query only own data? That is. I've authenticate the user by Oauth2 and then he can only query his data ( nodes ).

Like querying by the starting nodes of a user?

Sorry, I mean member as user. Yes but you can query data of someone else if you change the node id and you are not authorized to do ( thinking to privacy )

I can't think of a way using the core feature set as it is right now but you could check the members access yourself by adding a check in the overridden method where you've added the [Authorize] attribute. But if you want real separation of the data you might also have to restrict access to the Parent and Children properties because you could use these to traverse the content tree, thereby, accessing data unrestricted. To restrict access to the properties you can also use the [Authorize] on the properties by creating a custom model extending the basic model in UHeadless. (See the documentation).
If you figure out a way to do it feel free to add a PR with documentation on how to do it or better yet a PR to add it to the core functionality 😄

Thanks to your reply. I'm thinking how to do this.

@biapar I don't think your solution is that far off. But if we wanted to use it as an attribute there are a few things that would need to be solved:

How do we get the content id for the content node being loaded
How do we get the member id
What about pages not accessible to the member. Here you want to either redirect to the login or access denied page.

Note: If we should add this into UHeadless as the project is right now we need to support developers either not using the Member package and/or developers not using the authorize attribute.

Hi, I created a custom controller that release a oauth2 token with some claims like Member ID and Groups Members as roles.
I setted the access to to the content node with the member group associated to the login.
So the next step is to customize the authorize by roles or to build a custom controller that check if the requested node has the member roles eguals to the member roles associated to the login.

I found this handler https://learn.microsoft.com/en-us/aspnet/core/security/authorization/resourcebased?source=recommendations&view=aspnetcore-6.0

If I understand, we need to build a generic mutation classes and customize the authorize plus to build a custom policies.

This can now be done with the Public Access example where you validate data access on the FE or by extending the models or queries with the authentication logic: https://github.com/nikcio/Nikcio.UHeadless/tree/contrib/examples/code-examples/Headless/PublicAccessExample


cant update coin

i am trying to remove excess tags from LION coin.
auto merger keeps saying found line removed. cannot New auto merge.
i had to remove my original fork and start again, what options do i have to remove tags?

You are can't delete any lines without manually approve.

having difficulty finding the MR option. Can you point me in the right direction?

https://github.com/solana-labs/token-list/pull/14357
i have created another pull, is this what i would need to do?

@jrwesty23 this all what you need, wait when that will be merged

yes all the tags removed besides "social-token", thank you.

sorry last question. average time to complete MR?

@jrwesty23 i don't know, i wait  when @keone help me

merged


rollup-plugin-terser uses vulnerable serialize-javascript pkg

serialize-javascript vulnerability is fixed in 2.1.1
rollup-plugin-terser PR fixes this: https://github.com/TrySound/rollup-plugin-terser/pull/54 or https://github.com/TrySound/rollup-plugin-terser/pull/53
Waiting for merge before updating rollup-plugin-terser

Using commit hash 41b33098ecc9823ababf76bdef57e6c09db870b3 temporarily until fix is merged in rollup-plugin-terser

Resolved


intelliJ console log problem in ios

Describe the bug
When debugging ios application the output to console always like this. Android is colored and looks usual.
To Reproduce
Intellij 2022 and later debug the application in ios
Expected behavior
Colored and formatted logs should be seeble.
Screenshots

Desktop (please complete the following information):

OS: MacOS Sonoma
Browser Chrome

Smartphone (please complete the following information):

Device: iPhone 15
OS: ios 17
Browser Stock

The image is from flutter_dio_logger but it is excatly the same case with .info, .warning and error states.
Regarding #104, yes I initialize like this
import 'package:talker_flutter/talker_flutter.dart';

final talker = TalkerFlutter.init();

before using initialization method it was the same characters like <..> in #104 after init, its like this.
  talker: ^4.0.0
  talker_flutter: ^4.0.0
  talker_dio_logger: ^4.0.0

Flutter: 3.16.9
Dart: 3.2.6

Flutter intellij Plugin: 77.2.2
Dart intellij plugin: 232.10286

Not necessarily an answer to your issue but under the hood talker uses log for iOS and mac and debugPrint for anything other then web, perhaps this is why it is not shown the way you expect in inteliJ.
So maybe pass a custom logger to your init function.
// 🎯 Dart imports:
import 'dart:developer';

// 🐦 Flutter imports:
import 'package:flutter/foundation.dart';

// 📦 Package imports:
import 'package:talker_flutter/talker_flutter.dart';

final talker = TalkerFlutter.init(
  logger: TalkerLogger(
    output: debugPrint, // or log
    settings: TalkerLoggerSettings(),
  ),
);

@XanderD99 thx. But both solution gives the same result, suprisingly.

I am having the same problem. Also after initialising using TalkerFlutter.init()

same here

same here

Not necessarily an answer to your issue but under the hood talker uses log for iOS and mac and debugPrint for anything other then web, perhaps this is why it is not shown the way you expect in inteliJ.
So maybe pass a custom logger to your init function.
// 🎯 Dart imports:
import 'dart:developer';

// 🐦 Flutter imports:
import 'package:flutter/foundation.dart';

// 📦 Package imports:
import 'package:talker_flutter/talker_flutter.dart';

final talker = TalkerFlutter.init(
  logger: TalkerLogger(
    output: debugPrint, // or log
    settings: TalkerLoggerSettings(),
  ),
);

It is not helps because TalkerFlutter overwrites the output setting.
The solution: Simply do not use TalkerFlutter! It doesn't do anything except that pipes output to log() instead of debugPrint() that actually causes the problem! I think it was a solution for a problem in the past, but this factory went obsolete I think.

Unfortunately this doesn't work either

@westito thanks for the fast response!
The solution you suggest improves the line format a little but still leaves these artifacts \^[[38;5;4m which I assume are related to console color codes

You sure! Sorry, my bad. I tried with macOS only. As you see, on macOS it is working (TalkerFlutter.init() uses log() instead of debugPrint()). But yes, on iOS it is not working.

Also, the log() call is not visible with run command.

However, on web console the colors are visible:

So, right now there is no solution I think. iOS escapes special control characters in log likely because security reasons. The intresting part is that log() uses Dart VM Service to print logs so I would think it is not go through iOS filters. But it is possible both logging uses stdout. I don't know how it works under the hood. A possible solution can be completely skip stdout and use Dart VM Service communication channel to send logs.

@westito thanks again for looking into this!
And you are right, it appears to be an old, internal Flutter issue flutter/#64491


Add .gitattributes files to repos to normalize line endings

Hello 👋 - can you update the repo to address problems like #577 from the VSTS docs repo (proactive change here...)?  Thanks 🙏
Apparently, there is a fix here: MSFT Docs Issue 362

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

ID: 245ef8a4-a811-19b7-676c-aa9b82e2126f
Version Independent ID: ad2ec743-2aa7-b3c7-3350-2986a78d7c90
Content: What is Azure Active Directory B2C?
Content Source: articles/active-directory-b2c/active-directory-b2c-overview.md
Service: active-directory
GitHub Login: @davidmu1
Microsoft Alias: davidmu

@spottedmahn Thanks for your feedback! We will investigate and update as appropriate.

@spottedmahn I have assigned the issue to the content author to investigate and update as appropriate.

FYI, .gitattributes contents are here

@spottedmahn Can you be more specific about what the issue is against the B2C overview article? I understand the repo problem, but I do not see where that problem occurs in this file. If this is a general comment towards all files in the repo, can you open issues specific to those articles and then close this issue? Thanks

it's a pro-active repo issue...

Ok, I will pass the information to the team thanks. I don't find any occurrences in this article though so can we close this issue?
#please-close


Continents and elevations on planet view

I had a process to create continents:
https://github.com/BillmanH/dsadventure/blob/main/notebooks/Creating a Randomly Generated World in Python.ipynb
It might be a good fit for the height map:
https://doc.babylonjs.com/features/introductionToFeatures/chap5/hills

This has been implemented.


feat: input, textarea, auto-complete

Checklist

[x] Fix linting errors
[x] Tests have been added / updated (or snapshots)

Change information
input

add variant, stats -> color, misc style
remove some unused style from doc

textarea

add variant, stats -> color, misc style
remove some unused style from doc
add word count ui, maxLength prop automatically enables the counter ui

auto-complete

add variant, stats -> color, misc style
remove some unused style from doc
add fuzzy-match style to none custom auto-complete options

:tada: This PR is included in version 1.0.0-alpha.22 :tada:
The release is available on:

npm package (@alpha dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


Added tests for symbolic enumeration.

Coverage increased (+5.9%) to 88.943% when pulling a0901caf58c9b264d0f13a475b4dc6685905909e on reity:master into 53e7201c81289c02c95b9a933a8c2d7fe40b587f on hicsail:master.

Superseded by #94, in which changes are consolidated into a single commit.


refactor(fx-2731): filter q/a - autosuggest ui

Closes: FX-2731
https://github.com/artsy/force/commit/91b479c4d8b81361497ae739569c93f4c44d7e23 builds a much simpler autosuggest input.
Since the code for all the filters is identical; I just abstracted it into a component. Mind you it's not a good abstraction; it's just a: this code is all the same so here it is in one place. I'm not opposed to these just being copy-paste; hence the draft. Will follow up with specs, depending on which way this goes.

@mzikherman in this case we actually don't want the "accessibility" features (which aren't even very complex in that case). We don't want arrow keyboard nav for this. You'd simply tab. What you're doing is filtering an existing UI which is the checkbox filters — It's not an auto-suggest dropdown which is a very different kind of UI. One accessibility feature I would add here is just announcing the matched results to screen readers.

We don't want arrow keyboard nav for this.

How come? That seems like a pretty standard autocomplete/dropdown type UI interaction, which this pretty much is, no?

It's not an auto-suggest dropdown

Ah, interesting! I'm not sure I follow, is this not that? Seems that way to me.

It's not an auto-suggest dropdown

It's not in the sense that the non-filtered checkboxes also aren't. If one has an up/down keyboard navigation; should the other? I'm not necessarily opposed to adding it to everything but it's definitely weird. There's no WAI-ARIA spec for this type of UI AFAIK. I imagine you'd want to move the focus ring around.
Could you find some prior art? Some site that does this: filters an existing checkbox UI but supports up/down keyboard navigation?

I hear you! I definitely do not know any prior art for this 😅
I'm not opposed to making the change, just wanted to understand the reasoning for stopping to use that library and everything.

I'm going to go ahead with this direction unless we want to add the up/down keyboard navigation (in which case we add but we still wouldn't want to use that library)


Edge: Text Highlights on Sayings screen when select results displayed

Please describe the issue you are having here and answer the question below.
When I click on the bottom left corner to show more results by page, text will highlight in the page again just as the previous posts.

Step 7.21

Did you download a release or pull from Master? Which release?
release 21.1
What operating system are you running?
win 10 pro
Are you running locally or in the cloud?
local
Which browser are you using?
Edge

I wasn't able to reproduce this one, please re open if you have this bug again.


[FEAT] Prefetching hook that fetches server state data ( maybe based on action + resource)

Is your feature request related to a problem? Please describe.
I think currently refine doesnt have a prefetch hook for a resource. Like if a user is hovering on a link/button or wherever the entity maybe, the developer might want to trigger prefetching based on it, however currently we dont have such hook to do so.
Describe alternatives you've considered
No response
Additional context
The goal of prefetching is to make data fetch before the user navigates to a page or attempts to load some known content.  This will improve the user experience on page navigations as it will greatly cut down on the loading time due to the data being quickly available and we wont have to see the skeleton/loaders on our screen.
Describe the thing to improve
I think a simple usePrefetch hook will be great where we can pass it action and resource.

Hi @shahan007 we believe it could be a great improvement! Thanks for the report, we'll refine it and add it to our backlog.


Fixed #5522 -- Don't override global context in render_plugin_toolbar_config tag (#5523)

Forward port https://github.com/divio/django-cms/pull/5523

Coverage increased (+1.05%) to 90.155% when pulling c7c9f4f479b45f0591c397ced7981e8566009b9f on czpython:fp/3.4.x/5522 into 38621b4b3e9e7ac4e8f8dabe3c047c87a206774f on divio:develop.


Error when build with Lottie

Hello,
sorry but I install the nugets and when i build for Android i have so many warnings and one error.

Sorry i dont kwon whats happen but install again with a new project and works :)


Add error message for missing -seq

Currently, one gets the following error message if one forgets the -seq command line argument when using polyply gen_seq:
Traceback (most recent call last):
  File "/Users/alessandri/miniconda3/envs/polyply/bin/polyply", line 258, in <module>
    main()
  File "/Users/alessandri/miniconda3/envs/polyply/bin/polyply", line 254, in main
    subprogram(**args_dict)
  File "/Users/alessandri/miniconda3/envs/polyply/lib/python3.10/site-packages/polyply/src/gen_seq.py", line 377, in gen_seq
    seq_graph = generate_seq_graph(seq, macros, connects)
  File "/Users/alessandri/miniconda3/envs/polyply/lib/python3.10/site-packages/polyply/src/gen_seq.py", line 229, in generate_seq_graph
    for idx, macro_name in enumerate(sequence):
TypeError: 'NoneType' object is not iterable

which is kinda criptic.
With this PR, one gets the following error message:
Traceback (most recent call last):
  File "/Users/alessandri/miniconda3/envs/polyply/bin/polyply", line 258, in <module>
    main()
  File "/Users/alessandri/miniconda3/envs/polyply/bin/polyply", line 254, in main
    subprogram(**args_dict)
  File "/Users/alessandri/miniconda3/envs/polyply/lib/python3.10/site-packages/polyply/src/gen_seq.py", line 381, in gen_seq
    seq_graph = generate_seq_graph(seq, macros, connects)
  File "/Users/alessandri/miniconda3/envs/polyply/lib/python3.10/site-packages/polyply/src/gen_seq.py", line 231, in generate_seq_graph
    raise IOError(msg)
OSError: `sequence` is empty; maybe you forgot to pass the -seq command to `polyply gen_seq`?

which I think would help the user better. What do you think?
I coded this up quickly by looking at other error messages but let me know if I did something wrong. I tested the code and the message is printed out when it should. Please also suggest how to improve the message if needed.

@ricalessandri thanks for the PR. For sure it is useful to add a legible error message for that piece of code. I would add one additional thing. In the following line in bin/polyply add required=True. Then you must pass a sequence to polyply gen_seq.
https://github.com/marrink-lab/polyply_1.0/blob/8be57193ccd285d30837ac2521f9cc54732730ca/bin/polyply#L198
Since it then is impossible to not have -seq, we should slightly rephrase the original error message to something like sequence is empty; you need to provide a sequence to gen_seq
Feel free to rephrase though.

solved with #312