An error occurred during installation

A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last):  File "runpy.py", line 187, in run_module_as_main
File "runpy.py", line 110, in get_module_details
File "J:\iw3\nunif\waifu2x_init.py", line 1, in
from .utils import Waifu2x
File "J:\iw3\nunif\waifu2x\utils.py", line 5, in
from nunif.transforms.tta import tta_merge, tta_split
File "J:\iw3\nunif\nunif_init.py", line 3, in
from . import transforms
File "J:\iw3\nunif\nunif\transforms_init_.py", line 1, in
from .std import (
File "J:\iw3\nunif\nunif\transforms\std.py", line 2, in
from torchvision import transforms as T
File "J:\iw3\python\lib\site-packages\torchvision_init_.py", line 6, in
from torchvision import meta_registrations, datasets, io, models, ops, transforms, utils
File "J:\iw3\python\lib\site-packages\torchvision\models_init.py", line 2, in
from .convnext import *
File "J:\iw3\python\lib\site-packages\torchvision\models\convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "J:\iw3\python\lib\site-packages\torchvision\ops_init_.py", line 1, in
from ._register_onnx_ops import register_custom_op
File "J:\iw3\python\lib\site-packages\torchvision\ops_register_onnx_ops.py", line 5, in
from torch.onnx import symbolic_opset11 as opset11
File "J:\iw3\python\lib\site-packages\torch\onnx_init.py", line 59, in
from .internal.onnxruntime import (
File "J:\iw3\python\lib\site-packages\torch\onnx_internal\onnxruntime.py", line 37, in
import onnxruntime  # type: ignore[import]
File "J:\iw3\python\lib\site-packages\onnxruntime_init.py", line 23, in
from onnxruntime.capi._pybind_state import ExecutionMode  # noqa: F401
File "J:\iw3\python\lib\site-packages\onnxruntime\capi_pybind_state.py", line 32, in
from .onnxruntime_pybind11_state import *  # noqa
AttributeError: _ARRAY_API not found
A module that was compiled using NumPy 1.x cannot be run in
NumPy 2.0.0 as it may crash. To support both 1.x and 2.x
versions of NumPy, modules must be compiled with NumPy 2.0.
Some module may need to rebuild instead e.g. with 'pybind11>=2.12'.
If you are a user of the module, the easiest solution will be to
downgrade to 'numpy<2' or try to upgrade the affected module.
We expect that some modules will need time to support NumPy 2.
Traceback (most recent call last):  File "runpy.py", line 187, in run_module_as_main
File "runpy.py", line 110, in get_module_details
File "J:\iw3\nunif\waifu2x_init.py", line 1, in
from .utils import Waifu2x
File "J:\iw3\nunif\waifu2x\utils.py", line 5, in
from nunif.transforms.tta import tta_merge, tta_split
File "J:\iw3\nunif\nunif_init.py", line 3, in
from . import transforms
File "J:\iw3\nunif\nunif\transforms_init_.py", line 1, in
from .std import (
File "J:\iw3\nunif\nunif\transforms\std.py", line 2, in
from torchvision import transforms as T
File "J:\iw3\python\lib\site-packages\torchvision_init_.py", line 6, in
from torchvision import meta_registrations, datasets, io, models, ops, transforms, utils
File "J:\iw3\python\lib\site-packages\torchvision\models_init.py", line 2, in
from .convnext import *
File "J:\iw3\python\lib\site-packages\torchvision\models\convnext.py", line 8, in
from ..ops.misc import Conv2dNormActivation, Permute
File "J:\iw3\python\lib\site-packages\torchvision\ops_init_.py", line 23, in
from .poolers import MultiScaleRoIAlign
File "J:\iw3\python\lib\site-packages\torchvision\ops\poolers.py", line 10, in
from .roi_align import roi_align
File "J:\iw3\python\lib\site-packages\torchvision\ops\roi_align.py", line 4, in
import torch.dynamo
File "J:\iw3\python\lib\site-packages\torch_dynamo_init.py", line 64, in
torch.manual_seed = disable(torch.manual_seed)
File "J:\iw3\python\lib\site-packages\torch_dynamo\decorators.py", line 50, in disable
return DisableContext()(fn)
File "J:\iw3\python\lib\site-packages\torch_dynamo\eval_frame.py", line 410, in call
(filename is None or trace_rules.check(fn))
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3378, in check
return check_verbose(obj, is_inlined_call).skipped
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3361, in check_verbose
rule = torch._dynamo.trace_rules.lookup_inner(
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 3442, in lookup_inner
rule = get_torch_obj_rule_map().get(obj, None)
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2782, in get_torch_obj_rule_map
obj = load_object(k)
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2811, in load_object
val = _load_obj_from_str(x[0])
File "J:\iw3\python\lib\site-packages\torch_dynamo\trace_rules.py", line 2795, in load_obj_from_str
return getattr(importlib.import_module(module), obj_name)
File "importlib_init.py", line 126, in import_module
File "J:\iw3\python\lib\site-packages\torch\nested_internal\nested_tensor.py", line 417, in
values=torch.randn(3, 3, device="meta"),
J:\iw3\python\lib\site-packages\torch\nested_internal\nested_tensor.py:417: UserWarning: Failed to initialize NumPy: _ARRAY_API not found (Triggered internally at ..\torch\csrc\utils\tensor_numpy.cpp:84.)
values=torch.randn(3, 3, device="meta"),

Fixed https://github.com/nagadomi/nunif/commit/69ae9a1d0e8ee596844f977743ff814fc3647daa. Try to run update.bat again.

Fixed 69ae9a1. Try to run update.bat again.

Thanks for the instant fix, awesome!


Review timeseries

#137 #138 #140
Reviews Timeseries, standardising some of the notation and class naming. Also adds a simple Sine Timeseries and a PulseSigmoid Timeseries.
Example output of PulseSigmoid from the following .conf, comparing with PulseRect
Time: 15 Deltat: 0.0001
Nodes: 144

    Connection matrix:
From:  1
To 1:  0

Population 1: Stimulation
Length: 0.5
 Stimulus: Superimpose: 2
 Stimulus: PulseRect - Onset: 2 Node: 72 Amplitude: 4.2 Width: 1.0 Period: 3 Pulses: 3
 Stimulus: PulseSigmoid - Onset: 2 Node: 42 Amplitude: 4.2 Width: 1.0 Period: 3 Pulses: 3

Output: Node: All Start: 0 Interval: 0.001
Population: 1
Dendrite:
Propagator:
Coupling:

There are a few remaining issue noticed during the process, added two new issues:
#143 #142 #145

@pausz requested changes addressed by cc0f936
The two other recent commits (e467241 and 708ea8b) fix issues encountered while addressing your requested changes.

Check the Onset time of the PulseSigmoid and PulseRect:

@stuart-knock Could you add and commit the images for the user manual please?

@pausz  image files added with (91cf63e), apologies, I just forgot.


Can run the previous versions images on a Jetpack host?

I tested that the NVIDIA Jetson AGX Orin Developer Kit jetpack 6.4 [L4T 36.4.0] host does not support the torch in the dustynv/l4t-ml: r35.4.1 image to use cuda, but supports the torch in the dustynv/l4t-ml: r36.2.0 image to use cuda.
Some projects are based on the dustynv/l4t-ml: r35.4.1 mirror configuration environment, but it does not work in the jetpack 6.4 [L4T36.4.0] host.
Does a jetpack version upgrade mean that the environment needs to be reconfigured according to the corresponding version of the base image? Is there a simple way for older versions of Jetpack to call images from previous versions so that the torch in them can use cuda?

Hi @Ailiee, it depends, but the images are typical not compatible with each other, except for some minor changes in JetPack versions sometimes.  r35.4 -> r36 was a big jump from JetPack5/Ubuntu 20.04 to JetPack6/Ubuntu 22.02, so those definitely needed rebuilt and upgraded.   r36.3 -> r36.4 (JetPack 6.0->6.1) also needed a rebuild to go from CUDA 12.2 to 12.6

Ok, thanks for your open-source project and detailed answer. @dusty-nv


extend-into-ground-distance not work in creating claims(Ver <IP_ADDRESS>9)

Thx for the GriefPrevention update,but i found something went worng when i create a new claim,
i've tested GP with the Latest version(<IP_ADDRESS>9) on spongeapi5.1.0(Minecraft1.10.2),And i found Claim Manager always ignor the configuration 'extend-into-ground-distance' in the globle.conf when creating a new claim, it just return the lesserBoundary with the Y axis where the last shovel location is,so  i try to find out the promblem：Why The 'extend-into-ground-distance' Not Work?
Im not good at programming ,So im nor sure is the promble caused in line 9th:
1            if (!cuboid) {
2               y = lastShovelLocation.getBlockY() - activeConfig.getConfig().claim.extendIntoGroundDistance;
3                if (y > 0) {
4                    cuboid = true;
5                }
6            }
7            Vector3i lesserBoundary = new Vector3i(
8                    lastShovelLocation.getBlockX(),
9                    cuboid ? lastShovelLocation.getBlockY() : 0,
0                    lastShovelLocation.getBlockZ());
1            Vector3i greaterBoundary = new Vector3i(
2                    location.getBlockX(),
3                    playerData.getCuboidMode() ? location.getBlockY() : player.getWorld().getDimension().getBuildHeight() - 1,
4                    location.getBlockZ());
5            // try to create a new claim

is there should to be ：
cuboid ?lastShovelLocation.getBlockY() - activeConfig.getConfig().claim.extendIntoGroundDistance : 0,
By the way ： i'd like the claimming block counting method(100*100) before Gp change to chanks  counting(35.0 more chanks.(2294000blocks))
Im not good at English,Have a good day!
; )

2D claims are always 0-255 now. If you want to create a claim between bedrock and sky, you must enter 3D cuboid mode with /cuboid. The 'extendIntoGroundDistance' only remains for migration reasons.

Let me know if you need a command to easily extend 3d cuboid claims into the ground. So I can probably have something like /claimextend 5 which would extend it 5 blocks down.

I'll keep this opened until you have tested.

maybe i have send the wrong intention,i mean when the player start claiming a new area (with cuboid mode off by default) ,the plugin should get the value in "extend-into-ground-distance",but in this mode(in default mode),claiming manager won't care the"extend-into-ground-distance"from configuration file,so,i just set the extend value to 30,the plugin will create a claim only extend to sky(256)but extend lower to bedrock with "30".
i know that cuboid mode will just define a cube area with goldshovel(by twice right click,and without extend),but i want to say what happened in default mode,it wont extend to lower even 1 more block,even i set extend value to 30.

@Tollainmear Right, as I just said this is no longer used in 4.0.0+ with 2D claims (default). 2D claims can ONLY be bedrock to sky now. If you want a specific area then you MUST use /cuboid mode.

by the way Thx for reply

oh....why not,its convenient for player who would dig other's claim under 13 level,But then he would be blocked by other's useless claim.....

Remember, there are 2 types of claim modes (2D and 3D). 2D is the default which always claims from bedrock to sky and 3D claims whatever you select. If you dont want anyone under a person's claim then use 2D which will auto extend to bedrock always.

For further discussion, check our discord https://discord.gg/jy4FQDz

anyway,the smarter function will be cut with the extend function was abandoned,and then,claimming method is going unflexible.
but its really useful for some survival server before the extend function was cut.

Its not unflexible at all, have your users get used to /cuboid and they can construct whatever claims they want.


🐛 [cloud_functions_web] CloudFunctions calls the "us-central1" server even if the regions is set to "europe-west1"

Bug report
When calling a "europe-west1" function, the url is looks the function in the "us-central1" server, and eventually crashes, even if setting the region to europe.
Steps to reproduce
call a function and set the region, like this
HttpsCallable callable = FirebaseFunctions.instanceFor(region: 'europe-west1').httpsCallable('function-name');
Expected behavior
The function must be called to the europe-west1 server.
Additional context
Rolling back to 3.0.1 fixes the issue

Hi @denkoul
Could you please provide your flutter doctor -v and flutter pub deps -- --style=compact?
Thank you

Doctor
[✓] Flutter (Channel beta, 1.24.0-10.2.pre, on macOS 11.0.1 20B29 darwin-x64, locale en-GR)
• Flutter version 1.24.0-10.2.pre at /Users/denkoul/Development/flutter
• Framework revision 022b333a08 (8 days ago), 2020-11-18 11:35:09 -0800
• Engine revision 07c1eed46b
• Dart version 2.12.0 (build 2.12.0-29.10.beta)
[✓] Android toolchain - develop for Android devices (Android SDK version 30.0.2)
• Android SDK at /Users/denkoul/Library/Android/sdk
• Platform android-30, build-tools 30.0.2
• Java binary at: /Applications/Android Studio.app/Contents/jre/jdk/Contents/Home/bin/java
• Java version OpenJDK Runtime Environment (build 1.8.0_242-release-1644-b3-6915495)
• All Android licenses accepted.
[✓] Xcode - develop for iOS and macOS (Xcode 12.2)
• Xcode at /Applications/Xcode.app/Contents/Developer
• Xcode 12.2, Build version 12B45b
• CocoaPods version 1.10.0
[✓] Chrome - develop for the web
• Chrome at /Applications/Google Chrome.app/Contents/MacOS/Google Chrome
[✓] Android Studio (version 4.1)
• Android Studio at /Applications/Android Studio.app/Contents
• 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 1.8.0_242-release-1644-b3-6915495)
[✓] Connected device (4 available)
• SM A750FN (mobile) • 32004eec46aeb58d                     • android-arm64  • Android 10 (API 29)
• iPhone 11 (mobile) • BB2BF3F0-34E1-4094-85BE-BC70F618BA0A • ios            • com.apple.CoreSimulator.SimRuntime.iOS-14-2 (simulator)
• Web Server (web)   • web-server                           • web-javascript • Flutter Tools
• Chrome (web)       • chrome                               • web-javascript • Google Chrome 87.0.4280.67
! Error: denkoul-iPhone is not connected. Xcode will continue when denkoul-iPhone is connected. (code -13)
• No issues found!
 I believe we currently test against 7:

Actually the problem got fixed if I add
  cloud_functions_web: 3.0.1  #temp fix because 3.1.0 breaks
to the pubspec. But this is a temp solution and can't stay there forever.

Hmm ok, we can look into that, sounds like an issue with the interop code.

Hmm ok, we can look into that, sounds like an issue with the interop code.

Seems like the 3.1.0 version of the cloud_functions_web plugin contains the bug. If I force-downgrade it to 3.0.1 I can still work.

I am having the same issue

Hi, I think I have located the bug. @Ehesp


snmp_exporter: 0.17.0 -> 0.18.0

Motivation for this change
https://github.com/prometheus/snmp_exporter/releases/tag/v0.18.0
Things done

[x] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[x] NixOS
[ ] macOS
[ ] other Linux distributions

[x] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[x] Tested compilation of all pkgs that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[x] Tested execution of all binary files (usually in ./result/bin/)
[ ] Determined the impact on package closure size (by running nix path-info -S before and after)
[ ] Ensured that relevant documentation is up to date
[x] Fits CONTRIBUTING.md.

This change is

@GrahamcOfBorg test prometheus


bug on transformer-variant-group parsing directive with child groups

UnoCSS version
latest
Describe the bug
variant group can not parse directive properly on child groups
<button class="bg-blue(5 hover:6) focus:(outline-none ring(2 offset-2 green-5)) disabled:(bg-gray-2 cursor-default)">
click</button>

should be parsed as
<button class="bg-blue-5 hover:bg-blue-6 focus:outline-none focus:ring-2 focus:ring-offset-2 focus:ring-green-5 disabled:bg-gray-2 disabled:cursor-default">
click</button>

Reproduction
check the bug
System Info
No response
Validations

[X] Read the Contributing Guidelines.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A open a GitHub Discussion or join our Discord Chat Server.
[X] The provided reproduction is a minimal reproducible example of the bug.

Your usage error.
Refer to Playground

Your usage error.
Refer to Playground

So why not consider my comment as a feature request?

Your usage error.
Refer to Playground

So why not consider my comment as a feature request?

Then label it as a feature request and not a bug


update articles in prompt_for database

Propose a user experience small change.  Could be helpful to visually grock.

To help #141.

OMG nevermind git! 👎


az monitor scheduled-query lacks explanations of the acceptable conditions

Extension name (the extension in question)
az monitor scheduled-query create
Description of issue (in as much detail as possible)

The documentation shows a --condition parameter for the create and update commands, but the syntax appears to be unique to the az commands, and isn't really explained.  What are the acceptable formats of the conditions?  How do you do define aggregated conditions?  Can you set dynamic thresholds via these commands?

monitor


Project not running on localhost

Description
Unable to run on local system
I have gone through issue https://github.com/DulLabs/bhai-lang/issues/80 , but no luck!
Please help me out with this @ankitchouhan1020

Domain
Develop
Type of Contribution
No response
Code of Conduct

[X] I follow Contributing Guidelines & Code of conduct of bhai-lang.

Use the following commands.
npm i
npm run build
npm run dev

Yes, tried this only, got the above error (ss)

Are you on windows?
This stack overflow thread may help you
https://stackoverflow.com/questions/44764004/ts-node-is-not-recognized-as-an-internal-or-external-command-operable-program

@Lakhankumawat Please add these steps in contribution guidelines.

Are you on windows? This stack overflow thread may help you https://stackoverflow.com/questions/44764004/ts-node-is-not-recognized-as-an-internal-or-external-command-operable-program

Yes

Basically tsup package is not recognized via node. Easy solution would be install tsup globally. Hard solution is to check why nodeJS is unable to recognize tsup package in node_modules folder.

@Rishit30G  you can use yarn

@Rishit30G  you can use yarn

Tried that as well, but got the same issue

I am also facing same issue even after trying all above suggestions

tsconfig

Hey!
I tried this as well, maybe there is an issue at your end because @thehardikchaturvedi is also facing the same issue, maybe once it is fixed, please let us know
Really looking forward to contribute!!

Any updates ?

does npm install tsup give you any error message, are you able to find the tsup folder under node_modules?

does npm install tsup give you any error message, are you able to find the tsup folder under node_modules?

No Error on npm i

Please try npm install tsup and confirm if you see the tsup folder inside node_modules.

Can we please have CI for all 3 OS to ensure the code is working fine on all the environments? For starter, you can check this https://github.com/DulLabs/bhai-lang/pull/156


RBAC issue in chart

E0602 22:58:55.149597       1 controller.go:158] cert-manager/controller/certificaterequests-approver "msg"="re-queuing item due to error processing" "error"="admission webhook \"webhook.cert-manager.io\" denied the request: status.conditions: Forbidden: user \"system:serviceaccount:networking:cert-manager\" does not have permissions to set approved/denied conditions for issuer {cloudflare-issuer OriginIssuer cert-manager.k8s.cloudflare.com}" "key"="networking/traefik-dashboard-crt-f4mc7

On
quay.io/jetstack/cert-manager-controller:v1.3.1
cloudflare/origin-ca-issuer:v0.6.0
helm versions
cert-manager     v1.3.1
origin-ca-issuer v0.5.0

If you changed the namespace you run cert-manager in, you need to update the roles and rolebindings to match.

This was indeed the case. Should that have been automatically reconciled by helm?

Pull requests accepted to use {{ .Release.Namespace }} in the rolebinding.

Sounds good. Will do. Thanks!


Re: 766 Fix Flow 0.32.0 annotations

Implements #716

You work is good @montogeek. It's ANOTHER breaking change in webpack 2 latest beta.
Thanks for the effort!

OMG! Thanks! :D

Actually I was not careful enough, this bug was introduced by this PR :) Anyway we detected an improved error handling.

