Currently incompatible with 10.4.0-29J

kversion: 02320100
sysNAND: 9.2.0-20J
emuNAND: 10.4.0-29J

result.txt:

strHidUser: 003260df
refHidUser: 0030c794
hidObj: 00360da0
{'gxFlushDCahce': '0x12ded0', 'fsOpenFile': '0x163898', 'mountArchive': '0x12c064', 'userFsTryOpen': '0x22bdbc', 'nnInitCardUpd': '0x118d78', 'regArchive': '0x228338', 'fsOpenArchive': '0x21ee10', 'fsWriteFile': '0x163974', 'mountRom': '0x10ed84', 'hidObj': '0x360da0', 'fsReadFile': '0x12c19c', 'getServiceHandle': '0x2359cc', 'aptStartApplet': '0x12ea08', 'fsUserHandle': '0x32efa4'}
if (t == 0xea00001f ) {
ntrConfig->HomeMenuVersion = SYSTEM_VERSION(INSERT_YOUR_VERSION_HERE);
ntrConfig->HomeMenuInjectAddr = 0x12ded0;
ntrConfig->HomeFSReadAddr = 0x12c19c;
ntrConfig->HomeCardUpdateInitAddr = 0x118d78;
ntrConfig->HomeFSUHandleAddr = 0x32efa4;
ntrConfig->HomeAptStartAppletAddr = 0x12ea08;
}

In addition to needing to add this version, it seems on linux the makerom-linux segmentation faults. I'm not sure who's fork is used for this build. And the most up-to-date version of makerom will not build because the rsf files are out of date/ doesn't support the ExeFs key.

thanks, will be fixed later

fixed, please try the latest build

Looks like it's working on this firmware in the latest commit.

so does ntr work with the fw 10.4 now?

i mean in the emunand mode

Yes. Assuming you're running 10.2 native firm and not 10.4 native firm. (Emunand version can still be 10.4 btw)

so my emunand can be 10.4 and ntr would still work right?

Doesn't work on my 10.4 EmuNAND. Latest build too.

@s3r1alpari4h are you building BootNTR yourself or using the last release? The last release is from before 10.4 support was added.

Building myself leads to an error.

i am using an Old 3DS XL
emunand: running rxtools 10.4 (RX-E <IP_ADDRESS>U)
sysnand: Ver. 9.2.0-24U
built it from source just now. (it builds BootNTR-Mode3.cia (and some other files) then says hit a key to continue, did so, then wipes everything a builds a new thing with BootNTR.cia and some other files.)
then i copied the latest release of ntr.bin from the zip file to the sd root, as it says to.
installed BootNTR.cia ran it, says current firmware not supported. no results.txt in the SD root. uninstalled it and tried the mode3 one. still no results. same "not supported firmware" message saying to email you.
am i doing something wrong? looking in the wrong place for results.txt english is not my first language and there is litterally no documentation. i found the link to devpro tools in an obscure folder in a makefile.md text file and installed it which let me compile without any errors on windows 10. and the only reason i knew to put ntr.bin on the SD root was through some post on reddit someone made saying you need that there. then this post that says 10.4U is supported while the change list only says 10.4J is supported.
so, i appologise for making a long post, but here's hoping for answers and hopefully help others as well.


Feature request: disk cache of filings

Awesome API thanks!
It would be really nice if there was a built in option to cache filings locally to disk so it didnt need to make a request every time

Do you want to cache the filing attachments to disk?

Will start working oin this next week


Search results for consultation should show information of the doctor and the available time slots

Feature developed and committed.


[TypeScript] Update ESLint configuration

Purpose
What is the context of this pull request? Why is it being done?
Changes
Are there any changes that need to be called out as significant or particularly difficult to grasp? (Include illustrative screenshots for context if applicable.)
Tests
Is this covered by existing tests or new ones? If no, why not?
Feature Plan
Are there any remaining steps or dependencies before this issue can be fully resolved? If so, describe and link to any relevant pull requests or issues.
Checklist
General

[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have added or updated the appropriate tests
[ ] I have updated related documentation

Bots

[ ] I have validated that new and updated responses use appropriate Speak and InputHint properties to ensure a high-quality speech-first experience
[ ] I have replicated language model changes across the English, French, Italian, German, Spanish, and Chinese .lu files and validated that deployment is successful

Deployment Scripts

[ ] I have replicated my changes in the Virtual Assistant Template and Sample projects
[ ] I have replicated my changes in the Skill Template and Sample projects

The PR is correct, but we will wait to have this in our current iteration to move it to Microsoft.


Add vpr from Verilog to Routing for another FOSS PnR option

The SymbiFlow project is supporting Verilog to Routing's vpr tool as a place and routing option for the ice40, ecp5 and artix7 FPGA parts.
VtR is more research focused than nextpnr but hopefully will soon provide similar type of functionality.
You can see how we build VtR in our conda packages here -> https://github.com/timvideos/conda-hdmi2usb-packages/blob/master/vtr/build.sh

So I have created an initial recipe to build verilog-to-routing tools (all of them at the moment). However due to the dependencies (e.g. x11) getting it to build for nativesdk will be a bit problematic.
https://github.com/nathanrossi/meta-hdl/blob/master/recipes-pnr/vtr/verilog-to-routing.bb
However I have no idea how to use any of the tools, @mithro do you have an example workflow that uses vpr with one of the mentioned FPGAs? I did see https://github.com/SymbiFlow/symbiflow-arch-defs which I assume is used for the architecture definitions for vpr.

A recipe for this project is in meta-hdl. https://github.com/nathanrossi/meta-hdl/blob/master/recipes-pnr/vtr/verilog-to-routing.bb


[core] SetMousePosition() delayed by one frame on X11 systems

Please, before submitting a new issue verify and check:

[x] I tested it on latest raylib version from master branch
[x] I checked there is no similar issue already reported
[x] My code has no errors or misuse of raylib

Issue description
Copied from my Discord message - HK#2413
I'm having an issue where calls to SetMousePosition are effectively delayed by 1 frame and I have no idea why. I'm in the process of writing my own first-person mouse look function but every time I try to reset the cursor to the middle of the screen, GetMousePosition reports the old position for an extra frame.
Environment
Arch Linux (X11 + dwm), OpenGL 4.6, AMD Radeon RX 580 Bug reproduced consistently
Windows 10 virtual machine, OpenGL 4.6, Nvidia GTX 960 Could not reproduce bug
Code Example
#include "raylib.h"

int main() {
    InitWindow(800, 600, "Mouse issue demo");
    SetTargetFPS(60);

    while (!WindowShouldClose()) {
        // If the mouse x position is > 100, reset it back to 5
        Vector2 mouse = GetMousePosition();
        TraceLog(LOG_INFO, "Mouse x: %f", mouse.x);
        if (mouse.x > 100) {
            TraceLog(LOG_INFO, "Mouse is > 100, resetting");
            SetMousePosition(5, mouse.y);
        }

        BeginDrawing();
            ClearBackground(BLACK);
            DrawLine(mouse.x, 0, mouse.x, 600, GREEN);
            DrawLine(100, 0, 100, 600, RED);
        EndDrawing();
    }

    CloseWindow();
}

If you move the mouse right at a medium speed, you can see the issue in the debug messages
INFO: Mouse x: 92.000000
INFO: Mouse x: 99.000000
INFO: Mouse x: 106.000000
INFO: Mouse is > 100, resetting                <- SetMousePosition called here
INFO: Mouse x: 115.000000                      <- Next frame, mouse hasn't moved
INFO: Mouse is > 100, resetting
INFO: Mouse x: 13.000000
INFO: Mouse x: 12.000000
INFO: Mouse x: 19.000000

I looked into the issue some more and I think I've found the problem. It seems to be caused by how Xorg buffers window events. In the above code example, here's what's going on:

The user moves the mouse, generating Xorg mouse move events that are buffered by GLFW
SetMousePosition: Modifies CORE.Input.Mouse.currentPosition and calls glfwSetCursorPos
EndDrawing: Calls PollInputEvents which calls glfwPollEvents
glfwPollEvents calls MouseCursorPosCallback, which overwrites CORE.Input.Mouse.currentPosition. The mouse move event generated by glfwSetCursorPos is not processed until the next frame.

In effect, this delays SetMousePosition by one frame.
You can work around this by using custom frame control, or simply by calling PollInputEvents() at the top of the game loop (before SetMousePosition).

Calling glfwGetCursorPos instead of glfwSetCursorPosCallback seems to fix this

you can use glfwSetCursorPos() as long as when you use camera, you set cursor mode to DISABLED
then it's totally fine they say

I'm afraid this issue is out of raylib domain, it depends on GLFW and probably X11 windowing system. Trying to implement a path in raylib side will only make the code more complex and probably generate future issues.
I'm closing this issue.

I just wanna add that I ran into this same issue. Seems like the solutions listed here are to use glfwGetCursorPos(). We can also use SDL backend now which might solve it. Ultimately has this issue been reported to glfw?


Add Zeff positivity requirement to the damping factor in SolverNonLinear

The damped Newton solver should ensure positivity of Zeff, which is now regularly causing issues in simulations with self-consistent ionization. This could be done by extending the SolverNonLinear::MaximalPhysicalStepLength method.
This will be slightly more involved than the present constraints (positivity of certain unknowns) since Zeff is a nonlinear function of n_i, but it's just a matter of carrying out the few lines of algebra required.
Instead of explicitly demanding positive Zeff, perhaps we could independently require positivity of both sum_i n_i Z_0i^2 and sum_i n_i Z_0i, the latter being  the total free electron density which I guess is already positive since we require n_cold to be positive, which is a strictly smaller quantity. This would be slightly simpler (and certainly reasonable to demand).

I have implemented this now, and removed the n_i positivity requirement from TimeStepperConstant since it is unnecessarily strict. It is not uncommon for the density of some charge states to be tens of orders of magnitude lower than others, in which case round-off errors can push some states into -eps which is benign and shouldn't crash the simulation. It is more important for Zeff to be positive, which is now ensured.
Unfortunately this didn't help much with the ill-behaved simulations. Turns out that the problem is more commonly related to the solver getting lost and really wants to head into negative T_cold. Because ADASRateInterpolator extrapolates a bicubic spline by default, this will rapidly diverge for T<1 and exceed DBL_MAX and produce a floating point error. Even if you change to bilinear, however, the solver will still not converge as it looks for a negative Tcold solution that it is not allowed to reach.
I did however find a really embarrassing bug in the damping factor that sometimes prevented the solver from converging altogether, by also limiting the unknowns from growing by more than a factor of 2. Not sure why this hasn't more often become an issue. This significantly improved the stability of problematic cases, but didn't solve it altogether.


How to set-up libUSB on Windows?

I am trying to run the camera control software ptpy 0.3.2
I am using window 10, python38.
I installed the software by pip install ptpy-0.3.2-py3-none-any.whl
From python, I execute the following commands:
from ptpy import PTPy
camera = PTPy()
I get the following error:
Traceback (most recent call last):
File "", line 1, in
File "D:\Python38\lib\site-packages\ptpy_init_.py", line 110, in new
plain_camera = plain(device=device)
File "D:\Python38\lib\site-packages\ptpy\ptp.py", line 712, in init
super(PTP, self).init(*args, **kwargs)
File "D:\Python38\lib\site-packages\ptpy\transports\usb.py", line 90, in init
else find_usb_cameras(name=name)
File "D:\Python38\lib\site-packages\ptpy\transports\usb.py", line 61, in find_usb_cameras
return usb.core.find(
File "D:\Python38\lib\site-packages\usb\core.py", line 1263, in find
raise NoBackendError('No backend available')
usb.core.NoBackendError: No backend available
In the python directory I have \site-packages\pyusb-1.0.2-py3.8.egg-info.
In site-packages\usb\backend I have libusb0.py, libusb1.py and openusb.py
In the Windows directory I only have only libusb0.dll in C:\Windows\System32\DriverStore\FileRepository\arduino_gemma.inf_amd64_ccc1c03de7b2c57b\amd64
In the locate_library function in D:\Python38\Lib\site-packages\usb\libloader.py, the find_library is ctypes.util.find_library
It is looking for the following DLLs:
usb-1.0.dll, libusb-1.0.dll, usb.dll, openusb.dll, usb-0.1.dll, libusb0.dll
I have also noticed that none of the above are in the Windows System32 directory. Should the code be modified to look for other DLLs?

I did try:
pip install libusb.
Then copied libusb-1.0.dll from site-packages\libusb_platform_windows\x64 to c:\windows\system32.
So ran:
from ptpy import PTPy
camera = PTPy()
I get the following error:
Traceback (most recent call last):
File "", line 1, in
File "D:\Python38\lib\site-packages\ptpy_init_.py", line 109, in new
plain_camera = plain(device=device)
File "D:\Python38\lib\site-packages\ptpy\ptp.py", line 712, in init
super(PTP, self).init(*args, **kwargs)
File "D:\Python38\lib\site-packages\ptpy\transports\usb.py", line 93, in init
self.__acquire_camera(devs)
File "D:\Python38\lib\site-packages\ptpy\transports\usb.py", line 126, in __acquire_camera
for _ in self.__available_cameras(devs):
File "D:\Python38\lib\site-packages\ptpy\transports\usb.py", line 114, in __available_cameras
for dev in devs:
File "D:\Python38\lib\site-packages\usb\core.py", line 1249, in device_iter
if _interop._all(tests) and (custom_match is None or custom_match(d)):
File "D:\Python38\lib\site-packages\ptpy\transports\usb.py", line 47, in call
for cfg in device:
File "D:\Python38\lib\site-packages\usb\core.py", line 1094, in iter
yield Configuration(self, i)
File "D:\Python38\lib\site-packages\usb\core.py", line 584, in init
desc = backend.get_configuration_descriptor(
File "D:\Python38\lib\site-packages\usb\backend\libusb1.py", line 755, in get_configuration_descriptor
_check(self.lib.libusb_get_config_descriptor(
File "D:\Python38\lib\site-packages\usb\backend\libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found
I really appreciate some help. Thanks

Hi
I solved a similar problem by installing the github master version which indicates that it is version 0.3.3, which corrects a bug in the usb transport with python 3

Hi,
I have downloaded the latest varsion 0.3.3 and still get the same error.
I have been digging around a little
In  \site-packages\usb\core.py there is a method called find which calls: def device_iter(**kwargs)
This is a generator calling: for dev in backend.enumerate_devices().
This in turn calls site-packages\usb\backend\libusb1.py _LibUSB.enumerate_devices which in returns an iterable class _DevIterator(self.ctx) as follows:
_DevIterator(_objfinalizer.AutoFinalizedObject):
    def __init__(self, ctx):
        self.dev_list = POINTER(c_void_p)()
        self.num_devs = _check(_lib.libusb_get_device_list(
                                ctx,
                                byref(self.dev_list))
                            )
        print("self.num_devs   "); print(self.num_devs)

When I connect the camera: self.num_devs goes from 4->5 which shows that the camera is connected correctly.
While iterating through the devices, the traceback is at the line:
if _interop._all(tests) and (custom_match is None or custom_match(d)): in device_iter in site-packages\usb\core.py
In the _DevIterator.__iter__ function I print out the iteration. When an instance of the _Device class is created, the devid is printed out.
For the first and second devices the expression _interop._all(tests) and (custom_match is None or custom_match(d)) returns False and so nothing is yielded
Its on the 3rd device it goes wrong. I would appreciate any suggestion what to look for. Many thanks.
_DevIterator.__iter__ i= 0
libusb1 _Device.devid =<PHONE_NUMBER>544
_DevIterator.__iter__ i= 1
libusb1 _Device.devid =<PHONE_NUMBER>848
_DevIterator.__iter__ i= 2
libusb1 _Device.devid =<PHONE_NUMBER>456
Traceback (most recent call last):
File "", line 1, in
File "D:\Python38\sequoia-ptpy-master\ptpy\__init__.py", line 111, in __new__
plain_camera = plain(device=device)
File "D:\Python38\sequoia-ptpy-master\ptpy\ptp.py", line 720, in __init__
super(PTP, self).__init__(*args, **kwargs)
File "D:\Python38\sequoia-ptpy-master\ptpy\transports\usb.py", line 92, in __init__
self.__acquire_camera(devs)
File "D:\Python38\sequoia-ptpy-master\ptpy\transports\usb.py", line 127, in __acquire_camera
for _ in self.__available_cameras(devs):
File "D:\Python38\sequoia-ptpy-master\ptpy\transports\usb.py", line 114, in __available_cameras
for dev in devs:
File "D:\Python38\lib\site-packages\usb\core.py", line 1256, in device_iter
if _interop._all(tests) and (custom_match is None or custom_match(d)):
File "D:\Python38\sequoia-ptpy-master\ptpy\transports\usb.py", line 47, in __call__
for cfg in device:
File "D:\Python38\lib\site-packages\usb\core.py", line 1094, in __iter__
yield Configuration(self, i)
File "D:\Python38\lib\site-packages\usb\core.py", line 584, in __init__
desc = backend.get_configuration_descriptor(
File "D:\Python38\lib\site-packages\usb\backend\libusb1.py", line 759, in get_configuration_descriptor
_check(self.lib.libusb_get_config_descriptor(
File "D:\Python38\lib\site-packages\usb\backend\libusb1.py", line 595, in _check
raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 2] Entity not found

hi
In my case the camera (nikon d7200) only worked when with zdiag I installed the libusbK library.
Under Windows, install libusb or libusb-win32 using zadig.

@manmoi01 Two things, I see that installing libusk using Zadig will also overwrite other USB drivers. Did you find this? Also what PYUSB should I install so that the python backend can use libusk.
I have been looking at the code I have noticed a problem in ctrl_transfer.
For exampe, the Device class in usb/core.py has a function def langids which calls usb.util.py get_langids which calls usb.control.py get_descriptor which sets bRequest = 0x06 and then calls Device.ctrl_transfer() in core.py which then calls ret = self._ctx.backend.ctrl_transfer. This is happening for all usb devices. Any ideas? I first discovered this when in the core.py find() there is a member function def device_iter(**kwargs):. In there , there is a line d = Device(dev, backend). It is when I did a print(d) that I first noticed the problem. The Device class has an str function which call _get_full_descriptor_str. In there it calls _try_get_string(self, self.iManufacturer)) when then gets the langids

@manmoi01 Two things, I see that installing libusk using Zadig will also overwrite other USB drivers. Did you find this? Also what PYUSB should I install so that the python backend can use libusk.

@jonoboy9  Hi, pyusb use libusbK, libusb or libusb-win32 for communicate with usb device,  Zadig rewrite the controller of specific device, the problem is another programs maybe cannot connect anymore with the camera.
WUDFWpdMtp is the controller of Microsoft for PTP, that is the controller that use windows, but pyusb cannot use this controller to connect with a camera.

@jonoboy9, you will need to replace the Windows driver with libusbK using Zadig.
Keep the original driver around in case you want to get the previous behaviour back (Windows supports MTP for file transfers).
Admittedly using libusb under Windows is a bit complicated.

@jonoboy9 Hi, yes you need install libusbk driver when the camera is connected to computer after this pyusb can connect to camera, Zadig change the driver is device specific and only affect the camera that you connect.

@jonoboy9 pyusb works out of the box with libusbK drivers installed. No need to create any bindings by yourself.

@manmoi01 @domenzain May I say thank you both. libusbk has helped. I have been able to take pictures. Just 2 questions:

After with c.session(): cpt = c.initiate_capture() should I do a terminate_open_capture. What does this do?
2)What function do I call to say, get and set shutter speeds?

Now that I have got working code, I have gone back to have a look at the problems I had when using libusb1. Using libusb1, I did successfully get the number of usb devices and even open the camera device. I also could get some info, but not any string data such as manufacturer and product name. Where it all goes wrong is when I wanted to get the langid. To do this, in core.py, Device.ctrl_transfer, it calls lib.libusb_control_transfer which returns -5. Any thoughts?
Also what is interesting, just before the call to the backend, there is this comment:
#Thanks to Johannes Stezenbach to point me out that we need to claim the recipient interface
    recipient = bmRequestType & 3
    rqtype = bmRequestType & (3 << 5)
    if recipient == util.CTRL_RECIPIENT_INTERFACE and rqtype != util.CTRL_TYPE_VENDOR:
            interface_number = wIndex & 0xff
            self._ctx.managed_claim_interface(self, interface_number)

Using either libusbk or the libusb1, managed_claim_interface is NOT called.

@jonoboy9 The exact details will depend on the camera manufacturer's implementation. Most will only support the StartCapture command. You can perform a GetDeviceInfo even outside a PTP session. And this command will let you know what the camera supports (commands, events, ...).
About the pyUSB issues, you will be able to get better information there:
https://github.com/pyusb/pyusb
You can declare the environment constant for detailed pyUSB logging to understand what it going on.


Error when trying to convert to onnx

Hi team:
Has anyone tried to convert the NeuralRecon model to onnx format? I remove the DataParallel before conversion (the DataParallel is reported to cause onnx exportion problem) but still facing errors like: "RuntimeError: 0 INTERNAL ASSERT FAILED at "/opt/conda/conda-bld/pytorch_1656352657443/work/torch/csrc/jit/ir/alias_analysis.cpp":608, please report a bug to PyTorch. We don't have an op for aten::eq but it isn't a special case.  Argument types: Tensor, bool,"

Have you solved it? I also tried to pour onnx failed


Missing batch command

https://github.com/NodeRedis/node_redis#clientbatchcommands

Resolved with https://github.com/types/npm-redis/commit/2fe109e2d91c6e86fdcfc626076481179978a525.


Miner frequently rebooting

My miner, Nebra Outdoor Hotspot Gen 1, running firmware 2<IP_ADDRESS> appears to be frequently rebooting.
Others seem to be having similar issues.
This is a continuation of issue #64
https://github.com/NebraLtd/hm-miner/issues/64

This is not a support channel send a mail so<EMAIL_ADDRESS>

@KevinWassermann94 GitHub issues are normally used for reporting software problems.
This appears to be a software problem


Replace numeric ids by natural keys in test data fixture

Short description

As per @timoludwig's comment, replace the numeric ids of permissions by their natural keys in the test_data.json fixture.
Proposed changes

use natural keys
remove the fallback image now that #71 is merged

Side effects

/
Resolved issues

Fixes: #83

Is it even required to duplicate the permission info here, or could we just remove it, since the group and permission info is already contained in the permissions.json fixture?

Is it even required to duplicate the permission info here, or could we just remove it, since the group and permission info is already contained in the permissions.json fixture?

Removing the permissions inside test-data.json breaks the tests in the same way as before, so I guess not, sadly.

But wouldn't it make sense to just load the permissions fixture in the tests as well?

But wouldn't it make sense to just load the permissions fixture in the tests as well?

...yes. Super sorry, I did not realize we were not doing so 🤦🏼♀

The conflict resolution did not really work, the group information is now contained in the test data again:
https://github.com/digitalfabrik/integreat-compass/blob/38044d05be90f71d895b4d4b026ab5fafc5eade1/integreat_compass/cms/fixtures/test_data.json#L373-L396

🤦🏼♀ Sorry for this tedious review and wasting your time here.... Today's not my day 😅
Also I gues we could (should?) eventually do the same thing for group ids/natural keys, but I think a custom group manager would be needed (?) and I'd rather push that into the future.


Provide content structure

The current content structure under /content/campaign contains a lot of items which don't add value to our implementation, as they are legacy components. So we should clean up this structure:

[x] Brand page level under /content/campaign (example page title: "Example Brand", name: "example"). This contains the general configuration like Cloud Config
[x] Language page level under brand pages (example content: "en"). Make sure this works with language copy & translation process.
[x] Email pages under languages pages. Email pages can be nested
[ ] Disallow all legacy templates within our structure

PRs in Adobe Repos:
https://git.corp.adobe.com/CQ/mcm/pull/163
https://git.corp.adobe.com/CQ/personalization/pull/242


Make compatible with PHPUnit 7.1

This makes the printer compatible with PHPUnit 7.1, but will still be backwards compatible to previous PHPUnit versions.
Refs https://github.com/sempro/phpunit-pretty-print/issues/13

Thanks for your fix!


manage: if a system no longer exists and isn't cached the entire page breaks

fixed in 8f6294bd30bd37f1d01fd7557a94357ef55696c1 released in v0.11.1


Didn't scroll up to field with validation error when press submit button.

Package
filament/forms
Package Version
2.12.10
Laravel Version
9.12.2
Livewire Version
2.10.5
PHP Version
8.1.5
Bug description
Thanks for fixing the issue where the collapsed section didn't expand when there is validation error when press submit
https://github.com/laravel-filament/filament/issues/2231
Now the collapsed section did expand upon validation error, however it didn't scroll up to the 1st place/field with the error, leading to users confused as they press the submit button at the bottom of the form but nothing happen. Some of them are tech savvy enough to realise and scroll all the way up, but some also don't and end up close the browser tab in our internal usability testing.
If this can be fixed, it will be great!
Steps to reproduce
No response
Relevant log output
No response

Fixed by #2508.


Orphan mitigation when provisioning asynchronously?

The orphan mitigation section of the spec only details synchronous situations. However, it seems to me like the platform giving up on an async provisioning operation because it hasn't received a "succeeded" or "failed" state should also trigger orphan mitigation.

The https://github.com/openservicebrokerapi/servicebroker/blob/master/spec.md#polling-interval-and-duration section talks about it going into a "failed" state, but then stops. If we added text in there about the failure triggering the orphan mitigation logic then I think that would be good.

SGTM

SGTM too. @kibbles-n-bytes are you able to open a PR for this?

@mattmcneeney Yes, I will have one out today!

I believe this is done!


Check for & warn on use of underline element

Types of changes

[ ] Bug fix (a non-breaking change which fixes an issue)
[x] New feature (a non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)

Description
We're checking for and adding a warning for the use of the u element as this may be incorrectly used and it's not recommended as it may be confused as a hyperlink.
This fixes issue #51
Link(s)
https://developer.mozilla.org/en-US/docs/Web/HTML/Element/u#Other_elements_to_consider_using
Screenshot(s)

Checklist:

[x] I have thoroughly read the CONTRIBUTING guidelines.
[x] I understand my pull request will be thoroughly reviewed at high detail.
[x] I understand the work in my pull request will only be available in the next version release of Checka11y.css and not in the current version release.
[x] I confirm the work in this pull request is valid according to my findings and is not something for anything personal.
[x] I have updated the README and/or features.md where and if applicable (still put an x if you have considered this but thought there was nothing to add or modify).
[x] I have added myself to the contributors section in package.json (still put an x if you have considered this but decided not to add yourself).
[x] I have checked I have not committed any accidental files.
[x] I have tested all the main modern browsers (I.e. Chrome, Firefox, Edge, Safari - please leave this unchecked if there were any browsers listed you could not test and list them in the help section with details why you couldn't test that browser)
[x] All new and existing a11y checks still work correctly (compare your local test/index.html to the test/index.html in the master branch).

Help

I'm unsure why this shows the commit history for my previous work so I think I've got things messed up with my fork maybe.  The files changed only cover this PR so that's fine but let me know if I need to redo this PR 😊


unable to parse database or retention policy from "my_database"

#influxd version
InfluxDB v1.8.10 (git: 1.8 688e697c51fd)

# cat /etc/os-release | grep -i name
NAME="CentOS Linux"
PRETTY_NAME="CentOS Linux 8"

when i run a command in InfluxDB shell
> use "my_database"
get
unable to parse database or retention policy from "my_database"
even retention policies is correct and default set also
> show retention policies on  "my_database"
name     duration  shardGroupDuration replicaN default
----     --------  ------------------ -------- -------
autogen  0s        168h0m0s           1        false
month    2160h0m0s 24h0m0s            1        true
3-months 2160h0m0s 24h0m0s            1        false

trouble disappear after influxdb service restart and it happens randomly again after several hours later.

Enabled logging and got those messages "engine: error syncing wal""
switched database to faster drive and also edited wal-fsync-delay parameter
seems like solved an issue


ENV gets tainted when assume-role fails with wrong MFA

👋 hello Coinbase,
I think I've found a bug in the way assume-role and aws interact with each other.
I'm using a standard AWS Bastion setup, with minimal accounts, config and credentials file as described in the README. My shell (zsh) ENV is quite vanilla as well:
% env | grep AWS
%

assume-role usually works fine for me but here's how to trigger the bug:
# start with the empty ENV as above
% env | grep AWS
%

# now type in a wrong MFA token, something like 12345
% assume-role foo bar
MFA Token:
Parameter validation failed:
Invalid length for parameter TokenCode, value: 5, valid range: 6-inf
aws sts get-session-token error

# let's have a look at ENV
% env | grep AWS
AWS_SESSION_START=0

# now try again, with a correct value
# also notice the double dots in the IAM endpoint
% assume-role foo bar
MFA Token:
Invalid endpoint: https://iam..amazonaws.com
usage: aws [options] <command> <subcommand> [<subcommand> ...] [parameters]
To see help text, you can run:

  aws help
  aws <command> help
  aws <command> <subcommand> help
aws: error: argument --user-name: expected one argument
aws iam list-mfa-devices error

# and let's have a look at ENV again
% env | grep AWS
AWS_SESSION_START=0
AWS_SESSION_ACCESS_KEY_ID=
AWS_SESSION_SECRET_ACCESS_KEY=
AWS_SESSION_SESSION_TOKEN=
AWS_REGION=
AWS_DEFAULT_REGION=
AWS_ACCOUNT_ID=
AWS_ACCOUNT_NAME=
AWS_ACCOUNT_ROLE=

The error reported above is exactly the same when you set default region to an empty string:
# empty ENV
% env | grep AWS
%

# this works
% aws iam get-user --query User.UserName --output text
...

# aws doesn't touch ENV
% env | grep AWS
%

# with this, it stops working
% export AWS_DEFAULT_REGION=''
% aws iam get-user --query User.UserName --output text

Invalid endpoint: https://iam..amazonaws.com

# just in case
% env | grep AWS
AWS_DEFAULT_REGION=

A workaround I've found is to export AWS_DEFAULT_REGION in my shell, this diff works as well:
diff --git a/assume-role b/assume-role
index 2cc338a..cc1eb87 100755
--- a/assume-role
+++ b/assume-role
@@ -144,6 +144,8 @@ assume-role(){
     echo_out "region not defined"
     return
   fi
+  AWS_REGION="$region"
+  AWS_DEFAULT_REGION="$region"

   # Activate our session
   NOW=$(date +"%s")

I still don't know why this is happening: it might very well be a bug in aws or undocumented behaviour. For sure, tainting ENV with AWS_SESSION_START=0 is not enough and you have to export AWS_DEFAULT_REGION as an empty string to trigger this abnormal behaviour, this is why globally setting a default region fixed it. But honestly, it escapes me why this is only happening when you fail your MFA request at least once 😄

Merged your PR. Cheers for reporting and contributing.


Dropping black, flake8 and isort in favor of ruff

ref https://github.com/pyvista/pyvista/pull/6218

pre-commit.ci autofix


Resolves merge conflicts for #67

@cykreng - it looks like the Azure secret for login by the deployment pipeline is expired. Are you able to generate a new secret and update the repository with it?

@kyleburnsdev is this still valid, if so can you merge and send PR again


Stop worker when Shutdown() is called, even when jobs are available

Currently when Shutdown() is called on an active worker, it is ignored until it runs out of new jobs to work.
This patch does a non-blocking check on the shutdown channel between jobs, so that it can exit cleanly even when busy.
This patch also stops a 5 second wait before starting the first job.

Gentle ping, we've been using it with this patch for a few weeks now, and seems to be running fine.

Added a second fix to this branch which prevents a segfault when Shutdown() is called before Start().

@bgentry, any chance of getting this merged?
I'm facing the same situation, and quite sure it's indeed a bug.
Good job put here btw by everybody :)

Yes, planning to. I've been heads down working on my startup and haven't had much time for open source stuff. I'll get to the PRs soon.
Also worth noting, Que has a v1 beta which makes some big changes that should lead to significant improvements in throughput and connection overhead. It would require a redesign of this library, but the concurrency story should be pretty easy to do in Go. More details are in the changelog.

@bgentry Any plan to merge this?

Thanks for the fixes, and sorry for the long delay. Life's been busy!

Hi @bgentry, I just wanted to say thank you for the hard work, and thank you for putting in some time to do this. I know open source can be thankless sometimes, so I just wanted to chime in here with some gratefulness :)


Features folders suggestion

Hi, I have a suggestion.
First, I love the rekit studio. Thanks for this.

To better organize myself, I like to create folders with the same component names as if they were child components.
Like this:

But in rekit-studio, these created folders are inside the Others folder.
Maybe if we could create folders with the same names of the components and make them integrate, it would be very interesting.
Like this:

I even tried to create the mod and do a PR, but I'm still not a master at react.
That's why Rekit helps me a lot.
Thanks

Thanks @ianitsky for the suggestion, it's very reasonable. In React world, many components are created just used by their parent components for decoupling logic rather than reuse. So show them in a nested structure will be helpful.
In my mind this could be implemented as a Rekit plugin, and rather than creating a folder, I think this could be implemented by dependency analytics. If a component is only used by another component in the same folder, then show it as a child of the component. In the disk they are still in the same folder but in Rekit project explorer, they can be showed in group.

I agree, it's a good way.
Have you created a Todo of how to create a plugin. I want to help
Thanks
On Wed, Jun 19, 2019, 1:29 AM Nate Wang<EMAIL_ADDRESS>wrote:

Thanks @ianitsky https://github.com/ianitsky for the suggestion, it's
very reasonable. In React world, many components are created just used by
their parent components for decoupling logic rather than reuse. So show
them in a nested structure will be helpful.
In my mind this could be implemented as a Rekit plugin, and rather than
creating a folder, I think this could be implemented by dependency
analytics. If a component is only used by another component in the same
folder, then show it as a child of the component. In the disk they are
still in the same folder but in Rekit project explorer, they can be showed
in group.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/rekit/rekit-studio/issues/2?email_source=notifications&email_token=AABH37ZUXCYGKNOXN5CLYDDP3GYZNA5CNFSM4HZB2542YY3PNVWWK3TUL52HS4DFVREXG43VMVBW63LNMVXHJKTDN5WW2ZLOORPWSZGODYAUXRI#issuecomment-503401413,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AABH373JEOF5ZOO45DWLP5DP3GYZNANCNFSM4HZB254Q
.

Thanks @ianitsky , I will create a simple guide for start plugin development and update you here. Looking forward to your work:-)


adding my profile

@Kamilahsantos  contribute to https://github.com/Ishaan28malik/Get-Dev-Resources instead


How to sync all files from jcenter to maven central?

How to sync all files from jcenter to maven central?

@snowdream, The Gradle Plugin will sync the all files included in a specific version to Maven Central. The package however must be included in JCenter. You can sync versions to Maven Central using the plugin or by using Bintray's REST API directly.


add sphinx documentation?

@lsetiawan Maybe we can add the Sphinx documentation to ODM2 Admin?

We should pull in @ocefpaf for this one, since the setup I am still unfamiliar with.

I'll send a PR soon. Note that for the auto-publish stuff I'll need someone with more rights to the repo to add the SSH key.

@miguelcleon how about we migrate this repo to ODM2 before doing all this? or would it not be a big overhaul later on for the docs stuff once it's set up?

or would it not be a big overhaul later on for the docs stuff once it's set up?

The URLs listed in the docs and the gh-pages generate would change with the move, but that is not a big deal and easy to change.

@lsetiawan Ok, how do we do that? I'm working on an update right now and I'm hoping to do a PR in the next few hours.

I think you simply transfer ownership, which is available in settings.

Ok I did that.

@ocefpaf Now that ODM2-Admin has been moved how do we fix the travis-ci? thanks.

Working on it...


Modal View resizes automatically when keyboard opens (Android)

Platforms
Android
Versions

react-native-modal: 11.5.3
react-native: 0.61.5
react: 16.9.0

Description
I'm using Modal component, which contains multiple views as child. The View has some TextInput elements. When the keyboard pops up, the modal view resizes to fit into the remaining space above the keyboard, and reverts back when keyboard closes(checked by giving borderWidth), but I don't want the Modal to resize when keyboard opens.
This does not happen for IOS. And also, it does not happen in non-modal Views for Android.
I have windowSoftInputMode="adjustPan" set in my android Manifest, but it doesn't seem to be applied on the Modal.
Tried applying fixed height to the Modal, and full screen height to modal's child view as well, but doesn't work
Reproducible Demo
TextInput within a modal.
Before keyboard pops:

After keyboard pops:

notice how the view indicated by red border resizes as keyboard pops.

so this is not a bug but intended?

@panda0603 I believe this is related to the way react-native layout views, so this is more related to styling and, in general, react-native itself.

@panda0603 How did you resolve this ?


Skip C_Hash validation if c_hash is not present.

The actual [specification] (http://openid.net/specs/openid-connect-core-1_0.html#CodeValidation) states: The value of c_hash in the ID Token MUST match the value produced in the previous step if c_hash is present in the ID Token.
This validation was not taking into account the condition IF c_hash is present and is throwing an exception regardless.

Hi @ajadex, I'm your friendly neighborhood Microsoft Pull Request Bot (You can call me MSBOT). Thanks for your contribution!

This seems like a small (but important) contribution, so no Contribution License Agreement is required at this point. Real humans will now evaluate your PR.

TTYL, MSBOT;

Makes sense. The same applies for when is a CODE Flow in which the id_token and the code token don't arrive together? Also, shouldn't this assumption (valid) be commented in the code or mentioned in the documentation.
I'm using MitreID as the OpenIdConnect server and it's not serving the C_Hash in the id_token. Your input makes me wonder if I should get back to them and let them know about this missing part.

@ajadex I would encourage you to ask MitreID about why the don't have c_hash claim in the id_token. It is possible to have a code arrive, redeem that for an access_token + id_token. In this case the id_token has an 'at_hash' claim that is validated same as 'c_hash'. These are important as these artifacts flow through the user-agent and can be replaced. Signing of the individual pieces doesn't guard against swapping.
Have a look at:
http://openid.net/specs/openid-connect-core-1_0.html#CodeValidation

Thanks. Closing the PR.

@ajadex would you mind following up here once you find out about MitreID? I'm curious about the answer.

@brentschmaltz, @brockallen, MitreID hasn't implemented the Hybrid flow with response types code id_token yet. They only return at_hash if token is in the response type which doesn't appear to compromise security since in a pure code flow scenario the artifacts never flow through the user-agent because the redemption of code for the  ID and Access Tokens happens on the server.
Section 3.1 (Code Flow) of the OpenId Connect Specification makes no mention of c_hash for code validation and the at_hash ID Token claim is optional. (See <IP_ADDRESS>.  ID Token, http://openid.net/specs/openid-connect-core-1_0.html#CodeIDToken).

As you can see here
https://openid.net/certification/
MitreID is not certified for implicit and hybrid flow. So there implementation is probably not complete / correct (yet).

..and not using c_hash and at_hash - you are neglecting the security benefits of hybrid flow.

@leastprivilege you are absolutely right, but those security concerns are not present since I'm only using the code flow, not the hybrid one. My take is that for response_type=code these hash validations need to be relaxed.

code has no id_token - and hence no c_hash. So yes - in that case there is no hash validation needed.
But you could argue that code id_token is the superior and more secure flow anyways. I wouldn't mind not supporting raw code at all.

code id_token is superior in terms of performance and simplicity but I wouldn't argue it's a more secure flow. To the contrary, the only flow that can deliver the access_token directly to the client without the compromise of passing through the client's user agent is the code flow (therefore the lack of hash checks).
This is stated in the OAuth specification http://tools.ietf.org/html/rfc6749#section-1.3.1. You can find there the security benefits of the code flow over hybrid and implicit.

you got that wrong. There is no access token in code id_token.
code id_token has all the properties of code + the validation of the code itself via c_hash.
code on its own has some potential issues - e.g. the cut'n paste attack.
So wherever you would use code - you can actually step up security by changing to hybrid flow.
http://nat.sakimura.org/2016/01/25/cut-and-pasted-code-attack-in-oauth-2-0-rfc6749/

Interesting. Glad you pointed those issues with the code only approach.


Consider CSON

https://github.com/lifthrasiir/cson

Closing alternative issues and listing them in the wiki page.


Consistent mathse/mo references

As pointed out in #913, we need to use consistent mathse/mo references with the double brace syntax {{mathse:...}} together with an entry in the refs: section.

Thanks for the clean-up! Double-check my suggestion above; I think you meant mo.


Add support for 16bit reads/writes.

arch/arm: simplify removing aligned_range.
arch/arm: simplify block transfer chunking.
Add support for 16bit reads/writes.

Tested working with STLink and cmsisdap.
TODO:

[x] Add support in adi_v5_memory_interface.rs, needed for cmsisdap, link, etc.

should be ready to go.

then I will :rofl:


Autosubmit bot responded with review request when revert label was removed

@christopherfujino encountered an error where he initially had both the autosubmit and revert label on a pull request and the bot had removed both. However when removing the revert label the bot responded with
revert label is removed for flutter/flutter, pr#: 114236, Failed to merge pr#:
114236 with At least 1 approving review is required by reviewers with write access..

which is incorrect. A review is not required for a revert.
See: https://github.com/flutter/flutter/pull/114236#issuecomment-1295234235

This should be fixed with the upcoming automated revert as there are two distinct paths through the code now.

This no longer possible as the autosubmit and revert paths are not longer performed from the same endpoint and the revert bot will not act on open pull requests.


ci: downgrade ubuntu docker image

Update anoncreds-rs to 0.1.0-dev.15 which is compatible with an older GLIBC. This allows to revert recent changes in CI/CD to workaround this issue, which were using ubuntu 22.04 and a downgraded version of libssl (for indy compatibility).

Looks like no runner is picking up jobs with the label ubuntu-2004-paid. @ryjones could you confirm what's the proper label we must use for the large Ubuntu 20.04 runner?

Codecov Report

Merging #1442 (d0f4dfb) into main (d247b53) will decrease coverage by 5.63%.
The diff coverage is n/a.

@@            Coverage Diff             @@
##             main    #1442      +/-   ##
==========================================
- Coverage   85.54%   79.91%   -5.63%
==========================================
  Files         886      851      -35
  Lines       21142    20516     -626
  Branches     3575     3535      -40
==========================================
- Hits        18086    16396    -1690
- Misses       2881     3830     +949
- Partials      175      290     +115

see 141 files with indirect coverage changes


Is there any way to force whole-dollar values?

Just curious if there was a way to force whole-dollar values only, to not have any cents or sub-units.
Looked throughout the documentation and I could not find anything that specified this.
My issue is that the input I am using gets saved as a straight integer to the database, because the input is dealing with large dollar values. As such, cents are superfluous, and therefore they cannot be in the mask/input itself otherwise they seriously muck up the data input into the DB. I could always cast the value to a straight integer, but that then gives a UI issue to the user, where they see cents where none are applicable and none will be saved.

Did you ever figure this out?


Display when JS is disabled

Hi,
I would like to know if there is a nice way to display the captcha when javascript is disable client side (unfortunatly for me it seems that it still exists)
I've found in the google faq, but I would like to know if there is a way to do it nicely with this bundle and twig instead of adding this code :
`

`
Thanks

Hi @o-rel,
Unfortunately, this bundle don't work when you disable JS out of the box. Instead of this you can override form_div_layout.html.twig with provided html with iframe.
Also you should add new form-theme to view like: {% form_theme form 'ReCaptchaBundle::form_layout_with_iframe.html.twig' %}.
It is only one change which you should do.
I think it will be very good when I add this improvement in future version.


work.ink

Domain
https://work.ink/
Link
https://work.ink/en/l/yU/VegaX
Version
0.0.0
What browsers are you seeing the problem on?
Chrome
What OS are you seeing the problem on?
Windows
(Optional) Anything else?
No response
Code of Conduct

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

i need this bypass rn

Closed because it's a duplicate issue of #284.


Add INTERFACE_LIBRARY to codemodel

https://cmake.org/cmake/help/v3.19/manual/cmake-file-api.7.html
diff --git a/cmake_file_api/kinds/codemodel/target/v2.py b/cmake_file_api/kinds/codemodel/target/v2.py
index a9a8575..397d673 100644
--- a/cmake_file_api/kinds/codemodel/target/v2.py
+++ b/cmake_file_api/kinds/codemodel/target/v2.py
@@ -12,6 +12,7 @@ class TargetType(enum.Enum):
     SHARED = "SHARED_LIBRARY"
     MODULE = "MODULE_LIBRARY"
     OBJECT = "OBJECT_LIBRARY"
+    INTERFACE_LIBRARY = "INTERFACE_LIBRARY"
     UTILITY = "UTILITY"

Do you know how to trigger this target type?
codemodel version 2 writes:

targets

A JSON array of entries corresponding to the build system targets. Such targets are created by calls to add_executable(), add_library(), and add_custom_target(), excluding imported targets and interface libraries (which do not generate any build rules). Each entry is a JSON object containing members:

The following will merge the compile definitions from the interface into the static library.
No my_interface library is visible in the cmake response. grep'ing for interface also gives no result.
add_library(my_interface INTERFACE)
target_compile_definitions(my_interface INTERFACE HELLO)
add_library(my_lib STATIC my_lib.c)
target_link_libraries(my_lib PRIVATE my_interface)

https://projects.blender.org/blender/blender/src/branch/main/intern/mikktspace/CMakeLists.txt

Thanks!
INTERFACE_LIBRARY is emitted when doing  target_sources(<target> PRIVATE|PUBLIC) on a interface library.
Fixed in https://github.com/madebr/python-cmake-file-api/commit/2fa4e4af3988639a82979fe35b086fb6f8d17c01


Terraform plugin with examples

This PR includes a proof-of-concept integration using Terraform as an instance plugin.
The examples in the directory contain a full AWS vpc with instances.  With new instances are provisioned, terraform is used to apply and create the instance.  Describing the instances will parse the .tfstate file and search for instances with tags.

What is the difference between instance-plugin-properties.json and instance-plugin-spec.json?  seems most of the properties are duplicated.

@linsun definitely non-obvious how these files differ.
instance-plugin-properties.json contains the JSON document that represents the terraform plugin's SpecPropertiesFormat.
instance-plugin-spec.json contains the JSON document that represents instance.Spec, which nests the above document (as you pointed out).
The docs added in this PR describe how to simulate the instance plugin interface functions being called as they would be from the stock group plugin implementation, hence the two different structures.
@chungers do you think it would make sense to reorganize these docs to use groups instead of direct calls to the instance plugin?  I think that would more closely match how we expect users to interact with instance plugins.

Yes the docs were written to show using the terraform plugin by itself but it's more illustrative to show this working with the group plugin.
I will add a doc on that today. PR coming.


Fix curl --progress flag

This commit fixes "curl: option --progress: is ambiguous" error
curl never had --progress flag. Instead, it has --progress-bar.
--progress worked before due to heuristic logic,
but not it became ambiguous.
See https://github.com/adamrehn/ue4-docker/issues/151#issuecomment-815141996 and https://github.com/moby/moby/pull/40914

@slonopotamus thanks for this!


chore: when checking coverage, preprocessor fails on transforming typescript

when running jest with --coverage in the repo (after configuring it to collect coverage from the plugin in this PR), i see this:

this is taken from the gatsby monorepo, and ensures we can transform typescript properly when parsing it, though we don't have suites we can collect coverage from yet.

I'm 99% sure this is fixed but we can re-visit if we run into this again 👍


Handle error if UntarPath fails

Signed-off-by: John Howard<EMAIL_ADDRESS>This PR fixes an issue whereby if chrootarchive.UntarPath() fails in builder addContext, it is surfaced back through the call stack and back to the caller. Without this, if an error occurs, it appears to the caller (client) that the untar step in the build was successful where in reality it wasn't. (And of course, no one is likely to be running with the daemon in debug mode and looking at the output).

Note to reviewers: While this is way better and an error gets propagated back to the caller should an untar error occur (as opposed to leading the caller into believing it succeeded and an invalid storage layer being created), there's still an longer term issue here as the daemon will leave a craplet around where it was trying to untar into when the error occurred.

There's more to this than initially meets the eye. Closing while investigating further.


Emphasis focus

What problem does this feature solve?
Can we have ascendant and descendant focus together in tree charts.
What does the proposed API look like?
emphasis.focus

Seems related to #14788


Handle actions in the middle of animations

I've searched a lot about this online (including redux-loop and saga), but I could not find a standard solution.
The problem is simple, let's say I fire an Action that triggers a state change.
This state change ends up triggering an animation in the View.
Now in the middle of this animation, I receive a notification from the network that fires another Action.
I don't want to apply this second Action until the animation is finished.
How should I handle that in ReSwift?
Ideas:

When an animation is about to start, dispatch another action to change a property in the store state preventStateUpdates to true, then in the beginning of my newState function I'd have if preventStateUpdates { return; }, and finally when the animation finishes dispatch another action to set that property to false, allowing the latest state to update the view.
Have a private property in the view isAnimating that when set to true, will make the following state changes to be queued up (in the view layer). Then after setting isAnimating to false, apply all those new states in the queue.
Allow returning a promise in the newState function. When this happens, only apply the next action after that promise is resolved.

From my experience, 1 is the way to go, conserving a single source of truth. The important bit here, though, is where do you handle this logic. There are two ways:

Check the flag in the reducer and don't let the new action change the state.
Let the action change the state but check the flag in the view to let the animation finish.

But this depends on your concrete use case, I think.


Allows wasm-defined host functions to use memory in interpreter

Before, we allowed stubbed host functions to be defined in wasm instead
of Go. This improves performance and reduces a chance of side-effects vs
Go. In fact, any pure function was supported in wasm, provided it only
called pure functions.
This changes internals so that a wasm-defined host function can use
memory. Notably, host functions use the caller's memory, so this is
simpler to initially support in the interpreter.
This is needed to simplify and reduce performance hit of GOARCH=wasm,
GOOS=js code, which perform a lot of memory reads and do not have
idiomatic signatures.
Note: wasm-defined host functions remain internal until we gain
experience, at least conclusion of the wasm_exec host module.

I will remove the excess logging tests and backfill a couple more tests.


WebBLE UART

Allows to pair to a device via WebBLE and proxy UART message into the console.

Super cool!


panic with WindowConfig and draw_image example

In develop and f/egui, combining the draw_image example with a default WindowConfig like this
use notan::draw::*;
use notan::prelude::*;

#[derive(AppState)]
struct State {
    img: Texture,
}

#[notan_main]
fn main() -> Result<(), String> {
    let window_config = WindowConfig::new();

    notan::init_with(init)
        .add_config(window_config)
        .draw(draw)
        .build()
}

fn init(gfx: &mut Graphics) -> State {
    let texture = gfx
        .create_texture()
        .from_image(include_bytes!("assets/ferris.png"))
        .build()
        .unwrap();
    State { img: texture }
}

fn draw(gfx: &mut Graphics, state: &mut State) {
    let mut draw = gfx.create_draw();
    draw.clear(Color::BLACK);
    draw.image(&state.img).position(250.0, 200.0);
    gfx.render(&draw);
}

results in
thread 'main' panicked at 'called `Option::unwrap()` on a `None` value', crates/notan_draw/src/extension.rs:41:72

The line in question is
let mut text_ext = extensions.get_mut::<Text, TextExtension>().unwrap();

Hey! You need to add .add_config(DrawConfig) after or before .add_config(window_config) to us the draw2d API. This is because the draw extension needs to check if the text extension is there, and it also needs to add the batcher to the system.

Thanks so much! Maybe a helpful mwssage could be nice in that case? What do you think?
Also sorry for asking out of context (let me know if I should make another issue or you want to discuss some place else) - is there a way to limit the amount of redraws or manually manage them? I tried .add_plugin(FpsPlugin::new(1)) and still see super high cpu usage. Piston had something like window.set_lazy() which basically prevented all redraws and had very low performance impact.

Thank you so much, you rock! Using vsync() helps a lot and drops CPU usage from 60%/app and 50%/Xorg to around 6%/app, which is way better. I discovered that enabling FpsPlugin  with vsync() causes CPU usage to go up again to previous levels, but maybe that is expected.
Thanks again, and I'll close this one as the original question seems to have been addressed in #78.

Also as a note, placing my draw code in needs_repaint() from the egui integration seems like a decent feature to further reduce drawing, ex.
    if output.needs_repaint() {
        draw.clear(Color::from_rgb(0.2, 0.2, 0.2));
        gfx.render(&draw);
        gfx.render(&egui_output);
    }


"Create an account" button is too wide

Describe the bug
On the "Application Submitted" page, the "Create an account" button is too wide.
It was broken by #8802. See the diff for current and ideal pictures
View mocks
To Reproduce
Steps to reproduce the behavior:

Use CiviForm as a guest (do not be logged in)
Apply to a program and submit it
View the "Application Submitted" page

Expected behavior
"Create an account" button is close to the size of its text content.
Screenshots
See the diff
Desktop (please complete the following information):

OS: Mac OS X
Browser: Chrome
Version: 129.0.6668.103

Additional context
n/a

PR at: https://github.com/civiform/civiform/pull/9130

discard previous PR.   This is the one: https://github.com/civiform/civiform/pull/9169


[TS Migration] Update github action to disallow new JS files completely

Follow up issue for TS migration project. Coming from this spreadsheet

Update github action to disallow new JS files completely

cc @blazejkustra @fabioh8010

On hold

@fabioh8010 I think .github/workflows/typecheck.yml file is already adjusted, do we need this issue?

The current action is only checking for new JS files under src/, we should check for other folders too:

__mocks__/
.github/
.storybook/
assets/
config/
desktop/
jest/
scripts/
tests/
web/
workflow_tests/

Created a Pr here https://github.com/Expensify/App/pull/40291

Let's close this one @mountiny 🎉


fix(versions): update Activiti/activiti-cloud-full-chart-security versions

UpdateBot pushed helm dependency: activiti-cloud-full-example to: 7.1.446

UpdateBot commands:
updatebot push-version --kind helm activiti-cloud-full-example 7.1.446


Update for newer RN and React

Hi Sam,
I've worked through the issues of using your package with more recent version of React Native. The main issue is the semver for the 0th version essentially treats minors like majors (which with I disagree), because it means the rapidly updating RN will frequently break this without looser version requirements.  It was still compatible, but the PeerDependencies were broken so everything had to be updated.
In particular, updating to React Native 0.29+ required a slight restructuring of the Android example app, which I've done here. Much of the config is shifted form MainActivity.java to MainApplication.java because reasons.
No changes were made to core voice package internals.
~I'm not set up to compile and test for iOS, so that's the one gap remaining here for verification. If you (or anyone) pulled to check that, this PR could be updated as needed.~
Edit: I missed that the README states only Android is supported anyways, so this is not an issue.

Removed note about iOS. Package does not support iOS currently.

LGTM, Thanks!

....and I just realized I need to update the documentation in the readme to address the move to MainApplication. I will create another PR to address this - sorry I missed it.

You have access to commits now
On Monday, December 5, 2016, Brendan Moore<EMAIL_ADDRESS>wrote:

....and I just realized I need to update the documentation in the readme
to address the move to MainApplication. I will create another PR to address
this - sorry I missed it.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/wenkesj/react-native-voice/pull/3#issuecomment-264935365,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AHRRllzLKwREnnDmFi0dpBvruC_uaMZ6ks5rFFgjgaJpZM4LDtye
.


[Discussion] Tensorflow OOM, how to avoid?

Hello, I'm getting Tensorflow OOM errors on my GPU if I don't limit the length of audio to process (--max-duration). I've figured out that the upper limit for my hardware is --max-duration 202, i.e. 3m22s.
Is there any way to configure Spleeter to raise the max duration while avoiding OOMs?

No you can't. You need either much more memory or you need to process your track by chunk (splitting manually your track and process each chunk with the library).

when chunk music, the duration around chunk meet bad process


How to reference points in DOM in OpenLayers?

Good morning,
I set up a project with Vue 3 and Openlayers latest version. I added drawing interactions but when i make some points, these points are added in the DOM, into de div with class ol-layer in canvas.
How can i add these points in separated canvas or div´s? I would like to interact with each one of these points and add some metada information.
I didn´t found anything in OpenLayers Documentation. I would appreciate some suggestion for it.
Thank you and kind regards.

You don't do this through the DOM, but with the Feature instances in the layer's vector source. Alternatively, you could try a plugin like https://www.npmjs.com/package/ol-marker-feature.


JSON encode/decode partial isomorphism for payment_proof fails

See this error:
https://circleci.com/gh/CodaProtocol/coda/18771?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Perhaps try cranking up the number of trials in the quickcheck

Also this error:
https://circleci.com/gh/CodaProtocol/coda/23640?utm_campaign=vcs-integration-link&utm_medium=referral&utm_source=github-build-link
Probably related to the new json library?

We haven't seen this in a long time.

... we should still try and repro though by cranking up the trials and letting it run for a while


CLI query result header for cast expressions with literals is confusing

Describe the bug
the header produces the type and value of the cast input rather than of the cast output which looks like a NOP in some situations and hard to recognize
To Reproduce
❯ select cast('1' as int);
+-----------+
| Utf8("1") |
+-----------+
| 1         |
+-----------+
1 row in set. Query took 0.000 seconds.
❯ select cast(1 as string);
+----------+
| Int64(1) |
+----------+
| 1        |
+----------+
1 row in set. Query took 0.000 seconds.

Expected behavior
Use some indication of the cast being applied.
E.g.  use the output expression name or part of it
Utf8("1") AS Int64(1)
❯ explain select cast(1 as string);
+---------------+--------------------------------------+
| plan_type     | plan                                 |
+---------------+--------------------------------------+
| logical_plan  | Projection: Utf8("1") AS Int64(1)    |
|               |   EmptyRelation                      |
| physical_plan | ProjectionExec: expr=[1 as Int64(1)] |
|               |   EmptyExec: produce_one_row=true    |
|               |                                      |
+---------------+--------------------------------------+
2 rows in set. Query took 0.000 seconds.

Additional context
n/a

This is quite confusing UX.


Feature to add Per-Player Name Holograms to NPCs

This pull request adds per-user holograms that, if implemented by a developer can allow for per-user placeholder text that can vary from player to player.
The pull request also bumps the version to 2.10-SNAPSHOT, and potentially fixes the .travis.yml file to include downloading Spigot 1.16.1.

Looking good! Have you tested this on all versions NPCLib supports?
IIf that's the case, PR will be merged soon.

Tested on 1.8 R3, 1.14 versions, 1.15 and 1.16.

Wonderful! Merging PR. :)


Unnecessary sqlite3 dependency?

Hey there!
I just noticed FactoryGirl's Gemfile lists sqlite3 and an activerecord adapter as a project dependency and as far as I can tell, they are unnecessary ones. It looks like its used in the features and specs, so maybe this could just be moved to a development dependency. It would be great to remove such a requirement from the library itself.
Is there a reason I missed this these are project dependencies?

Hi @theoretick
Those dependencies aren't required for the gem, they're only in there for developing and testing locally. The tests are ran against MRI and jruby and so during different test suite runs, we need different versions. The gemspec doesn't allow us to specify different versions but the Gemfile does.
It looks like the only thing we actually depend on in a user's application is activesupport: https://github.com/thoughtbot/factory_girl/blob/master/factory_girl.gemspec#L23
@joshuaclayton can you confirm that I understood this correctly?

@drapergeek @theoretick yes, you're correct, the only hard dependency is ActiveSupport.
The gems you're seeing outlined in the Gemfile are for us using Bundler locally for development purposes.


Added autoboot configuration option and supporting implementation

This is to address the issue in https://github.com/monospice/laravel-redis-sentinel-drivers/issues/17
UPDATE: Added ENV & config vars 'REDIS_SENTINEL_AUTO_BOOT' & 'auto_boot'
UPDATE: Configuration loader checks autoboot setting, provider will autoboot if this is set

Looks like we never got around to closing this off, the root issue was address in lumen-framework but it would be nice to get this cleaned up as well.

Thanks for following up, Dave. I'm glad you found a solution in Lumen. With regard to my last message: in my haste, it looks like I accidentally pushed the fix for the tests to my backup repo instead of to Github, and then a bunch of year-end stuff came up at work so I failed to notice. Sorry to keep you waiting!
I'll merge this in and finish up the change over the next few days so you don't need to devote any more time to it. Thanks again for implementing this feature!

@davoaust Thanks again for your time on this one. Sorry it took me so long to circle back!


fix(avoidance): stop only when there is enough space to avoid

Description
Previously, the vehicle stopped in front of the vehicle in not only Scenario A but B. However I think it is better that the avoidance module shonldn't insert stopping velocity, and obstacle stop/cruise planner should do it instead in Scenario B, because the avoidance module never execute avoidance maneuver. In this PR, I update behavior decision logic, and the vehicle stops only when there is enough space to avoid (Scenario A).

Scenario A
Scenerio B

there is enough space to avoid
YES (is_avoidanble = true)
NO (is_avoidanble = false)

there is enough lateral margin
NO (< lateral_passable_safety_buffer)
NO (< lateral_passable_safety_buffer)

behavior
stop in front of the target object
NOT stop in front of the tqarget object

Test perform
Scenario A
https://user-images.githubusercontent.com/44889564/224526590-491e0814-8851-42a3-b0ef-58c12889204d.mp4
Scenario B
https://user-images.githubusercontent.com/44889564/224526619-7d560314-8412-4e64-98c8-b2bdc02ed3b6.mp4

Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.

[x] I've confirmed the contribution guidelines.
[x] The PR follows the pull request guidelines.

In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.

[ ] The PR follows the pull request guidelines.

Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.

[ ] There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Super cool!


Removed the component RESTUtils, fixes #78

RESTUtils are completly removed from Testerra. This component is still available here: https://github.com/telekom/testerra-legacy
Fixes #78
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[x] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] This change requires a documentation update

Checklist:

[x] My code follows the style guidelines of this project
[x] I have performed a self-review of my own code
[ ] I have commented my code, particularly in hard-to-understand areas
[ ] I have made corresponding changes to the documentation
[x] My changes generate no new warnings
[ ] I have added tests that prove my fix is effective or that my feature works
[ ] New and existing unit tests pass locally with my changes
[ ] Any dependent changes have been merged and published in downstream modules

What about documentation?

RESTUtils were only used internal and were not part of the official documentation.


[WIP] docker: don't ignore version tag when consolidating dependencies

Some early work to try and resolve https://github.com/dependabot/dependabot-core/issues/3173.
This causes the docker file parser to consider the tag in addition to
the image name when extracting dependencies. Previously php:8.0.1-apache and
php:8.0.1-cli would be treated as the same dependency which caused them
to both get updated to php:8.0.3-apache. With the change they are
treated as separate dependencies and get updated to php:8.0.3-apache and
php:8.0.3-cli in separate PRs.
Does this seem like the right place to address this or should we try to handle this when doing updates?
One downside of this is that if we had a reference to php:8.0.1-cli and php:8.0.2-cli they would be treated as 2 different dependencies and you'd end up with an update PR for each. We could address this later by making the deduplication smarter and allowing php:8.0.1-cli and php:8.0.2-cli to be combined but not php:8.0.1-apache.
With this change it parsed these dependencies from my test fixture:
[
  {
    "name": "php",
    "version": "8.0.1-apache",
    "requirements": [
      {
        "requirement": null,
        "groups": [

        ],
        "file": "Dockerfile",
        "source": {
          "tag": "8.0.1-apache"
        }
      },
      {
        "requirement": null,
        "groups": [

        ],
        "file": "Dockerfile.ci",
        "source": {
          "tag": "8.0.1-apache"
        }
      }
    ],
    "package_manager": "docker"
  },
  {
    "name": "php",
    "version": "8.0.1-cli",
    "requirements": [
      {
        "requirement": null,
        "groups": [

        ],
        "file": "Dockerfile.cli",
        "source": {
          "tag": "8.0.1-cli"
        }
      }
    ],
    "package_manager": "docker"
  }
]

and resulted in this output:
=> updating 2 dependencies: php, php

=== php (8.0.1-apache)
 => checking for updates 1/2
 => latest available version is 8.0.3-apache
 => latest allowed version is 8.0.3-apache
 => requirements to unlock: own
 => requirements update strategy:
 => updating php from 8.0.1-apache to 8.0.3-apache

    ± Dockerfile
    ~~~
    1c1
    < FROM php:8.0.1-apache
    ---
    > FROM php:8.0.3-apache
    ~~~

    ± Dockerfile.ci
    ~~~
    1c1
    < FROM php:8.0.1-apache
    ---
    > FROM php:8.0.3-apache
    ~~~

=== php (8.0.1-cli)
 => checking for updates 2/2
 => latest available version is 8.0.3-cli
 => latest allowed version is 8.0.3-cli
 => requirements to unlock: own
 => requirements update strategy:
 => updating php from 8.0.1-cli to 8.0.3-cli

    ± Dockerfile.cli
    ~~~
    1c1
    < FROM php:8.0.1-cli
    ---
    > FROM php:8.0.3-cli
    ~~~

Prior to the change the dependences parsed as:
[
  {
    "name": "php",
    "version": "8.0.1-apache",
    "requirements": [
      {
        "requirement": null,
        "groups": [

        ],
        "file": "Dockerfile",
        "source": {
          "tag": "8.0.1-apache"
        }
      },
      {
        "requirement": null,
        "groups": [

        ],
        "file": "Dockerfile.ci",
        "source": {
          "tag": "8.0.1-apache"
        }
      },
      {
        "requirement": null,
        "groups": [

        ],
        "file": "Dockerfile.cli",
        "source": {
          "tag": "8.0.1-cli"
        }
      }
    ],
    "package_manager": "docker"
  }
]

and resulted in this output:
=> updating 1 dependencies: php

=== php (8.0.1-apache)
 => checking for updates 1/1
 => latest available version is 8.0.3-apache
 => latest allowed version is 8.0.3-apache
 => requirements to unlock: own
 => requirements update strategy:
 => updating php from 8.0.1-apache to 8.0.3-apache

    ± Dockerfile
    ~~~
    1c1
    < FROM php:8.0.1-apache
    ---
    > FROM php:8.0.3-apache
    ~~~

    ± Dockerfile.ci
    ~~~
    1c1
    < FROM php:8.0.1-apache
    ---
    > FROM php:8.0.3-apache
    ~~~

    ± Dockerfile.cli
    ~~~
    1c1
    < FROM php:8.0.1-cli
    ---
    > FROM php:8.0.3-apache
    ~~~

Reckon the file updater is right place for this fix if we want to keep the grouped update aspect. Maybe we could use the same approach and expand the dependency into two at the file updating stage and apply each each on in turn on the same manifest?

That was a good idea @feelepxyz! I spent a little time experimenting with that and ended up with https://github.com/dependabot/dependabot-core/pull/3277. One thing I'm struggling with there is that if we only return a single dependency in FileParser then UpdateChecker.latest_version has difficulty with situations where only some of the tags need updating. For ex, if it found php:8.0.3-apache and php:8.0.1-cli it sees that php:8.0.3-apache is up to date and stops there. Is there a way we've worked around that in other ecosystems?

We ended up going with https://github.com/dependabot/dependabot-core/pull/3277 to keep the updates in a single PR.


customize jackson objectMapper

I wanted to use JacksonMixInAnnotations to customize the serialization of JSON objects which I cannot control via annotations. It means I need access to the objectMapper instance.
Objectmapper is available via the getObjectMapper method implemented by JacksonJsonEngine.
If I want to override it, do I need to duplicate the JacksonBaseEngine code from pippo-jackson and then add another service initializer? I think I cannot include the pippo-jackson jar because it will cause JacksonJsonEngine to be loaded with the default objectMapper?
Thank you,

@gitblit Can you take a look please?

@amalagaura I would...

include the pippo-jackson dependency
subclass JacksonJsonEngine and override getObjectMapper()
call application.getContentTypeEngines().setContentTypeEngine(new CustomJacksonEngine());

Thank you. That was my first thought as well, but I was concerned it would register multiple contentTypeEngines because of the initializers.
But I think you are saying that the pippo-jackson would get initialized and register the default but my code would be in my application therefore since setContentTypeEngine writes to a map it would just get overwritten. (sorry, thinking out loud I guess).
thank you

ok, thanks!


accept="image/*" capture=environment

This app supports
<input type="file" name="image" accept="image/*" capture="user">  ?
Because the app previously i was using is not working.
Please clarify me.  Thankyou

I suggest you to read README.md
I've already mentioned a variable ASWV_F_TYPE   = "*/*"; where you can mention what file type to be uploaded via app.

I've already mentioned a variable ASWV_F_TYPE = "/"; where you can mention what file type to be uploaded via app.

Yes.  I want to do it for a custom input element inside html page.  Also only for some elements, not for all elements.
When I open my site, in chrome it directly opens the camera.  But though app it shows open doc/img.
Can I explain more?

Plz refer these links.
https://mobilehtml5.org/ts/?id=23
https://w3c.github.io/html-media-capture/

Have you tested the app or not yet?

No.  I still under developing.

I suggest you should test it first with making required changes.


libspdm support for basic mutual authentication in 1.2

ENCAP_CAP / basic mutual authentication was deprecated in 1.2, where deprecation means that the integrator should not enable it unless they have a good reason. Should libspdm continue to support basic mutual authentication in 1.2? In particular I noticed this check:
https://github.com/DMTF/libspdm/blob/f72ada10bf4f68446e3eb6f6b7afb7810592c930/library/spdm_responder_lib/libspdm_rsp_capabilities.c#L100

Note that libspdm provides LIBSPDM_DATA_BASIC_MUT_AUTH_REQUESTED and LIBSPDM_DATA_MUT_AUTH_REQUESTED to distinguish between the two.

Also worth noting that ENCAP_CAP has been un-deprecated in 1.2.2 / 1.3.0, since an endpoint may need it for KEY_UPDATE, independent of mutual authentication.

In #1972 I've added a debug print if the Integrator sets LIBSPDM_DATA_BASIC_MUT_AUTH_REQUESTED.

@jyao1 and I think the message in the documentation and when setting the SPDM context should be sufficient.


GDScript: no error when assigning invalid type with subscription

Godot version: v4.0.dev.custom_build 35ff38b3d
OS/device including version: windows 10
Issue description:
func _ready():
	var s := "Hello"   ## <-- typeof(s) = String (inferred)
	s[0] = 42  ## <-- should be invalid

Did this trigger an error in 3.2?

@vnen yes here is the error:


cross namespaces IngressRoutes and Services

Do you want to request a feature or report a bug?
Bug
What did you do?
I created two namespaces, named "ns1" and "ns2". In "ns1", I have a "ns1/pod" and a linked "ns1/service". In "ns2", I created an IngressRoute that referenced the "ns1/service".
This is the yaml file that creates all the objects (I'm on a Kubernetes 1.18.6 cluster):
kind: Namespace
apiVersion: v1
metadata:
  name: ns1
---
kind: Namespace
apiVersion: v1
metadata:
  name: ns2
---
kind: Deployment
apiVersion: apps/v1
metadata:
  name: whoami
  namespace: ns1
  labels:
    app: whoami
spec:
  replicas: 1
  selector:
    matchLabels:
      app: whoami
  template:
    metadata:
      labels:
        app: whoami
    spec:
      containers:
      - name: whoami
        image: containous/whoami:latest
        imagePullPolicy: IfNotPresent
        ports:
        - containerPort: 80
          protocol: TCP

---
kind: Service
apiVersion: v1
metadata:
  namespace: ns1
  name: whoami
spec:
  ports:
  - name: http
    port: 80
    protocol: TCP
    targetPort: 80
  selector:
    app: whoami
  type: ClusterIP

---
apiVersion: traefik.containo.us/v1alpha1
kind: IngressRoute
metadata:
  name: whoami
  namespace: ns2
spec:
  entryPoints:
    - http
  routes:
    - match: Host(`whoami.dev.c1.syshawk.net`)
      kind: Rule
      services:
        - name: whoami
          namespace: ns1
          port: 80

What did you expect to see?
The IngressRoute should have produced errors.
What did you see instead?
The IngressRoute has been successfully set up, the public URL is usable and the final pod from the other namespace is reachable through the service in this other namespace.
This is a security issue that allows someone else to access data and services that could be confidential.
Output of traefik version: (What version of Traefik are you using?)
2.2.8
What is your environment & configuration (arguments, toml, provider, platform, ...)?
traefik.toml:
[serversTransport]
  insecureSkipVerify = true

[providers.kubernetesIngress]

[providers.kubernetesCRD]

[entryPoints]
  [entryPoints.http]
    address = ":80"
    [entryPoints.http.transport.respondingTimeouts]
      idleTimeout = "40s"

  [entryPoints.https]
    address = ":443"
    [entryPoints.https.transport.respondingTimeouts]
      idleTimeout = "40s"

  # 2 entrypoints for RTP (telephony), for Jitsi Meet
  [entryPoints.rtp-tcp]
    address = ":4443"
  [entryPoints.rtp-udp]
    address = ":10000/udp"

  # not documented, this is the one for the dashboard and API
  [entryPoints.traefik]
    address = "<IP_ADDRESS>:8080"

[tls.options]
  [tls.options.default]
    #minVersion = "VersionTLS13"
    minVersion = "VersionTLS12"
    cipherSuites = [
      "TLS_ECDHE_ECDSA_WITH_AES_256_GCM_SHA384",
      "TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384",
      "TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256",
      "TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256",
      "TLS_ECDHE_ECDSA_WITH_CHACHA20_POLY1305",
      "TLS_ECDHE_RSA_WITH_CHACHA20_POLY1305"
    ]
    sniStrict = true

[api]
  dashboard = true
  insecure = true

[ping]
  entryPoint = "traefik"

[log]
  level = "WARN"
  format = "json"

[accessLog]
  format = "json"

[metrics]
  [metrics.prometheus]
    addEntryPointsLabels = true
    addServicesLabels = true

[global]
  checkNewVersion = false

[providers]
  [providers.file]
    filename = "/etc/traefik/dynamic.toml"
    watch = true

dynamic.toml:
# This "dynamic" static conf is here to redirect
# all HTTP traffic to HTTPS
[http.routers.http-catchall]
  rule = "HostRegexp(`{host:.+}`)"
  entrypoints = [ "http" ]
  middlewares = [ "https-redirect" ]
  service = "dummy"
  # lowest possible priority so that the match can be overwritten by anyone
  priority = 1

[http.middlewares.https-redirect.redirectscheme]
  scheme = "https"

[http.services]
  # dummy service, URL will never be called
  [http.services.dummy.LoadBalancer]
    [[http.services.dummy.LoadBalancer.servers]]
      url = ""

  [http.services.gatekeeper.LoadBalancer]
    [[http.services.gatekeeper.LoadBalancer.servers]]
      url="http://<IP_ADDRESS>:3000"

Hi! I'm Træfiker :robot: the bot in charge of communication regulation.
Thanks for your interest in Traefik!
We dedicate the issue tracker to bug reports and feature requests only. My advanced AI has spotted that your issue might be a configuration problem or relates to something that doesn't look like a bug.
To confirm this, please join our Community Forum and reach out to us on the Traefik section.
In case I'm wrong (well, that would be embarrassing :sweat_smile:), my developers will re-open the issue and fix me!
In the meantime, you can double check Traefik's documentation.

related to #7353


Implement scalar operator

We should add support for scalar since it can be used when calculating error rates.
e.g
sum by (pod) (metric{status="5xx"})) / scalar(sum(metric))

This now seems to be supported by the scalar operator.


Add Kubernetes namespace override flag

Add Kubernetes namespace override. See https://github.com/tinkerbell/hegel/pull/106 for more details.

I don't think we need/want to worry about covering the CLI code so this will likely need a manual merge.


fix contextutil

This PR provides fixes for several issues introduced in #1816:

try to get list_lock only once when we're trying get architectures by given machine type for teuthology-suite.
make use of tries argument in list_lock instead of hardcoded infinite loop
make safe_while sleep between tries again when tries < 0, i.e. in case of infinite retries
(unrelated) report number of spent tries by safe_while correctly

@zmc what I didn't understand from #1816, was it desired to run tries infinitely by default, or it is just 10 times?

https://tracker.ceph.com/issues/67377


Tool Doesn't Acknowledge All DM19 Responses from Distributed System

V3.1.3 doesn't appear to acknowledge DM19 responses from multiple ECUs during a global request. The tool only appears to see the last response on the bus
Start Test 1.7 - DM19: Calibration information
13:26:33.8794 Global DM19 Request
13:26:33.8819 18EAFFF9 [3] 00 D3 00 (TX)
13:26:34.4849 1CD3FF3D [80] D2 98 DA DD 33 41 71 31 30 32 4E 32 4D 32 31 30 30 30 33 31 72 14 4D A8 4E 4F 78 2D 53 57 37 30 30 38 20 41 54 49 31 00 72 14 4D A8 4E 4F 78 2D 53 57 37 30 30 38 20 41 54 4F 31 00 3C D4 F9 EE 50 4D 53 2A 31 32 2A 33 33 30 2A 41 31 30 30 00
DM19 from Exhaust Emission Controller (61): [
CAL ID of 3Aq102N2M2100031 and CVN of 0xDDDA98D2
CAL ID of NOx-SW7008 ATI1 and CVN of 0xA84D1472
CAL ID of NOx-SW7008 ATO1 and CVN of 0xA84D1472
CAL ID of PMS12330*A100 and CVN of 0xEEF9D43C
]
FAIL: <IP_ADDRESS>.a - Total number of reported CAL IDs is < user entered value for number of emission or diagnostic critical control units
WARN: <IP_ADDRESS>.b - Exhaust Emission Controller (61) provided more than one CAL ID and CVN pair in a single DM19 message
FAIL: <IP_ADDRESS>.b.ii - Exhaust Emission Controller (61) CAL ID not formatted correctly (contains non-printable ASCII)
FAIL: <IP_ADDRESS>.b.ii - Exhaust Emission Controller (61) CAL ID not formatted correctly (contains non-printable ASCII)
FAIL: <IP_ADDRESS>.b.ii - Exhaust Emission Controller (61) CAL ID not formatted correctly (contains non-printable ASCII)
13:26:34.4934 Destination Specific DM19 Request to Engine #1 (0)
13:26:34.4959 18EA00F9 [3] 00 D3 00 (TX)
13:26:34.5519 1CD3F900 [20] 3C B4 8D A6 35 54 32 31 34 32 30 30 41 30 30 30 30 30 30 30
DM19 from Engine #1 (0): CAL ID of 5T214200A0000000 and CVN of 0xA68DB43C
13:26:34.5534 Destination Specific DM19 Request to Engine #2 (1)
13:26:34.5569 18EA01F9 [3] 00 D3 00 (TX)
13:26:34.6264 1CD3F901 [20] 5B 68 CA 16 34 4A 32 31 33 32 53 30 30 32 33 31 35 54 43 4F
DM19 from Engine #2 (1): CAL ID of 4J2132S002315TCO and CVN of 0x16CA685B
13:26:34.6284 Destination Specific DM19 Request to Exhaust Emission Controller (61)
13:26:34.6304 18EA3DF9 [3] 00 D3 00 (TX)
13:26:34.7534 1CD3F93D [80] D2 98 DA DD 33 41 71 31 30 32 4E 32 4D 32 31 30 30 30 33 31 72 14 4D A8 4E 4F 78 2D 53 57 37 30 30 38 20 41 54 49 31 00 72 14 4D A8 4E 4F 78 2D 53 57 37 30 30 38 20 41 54 4F 31 00 3C D4 F9 EE 50 4D 53 2A 31 32 2A 33 33 30 2A 41 31 30 30 00
DM19 from Exhaust Emission Controller (61): [
CAL ID of 3Aq102N2M2100031 and CVN of 0xDDDA98D2
CAL ID of NOx-SW7008 ATI1 and CVN of 0xA84D1472
CAL ID of NOx-SW7008 ATO1 and CVN of 0xA84D1472
CAL ID of PMS12330*A100 and CVN of 0xEEF9D43C
]
FAIL: <IP_ADDRESS>.c - OBD ECU Engine #1 (0) did not provide a response to Global query and did not provide a NACK for the DS query
FAIL: <IP_ADDRESS>.c - OBD ECU Engine #2 (1) did not provide a response to Global query and did not provide a NACK for the DS query
FAIL: <IP_ADDRESS>.a - Total number of reported CAL IDs is < user entered value for number of emission or diagnostic critical control units
WARN: <IP_ADDRESS>.b - Exhaust Emission Controller (61) provided more than one CAL ID and CVN pair in a single DM19 message
From the tool's ACII log:

Reevaluate after testing with 750 ms timeout change.  Development needs a CAN log to continue.

On 3.1.4 here is a related if not identical complaint.
Global response for SA 61 is missing.
Start Test 1.7 - DM19: Calibration information
08:49:38.4474 Global DM19 Request
08:49:38.4505 18EAFFF9 [3] 00 D3 00 (TX)
08:49:38.6273 1CD3FF27 [20] 23 66 70 E6 [49 31 33 58 58 58 58](tel:49 31 33 58 58 58 58) 5F [47 31 30 30 30 47 31](tel:47 31 30 30 30 47 31) 30
DM19 from Management Computer #1 (39): CAL ID of I13XXXX_G1000G10 and CVN of 0xE6706623
08:49:39.4739 1CD3FF00 [140] E2 58 7B B4 45 43 55 2D 53 57 20 6E 75 6D 62 [65 72 00 00 00](tel:65 72 00 00 00) 3F 6C [00 00 35 38 34 33 53](tel:00 00 35 38 34 33 53) 30 30 36 2E [30 30 35 00 00 00 00](tel:30 30 35 00 00 00 00) 15 2B DF 8C 53 43 41 4E 4F 78 4E 2D 30 [34 34 30 41 54 49 32](tel:34 34 30 41 54 49 32) 61 59 D4 FB 53 43 41 4E 4F 78 4E 2D 30 [34 34 30 41 54](tel:34 34 30 41 54) 4F 32 15 2B DF 8C 53 43 41 4E 4F 78 4E 2D 30 [34 34 30 41 54 49 32](tel:34 34 30 41 54 49 32) 8A FC 90 37 50 4D 53 50 2A 31 32 2A 33 35 30 2A [41 31 30 30](tel:41 31 30 30) C2 90 45 C4 [30 31 38 38 30 30 36](tel:30 31 38 38 30 30 36) [31 30 51 20 20 20 20](tel:31 30 51 20 20 20 20) 20 00
DM19 from Engine #1 (0): [
CAL ID of ECU-SW number and CVN of 0xB47B58E2
CAL ID of 5843S006.005 and CVN of 0x00006C3F
CAL ID of SCANOxN-0440ATI2 and CVN of 0x8CDF2B15
CAL ID of SCANOxN-0440ATO2 and CVN of 0xFBD45961
CAL ID of SCANOxN-0440ATI2 and CVN of 0x8CDF2B15
CAL ID of PMSP12350*A100 and CVN of 0x3790FC8A
CAL ID of 018800610Q and CVN of 0xC44590C2
]
WARN: <IP_ADDRESS>.a - Total number of reported CAL IDs is > user entered value for number of emission or diagnostic critical control units
WARN: <IP_ADDRESS>.b - Engine #1 (0) provided more than one CAL ID and CVN pair in a single DM19 message
FAIL: <IP_ADDRESS>.b.ii - Engine #1 (0) CAL ID not formatted correctly (contains non-printable ASCII)
FAIL: <IP_ADDRESS>.b.ii - Engine #1 (0) CAL ID not formatted correctly (contains non-printable ASCII)
FAIL: <IP_ADDRESS>.b.ii - Engine #1 (0) CAL ID not formatted correctly (contains non-printable ASCII)
08:49:39.4847 Destination Specific DM19 Request to Engine #1 (0)
08:49:39.4882 18EA00F9 [3] 00 D3 00 (TX)
08:49:39.5260 1CD3F900 [140] E2 58 7B B4 45 43 55 2D 53 57 20 6E 75 6D 62 [65 72 00 00 00](tel:65 72 00 00 00) 3F 6C [00 00 35 38 34 33 53](tel:00 00 35 38 34 33 53) 30 30 36 2E [30 30 35 00 00 00 00](tel:30 30 35 00 00 00 00) 15 2B DF 8C 53 43 41 4E 4F 78 4E 2D 30 [34 34 30 41 54 49 32](tel:34 34 30 41 54 49 32) 61 59 D4 FB 53 43 41 4E 4F 78 4E 2D 30 [34 34 30 41 54](tel:34 34 30 41 54) 4F 32 15 2B DF 8C 53 43 41 4E 4F 78 4E 2D 30 [34 34 30 41 54 49 32](tel:34 34 30 41 54 49 32) 8A FC 90 37 50 4D 53 50 2A 31 32 2A 33 35 30 2A [41 31 30 30](tel:41 31 30 30) C2 90 45 C4 [30 31 38 38 30 30 36](tel:30 31 38 38 30 30 36) [31 30 51 20 20 20 20](tel:31 30 51 20 20 20 20) 20 00
DM19 from Engine #1 (0): [
CAL ID of ECU-SW number and CVN of 0xB47B58E2
CAL ID of 5843S006.005 and CVN of 0x00006C3F
CAL ID of SCANOxN-0440ATI2 and CVN of 0x8CDF2B15
CAL ID of SCANOxN-0440ATO2 and CVN of 0xFBD45961
CAL ID of SCANOxN-0440ATI2 and CVN of 0x8CDF2B15
CAL ID of PMSP12350*A100 and CVN of 0x3790FC8A
CAL ID of 018800610Q and CVN of 0xC44590C2
]
08:49:39.5300 Destination Specific DM19 Request to Management Computer #1 (39)
08:49:39.5330 18EA27F9 [3] 00 D3 00 (TX)
08:49:39.5573 1CD3F927 [20] 23 66 70 E6 [49 31 33 58 58 58 58](tel:49 31 33 58 58 58 58) 5F [47 31 30 30 30 47 31](tel:47 31 30 30 30 47 31) 30
DM19 from Management Computer #1 (39): CAL ID of I13XXXX_G1000G10 and CVN of 0xE6706623
08:49:39.5621 Destination Specific DM19 Request to Exhaust Emission Controller (61)
08:49:39.5644 18EA3DF9 [3] 00 D3 00 (TX)
08:49:39.6004 1CD3F93D [20] 4C 1C BE 7E [00 00 00 00 00 00 00](tel:00 00 00 00 00 00 00) [00 00 00 00 00 00 00](tel:00 00 00 00 00 00 00) 00 00
DM19 from Exhaust Emission Controller (61): CAL ID of  and CVN of 0x7EBE1C4C
FAIL: <IP_ADDRESS>.c - OBD ECU Exhaust Emission Controller (61) did not provide a response to Global query and did not provide a NACK for the DS query
End Test 1.7 - DM19: Calibration information

The ASC log (provided separately) show back to back BAMs from two of three distributed devices.
1.503674 1  18EAFFF9x Tx d 3 00 D3 00
1.504620 1  0CF00400x Rx d 8 00 7D 7D 00 00 FF FF 93
1.504911 1  0CF03900x Rx d 8 FF FF 00 00 FF FF FF FF
1.505191 1  18F0000Fx Rx d 8 50 7D 7D FF 00 7D FF 5F
1.506013 1  08FE6E0Bx Rx d [8 00 00 00 00 00 00 00](tel:8 00 00 00 00 00 00 00) 00
1.506293 1  18F0090Bx Rx d 8 A1 7B 60 97 7D CF 7D 7D
1.511505 1  0CF00203x Rx d 8 CC 00 00 FF F4 00 00 03
1.511788 1  0CF02903x Rx d 8 89 74 7C FF FF FF FF FF
1.514045 1  18FF7527x Rx d 8 20 4E 88 13 FF 8F F8 FF
1.514617 1  10FE6F00x Rx d 8 FF FF FF FF FF FF FF FF
1.514910 1  0C0A2700x Rx d 8 FF FF FF FF FF FF FF FF
1.515228 1  0CF00A00x Rx d [8 00 00 00 00](tel:8 00 00 00 00) FF FF 00 00
1.515490 1  18ECFF00x Rx d 8 20 8C 00 14 FF 00 D3 00
1.515781 1  18FDA400x Rx d 8 FF FF FF FF FF FF FC FF
1.516053 1  18F0090Bx Rx d 8 A1 7B 60 97 7D CF 7D 7D
1.516345 1  18FFAD00x Rx d 8 2C 00 00 F8 00 00 9F E2
1.517956 1  18ECFF27x Rx d [8 20 14 00 03](tel:8 20 14 00 03) FF 00 D3 00
1.520856 1  18ECFF3Dx Rx d [8 20 14 00 03](tel:8 20 14 00 03) FF 00 D3 00
1.521149 1  18F0FB00x Rx d 8 FF FF [00 00 00 00](tel:00 00 00 00) FF FF
1.521497 1  0CF00203x Rx d 8 CC 00 00 FF F4 00 00 03
1.521784 1  0CF02903x Rx d 8 27 75 7C FF FF FF FF FF
1.523446 1  0CFF7427x Rx d 8 00 00 9C 68 FF FF 4C 6E
1.524056 1  0CF00327x Rx d 8 FF FF FF 00 FF FF FF FF
1.524769 1  0CF00400x Rx d 8 00 7D 7D 00 00 FF FF 93
1.525059 1  0CF02300x Rx d 8 00 00 FF FF FF FF FF FF
1.525349 1  0CF03900x Rx d 8 FF FF 00 00 FF FF FF FF

See BobH 3.1.5 ASC for 2nd instance / root

I think I finally figured it out.  It is related to the key state check that was failing in 3.1.4.
A process copies packets from the RP1210 adapter into queue A.
Packets are processed from A through the J1939 TP logic into B. The order of the messages are maintained based on the BAM message, not the completion. If a TP message is progressing, it may take longer than the initial timeout; that is that the timeout is based on the initial TP control packet time and additional interpacket timing, not a single overall time.  This is represented by putting an incomplete message in B that application access will block on until the packet is completely received.  In this way the application will process a large DM19 before receiving a short DM19 that had a later TP BAM message but ended sooner.  The bug is that a process that is monitoring queue B would stop once the overall timeout was reached, so short messages after a long message would be lost.
I changed the logic of "J1939 requestGlobal" to recognize all responses received during the entire period that any response was still in play.
So instead of
            while (System.currentTimeMillis() < end) {

it is now
            while (nextItem.isReady() || System.currentTimeMillis() < end) {

In a perfect world, the timestamp on the packet would use the same clock as the operating system and we could be smarter about this.  We don't have that luxery with RP1210; the timestamp is from the adapter and it skews badle compared to the application.
The downside of this is that there will be more false positive late responses.  If there are false responses (responses to other requestors) that occur late, it will still be reported as late, there is just a better chance that we will see false late responses.
The change broke one of our tests, that I think was incorrect anyway.


[WIP] :sparkles: Move Earthly logic into Dockerfiles

Fixes #1897

I cannot test the Nvidia image, but I've uploaded it here to quay.io/mauromorales/ubuntu:20.04-core-arm64-nvidia-jetson-agx-orin-v2.4.2-33-gbdd8615-dirty-img and @mudler will help me test


What is the license associated with using this package?

Do you think you could add a license file to this package just to firm up any potential legal issues associated with its use?
Thanks!

sure!

Thanks!


rustPlatform.bindgenHook: allow overriding clang

Description of changes
In another PR of mine I encountered a situation where I needed an older clang version for rustPlatform.bindgenHook.
This PR makes it so that you can override the clang version. Example:
rustPlatform.bindgenHook.override { clang = clang_15; }
This was the only hook that used clang inside of rustPlatform.

Things done

Built on platform(s)

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

For non-Linux: Is sandboxing enabled in nix.conf? (See Nix manual)

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review rev HEAD". Note: all changes have to be committed, also see nixpkgs-review usage
[ ] Tested basic functionality of all binary files (usually in ./result/bin/)
24.05 Release Notes (or backporting 23.05 and 23.11 Release notes)

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

[x] Fits CONTRIBUTING.md.

Add a :+1: reaction to pull requests you find important.

did you test this on darwin? I have vague memories of this platform being quite sensitive to using a different version of llvm because the whole stdenv uses llvm.

did you test this on darwin? I have vague memories of this platform being quite sensitive to using a different version of llvm because the whole stdenv uses llvm.

In that case they'll have to use the correct stdenv aswell, like llvmPackages_15.stdenv.
In any case, I don't know of a better way than what I did, but I'm up for any suggestions.

did you test this on darwin? I have vague memories of this platform being quite sensitive to using a different version of llvm because the whole stdenv uses llvm.

Ah, now I see that OfBorg is throwing an error for the darwin, I missed that darwin also separately uses build-support/rust/hooks.
Will do some more research, then

Found this related PR: https://github.com/NixOS/nixpkgs/pull/233815
What's going to be interesting is how one could use mkCc automatically when overriding the clang version on darwin.

Maybe the best course of action is for me to fix my other PR so that it doesn't need an overridden clang version, and leave this for when there are multiple packages that would benefit from this and for people, who actually have a darwin machine to test on.