What bug?


OSCP Response Library Conflicts

Hi ,
I am doing  OCSP validation For Cert Revocation in C++ using Open ssl
and using the below code as a basic framework to develop my application.
http://www.zedwood.com/article/cpp-x509-certificate-revocation-check-by-ocsp
Everything works fine but I am getting compilation error for OSCP response
There is a OSCP library conflicts and need help in resloving this issue

Please guide how I can get this fixed
Thanks
Ratnesh

Hi @sratnesh, you are trying to access the internals of the opaque OCSP response datatype.
You could do but then would need to include the internal crypto/ocsp/ocsp_local.h file.
Yet this is bad programming practice and not an OpenSSL bug.
Better use the official access functions such as OCSP_response_get1_basic(); see, e.g.,
https://github.com/openssl/openssl/blob/master/doc/man3/OCSP_response_status.pod


Takes are called twice in case of exception

Somehow the takes for the services interface are called again after an exception has occurred and the fallback is triggered. This must be fixed.

It seems to be a combination of RsFork and TkFallback. Using only one of them is working.

Testing the TkRoot with a JUnit test is not resulting in two calls.
Testing it with the whole application does result in two calls.

Resolved with #41.


[QUESTION]Error codes on describe stream

During the application playback, the following error was logged.

[ERROR][2020-10-17 14:25:31] describeStreamResultEvent(): operation returned status code: 0x52000011

After this, we have a logic to uninit and recreate the stream from application. While recreation, the following error codes occur in a stretch (Which includes "stream duplicate" error code too).

201017-14:25:31.855116 [mod=CVRUPLOAD, lvl=INFO] [tid=3849] upload/kvsupload.cpp(690): content_type = video/h264,audio/aac
[ERROR][2020-10-17 14:25:31] createKinesisVideoStream(): operation returned status code: 0x1500001e
[ERROR][2020-10-17 14:25:31] createKinesisVideoStreamSync(): operation returned status code: 0x1500001e
[ERROR][2020-10-17 14:25:31]  Unable to create Kinesis Video stream.<PHONE_NUMBER>219129332 Error status: 0x1500001e
201017-14:25:31.907735 [mod=CVRUPLOAD, lvl=ERROR] [tid=3849] upload/kvsupload.cpp(769) : Failed to create kinesis video stream : retrying
201017-14:25:33.924098 [mod=CVRUPLOAD, lvl=INFO] [tid=3849] upload/kvsupload.cpp(690): content_type = video/h264,audio/aac
[ERROR][2020-10-17 14:25:33] createKinesisVideoStream(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:33] createKinesisVideoStreamSync(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:33]  Unable to create Kinesis Video stream.<PHONE_NUMBER>219129332 Error status: 0x5200004b
201017-14:25:33.925370 [mod=CVRUPLOAD, lvl=ERROR] [tid=3849] upload/kvsupload.cpp(769) : Failed to create kinesis video stream : retrying
201017-14:25:35.925775 [mod=CVRUPLOAD, lvl=INFO] [tid=3849] upload/kvsupload.cpp(690): content_type = video/h264,audio/aac
[ERROR][2020-10-17 14:25:35] createKinesisVideoStream(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:35] createKinesisVideoStreamSync(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:35]  Unable to create Kinesis Video stream.<PHONE_NUMBER>219129332 Error status: 0x5200004b
201017-14:25:35.927051 [mod=CVRUPLOAD, lvl=ERROR] [tid=3849] upload/kvsupload.cpp(769) : Failed to create kinesis video stream : retrying
201017-14:25:37.927420 [mod=CVRUPLOAD, lvl=INFO] [tid=3849] upload/kvsupload.cpp(690): content_type = video/h264,audio/aac
[ERROR][2020-10-17 14:25:37] createKinesisVideoStream(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:37] createKinesisVideoStreamSync(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:37]  Unable to create Kinesis Video stream.<PHONE_NUMBER>219129332 Error status: 0x5200004b
201017-14:25:37.928574 [mod=CVRUPLOAD, lvl=ERROR] [tid=3849] upload/kvsupload.cpp(769) : Failed to create kinesis video stream : retrying
[ERROR][2020-10-17 14:25:38] describeStreamResultEvent(): operation returned status code: 0x52000011
201017-14:25:39.928985 [mod=CVRUPLOAD, lvl=INFO] [tid=3849] upload/kvsupload.cpp(690): content_type = video/h264,audio/aac
[ERROR][2020-10-17 14:25:39] createKinesisVideoStream(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:39] createKinesisVideoStreamSync(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:39]  Unable to create Kinesis Video stream.<PHONE_NUMBER>219129332 Error status: 0x5200004b
201017-14:25:39.930268 [mod=CVRUPLOAD, lvl=ERROR] [tid=3849] upload/kvsupload.cpp(769) : Failed to create kinesis video stream : retrying
201017-14:25:41.930652 [mod=CVRUPLOAD, lvl=INFO] [tid=3849] upload/kvsupload.cpp(690): content_type = video/h264,audio/aac
[ERROR][2020-10-17 14:25:41] createKinesisVideoStream(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:41] createKinesisVideoStreamSync(): operation returned status code: 0x5200004b
[ERROR][2020-10-17 14:25:41]  Unable to create Kinesis Video stream.<PHONE_NUMBER>219129332 Error status: 0x5200004b
201017-14:25:41.931853 [mod=CVRUPLOAD, lvl=ERROR] [tid=3849] upload/kvsupload.cpp(769) : Failed to create kinesis video stream : retrying
201017-14:25:43.932277 [mod=CVRUPLOAD, lvl=ERROR] [tid=3849] upload/kvsupload.cpp(774) : FATAL : Max retry reached in recreate_stream exit process<PHONE_NUMBER>
201017-14:25:43.932558 [mod=CVR, lvl=INFO] [tid=3849] core/cvr_daemon.cpp(1686): FATAL : Max retry reached in Re-Invoking kvsStreamInit exit process

Could someone provide clarity on

When this scenario could occur
Is there anything to be additionally added in the uninit to handle such errors?

** If you would not like to open an issue to discuss your solution in open-platform, please email your question to<EMAIL_ADDRESS>**

@Subburaj47 ,
I notice that curl init fails. I am unsure why. Also, can you detail on what you do in uninit?

Also, one thing I can think of for curl init failing is curl_global_init is not thread safe. Is it possible in your application that maybe multiple libraries in your application are using libcurl at the same time?

The root cause of the issue is
STATUS_MAX_IOT_THING_NAME_LENGTH
https://github.com/awslabs/amazon-kinesis-video-streams-producer-c/blob/master/src/include/com/amazonaws/kinesis/video/common/Include.h#L41
Please fix this and it should work OK - most likely a not NULL terminated parameter passed into IoT credential provider.
0x5200004b is also an indication that your application attempts to create a stream with one that already is defined. This is a client side issue only. Please track and fix this too.
A higher level status code of 0x52000011 is returned after the state machine exhausted the retry counts.
Let us know if you have KVS related questions and if not please go ahead and resolve.

Closing based on tag.


Grouping tasks to run on the same VM instance

I am submitting task lists with more than 1K elements, with each individual task in the task list taking 1-2 minutes to run. That works fine, however it can be fairly inefficient given that VM orchestration time, pulling container images from private repo etc all consume a large fraction of time and bandwidth relative to individual task run time.
I wanted to know if there is a way I can request dsub to keep reusing the same VM / image and execute groups of 10 or more tasks before releasing the VM. SGE has a task grouping feature for large, short running array jobs. Could we do something similar with dsub please?
Example requested usage:
dsub \
  ...
  --tasks /tmp/dsub/tmp3prgdww1_job/tasks.tsv \ # very big array job with 1-2 minute run times per task
  --task-grouping 20 \ # reuse same VM for 20 tasks
  --max-concurrency 100 \ # do not have more than 100 VMs
  --preemptible 3 \
  --retries 3 \
  --min-ram xxx \
  --min-cores xxx \
  --timeout 1h \
  --wait

I am in a similar situation!

Would be very nice...

@RiverShah, @gsneha26, @slagelwa: Maybe I'm thinking this is too obvious, but why don't you combine groups of 20 files into a self-indexable file as one input file/output file, and let the script loop through it and select the correct index as necessary.
Hope it helps,
~p


Document how to implement a user-level 'make clean'

conda.mk defines a clean:: target.  This is a 'double-colon' rule.
In any user Makefile that includes conda.mk (which they must include in order to use $(IN_CONDA_ENV)), there cannot be a clean target unless it is also a double-colon target.   And in this case, both the user's new clean:: rule as well as make-env's clean:: rule are executed.   The latter removes the Conda env.
Is there a way the user can implement their own make clean which does not delete the Conda env?

I guess we need to figure out what clean should do. make clean verses make dist-clean etc?
https://www.gnu.org/prep/standards/html_node/Standard-Targets.html

clean
Delete all files in the current directory that are normally created by building the program. Also delete files in other directories if they are created by this makefile. However, don’t delete the files that record the configuration. Also preserve files that could be made by building, but normally aren’t because the distribution comes with them. There is no need to delete parent directories that were created with ‘mkdir -p’, since they could have existed anyway.
Delete .dvi files here if they are not part of the distribution.
distclean
Delete all files in the current directory (or created by this makefile) that are created by configuring or building the program. If you have unpacked the source and built the program without creating any other files, ‘make distclean’ should leave only the files that were in the distribution. However, there is no need to delete parent directories that were created with ‘mkdir -p’, since they could have existed anyway.
mostlyclean
Like ‘clean’, but may refrain from deleting a few files that people normally don’t want to recompile. For example, the ‘mostlyclean’ target for GCC does not delete libgcc.a, because recompiling it is rarely necessary and takes a lot of time.
maintainer-clean
Delete almost everything that can be reconstructed with this Makefile. This typically includes everything deleted by distclean, plus more: C source files produced by Bison, tags tables, Info files, and so on.
The reason we say “almost everything” is that running the command ‘make maintainer-clean’ should not delete configure even if configure can be remade using a rule in the Makefile. More generally, ‘make maintainer-clean’ should not delete anything that needs to exist in order to run configure and then begin to build the program. Also, there is no need to delete parent directories that were created with ‘mkdir -p’, since they could have existed anyway. These are the only exceptions; maintainer-clean should delete everything else that can be rebuilt.
The ‘maintainer-clean’ target is intended to be used by a maintainer of the package, not by ordinary users. You may need special tools to reconstruct some of the files that ‘make maintainer-clean’ deletes. Since these files are normally included in the distribution, we don’t take care to make them easy to reconstruct. If you find you need to unpack the full distribution again, don’t blame us.
To help make users aware of this, the commands for the special maintainer-clean target should start with these two:
@echo 'This command is intended for maintainers to use; it'
@echo 'deletes files that may need special tools to rebuild.'


[Feature]: output.assetPrefix support to configure different values according to different types

What problem does this feature solve?
output.assetPrefix now supports configuring only one value, but sometimes the cnd address of js and the cnd address of an image are different. Different cdn prefixes need to be configured according to different types.
What does the proposed API look like?
output:{
assetPrefix: {
js: 'cdn1',
css: 'cdn1',
image: 'cdn2'
}
}

We can not implement this feature yet, because the output.publicPath option of Rspack only accept a string value. see https://rspack.dev/config/output#outputpublicpath.
If Rspack supports output.publicPath to be a function, then Rsbuild can provide a more flexible assetPrefix config.
Can you submit an issue for Rspack to support output.publicPath function first? ❤
https://github.com/web-infra-dev/rspack/issues


Add sentry issue tracking

[x] Install sentry packages
[x] Wire up error middlewares
[x] Wire up telemetry middlewares
[x] Ensure graphql errors are being captured correctly
[x] Configure sourcemap uploads
[x] Verify sourcemaps are working
[x] Update deployment job to mark sentry release

This resolved #35

This resolved #35


linux arm64 support

linux arm64 support

Please checkout existing issues first before creating a new one.
Duplicate of #101


feat: allow generated tsconfig to be modified

closes #6868, closes #8237
Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

[x] It's really useful if your PR references an issue where it is discussed ahead of time. In many cases, features are absent for a reason. For large changes, please create an RFC: https://github.com/sveltejs/rfcs
[x] This message body should clearly illustrate what problems it solves.
[x] Ideally, include a test that fails without this PR but passes with it.

Tests

[x] Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

[x] If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

I believe this won't be necessary with TypeScript 5 due out in March because if I'm remembering correctly it will allow you to extend from multiple tsconfigs. I feel like that might be the preferable solution though it would require making users wait two months.

Interesting. I guess it comes down to whether there are other things beyond extends that people might need to change (though if the answer is 'no' then maybe we should have just merged #8237 instead...)

If the user has to change things I think that's fine. They can decide whether they want to upgrade and if they care about extending multiple tsconfigs then they can do that.
I think it would become more problematic if there were things in SvelteKit that needed to be changed to allow you to run TypeScript 5. As far as I can tell, thus far we're probably safe and SvelteKit should work with TS 4 or 5: https://github.com/microsoft/TypeScript/wiki/API-Breaking-Changes. npm run check runs successfully against the demo project with TypeScript 5.0.0-dev.20230119

The question is 'aside from extends, is there something in the generated tsconfig.json that someone might have a reason to change' — unrelated to TypeScript 4 vs 5

Clarifying question, is this related to this typescript note from the (experimental) svelte-package docs?

Setting "moduleResolution": "NodeNext" in your tsconfig.json or jsconfig.json will help you with [adhering to Node's ESM algorithm].

Mentioning because I've recently been modifying the default jsconfig.json, tsconfig.json and .svelte-kit/tsconfig.json while troubleshooting using svelte-package to publish a component library npm module.
I noticed that, even when "moduleResolution": "NodeNext" is present in all three files, the autogenerated  .svelte-kit/tsconfig.json is always overwritten to "moduleResolution": "node".

@baisong that's unrelated to this PR/issue — this is purely about the contents of .svelte-kit/tsconfig.json

I'd be curious if this feature would solve an issue we're currently having.
When extending the @typescript-eslint/recommended-requiring-type-checking eslint config we get the following error.
Parsing error: ESLint was configured to run on `<tsconfigRootDir>/svelte.config.ts` using `parserOptions.project`: <tsconfigRootDir>/../../../../../users/tyranthosaur/projects/imable/ui/tsconfig.json

We've tried adding ./svelte.config.ts to the include property in the project root's tsconfig.json but unfortunately this performs an override instead of a merge of the include from ./.svelte-kit/tsconfig.json. We got around this issue by creating a tsconfig.eslint.json with an include property we copy/pasted from ./.svelte-kit/tsconfig.json. Definitely not ideal.
It seems like this feature would allow people to get around issues like this in a more elegant way.

Yep, that seems like a good enough reason! Marking this PR ready


Doc Feedback: Admin Services still configured in Carbon.xml

In the documentation the admin services are still configured in carbon.xml rather than in deployment.toml
Location : https://apim.docs.wso2.com/en/latest/Develop/wso2-admin-services/

Fixed in

https://github.com/wso2/docs-apim/pull/789
https://github.com/wso2/docs-apim/pull/789/commits/15869f902b75b0479b51408fc9f55f9125a14c78
https://apim.docs.wso2.com/en/latest/develop/wso2-admin-services/


fix-mermaid-js-error

Many thanks for submitting your Pull Request :heart:!
What this PR does / why we need it:
This pr fix the following js error.

in https://serverlessworkflow.org/editor.html
Special notes for reviewers:
Additional information (if needed):

thank you very much!!!!!


client does not connect any more

my noise client does not connect any more, testable with hypercore-benchmark:
https://github.com/bitfinexcom/hypercore-benchmark/blob/master/p2p-noise-client.js#L19-L21
the callback from the read method is never called.
probably more important, on the server side the connection event is not emitted
it just eats a lot of cpu:
1560280498874 4994 'cpu: 113.6% | rss: 561 MB (6.5%) | heap: 51 MB / 95 MB (53.9%) | ext: 1.4 GB | delay: 42 ms | 00:00:10 | loadavg: 2.13, 2.08, 2.02'
1560280503874 4998 'cpu: 166.5% | rss: 639 MB (7.4%) | heap: 95 MB / 148 MB (63.8%) | ext: 2.7 GB | delay: 56 ms | 00:00:15 | loadavg: 2.20, 2.10, 2.02'
1560280508880 5000 'cpu: 187.5% | rss: 750 MB (8.7%) | heap: 133 MB / 196 MB (67.8%) | ext: 3.9 GB | delay: 26 ms | 00:00:20 | loadavg: 2.34, 2.13, 2.03'

$ node -v
v10.14.1

    "hypercore": "^7.2.0",
    "length-prefixed-message": "^3.0.3",
    "noise-network": "^1.0.2",

Should be fixed in master. @robertkowalski if that's not the case let me know.


Docker image to be used to play with buildah

Is there a Docker image that we could use to play with Buildah on non Linux's machine such as Macos ?

@cmoulliard   try this one:
docker pull quay.io/ipbabble/buildah

Would be so much better if this was podman pull :^)

:-) He specifically asked for Docker on a Mac.  But I agree.
Action items ?

Port Podman to Mac OS X
Ask Quay to give copy options when using the UI.

-William
On Wed, Jul 18, 2018 at 8:28 AM Daniel J Walsh<EMAIL_ADDRESS>wrote:

Would be so much better if this was podman pull :^)
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/projectatomic/buildah/issues/866#issuecomment-405950592,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPpgb2srDFHd9uA9dUNDSLYcZF4g_Uvks5uH0X9gaJpZM4VTByC
.

--
Sent from Gmail Mobile on iPhone

Podman or buildah will not work natively on a MAC.  We need a different client that @jwhonce is working on to run pypodman, a python version of podman which talks over ssh to a VM running podman listening on a varlink socket.  This should allow us to run any podman command from a MAC on the VM. (That is the goal.)  We are always looking for contributors, especially with MAC experience (Windows Experience also).

MAC

Many thanks for the feedback.

If I would like to develop a go application able to build a docker image from a dockerfile + code to be packaged (= a java jar file), is it something that we could achieve easily with a lightweight docker image packaging this "small go app for building/pushing images" ? What are the minimum requirements that I need to build such app and Linux's packages to run it ?

For that you would only need podman package. No buildah required.

podman package

You mean the yum package ?

@cmoulliard yes, I believe @rhatdan meant the yum/dnf package for podman.  Do you still have outstanding questions on this or can we close this issue?

Yes the yum podman rpm.

@jwhonce PTAL

I have added support for both podman and buildah to the "minikube" distribution of Kubernetes :
https://github.com/kubernetes/minikube/pull/3225
$ minikube ssh -- sudo podman --version
podman version 0.9.3
$ minikube ssh -- sudo buildah --version
buildah version 1.4 (image-spec 1.0.0, runtime-spec 1.0.0)

So far there is no real replacement for minikube docker-env, except for using minikube ssh :
https://kubernetes.io/docs/setup/minikube/#reusing-the-docker-daemon
We do compile with varlink, so I guess that could be an alternative to "minikube ssh sudo podman" ?
Alternative we could use "kubectl run", by mounting /var/lib/containers into the pod perhaps.
This all assumes that the users have some means of getting files from their environment to the VM...
The support for mounts varies greatly between the drivers, with some using things like vboxsf or 9p.
i.e. there is still no support for the docker "build context" and .dockerignore
The minikube.iso is around 200M, not sure if that qualifies as "light-weight" ?
boot2docker.iso is 40M, so maybe a "boot2containers.iso" is needed here...

The above solution boots to Kubernetes, which might be overkill for this.
But it is using CRI-O for the container runtime, so no Docker is needed.
# systemctl is-active docker
inactive
# systemctl is-active crio
active

PS. Small is just in the eye of the beholder, I suppose ? (300M > 200M)
# sudo podman pull quay.io/ipbabble/buildah
Trying to pull quay.io/ipbabble/buildah...Getting image source signatures
Copying blob sha256:513b2e80e19ce6eff01ce76da64c5bdc3eaedd6ba5f8989d774197f09e4409ef
 301.06 MB / 301.06 MB [===================================================] 36s
Writing manifest to image destination
Storing signatures
84b8f34a3ca8713efb775b22340b2a89d8b60fef9d6dd6acac559d34a8167bdc

Hi Anders,
I will update that version of Buildah. I think it’s old and I should
probably maintain it more often.
Having said that I would like to see a repo on Quay that has Podman and
buildah images kept up to date as part of the CI/CD process.
Maybe we can add some sort of cri -o test as part of the CI process.
William
On Sun, Oct 7, 2018 at 2:58 AM Anders Björklund<EMAIL_ADDRESS>wrote:

I have added support for both podman and buildah to the "minikube"
distribution of Kubernetes :
kubernetes/minikube#3225
https://github.com/kubernetes/minikube/pull/3225
$ minikube ssh -- sudo podman --versionpodman version 0.9.3
$ minikube ssh -- sudo buildah --versionbuildah version 1.4 (image-spec 1.0.0, runtime-spec 1.0.0)
So far there is no real replacement for minikube docker-env, except for
using minikube ssh :
https://kubernetes.io/docs/setup/minikube/#reusing-the-docker-daemon
We do compile with varlink, so I guess that could be an alternative to
"minikube ssh sudo podman" ?
Alternative we could use "kubectl run", by mounting /var/lib/containers
into the pod perhaps.
This all assumes that the users have some means of getting files from
their environment to the VM...
The support for mounts varies greatly between the drivers, with some using
things like vboxsf or 9p.
i.e. there is still no support for the docker "build context
https://docs.docker.com/engine/reference/builder/" and .dockerignore
The minikube.iso is around 200M, not sure if that qualifies as
"light-weight" ?
boot2docker.iso https://github.com/boot2docker/boot2docker is 40M, so
maybe a "boot2containers.iso" is needed here...
The above solution boots to Kubernetes, which might be overkill for this.
But it is using CRI-O for the container runtime
https://github.com/kubernetes/minikube/blob/master/docs/alternative_runtimes.md#using-cri-o,
so no Docker is needed.
systemctl is-active docker
inactive
systemctl is-active crio
active
PS. Small is just in the eye of the beholder, I suppose ? (300M > 200M)
sudo podman pull quay.io/ipbabble/buildahTrying to pull quay.io/ipbabble/buildah...Getting image source signaturesCopying blob sha256:513b2e80e19ce6eff01ce76da64c5bdc3eaedd6ba5f8989d774197f09e4409ef 301.06 MB / 301.06 MB [===================================================] 36sWriting manifest to image destinationStoring signatures84b8f34a3ca8713efb775b22340b2a89d8b60fef9d6dd6acac559d34a8167bdc
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/containers/buildah/issues/866#issuecomment-427637058,
or mute the thread
https://github.com/notifications/unsubscribe-auth/ABPpgdnX3i_qR8uF0kGcB5y2-2w0d-Toks5uicIbgaJpZM4VTByC
.

--
Sent from Gmail Mobile on iPhone

The "boot2containers.iso" idea is now alive and well, in the boot2podman project.
 But it should work on any host ?
Another option is to use pypodman on the host, talking to podman over ssh root@box.


[$1000] When adding a secondary email, there is no timer - you can request multiple magic codes

If you haven’t already, check out our contributing guidelines for onboarding and email<EMAIL_ADDRESS>to request to join our Slack channel!

Action Performed:

Go to Setting,
Click on Avatar and go to Profile
Click on Contact Method
Click on Add New Contact Method
Enter valid email, click on add
Go back to Contact mrhtods page, and click on recently added email
You can see Magic code field, and an option to Resend it again

Expected Result:
Every time a magic code is sent, there ix a 30 second countdown timer. This does not show.
Actual Result:
User can click on the Request Magiv Codes link multiple times, and by 5th tr 6th time, they get a message saying they cannot send codes wait and try again.
Now, when you try to add another email, you'll get the error first time only.
The behaviour is not consistent
Workaround:
Can the user still use Expensify without this being fixed? Have you informed them of the workaround?
Platforms:

Which of our officially supported platforms is this issue occurring on?

[ ] Android / native
[ ] Android / Chrome
[ ] iOS / native
[ ] iOS / Safari
[x] MacOS / Chrome / Safari
[ ] MacOS / Desktop

Version Number: 1.3.52-0
Reproducible in staging?: y
Reproducible in production?: y
If this was caught during regression testing, add the test name, ID and link from TestRail:
Email or phone of affected tester (no customers):
Logs: https://stackoverflow.com/c/expensify/questions/4856
Notes/Photos/Videos: Any additional supporting documentation
https://github.com/Expensify/App/assets/43996225/0ff4252d-1b09-45de-8d97-8c138ef6d250
Expensify/Expensify Issue URL:
Issue reported by: @premsjce
Slack conversation: https://expensify.slack.com/archives/C049HHMV9SM/p1690907049368789
View all open jobs on GitHub
Upwork Automation - Do Not Edit

Upwork Job URL: https://www.upwork.com/jobs/~019c70432915b26b33
Upwork Job ID:<PHONE_NUMBER>495549952
Last Price Increase: 2023-08-10

Proposal
Please re-state the problem that we are trying to solve in this issue.
In adding secondary email, there is no timeout function between sending magic codes.
What is the root cause of that problem?
At login, we have implemented a timer functionality, while at adding a secondary email, we have not.
What changes do you think we should make in order to solve the problem?
We should either implement the same logic as in BaseValidateCodeForm component:

Define a timeRemaining state;
Use setTimeout in order to update it each second;
Re-start the timer with its original value when user re-sends the code.

Or, move the timer's logic to a new reusable component and use it in both places.

From my own testing, I can reproduce, but I think there's another bug with adding a secondary contact method. One additional one I've found is:

Remove a current contact method. You can refresh the page, if needed. Notice that it's not been added.
Try adding the same contact method again. Error: "Contact Method Already Exists" (even thought you removed it).
Try refreshing the page again and re-adding same contact method. See the same error.
Navigate back to the profile page and see that the contact method has been added, but only sometimes.
See this error:

@abdulrahuman5196 - I'm surfacing this comment from the Slack thread. I don't think it's a feature request, as we've implemented a 30 second timer to prevent users requesting multiple codes at once, so I don't see why we wouldn't want this behaviour with Secondary Logins. Keen to hear if you agree!

Proposal

The Problem

Magic Code Timer is missing.
Uncoordinated behavior after removing contact method

Root Cause

Without a timer implemented during the process of adding secondary emails, users can repeatedly request magic codes without time limitations, which may lead to inappropriate use.

Problem Solution Implementation Steps
A- Identify Components

Locate the components responsible for managing secondary email addresses and magic code requests. This might involve examining the Profile and Contact Method sections.

B. Add Timer State

In the component's state, introduce a variable named timeRemaining initialized with a value (e.g., 30 seconds).

C. Implement Timer Logic

Inside the component, create a function, startTimer, that uses setTimeout. This function will decrement timeRemaining every second.
const startTimer = () => {
let remaining = timeRemaining;
const interval = setInterval(() => {
if (remaining > 0) {
remaining--;
this.setState({ timeRemaining: remaining });
} else {
clearInterval(interval);
}
}, 1000);
};

D. Disable Link During Timer

Disable the "Request Magic Codes" link when the timer is active by checking the value of timeRemaining.

E. Re-send Timer

Implement a similar mechanism for the "Resend" link, resetting timeRemaining to its initial value when clicked.

F. User Feedback

Create a visual element (e.g., countdown timer) displaying timeRemaining to give users feedback on when they can request a new magic code.

G. Error Handling

When the "Request Magic Codes" link is clicked before the timer expires, display an error message indicating that the user should wait for the timer to complete.

@MelvinBot
<EMAIL_ADDRESS>https://www.upwork.com/freelancers/~015d4cb08826b94006

Please re-state the problem that we are trying to solve in this issue.
When adding a secondary email, there is no timer - you can request multiple magic codes.
What is the root cause of that problem?
On BaseValidateCodeForm.js for a contact method, You need to add a timer function and offline indicator. Currently not implemented so this is the main root cause.
What changes do you think we should make in order to solve the problem?
Replace the below-mentioned code on here.
Need to show timer if the value is greater than 0. Otherwise, show Send Button.
{timeRemaining > 0 && !props.network.isOffline ? (
    <Text>
        {props.translate('validateCodeForm.requestNewCode')}
        <Text style={[styles.textBlue]}>00:{String(timeRemaining).padStart(2, '0')}</Text>
    </Text>
) : (
    <PressableWithFeedback
        disabled={props.network.isOffline}
        style={[styles.mr1]}
        onPress={resendValidateCode}
        underlayColor={themeColors.componentBG}
        hoverDimmingValue={1}
        pressDimmingValue={0.2}
        accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}
        accessibilityLabel={props.translate('validateCodeForm.magicCodeNotReceived')}
    >
        <Text style={[StyleUtils.getDisabledLinkStyles(props.network.isOffline)]}>{props.translate('validateCodeForm.magicCodeNotReceived')}</Text>
    </PressableWithFeedback>
)}

Show offline indicator and resend new code timer
You need to define timeRemaining variable as well as timerRef by using useRef() So please add the below mentioned two lines at here
const [timeRemaining, setTimeRemaining] = useState(30);
const timerRef = useRef();

Add new useEffect function for time
You need to create a time counter function to calculate the remaining time. Add the below code here.
useEffect(() => {
    if (timeRemaining > 0) {
        timerRef.current = setTimeout(() => {
            setTimeRemaining(timeRemaining - 1);
        }, 1000);
    }
    return () => {
        clearTimeout(timerRef.current);
    };
}, [timeRemaining]);

You need to assign a value to the timer when hitting the resendValidateCode function after line#107 in the below file
https://github.com/Expensify/App/blob/main/src/pages/settings/Profile/Contacts/ValidateCodeForm/BaseValidateCodeForm.js#L107
setTimeRemaining(30);

Video:
https://drive.google.com/file/d/1Pdcu9bXOr-GhjXAyHv6u-c6SFq6ebH-P/view?usp=sharing

Contributor details
Your Expensify account email<EMAIL_ADDRESS>Upwork Profile Link: https://www.upwork.com/freelancers/~0126f3665fe23ff297
Proposal
Please re-state the problem that we are trying to solve in this issue.
Every time a magic code is sent, there ix a 30 second countdown timer. This does not show.
What is the root cause of that problem?
As i have checked there is no timer added for magic code, it's on login page but not on this one.
What changes do you think we should make in order to solve the problem?
We should implement the timer on  this file also BaseValidateCodeForm.js
either implement the same logic as in BaseValidateCodeForm [component].
and timer gets reset when we click on 'Did't received a magic code?' .
       <PressableWithFeedback                         disabled={props.network.isOffline || timeRemaining > 0}                         style={[styles.mr1]}                         onPress={resendValidateCode}                         underlayColor={themeColors.componentBG}                         hoverDimmingValue={1}                         pressDimmingValue={0.2}                         accessibilityRole={CONST.ACCESSIBILITY_ROLE.BUTTON}                         accessibilityLabel={props.translate('validateCodeForm.magicCodeNotReceived')}                     >                             {timeRemaining > 0  ?                              <Text style={[styles.mt2]}>                                 {props.translate('validateCodeForm.requestNewCode')}                                 <Text style={[styles.textBlue]}>00:{String(timeRemaining).padStart(2, '0')}</Text>                             </Text>:                         <Text style={[StyleUtils.getDisabledLinkStyles(props.network.isOffline)]}>{props.translate('validateCodeForm.magicCodeNotReceived')}</Text> }                     </PressableWithFeedback>
 useEffect(() => {         if (timeRemaining > 0) {             timerRef.current = setTimeout(() => {                 setTimeRemaining(timeRemaining - 1);             }, 1000);         }         return () => {             clearTimeout(timerRef.current);         };     }, [timeRemaining]);
const resendValidateCode = () => {         setTimeRemaining(30);         User.requestContactMethodValidateCode(props.contactMethod);         setValidateCode('');         inputValidateCodeRef.current.focus();     };
### See the video bellow
screen-capture.webm

Bump @abdulrahuman5196 we have q few proposals!

Proposal
Please re-state the problem that we are trying to solve in this issue.
When validating secondary contact method, the user is able to request multiple magic codes one after another and after 5th or 6th attempt, the user is blocked and a message displayed to wait few minutes before making further requests.
What is the root cause of that problem?
The root cause here is that the current implementation allows user to request multiple magic codes one after another than the user gets blocked with a vague message to wait few minutes and try again later. It is ambigous to wait few minutes and the message can be made clear using a timer functionality like that in the signin page where a 30 second timer is shown after which the user can request another magic code.
What changes do you think we should make in order to solve the problem?
Implement timer functionality to replace the existing functionality of requesting multiple codes one after another. After requesting magic code, the user is shown the 30 second timer to wait. The 30 second wait message is much more clearer than the previous vague message of waiting few minutes and trying again.
I am attaching the video below of functional solution. Currently the message 'link has been re-sent' is shown after requesting magic code. The existing functionality remains intact where the user is asked to wait a few minutes but if required can be removed.
https://github.com/Expensify/App/assets/141340971/7f33bda9-f608-43ca-abbe-de7bd296852c
@jliexpensify regarding the bug that you found when adding secondary contact method. I was not able to reproduce it, if you can make a video and reproduce it, I could potentially resolve it along with the timer functionality.

I'm surfacing this comment from the Slack thread. I don't think it's a feature request, as we've implemented a 30 second timer to prevent users requesting multiple codes at once, so I don't see why we wouldn't want this behaviour with Secondary Logins. Keen to hear if you agree!

@jliexpensify I think this is a feature request and ofcourse we could also think of this as a inconsitency bug. But Anyways I think its a valuable fix since we don't want users to request multiple codes and end up being blocked for sometime.  So It would be a go ahead from me.
And I do have a proposal in mind to go with, before that do we want to confirm with product if we want to do this or should we go ahead with my review process?

@jliexpensify I just checked after your comment. It is still reproducing with my current expensify code.
Also is that Slack link private? I am already a member of Expensify group on Slack and that link is showing error to me.

Hi @kaushiktd - just confirming, you're referring to this one? If so, can you share a video? My app is playing up today, it's a bit laggy.
Also yes, that Slack link was posted to our internal team. Once I have some consensus, I'll update this GH!

@jliexpensify I was referring to this one.

Hmm I can't seem to repro it anymore. My guess is there was some sort of lag?

@abdulrahuman5196 so this behaviour actually mirrors what we have over at www.expensify.com (i.e. when you're in your account, you can add a Secondary Login and request multiple magic codes without an error). The reasoning behind this is because once you're already in your account, the timer isn't needed - the timer is there at the login to stop bad actors spamming the Magic Code login.
So the team agreed that:

It's more likely a feature request
We should try and be consistent and require a timer when adding a Secondary Login

How do you think we should proceed? Open a Feature Request in #expensify-open-source, or work on this GH?

@abdulrahuman5196 just bumping this - I guess we should go ahead and fix this, based off the internal thread? Do you have a proposal in mind?

Bump @abdulrahuman5196 - did you have a fix in mind?

Reviewing now

Based on this https://github.com/Expensify/App/issues/24312#issuecomment-1683361489
Since we treat this kind of a feature request. I am approving the first proposal with plan of action from @DanutGavrus here https://github.com/Expensify/App/issues/24312#issuecomment-1671195264
We should do this from the proposal

move the timer's logic to a new reusable component and use it in both places.

🎀 👀 🎀
C+ Reviewed

@francoisl is OOO right now but I'm happy to give this a once-over.
We did indeed intentionally add the 30s only to the sign-in view because that's a flow where we saw users get throttled regularly because they would get impatient and keep pressing the Resend Magic Code button 😅
We don't see nearly the same volume of throttling for users adding a secondary login / new contact method. It's not that you can't get throttled through that flow, just that it's a lower traffic flow that doesn't induce the same sort of urgency in users, for whatever reason.
If we want to be consistent, we can add the 30s timer to the secondary login page, but I personally don't think it's really necessary unless we're seeing that users are regularly getting throttled through that flow.

@jliexpensify @srikarparsi Would you help us with some context from the internal discussion at https://expensify.slack.com/archives/C01SKUP7QR0/p1691974418915039? I don't have access to that. Should we proceed with https://github.com/Expensify/App/issues/24312#issuecomment-1690286314 or with https://github.com/Expensify/App/issues/24312#issuecomment-1690296363? Thank you!

@DanutGavrus - so the internal discussion was partly in favour of consistency, and partly in favour of not needing a timer due to the reasons Nikki listed above.
I favour consistency (I mentioned that as the reasoning for proceeding), but since @NikkiWines worked on implementing Magic Codes as one of the lead engineers, I think we should defer to you for the final decision.
I went through some Secondary Login GH's and noticed that some users don't receive Magic Codes and need to log out/in again (example). Adding a timer wouldn't help with this issue right? If not, and users aren't really getting throttled with Secondary Logins, then maybe this isn't necessary.

Yeah, @jliexpensify, for the issue you linked (and for the others that I've seen), a timer wouldn't resolve that error. We mainly saw issues before passwordless was out of a beta stage with users having sessions that used the old authentication methods (the issue you linked) or that they were using a phone number as a secondary login with an area code that's restricted.
I chatted a bit with @johnmlee101 (the other lead eng. on this project) just to get a second opinion as well - seems like we're in agreement, and he can chime in if he has further thoughts.
Overall, I get the consistency argument, but the timer was added to address the specific issue of users being unable to authenticate into their accounts because they were throttling themselves, and we're just not seeing that problem with secondary logins.

Thanks again for chiming in Nikki (and sorry Danut!) - let's close this one for now. @Premsjce this wouldn't be considered a bug then.


[RHCLOUD-21516] Update SourceDao#List function to pass sources table in case of sorting based on other tables

https://issues.redhat.com/browse/RHCLOUD-21516
bad query in question:
{
	sources(
		limit: 50
		offset: 0
		sort_by: { name: "created_at", direction: desc }
		filter: [
			{
				name: "applications.application_type_id"
				operation: "eq"
				value: ["11"]
			}
			{ name: "source_type.category", operation: "eq", value: "Cloud" }
		]
	) {
		id
		created_at
		source_type_id
		name
		imported
		availability_status
		source_ref
		last_checked_at
		updated_at
		last_available_at
		app_creation_workflow
		paused_at
		authentications {
			authtype
			username
			availability_status_error
			availability_status
		}
		applications {
			application_type_id
			id
			availability_status_error
			availability_status
			paused_at
			authentications {
				id
				resource_type
			}
		}
		endpoints {
			id
			scheme
			host
			port
			path
			receptor_node
			role
			certificate_authority
			verify_ssl
			availability_status_error
			availability_status
			authentications {
				authtype
				availability_status
				availability_status_error
			}
		}
	}
	meta {
		count
	}
}

Merging due to approval


"fs" Module Not Found Error in Browser with face-api.js

face-api.js library is trying to require the fs module, which is a core Node.js module that provides an API for interacting with the file system. However, this module is not available in the browser environment.
This might be resolved by including the following line in the webpack.configure.resolve.fallback field of the craco.config.js file:
"fs": false

@xyt417 hi, can you make a PR to fix it?

Thank you for raising the issue and providing the solution. We have submitted a PR(#2810) to fix this problem.


Address Bar Spoofing Tests + Remediation

Task/Issue URL: https://app.asana.com/0/72649045549333/1205794884403778/f
Description:
In an attempt to reduce our exposure to address bar spoofing issues I'd like to introduce these 8 new maestro tests that test against privacy-test-pages for specific known address bar spoofing vulnerabilities. The core issue in iOS involves download links that perform 301/302 HTTP redirects - the address bar is incorrectly updated to the download URL even though the target URL has no associated HTML document, therefore we're left with a stale HTML document and a spoofed address bar. See more information here: https://app.asana.com/0/0/1205809497861069/f
In my proposed fix, we update the omnibar text value to "about:blank" when a file download prompt is shown. This is consistent with most other browsers, and the address bar should be correctly updated when there is a HTML document in the renderer, so it shouldn't impact other file downloads.

Steps to test this PR:

run maestro test .maestro/security_tests/0_all.yaml
check all tests are passing
open the browser on https://privacy-test-pages.site/security/address-bar-spoofing/spoof-js-download-url.html
tap on "Start"
tap on "Cancel"
ensure the address bar is still "about:blank" and not "staticcdn.duckduckgo.com..."
go back
tap on "Start"
tap "Save to Downloads"
check the address bar is "about:blank" and is not spoofed
now check normal downloads work as expected, navigate to https://filesamples.com/formats/bin
download the first file
check "about:blank" is shown in address bar briefly
tap either "Download" or "Cancel"
check the address bar value reverts to the correct origin

Copy Testing:

[ ] Use of correct apostrophes in new copy, ie ’ rather than '

Orientation Testing:

[ ] Portrait
[ ] Landscape

Device Testing:

[ ] iPhone SE (1st Gen)
[ ] iPhone 8
[ ] iPhone X
[ ] iPhone 14 Pro
[ ] iPad

OS Testing:

[ ] iOS 14
[ ] iOS 15
[ ] iOS 16

Theme Testing:

[ ] Light theme
[ ] Dark theme

Internal references:
Software Engineering Expectations
Technical Design Template

This PR is trying to merge from a fork which is making the build release step fail. I will create a new one from a branch instead.


🐦 Update twitter link

from executablebooks --> myst_tools

This was announced in the recent blog post, making the myst-tools website more consistent!


Fix get status options so that we do not unnecessary sync metadata

@ZacBlanco @calvinjia PTAL

Merged build finished. Test FAILed.

Test FAILed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2198/
Test FAILed.

Jenkins, test this please

I checked that file has no similar invocations of newBuilder().

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2200/
Test PASSed.

Merged build finished. Test PASSed.

Test PASSed.
Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/Alluxio-Pull-Request-Builder/2202/
Test PASSed.


step 18 doen't exist in expressworks and skipped step

Challenge http://freecodecamp.com/challenges/waypoint-build-web-apps-with-expressjs has an issue.
Session and Cookie is no longer in expressworks. the two that seem to be the replacement for this are called PARAM PAM PAM and WHAT'S IN QUERY. Also, after Hello World, expressworks has a Static step that helps with the Stylish CSS step done right before the PARAM PAM PAM step. I can create a pull request with the new suggested setup if you guys want. Or if there is something that I am not seeing or the page needs to be setup in a different way please let me know.

Good, somebody else spotted this too..  "Session and Cookie" is no longer an expressworks step.

I don't mind creating a pull request for this at all, I just need to know if I should add in the Static step After Hello World and change Session and Cookie to PARAM PAM PAM and add WHAT'S IN QUERY (these are all steps in expressworks). Also long as this is the case I can have a pull request created and ready to go in about 5 mins.

The expressworks does not appear to be part of FCC's repo. Not sure if expressworks was created just for FCC or is used elsewhere. They might have changed the steps for their own purposes.
I was just doing all of the steps in expressworks, then reviewed the waypoint again when I noticed the steps were different. I ran into a bug with the What's in Query. No solution I could find would pass the verify test. Even their own solution fails the test.

I would just  have the FCC instructions allow the studen tto complete all the steps without naming them, since it's likely future updates of expressworks may change the steps again.
Alos, seeing as I posted this issue in another request, something added to the FCC "report a bug" button that could automatically flag prior issues created using the same button.  That would save work from the moderators.

@AdventureBear that feature is coming https://github.com/FreeCodeCamp/FreeCodeCamp/pull/2943.

yay!  good work. :)


Feature request: Add systemd example file

It would be great if the server can run as a systemd service, instead of manually as a script from a directory. That makes it easier to start and stop this btw great program.

Nevermind. I did myself. I created a sys-api user first and put the installation in /home/sys-api/sys-api
[Unit]
Description=sys-API
After=network.target

[Service]
Type=simple
User=sys-api
WorkingDirectory=/home/sys-api/sys-api/
ExecStart=bash ./run.sh
Restart=always

[Install]
WantedBy=multi-user.target

You're welcome. I added one more variable. I didn't know about that deb. But not needed anymore, because all my VPS's work now. 😉


⚠ Bofrost.fr has degraded performance

In 92ce14f, Bofrost.fr (https://www.bofrost.fr) experienced degraded performance:

HTTP code: 200
Response time: 913 ms

Resolved: Bofrost.fr performance has improved in 441b9dd after 13 minutes.


Add initial skills on startup

fixes #376
Also increased coverage a bit

Codecov Report

Merging #409 (45875ce) into develop (155cc5e) will increase coverage by 0.40539%.
The diff coverage is 100.00000%.

@@                 Coverage Diff                 @@
##             develop        #409         +/-   ##
===================================================
+ Coverage   91.05467%   91.46006%   +0.40538%
===================================================
  Files             79          79
  Lines           1811        1815          +4
===================================================
+ Hits            1649        1660         +11
+ Misses           162         155          -7

Impacted Files
Coverage Δ

backend/src/app/app.py
100.00000% <100.00000%> (+10.52631%)
:arrow_up:

backend/src/database/crud/skills.py
100.00000% <100.00000%> (+25.00000%)
:arrow_up:


Add dropna test.

[x] Closes #1694
[x] Tests added / passed
[x] Passes git diff upstream/master **/*py | flake8 --diff
[ ] Fully documented, including whats-new.rst for all changes and api.rst for new API

This PR simply adds a particular test pointed out in #1694 .

Thanks! I think we could keep this test, right?

Yes! (I had to add this to my previous PR...)

Thanks!


Independent option to set equates in the decompiler

Outline
It is currently not possible to reliably set equates for constants that appear in the decompiler. I am suggesting that the decompiler gets its own, independent feature to set equates on constant numeric expressions.
Demonstration
Some problems are also highlighted in #336, but here is another example highlighting a few issues of the current implementation. The following is a Base64 encoded 7ZIP file with a simple x64 Windows PE I compiled:
N3q8ryccAAQnaqqXrQMAAAAAAACSAAAAAAAAAPhbqXUAJpaOcAAX9+wFu+r0/5QBL0TvfOb1xZn
ABMvR6HvW2ZjwY2zdC0tOufykFwzwVFM7sK4ccIYPG66iIgebt2dXmpcEAuibqX4I/Kd+ipqT02
9GfjuKZfHlW8aQQ9PG30cFitLN8y1X9y0dfr/qks51Wb7DoHFYLtRqF4mr5+0dttc+HR/AymVA2
bqFlTxcIsZcPz/UmSE0CEpPa5LMOzbzTMJGuOTuRnZpaW+FFUoaxKK9rdtrFqAWv3sOcx7kSicQ
+6sKDTLi+LPsIM5cxI6kSV3UE5J4B84V9OEWWNxoCo7sFR24N1kexSSx6SWvxY9Q6hf9fpeMIMz
HKEItX7kgid3kgkeQIDhf8iYrQBNie26tjxUgMDMU6SIVCj5lF7490Yt5sTLiq99b6PpPqHoNad
TcDRB0ISStjvYSzWAV+2Ka10BQzoVG0ULo/Gfi7iZx9zO7lbJ89bpTAXW+JLFoVxp95ZrqezuJh
DKhRvQEOfNDX+WLItb6jcmlL/pnW404PlialPC3aAavg6+UJT/RG4lwdfW6DNC+D2J6fg3FqFrP
rUM1EC0fWKDCLMpixmo0Enj8SFbzJZvNHQg1X5e9YVlo6Qw70A1XsGrGbl79kqwRgjC+xXnScS5
vj+2HVD9nxYwFgMAHBkYFPpUWGwesZCw/jXYpgIcI2HY5grxyAQV1D/Gx3qoy2QLqDjUNoErKxz
tHmZfmXiS7BmHEYebXSIAnW/8ZU4wpETenFSHHrXIRdPIv+35qEe6ZLEb6+UfJcGA25Pfq+YVWB
xEsNYLbZRu/FPc+0I27Xe9v1sCwAiCtvJPCh5Gsk5FKVYX/0x7Env1tyJfImG6s3Cgdn/QpLjQV
SZxBaYIYQz+V5t7umsxYZclWu0HYABN+fxREcB93PlcomaRRWuxF4pySNwXI3e+nbpbegVTZ07h
Q/zrMtQKJIQO29a1JGFOMhX0+MrUlSE2g0W9/BWjPk59fEWoiHNQiLq/BvPnw3Hmctp/1NLmuU2
Ao0WBdI5T38GZQXErdlbb52Rg32CR2O8y5lPMhIpPH5IaxYHCz2nKdq3j4U6AuKBHZSkOOQGbg2
gbKJfFSR8HC88FcOwZq7JV68tj2N+d7jPpsR34OVqaNnqvIm3BMcRs7+qrKpUu6/L2UUoBJ1b1X
ZsSQ8BPHVqXQYrZY0DK815eV3HBlkPT2T7pw/HMILa7jh/fr4GcuDVU47CAAAOa+DAAAAGADZOz
MKap/TAzAcCQCUAAAAAAAAAEEBgAECYORBRIFAAcLAQAEIwMBAQVsABAAACMDAQEFbAAQAAAjAw
EBBV0AEAAAFAMDARsEAQUABAEDAgIGAQAMABCN8I4AAAgKAWEW+XsAAAUBGQgAAAAAAAAAABEZA
E0AaQBuAGkAbQBhAGwALgBlAHgAZQAAABkCAAAUCgEAsIad6cKY1QEVBgEAIAAAAAAA

It contains the following disassembly:
 140001030       SUB           RSP, 0x48
 140001034       MOV           RCX, qword ptr [RDX + 0x8]
 140001038       XOR           R9D, R9D
 14000103b       AND           qword ptr [RSP + local_18], 0x0
 140001041       MOV           EDX, 0x40000000
 140001046       AND           dword ptr [RSP + local_20], 0x0
 14000104b       MOV           dword ptr [RSP + local_28], 0x3
 140001053       LEA           R8D, [R9 + 0x2]
 140001057       CALL          qword ptr [->CreateFileW]
 14000105d       CMP           RAX, -0x1
 140001061       JZ            LAB_14000106c
 140001063       MOV           RCX, RAX
 140001066       CALL          qword ptr [->CloseHandle]
  LAB_14000106c
 14000106c       XOR           EAX, EAX
 14000106e       ADD           RSP, 0x48
 140001072       RET

This can be used to demonstrate the following problems:

Setting an equate with value GENERIC_WRITE for the constant 0x40000000 used at offset 140001041 is not reflected in the decompiled view.
Neither is setting an equate with value FILE_SHARE_WRITE for the constant 0x2 used at offset 140001053.
It would be strictly impossible to set an equate for the value 0 passed in R9D; I have seen similar problems where setting an equate for a constant that appears in the decompiled view is simply not possible because it does not correspond to an immediate in the disassembly.

Conclusion
Given these problems, I am suggesting to implement an independent "Set Equate" option which applies to the constant expressions in the decompiler. If that constant is directly associated to a constant expression in the disassembly then linking the two would probably be a nice to have.
I will also mention that it would be extremely useful (at least for the Windows malware reverse engineers ;-)) if this feature had some ability to automatically deduce combinations of certain flags. For example, when a call to HeapAlloc receives the constant 9 as its second parameter, Ghidra would then be able to deduce that this is HEAP_NO_SERIALIZE | HEAP_ZERO_MEMORY.
PS: this would automatically implement my previous suggestion #507.
Environment
OS: Windows 10, Version 1903
Java Version: 11.0.2
Ghidra Version: 9.1-PUBLIC

If you assign an Equate to a value where each value has an independent set of bits, the decompiler will try to deduce the values that when put together would equal the original value, for example:
READ = 1
WRITE = 2
EXECUTE = 4
An equate on a value of 3, the decompiler would show READ | WRITE


Update Advice.txt

Hi Janhvi. For this project, we're actually looking for advice that would be applicable to other developers, not the game itself. You're welcome to resubmit your PR with updated advice.


resolves 57

resolves #57,
minor styling changes to fix ios overflow issue, replace date inputs with buttons to fix ios input selection issue on open datepicker, add a button to load the additional months on mobile

@chrisrenga thanks a lot for the contribution 😄
I checked out to your branch now and it's looking great apart from the situation described below:
When we try to scroll down to the next month on mobile, the arrow button also gets dragged to the top and we can see a white gap on the bottom of the page

Could you fix this issue so we can release your changes with the next version? 💪

all done :)

Hello!
I found this PR because I having the same issue (on mobile it is a bit cumbersome to navigate through months. Often months wouldn't load especially on IOS). The button looks perfect to solve that but I cannot find how to activate it.
It doesn't appear on default and also in the examples I don't see it anywhere.
Any advice?


[Bug]: Dark toggle Mode is not working

🐞 Bug Report
📋 Description
The dark toggle button is not working appropriate on the website and the website is in dark mode forever as not changing even on clicking the theme change button. The button needs to be rectified and a light theme needs to be implemented for default website.
⚙ Steps to Reproduce
Steps to reproduce the behavior:

Improve dark and light toggle mode
Rectify the working of dark theme button
Styling the Elements as per theme selected

✔ Expected Behavior
When the user toggle the theme button to light theme, the light theme would be reflected on every page. Similarly, if it toggles to dark theme the elements of the website should be styled accordingly.
❌ Actual Behavior
With the toggling of the theme button the styling and color must be changed elements of the different colors and makes the User Interface looks nice.
📷 Screenshots

🖥 Environment (if applicable):

OS: Windows 10 Home Single
Browser: Google Chrome
Version: 130.0.6723.92 (Official Build) (64-bit)

🔧 Additional Information
@sanjay-kv @Vin205 @VinayLodhi1712 Please assign this issue to me @VanshGarg06 under hacktoberfest and gssoc-ext with the necessary level 3 labels. Please assignt his issue to me as soon as possible.

I would like to work on this.
Please assign this task to me


Control+PageUp is not send correctly to the underlying shell/application

While tryijng out how good the VIM experience would be with PS Core, I stumbled upon a crucial key binding (Ctrl+PageUp for switching between tabs) that didnt work.
Steps to reproduce
vim
:nmap <C-PageUp> :echo "binding this key works"
# type Control+Page Up Key
# nothing happens
# verify that some keys get passed:
# type i to enter insert mode; type Control+V to enter a character verbatim; type Control+PageUp and see if something gets inserted (with me, it does - see screenshot)

Expected behavior
The Control+PageUp should be sent to the terminal in a way any X-Term recognizes it. Especially VIM bindings should work with it.

Actual behavior
Result of the previous walkthrough:

Environment data
I am using the default PowerShell Core terminal // not Windows Terminal

Name                           Value

PSVersion                      7.0.0-preview.4
PSEdition                      Core
GitCommitId                    7.0.0-preview.4
OS                             Microsoft Windows 10.0.18362
Platform                       Win32NT
PSCompatibleVersions           {1.0, 2.0, 3.0, 4.0…}
PSRemotingProtocolVersion      2.3
SerializationVersion           <IP_ADDRESS>
WSManStackVersion              3.0

I think it is the same https://github.com/PowerShell/PowerShell/issues/10711#issuecomment-539741099

@iSazonov  I don't think so; I think, this issue here is about exotic characters sent to the shell that are not what applications running there know/expect.

/cc @daxian-dbw

@kilasuit definitely not. Readline has nothing to do with it. In my example, I had VIM running which processes stdin (and does not recognize C-PageUp correctly), readline would not see it.
It may well be that VIM is at fault and just does not "speak" powershell special characters. That is, does not know how powershell escape characters look like for every modifier. Looking more into it, running it from cmd.exe has the same effect. It could be that my version of VIM just needs to be taught how escape sequences work under windows.

Closing as a dupe of the conpty issue https://github.com/microsoft/terminal/issues/879
This has nothing to do with PowerShell, you can reproduce the issue running vim directly or from cmd or in another terminal emulator like alacritty.


Custom runtime settings are incomplete. Please specify path and command.

Describe the bug
Starting today, I get an error when I attempt to start my bot. Re-entering my LUIS details doesn't resolve the issue.
Version
Composer version 1.1.1
Browser

[ ] Electron distribution
[ ] Chrome
[ ] Safari
[X] Firefox
[ ] Edge

OS

[ ] macOS
[X] Windows
[ ] Ubuntu

To Reproduce
After clicking Start Bot, I get the following error message: "Start bot failed Custom runtime settings are incomplete. Please specify path and command."
When I click Try Again, I get the Publish Models dialog. I've populated this as follows and clicking OK gives me the same error:
Name of bot: "HousingPoC"
Environment: "composer" (default)
LUIS Authoring Key: Primary Key from one of my Authoring Resources at https://eu.luis.ai/user/settings
LUIS Authoring Region: "westeurope" (Location from the same Authoring Resource at https://eu.luis.ai/user/settings )
Expected behavior
Bot starts
Screenshots

Use Custom runtime had unintentionally been set to true...


Translation Support?

Is there any way to translate the bot? For eg the help?

JDA does not provide any abstraction for messaging beyond sending a simple string. You need to code localization yourself as it is outside the cope of JDA.

You also didn't follow any issue templates.
Please use them as they exist for a reason.

This has nothing to do with JDA.


Runtime serializer can't handle Bonded<> types

If you have a type defined as:
class A
{
    Bonded<int> x;
}

The x cannot be serialized. I traced it in the code and found in Reflection.IsBonded():
return definition == typeof(IBonded<>) || definition == typeof(Tag.bonded<>);

That test for typeof(IBonded<>) will always fail since definition is going to be the instantiation of an object. Instead it should do:
return definition.GetInterfaces().Contains(typeof(IBonded))
I'm unsure of what the test for typeof(Tag.bonded<>) is for. Tag.bonded<> is an abstract class that does not hold the underlying type being bonded. Classes that override Tag.bonded<> will also fail that test (definition == typeof(Tag.bonded<>).

Bond type bonded<T> in C# maps to Bond.IBonded<T>. Bond.Bonded<T> is a implementation. Also T can be only a type representing a Bond schema (i.e. int is not valid).
BTW, if you are manually writing C# classes to use with Bond and something doesn't seem to work then a good way to diagnose is to run Bond codegen and review the generated classes.

Additionally, Bonded<T> is just one of the implementations. There's also Bonded<T, R>. Bonded<T, R> is the implementation that get used during deserialization.
So, a type like
class A
{
    [Id(...)]
    public Bonded<SomeOtherBondStruct> x;
}

wouldn't be able to be deserialized, as Bonded<SomeOtherBondStruct, R> isn't assignable to a field of type Bonded<SomeOtherBondStruct>. We need IBonded<T> here.
(I'm ignoring customizations of Bonded at the moment.)

Also, gbc rejects the following:
struct foo
{
    0: bonded<int> bar;
}

with ".\foo.bond(5,18) : error B0000: unexpected ">", expecting user defined struct, Unknown symbol: int"

I think I get what you're saying. I can have a Bonded<SomeStruct> as long as I'm writing it to an IBonded<SomeStruct> in the C# class definition. I'll test this out and close this issue if it works.

I verified that this wasn't the cause of my issue. Thanks!


i18n(ko-KR): update typescript.mdx

Description (required)

update typescript.mdx
#6741
#6702
#6687

Related issues & labels (optional)

Closes #
Suggested label:

thank you! I fixed it.


[BUG] Negative BMI

Description
negative inputs for height and weight which outputs negative bmi but bmi can't be negative
Screenshots

Any additional information?
No response
Checklist

[X] I have checked the existing issues
[X] I follow Contributing Guidelines of this project.
[X] I am willing to work on this issue (optional)
[X] I am a SWOC'24 contributor

Code of Conduct

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

Go ahead @Akshansh8


Pending component isn't shown during beforeLoad pending state for root route.

Which project does this relate to?
Router
Describe the bug
With beforeLoad defined for createRootRoute, it never shows pendingComponent.
It was already a thing for #1104, but it was closed as completed.
Your Example Website or App
https://stackblitz.com/edit/tanstack-router-67wvqt?file=src%2Froutes%2F__root.tsx&preset=node
Steps to Reproduce the Bug or Issue

Open reproduction
For 3000ms it shows blank page, after 3000ms it shows "Root"

Expected behavior
As a user, I expect to see "Root pending" while beforeLoad is pending. Doc describe it as a feature: Before load docs. It's useful, because user authentication happens during beforeLoad
Screenshots or Videos
No response
Platform

OS: macOS
Browser: Chrome
Version: 131.0.6778.86
@tanstack/react-router version: ^1.85.0

Additional context
No response

Duplicate of https://github.com/TanStack/router/issues/2317?


Update MD file on new branch 2017-12-05_19-50-12

:white_check_mark: Validation status: passed

File
Status
Preview URL
Details

split/updateTestCon1.md
:white_check_mark:Succeeded

For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Workflow for uploading release to PyPI

This creates a workflow in Actions which will be triggered once you create a new release.
It will automatically upload the distribution to PyPI.
All you need to do:

create a new API token on PyPI with "Project: requre" scope
create a new secret in this repo with

Name: PYPI_API_TOKEN
Value: the token from previous step

One question: I see there's only tarball uploaded to requre@PyPI. Do you think it's ok to build&upload (that's what this workflow does) ALSO a wheel?

@jscotka please generate the PyPI token and set it as PYPI_API_TOKEN secret (as described above), otherwise this won't work.

@jpopelka I've added the token to https://github.com/packit/requre/settings/secrets/actions what I've created on pypi, I hope it will work well.


fix src/Genie.jl

This error occurred in Solus Linux, julia v0.6
julia> using Genie
ERROR: LoadError: could not open file /home/khkkoj/.julia/v0.6/Genie/src/configuration.jl
Stacktrace:
 [1] macro expansion at ./REPL.jl:97 [inlined]
 [2] (::Base.REPL.##1#2{Base.REPL.REPLBackend})() at ./event.jl:73
while loading /home/khkkoj/.julia/v0.6/Genie/src/Genie.jl, in expression starting on line 8

The problem was in src/Genie.jl
in line 8,
include(joinpath(Pkg.dir("Genie"), "src", "configuration.jl"))

configuration.jl should be changed to Configuation.jl since the file name in the src folder is the capitalized one...
I fixed this and it ran well!

Thanks, actually the fix was the other way around, the file name should've been renamed to "configuration.jl". Because my file system is case insensitive, I didn't realize that git didn't pick the file rename.
I did it to avoid that Julia automatically includes the module. Might not be necessary as I'm also explicitly including it. But there were problems when also including SearchLight which has a file with the same name (the Configuration module would get overwriten between packages).

I've configured my git to become case sensitive and committed the change (though it doesn't show on Github...).


Please upgrade uuid to v4

Because flutter_distributor >=0.4.0 depends on flutter_app_publisher ^0.4.0 which depends on qiniu_sdk_base ^0.5.0, flutter_distributor >=0.4.0 requires qiniu_sdk_base ^0.5.0.
And because qiniu_sdk_base >=0.4.0 depends on uuid ^3.0.5, flutter_distributor >=0.4.0 requires uuid ^3.0.5.
So, because picguard depends on both uuid ^4.4.0 and flutter_distributor ^0.4.0, version solving failed.

Did you add flutter_distributor to your pubspec.yaml?
Try removing it and use dart pub global activate flutter_distributor.
I use uuid ^4.4.0 in my project and it works totally fine.

# pubspec.yaml
dependency_overrides:
  uuid: ^4.4.0

Did you add flutter_distributor to your pubspec.yaml?
Try removing it and use dart pub global activate flutter_distributor.
I use uuid ^4.4.0 in my project and it works totally fine.

That's right, don't add it to your project dependencies

The key to the problem is not whether it is a global installation, but a version conflict. Global installation also has problems.


the rancheros instance does not mount storage

It seems the only mounted root filesystem is of type "overlay", and sized arounds 350Mo.
Any idea why?

Yes, VULTR changed something with their block storage preventing Rancher OS from automounting the disk. I will patch this later today.

@docteurklein Please upgrade to the latest release and see if this solves the issue for you. Thanks!

@janeczku woah! you rock for such a fast answer :)
It totally works. Thanks a lot!


Adding a chicken as a new pet🐔

I am missing my favourite pet - the chicken, so I would like to add it.
I think of like a grain-picking animation, after the chicken was spawned. In additition it should jump and then slowly flies down to the bottom again.
One problem I will have is to design the chicken in a pixel-art way. Is there anyone who could deal with this or should I just use the art of other people?

I made these two, one for idle state and one for picking grain. I followed some videos on youtube with real chickens to see how they move to imitate their real behaviour. Took me some time to figure out as I am not an animator, but looks decent to me.

These two animations are looking awesome. (of course you can modify my chicken-design 😊)
Following animations would fit in my opinion:

idle
normal walking
holding the green ball
sprinting when the ball is thrown
grain picking
flap their wings

The first four animations are mandatory as mentioned in this file.

Chickens do not usually chase/catch the ball, so I am not sure if these are necessary. @tonybaloney, what do you think about animations 3 and 4?

What if the chicken sprints away from the ball? Scattering when startled. (probably goes against the default programming, but might be worth a try)

Actually, I just checked and everyone chases a ball no matter the pet type, so I will add the animations


The Cloud Run deployment used in CI reports a lot of errors

Investigate why so many errors show up in the logs:

Where does this projectId comes from?
Full logs available at https://pantheon.corp.google.com/run/detail/europe-west1/slo-generator/logs?project=slo-generator-ci-a2b4

A file with the same name and the same contents can be found at the root of the bucket. This file was created on Jan 25, 2022.

The local test fails with:
AttributeError: 'CloudMonitoringBackend' object has no attribute 'basic_sli'

That is not surprising. The Cloud Monitoring Backend does not have any basic_sli method, unlike the Cloud Service Monitoring backend which has indeed a basic method as well as a basic_cli variable:
        if method == "basic":
            methods = measurement.get("method", [])
            locations = measurement.get("location", [])
            versions = measurement.get("version", [])
            threshold = measurement.get("latency", {}).get("threshold")
            slo["service_level_indicator"] = {"basic_sli": {}}
            basic_sli = slo["service_level_indicator"]["basic_sli"]

In addition, the Cloud Service Monitoring backend has a slo_gae_app_availability_basic.yaml sample very close to the on in the bucket:
apiVersion: sre.google.com/v2
kind: ServiceLevelObjective
metadata:
  name: gae-app-availability-basic
  labels:
    service_name: gae
    feature_name: app
    slo_name: availability-basic
spec:
  description: Availability of App Engine app
  error_budget_policy: cloud_service_monitoring
  backend: cloud_service_monitoring
  method: basic
  exporters: []
  service_level_indicator:
    app_engine:
      project_id: ${GAE_PROJECT_ID}
      module_id: ${GAE_MODULE_ID}
    availability: {}
  goal: 0.98

The only functional differences are:

the apiVersion fields: cloud.google.com/v1 vs sre.google.com/v2,
the error_budget_policy fields: none vs. cloud_service_monitoring,
the method fields: basic_sli vs. basic.

Is it possible the SLO definitions stored in the bucket are from an earlier version of SLO Generator? Would it make sense to migrate them (with the SLO Generator)?

I managed to get most of the Scheduler Jobs back on track by migrating the SLO definitions to the latest specification:

[slo_elk_test_errors](https://pantheon.corp.google.com/cloudscheduler/jobs/edit/europe-west1/slo_elk_test_errors?authuser=1&project=slo-generator-ci-a2b4) keeps failing because there is no Elastic backend to query.
[gae-app-loadtester-trigger-search](https://pantheon.corp.google.com/cloudscheduler/jobs/edit/europe-west1/gae-app-loadtester-trigger-search?authuser=1&project=slo-generator-ci-a2b4) keeps failing because the query times out. I am not sure what the search is supposed to do, or how to query it (GET, POST, with what kinf od payload?). @ocervell Any hints as to the purpose and usage of this service?

go/slo-generator-prez has more details on sample Flask application with default and search services (slide 32 and onward).

Upon investigation, search is just an alias for default. So both services return a random status code and the observed failures are expected.
Closing this ticket as all remaining failures can be explained.


Allow PHP archive to provide a php.ini file

Bref allow us to provide an archive containing our version of PHP, that's why I think we should also be able to provide the related php.ini file.
Bref install a default php.ini file containing opcahe configuration but there is no guaranty that related extensions will be available in the archive.
Just to keep bref working with existing archives, I left the default php.ini as a fallback if there's no php.ini file in the archive.
As mentioned in #26, this would allow us to embed more extensions in the archive and load them.
fix #26

closing, see https://github.com/mnapoli/bref/issues/26#issuecomment-398688736


Linux resources?

I found two repositories with Linux resources: awesome-linux and awesome-linux-resources. They have pretty different content, but I think that we should include at least one of them.
The second one already links back to this repository.

 The former doesn't have much content and the latter is just a bunch of random links with no context.
Seems like a good opportunity for someone to do it better. Hint hint.
(Keeping it open for the above reason)

Maybe something like this?
https://github.com/aleksandar-todorovic/awesome-linux

@aleksandar-todorovic Sure, best one yet. Feel free to add it. Though could still use some more content, like window managers and books.

I head about lots of great Linux books, but I don't want to recommend anything I haven't actually consumed, which is why that category is empty for now.
I'll create a pull request then.


TestRunner stops updating display when running long running non-UI tests

The problem with ProcessTest>>testCopyExceptionHandlers is related to the fact that it creates a continuation of the main process itself, which it then resumes and terminates, potentially unwinding stuff it shouldn't. This test needs a redesign.

@jgfoster, with 7d6c3ad, you should find that the test runner now keeps updating and doesn't appear to stop on ProcessTest>>testCopyExceptionHandlers

Thanks!


fix(ant): default evaluation options for apis that do not require them

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

npm package (@latest dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


test: Update the CI build log page

Summary of changes:

Only serve the main build log when visiting /builds/:id, and it is served either as a HTML / SSE stream, or a plain text stream (if using curl for example). The log comes from either S3 or on disk if still running
Add a download link to download the full log as a plain text file, the content being a valid multipart message (so can be parsed and individual files extracted with something like munpack(1), but I just use less(1) :smile:)
Make the build log look more like a terminal screen (this included vendoring this JS lib which doesn't have a LICENSE file but does include a License section in the vendored Readme.md, I assume that is ok?)

Here is how the build log page looks now:

Closes #2601.

Awesome! LGTM.


Typeo in readme

Describe the bug
Readme still references "AnalyticsPlugin.class"
To Reproduce
https://github.com/capacitor-community/firebase-analytics/blame/master/README.md#L290
Expected behavior
Change to "FirebaseAnalytics.class"

This is fixed by PR #36


Rebuilding site to capture changes

This pull request is for the site rebuild that I just ran to capture all of Logan's changes to the usage.Rmd file.

Can you add documentation on how to update the docs? It is unknown to me if this is an automated process or if you need software installed that needs to be run.

@loganripplinger I just added a commit that adds documentation for the documentation site. Let me know if that will work.


Bug: Autocompletion of Tags, Projects and Contexts broken in WebView filter

Since the latest release 2.20.0 , autocomplete in WebView is broken for Tags, Projects and Contexts
Example: Type "+MyPr" and hit Tab or Enter for autocompletion. Instead of "+MyProject", the following text is entered: [object Object]
Filtering works fine when manually typing "+MyProject"
Thanks a lot!

Cannot reproduce.

Just tested again:

Works fine for me if the project filter is the first filter
Does not work for me (as described above) if there are multiple filters e.g. "$due +MyProject" or "+MyProject #MyTag"