feat: wrapping sub

Implement wrapping subtraction. A lot easier since addition was already figured out.
One TODO. Should the rem_euclid_unsigned be exposed somewhere?

As with before, this one will take me a while. I'm working on some other things at the moment, so it's not a priority for me. With that said, I did push a commit with a couple minor changes, including bumping the Rust version in CI so it isn't a guaranteed failure.

The ci failure is unrelated. It's "error: package powerfmt v0.2.0 cannot be built because it requires rustc 1.67.0 or newer, while the currently active rustc version is 1.65.0"

I'll be taking a look at this in the very near future! The diff isn't the best (through no fault of yours), so it's not trivial to review.

Thanks again for the PR! No issues, so I'll release it momentarily.


[User Story] Rejected screen

User Story
Rejected screen

Epic Title
(Epic NAME)

User Story Title
(Story NAME)

T-shirt size: S(mall), M(edium), L(arge)

Story Points - Fibonacci (1,2,3,5,8,13)

User Story
[Value Statement] "As a user of a certain type (specify), I want to do something (action) so I can provide business value"

Description
A short description

Business Need (the why):
from epic, if needed

Details
All the details needed to accomplish the story. Tasks - can be linked

Additional User Story
linked

Acceptance Criteria/Tests
The list of tests or criteria to be used to validate the story has been completed. May still need UAT or SIT / integration testing with other stories.

Failure
if any, fold in negative tests

Definition of Done
e.g.Passes all regression tests, Passes testing per acceptance criteria, Approved by UI team, Able to show feature in demo

UX/UI Details and/or mockups
if UI change, a mockup or description of what to change, attach image/file

Applications or Systems impacted
upstream/downstream applications/systems

Dependencies
non story dependencies

Assumptions
if any

Performance Considerations
Will the work performed as part of this story impact system performance. If there is potential for a performance hit, where would you expect it to manifest in the system.

Security Considerations
E.g., does this story involve working with Personal Identifying Information (PII)? Note any such security sensitive aspects.

QA Considerations
what might be hard to test or test setup criteria

Acrhitectural/System or Component Impacts
if we're adding something new or significantly changing architecture flag for architect review

Reverse Engineering Required
to document areas not known well by dev team

Questions/Clarifications
Create new issue (add label: question) in this repo and link to this issue

What is the scenario where a user would get a rejection screen?  Is this the rejection for a role proposal?  If so, I thought this would be just the frown icon on the status table.  Is there something else that needs an entire rejection screen?


Storage Explorer doesn't maximize display when first launch

Storage Explorer Version: 1.12.0
Build: 20200205.2
Branch: master
Platform/OS: Windows 10
Architecture: ia32
Regression From: Not a regression
Steps to reproduce:

Create a new virtual machine (Windows 10).
Install and launch Storage Explorer.
Check the result.

Expect Experience:
Storage Explorer maximize displays.
Actual Experience:
Storage Explorer doesn't maximize display.

That is not the expected behavior. Won't fix.


Get returned value in a pointer

Can someone help me? I am really struggling to understand how to return a simple value from a C pointer in this test function.
extern "C" int32_t get_from_pointer(int32_t *c) {
    int x = 10;
    int y = 25;
    *c = x + y;

    return x + y;
}

I am loading the function this way:
  const v = load({
      library: "libsum", // path to the dynamic library file
      funcName: 'get_from_pointer', // the name of the function to call
      retType: DataType.I32, // the return value type
      paramsType: [DataType.I32], // the parameter types
      paramsValue: [ret]
  });

Currently, I am trying ret like this:
 let ret = createPointer({
      paramsType: [DataType.I32],
      paramsValue: []
  })

Use restorePointer to get the value which wrapped in the pointer

Thanks for the answer, but the problem is that the C program throws a Segmentation fault. It's like they are passing a pointer that points to a garbage address. It's as if I did this in C:
#include<iostream>
#include<stdlib.h>

int add_with_pointer(int *c) {
    int x = 10;
    int y = 25;
    *c = x + y;  // This line causes a segmentation fault because 'c' is not initialized.
    return (x + y);
}

int main() {
    int *c;  // 'c' should be initialized or allocated memory.
    int d = add_with_pointer(c);
    std::cout << "Result: " << *c << std::endl;
    return 0;
}

It's the same behavior; the passed pointer was not correctly assigned an address. I believe that I was using the createPointer function in the wrong way.

createPointer will return a array，maybe youbshould use paramsValue：ret

And，you should give a initial value when createPointer

you can try with this code
let ptr= createPointer({
      paramsType: [DataType.I32],
      paramsValue: [0]
  })
 const v = load({
      library: "libsum", // path to the dynamic library file
      funcName: 'get_from_pointer', // the name of the function to call
      retType: DataType.I32, // the return value type
      paramsType: [DataType.External], // the parameter types
      paramsValue: ptr
  });

This worked perfectly! What I hadn't tried was passing the pointer outside the array brackets.
However, this brings up another question: How to pass values by parameter and by reference in the same call. I am using this C as an example:
extern "C" int32_t add_from_int_and_get_from_pointer(int32_t x, int32_t y, int32_t *c) {
    *c = x + y;

    return x + y;
}

And trying various combinations, like this:
const v = load({
      library: "libsum", // path to the dynamic library file
      funcName: 'add_from_int_and_get_from_pointer', // the name of the function to call
      retType: DataType.I32, // the return value type
      paramsType: [DataType.I32, DataType.I32, DataType.External], // the parameter types
      paramsValue: [x, y, ret]
    });

But I am not having success.

🤔 ret is an array type，maybe you should use ret【0】to get the pointer when call load function

Worked! Thank you for all assistance!

Done


Understanding what's there, and how it is done.

I think what was created by @ggriffiniii is fantastic and the way to go. For now I so no reason to not go ahead with it, except for me not knowing how it works.
But that's not an actual reason, so I will keep staring it down :).

Closing, as I believe it's better to approach it by actually trying to implement CLIs in the same style. No doubt that this will work, the existing code for APIs seems to prove that.


rs2_depth_frame_get_distance doesn't work for software_device sensor

Hello,
I'm facing the same issue https://github.com/IntelRealSense/librealsense/issues/2844 in the latest version of SDK. I'm using .NET wrapper.
In spite of the issue colorizer works fine.
I've tried to implement my own get_distance method like this
  private static unsafe float GetDistanceFromZ16(byte* dataPointer, int y, int x, float scale)
  {
        var index = (y * Width) + x;

        var b1 = *(dataPointer + index);
        var b2 = *(dataPointer + index + 1);
        var pixel = BitConverter.ToUInt16(new[] { b1, b2 });
        return pixel * scale;
  }

but the result doesn't seem correct. It might be a mistake somewhere.
Would be nice to have sdk api working for .NET and have some advice how to get distance from Z16 directly for performance reasons.
thank you, Tim

Hi @TimGameDev  Multiplying the pixel depth value by the depth unit scale value to obtain the real-world distance in meters is the correct approach.
You could try hard-coding the scale into the script instead of retrieving it in real-time from the camera if you are not doing so already.  The scale value does not change unless deliberately changed by the user.  The scale values for different RealSense camera models are listed below.
All 400 Series camera models except D405
0.001
D405
0.01
L515
0.000250

The RS2 instructions of the RealSense library can be accessed from the C# wrapper using Platform Invoke (P/Invoke).
https://github.com/IntelRealSense/librealsense/blob/master/wrappers/csharp/Documentation/pinvoke.md

Hi @MartyG-RealSense I really appreciate such a quick response!
Let me split my message into two parts. First part is about an issue in SDK and it actually the main reason why I'm here :)
The issue is GetDistance method for DepthFrame doesn't work for software device.
The exact same issue was described here https://github.com/IntelRealSense/librealsense/issues/2844 long time ago, the only difference is that I'm using .NET.
Could you please take a look at this first, and then we will get back to all custom stuff :)
Thanks! Tim

Hi @TimGameDev  There should not be a need to use depth units in a get_distance() instruction.  You would only need the depth scale if you were calculating real-world distance in meters with the alternative method of multiplying the pixel depth value (uinit16_t) by the depth unit scale.

I'm not sure I understand you unfortunately.
Software Device should emulate behaviour of real device. Right? So it's
kind of expected to have GetDistance Api working, because it's the most
important one.
The another thing is that this bug was definitely fixed before, please take
a look at the issue I linked above.
My guess is that it was fixed for specific language or it's just came back.
Thanks, Tim
On Fri, 8 Sept 2023, 10:19 pm MartyG-RealSense, @.***>
wrote:

Hi @TimGameDev https://github.com/TimGameDev There should not be a need
to use depth units in a get_distance() instruction. You would only need
the depth scale if you were calculating real-world distance in meters with
the alternative method of multiplying the pixel depth value (uinit16_t) by
the depth unit scale.
—
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/12170#issuecomment-1711581697,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3YSSR4IUK726LRAV2K2FTXZMEOJANCNFSM6AAAAAA4OLXTFU
.
You are receiving this because you were mentioned.Message ID:
@.***>

If you have a problem with the get_distance method in https://github.com/IntelRealSense/librealsense/issues/2844 when using it with software-device then have you tested whether the other approach that was suggested in that case works with software-device?
aligner.process(fset);
auto depth_frame = aligned_frame.get_depth_frame();

I get 0 all the time by calling GetDistance for DepthFrame object produced
by Software Device (exactly as in the old issue). There's no difference
between using aligner or not for me.
On Sat, 9 Sept 2023, 1:58 am MartyG-RealSense, @.***>
wrote:

If you have a problem with the get_distance method in #2844
https://github.com/IntelRealSense/librealsense/issues/2844 when using
it with software-device then have you tested whether the other approach
that was suggested in that case works with software-device?
aligner.process(fset);
auto depth_frame = aligned_frame.get_depth_frame();
—
Reply to this email directly, view it on GitHub
https://github.com/IntelRealSense/librealsense/issues/12170#issuecomment-1711894718,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AD3YSSWYS3Y4VN2DMWUPRR3XZM6A3ANCNFSM6AAAAAA4OLXTFU
.
You are receiving this because you were mentioned.Message ID:
@.***>

Would it be possible to post your full software device script in a comment so that I can highlight it to my Intel RealSense colleagues to identify whether there is a re-occuring bug in get_distance(), please?

Sure! It's basically the code from your guides for software device but the simplest way to reproduce the issue for .NET would be:
            var sd = new Intel.RealSense.SoftwareDevice();
            var depthSensor = sd.AddSensor("Depth");
            depthSensor.AddReadOnlyOption(Option.DepthUnits, DepthScale);
            var syncer = new Syncer();

            var depthProfile = depthSensor.AddVideoStream(new SoftwareVideoStream()
            {
                index = 0,
                uid = 0,
                bpp = BPP_D,
                width = Width,
                height = Height,
                format = Format.Z16,
                fps = 60,
                type = Stream.Depth,
                intrinsics = _depthIntrinsics,
            });
            depthSensor.Open(depthProfile);
            depthSensor.Start(syncer.Queue);
            depthSensor.AddVideoFrame(DEPTH_FRAME_BYTES, Width * BPP_D, BPP_D, 0, TimestampDomain.HardwareClock, 1, depthProfile);

            var frame = syncer.Queue.WaitForFrame<DepthFrame>();

frame  will have DataSize 0 and GetDistance will return 0. But colorizer will work fine for this frame.
And yes doing it with Context and Pipeline and two sensors provides the same result.

I have highlighted your C# script to my colleagues and described the problem to them.  Thanks very much for your patience!

Hi @TimGameDev  My colleagues have asked which camera you are working with, as the C# sample code requires a depth camera to work.

Hi @MartyG-RealSense, I thought I did mention that, my bad. Camera is D455.

Thanks, I will feed that information back to my colleagues.

Hi again @TimGameDev  My colleagues were able to reproduce the GetDistance() issue using software device in C# and have begun work on a fix at https://github.com/IntelRealSense/librealsense/pull/12193
I have added an Enhancement label to this case to signify that it should be kept open until the fix has been implemented in the SDK.  Thanks again for your report!

Hi @MartyG-RealSense, thank you for the update. Glad to help.


Implement Photon-Beetle-Hash

[x] Implement Photon-Beetle-Hash routines
[x] Test functional correctness using Known Answer Tests
[x] Benchmark implementation on CPU systems

Test using
make

Benchmark on CPU, using google-benchmark, issue
make benchmark


Start using -build/include_subdir filter for cpplint

Signed-off-by: Aaron Chong<EMAIL_ADDRESS>

This change is

Will keep this as a draft until ament_cpplint updates its vendored cpplint version for galactic.

Will keep this as a draft until ament_cpplint updates its vendored cpplint version for galactic.

Is there actually a plan to do this? Clearly there are differences in the rules, so isn't an update to cpplint likely to break other packages in Galactic?

That's a good point. I was hopeful but it looks like the version of cpplint stays the same in releases, and for good reason too, to not break everything suddenly. I'll be closing this then


Readme 1time

Updated 1 time correlation readme

Couple of minor line comments asking for markdown links instead of urls. Other than that, looks good to me, thanks for updating the readme!

@ericdill Thanks for the comments, I fixed them ready for review

Great, thanks @sameera2004 !

Thanks @ericdill


refactor AbstractZKClient

Codecov Report

Merging #1627 into dev will increase coverage by 0.01%.
The diff coverage is 1.86%.

@@           Coverage Diff            @@
##             dev   #1627      +/-   ##
========================================
+ Coverage    8.1%   8.12%   +0.01%
========================================
  Files        282     282
  Lines      13787   13910     +123
  Branches    2200    2250      +50
========================================
+ Hits        1118    1130      +12
- Misses     12585   12662      +77
- Partials      84     118      +34

Impacted Files
Coverage Δ

...e/dolphinscheduler/common/zk/AbstractZKClient.java
0% <0%> (ø)
:arrow_up:

...che/dolphinscheduler/api/service/UsersService.java
0% <0%> (ø)
:arrow_up:

...che/dolphinscheduler/api/service/QueueService.java
0% <0%> (ø)
:arrow_up:

...rg/apache/dolphinscheduler/dao/entity/Command.java
10.29% <2.12%> (+10.29%)
:arrow_up:

.../org/apache/dolphinscheduler/dao/entity/Alert.java
8% <2.38%> (+8%)
:arrow_up:

...ache/dolphinscheduler/dao/entity/CommandCount.java
8.33% <8.33%> (+8.33%)
:arrow_up:

Continue to review full report at Codecov.

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


PVR, ETC Support

iOS and Android not support DXT Texture

Not sure what your problem was or why you closed it youself.
PVRTC and ETC should work.
DXT don't work on iOS/Android, but that's a hardware restriction, as far as I know.

Previously tried to load KTX 2.0 files with PVRTC and ETC on the phone.
I did n’t realize Basis Universal was a better choice.
Thank you very much for your work, it helped me a lot.

Glad to hear that, thanks!
I added more detailed limitation description to the readme file. to avoid confusion.


[AUTO-PR SJA] Automatically generated new release 2024-02-21T16:24:13.585Z

What happens when your PR merges?

Prefix the title of your PR:

fix: - tag main as a new patch release
feat: - tag main as a new minor release
BREAKING CHANGE: - tag main as a new major release
[MANIFEST] - tag main as a new patch release and deploy to production
chore: - use for changes to non-app code (ex: GitHub actions)

Alternatively, change the VERSION file - this will not create a new tag, but rather will release the tag in VERSION to production.

What are you changing?

[ ] Releasing a new version of Notify
[ ] Changing kubernetes configuration

Provide some background on the changes
⚠ The production version of the Terraform infrastructure is behind the latest staging version. Consider upgrading to the latest version before merging this pull request.
⚠ The production version of manifests is behind the latest staging version. Consider upgrading to the latest version before merging this pull request.
NOTIFICATION-API
NOTIFICATION-ADMIN
NOTIFICATION-DOCUMENT-DOWNLOAD-API
NOTIFICATION-DOCUMENTATION
If you are releasing a new version of Notify, what components are you updating

[ ] API
[ ] Admin
[ ] Documentation
[ ] Document download API

Checklist if releasing new version:

[ ] I made sure that the changes are as expected in Notify staging
[ ] I have checked if the docker images I am referencing exist

[ ] api lambda (requires Notification-Production / AdministratorAccess login)
[ ] api k8s
[ ] admin
[ ] documentation
[ ] document download API

Checklist if making changes to Kubernetes:

[ ] I know how to get kubectl credentials in case it catches on fire

After merging this PR

[ ] I have verified that the tests / deployment actions succeeded
[ ] I have verified that any affected pods were restarted successfully
[ ] I have verified that I can still log into Notify production
[ ] I have verified that the smoke tests still pass on production
[ ] I have communicated the release in the #notify Slack channel.

just a test


[RHOAIENG-223] Test VSCode - add checks for VS Code image

This introduces tests for the recently added VS Code IDE image. For more information see [1,2].
[1] https://issues.redhat.com/browse/RHOAIENG-223
[2] https://issues.redhat.com/browse/RHOAIENG-225

+1 I think it makes sense merging just the spawning test, after a little cleanup.


fake thread start address

You cannot use virtualProtect because ZwProtectVirtualMemory is hooked by stub.dll.
// league of legends hooked winapis
"ntdll.dll!RtlAddVectoredExceptionHandler"
"ntdll.dll!LdrInitializeThunk"
"ntdll.dll!NtReadFile"
"ntdll.dll!NtQueryInformationProcess"
"ntdll.dll!ZwQueryVirtualMemory"
"ntdll.dll!ZwContinue"
"ntdll.dll!ZwCreateSection"
"ntdll.dll!NtCreateThread"
"ntdll.dll!ZwProtectVirtualMemory"
"ntdll.dll!ZwCreateThreadEx"
"ntdll.dll!ZwTestAlert"
"ntdll.dll!DbgUserBreakPoint"
"KERNELBASE.dll!LoadLibraryExW"
"USER32.dll!GetPhysicalCursorPos"
"USER32.dll!SetPhysicalCursorPos"
"USER32.dll!SetCursor"
"USER32.dll!GetRawInputData"
"USER32.dll!ShowCursor"
"SHELL32.dll!ShellExecuteW"
"SHELL32.dll!ShellExecuteA"
"d3d9.dll!Direct3DCreate9Ex"
"DINPUT8.dll!GetdfDIJoystick"
"dxgi.dll!DXGIReportAdapterConfiguration"
"dxgi.dll!DXGIGetDebugInterface1"
"MSCTF.dll!TF_SetShowFloatingStatus"
"wow64cpu.dll!BTCpuTurboThunkControl"

You cannot use virtualProtect because ZwProtectVirtualMemory is hooked by stub.dll.
// league of legends hooked winapis
"ntdll.dll!RtlAddVectoredExceptionHandler"
"ntdll.dll!LdrInitializeThunk"
"ntdll.dll!NtReadFile"
"ntdll.dll!NtQueryInformationProcess"
"ntdll.dll!ZwQueryVirtualMemory"
"ntdll.dll!ZwContinue"
"ntdll.dll!ZwCreateSection"
"ntdll.dll!NtCreateThread"
"ntdll.dll!ZwProtectVirtualMemory"
"ntdll.dll!ZwCreateThreadEx"
"ntdll.dll!ZwTestAlert"
"ntdll.dll!DbgUserBreakPoint"
"KERNELBASE.dll!LoadLibraryExW"
"USER32.dll!GetPhysicalCursorPos"
"USER32.dll!SetPhysicalCursorPos"
"USER32.dll!SetCursor"
"USER32.dll!GetRawInputData"
"USER32.dll!ShowCursor"
"SHELL32.dll!ShellExecuteW"
"SHELL32.dll!ShellExecuteA"
"d3d9.dll!Direct3DCreate9Ex"
"DINPUT8.dll!GetdfDIJoystick"
"dxgi.dll!DXGIReportAdapterConfiguration"
"dxgi.dll!DXGIGetDebugInterface1"
"MSCTF.dll!TF_SetShowFloatingStatus"
"wow64cpu.dll!BTCpuTurboThunkControl"

I guess then that 0xFF-[] addresses are already r/w cuz the thread creates with no problem


GitHub Actions

Finally worked through matrix outputs for builds on these. Also removed all travis artifacts. Still need to have Quay and Docker secrets tested.

@aguilinger Tagging you since you have the most GH Actions experience. I might need to update the tagging to be correct for us, but here to review. (There will be a couple)


Small document updates

With ESP32-DevKitC V4  no need for logic converters.
My unit doesn't have horizontal swing, commented out those.

Thanks, but I would rather not add the note about the ESP32-DevKitC V4 as is.
There is no special circuit in that PCB to make it more 5V tolerant than other ESP32 boards, it just has a 5V power supply like many others. While all ESP32s are 5V tolerant to some degree it is out of spec according to Espressif.
If the current is not too high it will most likely work just fine but might degrade the hardware over time.
You could add a general note about this topic though, maybe something like this:
Note: It is possible to connect most ESP32 and ESP8266 boards directly to the AC but be advised that doing so will operate the chip out of spec.

I don't claim to be an expert, but I thought there's an AMS1117 voltage regulator to make sure that the ESP32 gets 3.3 volts:

That's only the power supply. The GPIO pins are connected directly to the ESP.

Ah, now I understood - the question is about the digital inputs and not about the power supply (and there seems to be conflicting information about their 5V safeness over the internet). Apologies, let's close this PR.


Error reading data field at upgrades: Origin upgrade JSON requires "condition" string and "origin" string.

I don't know if this fits here but I get this error with my custom origin.

I'm trying to make a nymph origin upgrade into a Poseidon origin after killing an elder guardian. for this, I installed BlazeandCave's Advancements Pack. I'm using the_deep_end.json advancement. Maybe I quoted something wrong but for the life of me, I can't find the mistake. It says its missing "condition" and "origin", but I have them.
Please help.

Maybe I'm missing something else, but the wiki specifies the upgrades need to be an array of upgrades, not a single one, so try:
"upgrades": [
	{
		"condition": {
			"type": "origins:advancement",
			"advancement": "blazeandcave:adventure/the_deep_end"
		},
		"origin": "co:poseidon",
		"announcement": "Congratulations! Press [O] to see your newfound powers!"
	}
]```


Kamal::Git.version now uses git describe

Why change Kamal::Git.version?
Currently container names can get very long with - service, role, destination, sha and even possible uncommited changes. This can make them hard to read or compare.
Looking for feedback before finalising this PR
The tests are not passing but I am wondering if there is interest in this change or maybe an alternative one that would simply shorten the sha - e.g. git rev-parse --short HEAD
Description
Previously Kamal::Git.version used rev-parse to retrieve the current commits full sha. While this works it currently creates a very long version name. This PR changes it to use git describe, which will use a tag if it exists, suffix with an abberviated commit sha if there are new commits, and lastly suffix it the same as before if their are uncommited changes. Some e.g.

No tags, no uncommited changes: '12er34d5'
No tags, uncommited-changes: '12er34d5_uncommited_23494aa9'
Tags, no new commits, no uncommited changes: '1.2.3'
Tags, new commits, no uncommited changes: '1.2.3-12er34d5'
Tags, new commits, uncommited changes: '1.2.3-12er34d5_uncommited_23494aa9'

Further reading: https://git-scm.com/docs/git-describe

This has been revised to be up to date with the new Kamal::Git module

need this to be merged, then we can ping the correct container's hostname


No tvservice on Raspberrypi 3 on Warrior Branch

The following config and layers work fine for "Thud" branch but when switching to "Warrior" branch I noticed two things:

tvservice was not available
cec-client does not work and says

No device type given. Using 'recording device'
CEC Parser created - libCEC version 4.0.4
no serial port given. trying autodetect: FAILED

There are no errors in the build script either.
# Mender Specific
INHERIT += "mender-full"
MENDER_ARTIFACT_NAME = "release-2020.01.03"
MACHINE ??= "raspberrypi3"
MENDER_BOOT_PART_SIZE_MB = "40"
MENDER_PARTITION_ALIGNMENT = "4194304"

# Extra Storage for php-int
MENDER_STORAGE_TOTAL_SIZE_MB = "1724"
IMAGE_ROOTFS_MAXSIZE = "2500000"

# RPI Specific
RPI_USE_U_BOOT = "1"
#IMAGE_INSTALL_append = " kernel-image kernel-devicetree"
DISABLE_RPI_BOOT_LOGO = "1"
IMAGE_FSTYPES_remove += " rpi-sdimg"
DISTRO_FEATURES_append = " systemd wifi bluez5 bluetooth"
ENABLE_RPI3_SERIAL_CONSOLE = "1"
ENABLE_UART = "1"

# App Specific
IMAGE_INSTALL_append = " kernel-image kernel-devicetree kernel-modules linux-firmware-rpidistro-bcm43455 linux-firmware-rpidistro-bcm43430 wpa-supplicant iw bash hostapd dnsmasq iptables avahi-daemon fcgi php php-cli php-fpm nginx nmap android-tools python3 nodejs icu wol libcec initscript  ntp nodejs-npm util-linux bluez5 openssh mosquitto inotify-tools"

# General Info
DISTRO ?= "poky"
CONF_VERSION = "1"
DL_DIR ?= "/portable/yocto/rocko/downloads"
PACKAGECONFIG_append_pn-qemu-native = " sdl"
PACKAGECONFIG_append_pn-nativesdk-qemu = " sdl"
PACKAGE_CLASSES ?= "package_rpm"
USER_CLASSES ?= "buildstats image-mklibs image-prelink"
PATCHRESOLVE = "noop"
BB_DISKMON_DIRS ??= "\
    STOPTASKS,${TMPDIR},1G,100K \
    STOPTASKS,${DL_DIR},1G,100K \
    STOPTASKS,${SSTATE_DIR},1G,100K \
    STOPTASKS,/tmp,100M,100K \
    ABORT,${TMPDIR},100M,1K \
    ABORT,${DL_DIR},100M,1K \
    ABORT,${SSTATE_DIR},100M,1K \
    ABORT,/tmp,10M,1K"

# In order to build from the repository that Jenkins has cloned, instead of
# letting bitbake pull the sources, we use "externalsrc".
INHERIT += "externalsrc"

# Host Name
hostname_pn-base-files = "Eddy"

BBlayer
# POKY_BBLAYERS_CONF_VERSION is increased each time build/conf/bblayers.conf
# changes incompatibly
POKY_BBLAYERS_CONF_VERSION = "2"

BBPATH = "${TOPDIR}"
BBFILES ?= ""

BBLAYERS ?= " \
  /portable/yocto/rocko/poky/meta \
  /portable/yocto/rocko/poky/meta-poky \
  /portable/yocto/rocko/poky/meta-yocto-bsp \
  /portable/yocto/rocko/meta-openembedded/meta-oe \
  /portable/yocto/rocko/meta-openembedded/meta-perl \
  /portable/yocto/rocko/meta-openembedded/meta-python \
  /portable/yocto/rocko/meta-openembedded/meta-networking \
  /portable/yocto/rocko/meta-openembedded/meta-webserver \
  /portable/yocto/rocko/poky/meta-mender/meta-mender-core \
  /portable/yocto/rocko/meta-raspberrypi \
  /portable/yocto/rocko/poky/meta-mender/meta-mender-raspberrypi \
  /portable/yocto/rocko/meta-security \
  "

Steps to reproduce the issue:

Create Yocto image using bblayer / local config
burn image to sd card
test on pi that tvservice is not available

PIE DMESG search
Eddy:~$ dmesg | grep vc4
[   12.944948] vc4_hdmi 3f902000.hdmi: ASoC: Failed to create component debugfs directory
[   12.996176] vc4_hdmi 3f902000.hdmi: vc4-hdmi-hifi <-> 3f902000.hdmi mapping ok
[   13.032405] vc4-drm soc:gpu: bound 3f902000.hdmi (ops vc4_hdmi_ops [vc4])
[   13.050561] vc4-drm soc:gpu: bound 3f806000.vec (ops vc4_vec_ops [vc4])
[   13.073828] vc4-drm soc:gpu: bound 3f004000.txp (ops vc4_txp_ops [vc4])
[   13.090057] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])
[   13.097371] vc4-drm soc:gpu: bound 3f206000.pixelvalve (ops vc4_crtc_ops [vc4])
[   13.125756] vc4-drm soc:gpu: bound 3f207000.pixelvalve (ops vc4_crtc_ops [vc4])
[   13.134210] vc4-drm soc:gpu: bound 3f807000.pixelvalve (ops vc4_crtc_ops [vc4])
[   13.188506] vc4-drm soc:gpu: bound 3fc00000.v3d (ops vc4_v3d_ops [vc4])
[   13.209045] fb: switching to vc4drmfb from simple
[   13.237808] fb: switching to vc4drmfb from simple
[   13.282502] [drm] Initialized vc4 0.0.0 20140616 for soc:gpu on minor 0
[   13.582195] vc4-drm soc:gpu: fb0: DRM emulated frame buffer device
Eddy:~$ which tvservice

So the HDMI output from the pi does work, but looks like it might be a bug in the hdmi / linux firmware process.  Maybe the issue is here:
...
-- Installing: /portable/yocto/rocko/builds/rpi0/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/userland/20190724-r0/image/usr/bin/tvservice

-- Set runtime path of "/portable/yocto/rocko/builds/rpi0/tmp/work/cortexa7t2hf-neon-vfpv4-poky-linux-gnueabi/userland/20190724-r0/image/usr/bin/tvservice" to ""
...

Yeah those files are not being copied to the image. I manually copied over tvservice bin and some libs and got tvservice working on the test machine. The tvservice doesn't seem to work correctly and the HDMI signal via cec-client is still not working.
Eddy:~$ sudo tvservice -s
state 0x120009 [HDMI CEA (16) RGB lim 16:9], 1920x1080 @ 60.00Hz, progressive
Eddy:~$ sudo tvservice -l
0 attached device(s), display ID's are :

Eddy:~$ sudo /usr/bin/cec-client
No device type given. Using 'recording device'
CEC Parser created - libCEC version 4.0.4
no serial port given. trying autodetect: FAILED

Update 2 days later
So adding userland as in INSTALL_append package fixes the issues with tvservice not being installed. This is odd though because for Thud I don't have to do this. The issue with HDMI port not working with libcec is not resolved though, but I think it's related to tvservice still not recognizing the tv; here are the results when doing tvservice -name
[E] No device present
listing the devices shows as 0 attached device(s), display ID's are :
More commands and results:
Eddy:~$ sudo tvservice -p
Powering on HDMI with preferred settings
[E] Failed to power on HDMI with preferred settings
Eddy:~$ sudo vcgencmd get_lcd_info
0 0 0 no display

This is most probably due to vc4 default switch: https://github.com/agherzan/meta-raspberrypi/commit/690bdca57422447e49d4ef43862bf675e9acc28f#diff-c02a029d89d92b2ddeb5e523a8cd535b

Thanks for the help. The warrior branch already has the DISABLE_VC4GRAPHICS  fix, so I made the variable equal to 1 in the local config file. I rebuilt the image and both tvservice and HDMI work via libcec;however, everything is now yellow on the screen. The bootup is fine but after the screen turns yellow and you can't see anything. Doing a tvservice -p makes the screen back to black but then the input section is gone. Something is not right.

So the issue with the yellow screen was u-boot related.  To fix it you need to make your own patch by removing some lines, as seen here: https://github.com/mendersoftware/uboot-mender/commit/50f05ab10e9590f22cd07382821a7a7721825b36
My issue was fixed for patching the u-boot layer for meta-mender layer. See here for more info:
https://hub.mender.io/t/yellow-screen-on-meta-mender-using-warrior-branch-with-disable-vc4graphics-u-boot-patch/1438


what are the supported events?

my english is poor.
i wanna know what the event that request supports,and the event order.

I have . . .

response: Emitted when an HTTP response is received.
data: Emitted each time data is received.
end: Emitted when a connection ends.

@Freyert why the documentation doesn't give the events, i think this is very useful

:+1: for improved docs. Most of the events are inherited from their respective modules around the http(s) modules. You can check out the official nodejs/iojs docs as well.

+1 can someone document these in the readme?

Yeah, I think this needs more documentation as the Node docs for HTTP Client events itself is also based on knowing the Object hierarchy; knowing the events for streams, tcp sockets, and http. I'm sure HTTPS also has more.
Tentatively, I'd love to ponder this. I'll see if it's feasible for me.

https://iojs.org/api/http.html#http_class_http_server

+1 Also it would be great to know in what order the events should be fired, and what events if any are shortcircuited if you call abort.

@LoicMahieu is that part of the convergence as well?

@Freyert Sorry I don't know what you mean.

@LoicMahieu I meant, do you know if those events are in node and io, as well as the upcoming convergence of IO and Node.

@Freyert Sorry I don't have a list of those events but it would be great... Little googling for that gives nothing... There is a lake of documentation about which events are trigged, when and in which order...

I think the only request specific event is redirect (correct me if I'm wrong). Once request is migrated to use streams2, the events will be exactly the same as in the node/iojs docs (and currently they should be pretty close to that, if not the same).

What's the difference between the end and close events?


RATIS-1093. Move blocking methods from RaftClient to a new BlockingApi interface

What changes were proposed in this pull request?
Move blocking methods: send, sendReadOnly, sendStaleRead and sendWatch to BlockingApi interface.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/RATIS-1093
How was this patch tested?
UT

R: @szetszwo @runzhiwang

@szetszwo comments addressed.


Clear default components from stationstation.yml

Right now stationstation.yml contains old component values, so it overwrites the new ones that get added to the prototype YAML files. If someone could go through all the components and remove the ones that are the same as default, that would be great.
Currently this causes a bug where the PowerCellSmallHigh that get spawned on the map go through walls when thrown.
https://github.com/space-wizards/space-station-14/blob/5e58ae8a0aa07af7f1ed6a8558cf65fbb2941163/Resources/Maps/stationstation.yml

The problem here is that the serialization system can't detect correctly that the physics bodies are value-wise equal.


CEL optional support

CEL now has optional support behind a feature flag.
https://github.com/google/cel-spec/wiki/proposal-246
https://github.com/google/cel-go/blob/32ac6133c6b8eca8bb76e17e6ad50a1eb757778a/cel/cel_test.go#L1879
This can be quite useful for writing policy rules because it simplifies the complicated presence checks that would otherwise be required.
We need to investigate how this affects the query planner though.

Superseded by #1627


Add core/v3.AuthProvider

It's like core/v2.AuthProvider, but for core/v3
Signed-off-by: Eric Chlebek<EMAIL_ADDRESS>

I fix it! :cowboy_hat_face:


refactor globals validation so that we can re-use this pattern

I tried to think of this in a composition-y way and settled on adding classmethods to create a Globals object - one from a hail table and one from a config dict.
The Globals objects are used fns that perform the equality checks between the two objects.
These classes will be used in the next step of the reference data work, namely step 4 here: https://docs.google.com/document/d/19VEv7Iy6H9kyT23tvPzQtCNK0d4n_w_TAGY6XW6tdI4/edit

👍 from me whenever the tests pass.  this is awesome work, and thank you for managing the update to the mocked combined table!


Error: no matching event (argument="topichash", value="0xddf25...", code=INVALID_ARGUMENT, version=abi/5.4.0)

This error is thrown out after successfully mined transaction, in my case it is minting new tokens. Minting works fine, but this error is thrown out after every successful mint or any other transactions like transfer etc.
This is my code but simplified:
import { utils } from 'ethers';
import { Contract } from '@ethersproject/contracts'
import { useContractFunction } from '@usedapp/core';

function Mint() {
  const citInterface = new utils.Interface(['function mint(uint amount) external']);
  const citContractAddress = '0xd2539E040A79D9597310D96aD17C96518168A63F';
  const contract = new Contract(citContractAddress, citInterface);
  const { send } = useContractFunction(contract, 'mint');

  const callMint = (mintAmount) => {
    send(mintAmount*10**8);
  }
 // method callMint is called when I input some number and click on button
}

I have googled this error and stumbled across this https://github.com/ethers-io/ethers.js/issues/733 . I am not quite experienced so I don't know how to fix this.

Please check this PR it should fix your problem, the issue is that one of the logs returned by the transaction comes from another contract.

Still happening to me

This is still broken :/

Does anyone has this issue with useDApp 1.0?
Did anyone tried to upgrade ethers to version 5.6?


A paragraph is not clear to me

Probably just because English is not my mother tongue, this paragraph is not clear to me:
Once you understand the permissions, apply server level permissions to logins or server roles and database level permissions users or database roles with the GRANT, REVOKE, and DENY statements.
I guess a 'to' is missing before 'users or database' but I may be wrong.

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

ID: 6c6141aa-bfd7-1ce4-aecd-820036f4a60e
Version Independent ID: fd41bd15-b6f6-0a67-eee8-4bae68e9838e
Content: Permissions (Database Engine) - SQL Server
Content Source: docs/relational-databases/security/permissions-database-engine.md
Service: sql
Sub-service: security
GitHub Login: @AndreasWolter
Microsoft Alias: anwolter

You are right. A "to" is missing. My bad.
Slightly adjusted:
Once you understand the permissions, apply server level permissions to logins or server roles and database level permissions to users or database roles by using the GRANT, REVOKE, and DENY statements.
is that easier to understand?

It absolutely is. Thank you for the correction.
Regards,
Attila
From: Andreas Wolter @.>
Sent: Thursday, October 19, 2023 2:38 AM
To: MicrosoftDocs/sql-docs @.>
Cc: Ats, Attila @.>; Author @.>
Subject: Re: [MicrosoftDocs/sql-docs] A paragraph is not clear to me (Issue #9426)
CAUTION:   This email originated from outside the organization. Do not click links or open attachments unless you recognize the sender and know the content is safe.
You are right. A "to" is missing. My bad.
Slightly adjusted:
Once you understand the permissions, apply server level permissions to logins or server roles and database level permissions to users or database roles by using the GRANT, REVOKE, and DENY statements.
is that easier to understand?
—
Reply to this email directly, view it on GitHubhttps://github.com/MicrosoftDocs/sql-docs/issues/9426#issuecomment-1769710135, or unsubscribehttps://github.com/notifications/unsubscribe-auth/ANHIURKSFUCLDWYUXYO6ZA3YABY45AVCNFSM6AAAAAA6FHWDZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTONRZG4YTAMJTGU.
You are receiving this because you authored the thread.Message ID: @.***>

We are updating the paragraph in question, and the updated article will be published in the next day or so. When that happens, this issue will automatically close.
Thank you for your feedback, @AttilaAts.


Why not support LeakyRelu op for C++ Api?

I try to import my pb file which use LeakyRelu as activation function in VS2015. I find I can't use "sess->Create(&gdef)" to import my pb. Error shows :

Not found: Op type not registered 'LeakyRelu' in binary running on 9BFHO3E5CP3B44C. Make sure the Op and Kernel are registered in the binary running in this process.

Please provide details about what platform you are using (operating system, architecture). Also include your TensorFlow version. Also, did you compile from source or install a binary?
Make sure you also include the exact command if possible to produce the output included in your test case. If you are unclear what to include see the issue template displayed in the Github new issue template.
We ask for this in the issue submission template, because it is really difficult to help without that information. Thanks!

Automatically closing due to lack of recent activity. Please update the issue when new information becomes available, and we will reopen the issue. Thanks!


docs: remove description prefix from CLI options

Motivation
It seems unnecessary that we prefix the description with description:, should be clear from context that this is the description of the CLI option, and I think it supports readability to remove it.
With description:

Without description:

Description
Remove description: prefix from description of CLI options, for everything else the prefix adds important information.

:tada: This PR is included in v1.18.0 :tada:


Use  haskell-src-exts 1.22

It will need to be rebased onto #1678
Fixes #1649

One of the needed changes had been to bump hlint version to <IP_ADDRESS>

Please rebase changes!

@fendor done! but i've got locally the same error with askUnliftIO

I am constraining unliftio-core to fix the build, @alanz could we include this in the release if the build get fixed?


Add support for k8s services with external IPs

Note to reviewers, first commit is from https://github.com/cilium/cilium/pull/8453
Fixes https://github.com/cilium/cilium/issues/7954
Waiting for #8453 to be merged first.

This change is

test-me-please

test-me-please

Coverage increased (+0.1%) to 44.35% when pulling 4cf1225983233b6abc1ffae410e7065773fd0212 on pr/implementing-external-k8s-svcs into 028a814267c61ef64722426536836bc7ed1425e0 on master.

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please

test-me-please


Moved from elasticsearch-py to opensearch-py

Description
Just replaced the elasticsearch imports and classes with opensearch.
This change does not change names in the code to favour opensearch.
However, it seemed only right to replace the comments to have opensearch in them.
Moved to opensearch 1.x as per the compatibility table.

Motivation and Context
Since the use of elasticsearch with the CM is now deprecated
Opensearch-py (atleast 1.x) works with elasticsearch as well
Notion

How Has This Been Tested?

Checklist

[ ] I have updated the documentation accordingly.
[x] All new and existing tests passed.

Do we want to remove the mention of the Elasticsearch from the README since this drops support for it?

There is a similar ticket to remove all elasticsearch items that I will be
doing next
On Thu, Apr 20, 2023, 18:21 Porin @.***> wrote:

Do we want to remove the mention of the Elasticsearch from the README
since this drops support for it?
—
Reply to this email directly, view it on GitHub
https://github.com/ThePalaceProject/circulation/pull/1018#issuecomment-1516272726,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AVRR5S5U5ELPVG2I7EWA753XCEWMNANCNFSM6AAAAAAXCMBKIM
.
You are receiving this because you were assigned.Message ID:
@.***>


6608 allow superadmin search by username

This is needed for user metadata fetching when id is missing.

@ethervoid CR this, please.

:+1:


Generalize

Readme and title are expressvnp specific, but work for many vpn's (list of supported ones in haugene's project).
This repo should become generic to explain the prodecure and code for any supported vpn, not only expressvpn.

Start with surfshark, which also has a page for manual setup, where .ovpn files can be downloaded:
https://my.surfshark.com/vpn/manual-setup/main/openvpn
Then check for similarities with express vpn and if generalization is feasible.


Diff helm templates render between 2 commits

As a .helm templates writer I want to have an ability to diff render of templates between two commits after refactoring of templates to check render output for changes.

Now it can be done with
werf render > /tmp/head.yaml
werf checkout oldcommit
werf render > /tmp/oldcommit.yaml
diff /tmp/oldcommit.yaml /tmp/head.yaml


Use cached state to determine node role

This commit introduces a new fact, pe_status_check_role, to determine
a node's role in a PE infrastructure.  We do this using the list of
classes in the classfile setting and checking for certain PE profile
classes.

@m0dular nifty, ill run it through my PE_XL and see if it does the job, ill try and exercise  some failure senarios

gonna mark this for 2.0 release since it changes how it works


Create pop up containing entire task name when hovering over a task in both project and task list CVAT UI

My actions before raising this issue

[x] Read/searched the docs
[x] Searched past issues

Steps to Reproduce (for bugs)

Create a long task name (over 75 characters) and notice how it gets cut off in task page view

Expected Behaviour

If you hover your cursor over task name in the task list or inside project a pop up will appear showing full name of task. If there is a long task name it can be hard to read the tasks quickly
Current Behaviour

Doesn't show entire character length of task name for particularly long names
Possible Solution

Create a pop up window when hovering over name, particularly if the name is long. For example, my current tasks names are roughly ~75 characters
Context

I typically name my batches the name of the .bag file they originated from and then ending in batch_x. sometimes when my log names are long it can be difficult to quickly read the batch number when looking through task list
Your Environment

Git hash commit (git log -1):
Docker version docker version (e.g. Docker 17.0.05):
Are you using Docker Swarm or Kubernetes?
Operating System and version (e.g. Linux, Windows, MacOS):
Code example or link to GitHub repo or gist to reproduce problem:
Other diagnostic information / logs:
Logs from `cvat` container

I would like to add this tooltip to the task card so that when the name is long then hovering over it will show the name in a tooltip and this tooltip will be by default it will be there even for short named tasks. @bsekachev can I work on it.

@syedbarimanjan Community contributions are always welcome.


@angular-devkit/build-angular v17.3.3 uses webpack-dev-server v4.15.1 which is scanned as vulnerability

Command
version
Is this a regression?

[ ] Yes, this behavior used to work in the previous version

The previous version in which this bug was not present was
No response
Description
webpack-dev-server is scanned as a vulnerability. see reference below.

I've already updated @angular-devkit/build-angular to v17.3.3 but it still uses 4.15.1

I've also tried npm audit fix, it didn't work.
Minimal Reproduction
use @angular-devkit/build-angular to v17.3.3 and it will install v4.15.1
Exception or Error
No response
Your Environment
Angular CLI: 17.3.3
Node: 18.16.0
Package Manager: npm 9.5.1
OS: win32 x64

Angular: 17.3.3
... animations, cli, common, compiler, compiler-cli, core, forms
... language-service, localize, platform-browser
... platform-browser-dynamic, platform-server, router

Package                         Version
---------------------------------------------------------
@angular-devkit/architect       0.1703.3
@angular-devkit/build-angular   17.3.3
@angular-devkit/core            17.3.3
@angular-devkit/schematics      17.3.3
@angular/cdk                    16.2.14
@angular/material               16.2.14
@schematics/angular             16.2.13
rxjs                            7.8.1
typescript                      5.2.2
zone.js                         0.14.4

Anything else relevant?
No response

Hi, this is a duplicate of #27334.


[Feature Request]: Development and Testing of Quantum Error Correction Schemes with SNAILConcat Encoding

Feature Description
Enhance our quantum simulations with advanced QEC methods, focusing on SNAILConcat encoding and syndrome detection as demonstrated in 03_noisy_erasure_detect.ipynb.
Objectives

Refactor Notebook Logic: Modularize the notebook's logic for better reusability, including qutrit setup, iSwap_ee application, and projective measurements.
Test Encodings and Syndrome Gates: Test and assess SNAILConcat and other encodings, emphasizing phase-parity syndrome detection methods.
Simulator for Fidelity Assessment: Use the simulator to compare fidelity of syndrome detection methods, based on observable measurements over time.

Implementation Steps

[ ] Modularize Notebook Code: Transform code from 03_noisy_erasure_detect.ipynb into reusable modules.
[ ] Testing Framework: Develop a testing framework in the simulator for QEC strategy evaluation.
[ ] Simulator Testing: Run simulations to test and analyze SNAILConcat encoding and syndrome detection methods.
[ ] Update Documentation: Document new modules and update notebooks to demonstrate new QEC capabilities.

First, we need to abstract this out to a circuit level. So I can describe a high level of the operations, and we can group them by timeslices and make calls to TrotterGroup.apply()
Second, we need some way to take a circuit defined on logical qubits, and "expand" it to an encoded circuit where each logical operation is actually on a larger code (think phase-repetition code for example). This also will interleave at some variable rate the syndrome checks.
Third, what I'd like to do is be able to specify 0. an encoded initial state, 1. syndrome operations, 2. and operations to perform on classically conditioned measurement results. These are the different ways we might specify an encoding.
Fourth, given the ability to transpile circuits into a protected circuit. Then we should be able to run T1 and T2 experiments on it. I would like to calculate the effective new T1/T2 when the qubit is in an encoded state.
We should use Qiskit as much as we can but qiskit does not allow qutrits. So perhaps our logical experiments can be defined in Qiskit, but when we expand them into encoded circuits we will need to rely more on Qutip. I'm not sure exactly yet how we will do this....

[ ] Parameterized Gates in the Encoding Transformer
[ ] Convert TrotterSim into a subclass of QasmSimulatorPy (allows usage like a standard backend)


bounding box data after selective search is too large to store

hi hologerry,
after using your 3-step selective search tool, I found the obtained bbox data is about 2.3T for imagenet, which is hard to store. Is this data size normal or I need some other important operation to filter the bbox?

Hi @antony0621 , looks like you are missing something...
On my machine, the .json file is only 1.1G after post processing.

Hi @antony0621 , looks like you are missing something... On my machine, the .json file is only 1.1G after post processing.

Thanks for your reply. So I guess the obtained .pkl file should be deleted after the post-processing.

Yeah, remove .pkl files when you obtained the .json file.

Even as intermediate result, 2.3T is still too larget. Is there any chance you can share the processed json for ImageNet?

The .json file is shared in the Google drive folder now. Thanks!


Update web config file with new scale unit id based on user config changes

Update web config file with new scale unit id based on user config changes

Is this for restore? Does DbSync need to run after changing scale unit ID? Not sure I understand exactly why or when this feature is needed.

Is this for restore? Does DbSync need to run after changing scale unit ID? Not sure I understand exactly why or when this feature is needed.

@AndreasHassing Yes, this is for restore. This step will be done before even importing the DB and that's why we shouldn't be doing DBsync at this step. Please see here the scenario for UAT to Devbox(Both CnE).
Importing the DB should be followed by DBsync.
Please let me know if you have any concerns.

Is this for restore? Does DbSync need to run after changing scale unit ID? Not sure I understand exactly why or when this feature is needed.

@AndreasHassing Yes, this is for restore. This step will be done before even importing the DB and that's why we shouldn't be doing DBsync at this step.

I'm wondering if it makes sense to have this action from the tool stand-alone, or if it should be an integrated part of restore? You may have a design in mind that puts my concerns to rest, if so feel free to merge this 😊.

Is this for restore? Does DbSync need to run after changing scale unit ID? Not sure I understand exactly why or when this feature is needed.

@AndreasHassing Yes, this is for restore. This step will be done before even importing the DB and that's why we shouldn't be doing DBsync at this step.

@Omaaarz: I'm wondering if it makes sense to have this action from the tool stand-alone, or if it should be an integrated part of restore? You may have a design in mind that puts my concerns to rest, if so feel free to merge this 😊.

I'm trying to have the experience here as close as possible to steps needed in SUM for (Prod -> UAT) operations. That's why I'm keeping it as a standalone step now.


[docker-image] Should push docker image with fixed schedule.

What changes were proposed in this pull request
Issue Number: close #1898

Brief change log
Modify tag to lastest and add fix schedule to deploy lastest images.

Verifying this change

This change is a trivial rework / code cleanup without any test coverage.
(or)
This change is already covered by existing tests, such as (please describe tests).
This change added tests and can be verified as follows:

Does this pull request potentially affect one of the following parts

Dependencies (does it add or upgrade a dependency): (yes / no)

Not ready to review, please don't merge.


Q&A Tooling on Composite Data

This document mentions that Q&A Tooling is only supported in Import mode. But, based on testing, it also works on Direct Query data.

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

ID: 63687608-fb0f-31f8-a1d2-dc35aa361f70
Version Independent ID: 2e2cde8b-b59e-1577-4c43-6ad5cd7e2ef1
Content: Intro to Q&A tooling to train Power BI Q&A (preview) - Power BI
Content Source: powerbi-docs/natural-language/q-and-a-tooling-intro.md
Service: powerbi
Sub-service: powerbi-ai
GitHub Login: @maggiesMSFT
Microsoft Alias: maggies

Thanks for your comment, @rjagdon. This issue has been assigned to the doc author for review.

Hi @rjagdon, I'm moving this issue to our work item backlog for better consideration and tracking, and closing it here in the meantime. Thanks for providing your feedback!


Fix panic viewing source if crate failed to build

Closes https://github.com/rust-lang/docs.rs/issues/517
Gives a 404 if you try to view the source instead of panicking

r? @pietroalbini

This looks great! There is still the problem that the "Source" tab is present even when we know it will lead to a 404, but I opened https://github.com/rust-lang/docs.rs/issues/520 to follow up with that.


Translations update from Hosted Weblate

Translations update from Hosted Weblate for Maccy/Main menu.
It also includes following components:

Maccy/Settings / Ignore

Maccy/Preview popup

Maccy/Settings / Appearance

Maccy/Settings / Advanced

Maccy/Settings / Storage

Current translation status:

Hungarian and Latvian are merged in 1e87bffd23f7130b1f9b52a29994f85f3b954e2a and 4feaf5acf21596f23e8249cb749a15874e9b36da respectively. Other incomplete translations are going to be reset from the Weblate due to changes in the localization files location in Maccy 2.0.


zephyr-dom0-xt: Add vchan simple echo server

Add vchan simple echo server. Server opens channel and all incoming data will be send back.

Fixed comments

There should readme update with full example as from dom0 side as from doimu side

Updated README.rst

LGTM Acked-by: Oleksii Moisieiev<EMAIL_ADDRESS>

Rebased to main

Reviewed-by: Artem Mygaiev<EMAIL_ADDRESS>


Can you explain why BetterBehaviour is deprecated?

I've been using VFW for a while and it's been my favourite asset. Recently, in my new project I updated to the current version and found out that BetterBehaviour is deprecated along with all the serialization.
Quote

"Please use BaseBehaviour instead. Custom serialization hacks in Unity is fundamentally broken and leads to numerous headaches."

I read through the readme and there has been no updates regarding this deprecation, or why it has been deprecated. Can I get an explaination? I love the asset.

I've talked a lot about this.
http://forum.unity3d.com/threads/open-source-vfw-135-drawers-save-system-and-full-exposure.266165/page-10#post-2540908
https://github.com/vexe/VFW/issues/84
The runtime/serialization portion of my framework was a very, very bad idea. I had no idea at the time of writing that it is. When I first wrote the serialization part of the framework to support OOP features like polymorphic serialization, generics, interfaces, properties, etc I thought it was 'cool', and useful (in theory).
 A lot of us came to Unity/game programming from pure business/.NET programming backgrounds (like me) and we found that Unity doesn't support all their languages features, so we start to look for alternatives/hacks/plugins to compensate for the missing features, that's how VFW was born, and how most people came across it. It supported almost every aspect of OOP, not knowing how bad and destructive object-oriented programming is.
My intention of releasing the plugin for free is to help people out. It bothers me to hell and back that it's actually doing the EXACT opposite to them, without them knowing it. As of VFW 1.3.5, I have officially deprecated the entire runtime/serialziation portion of the framework, leaving only the stuff that proved to be useful: the editor/drawers stuff.
The story in short is:

Serialization is a fundamentally broken thing in Unity, you do not want to even deal with it let alone hack systems around it. At work, i developed a custom data format where we don't even have a single serializable field or class, we never rely on Unity's .scene file to save our data. We use the editor as a window to our data, not as a tool to create data.

If you do try to hack around it and implement custom serialization, it's going to be SUPER slow, unreliable (cause it's based on top of a broken foundation) and very sketchy.

Object oriented stuff is bad, super bad. Especially in games where you want everything to be as simple as possible. With a OOP philosophy/mindset you end up with super highly over-engineered code with abstractions created just for the sake of abstractions, objects just for the sake of objects, decoupled systems that didn't need to be decoupled, indirect communications that should have been direct, general-purpose solutions that should have been a lot more concrete and specific, a code flow that's extremely hard to follow and understand, data structures and complexity that is split horizontally across the code base which makes it super hard to reason about the cost of changing things, it's a complete cluster-fuck, it's like when you combine "suck" with "suck" to get a poop sauce. The only thing OOP is good at is sounding like it's a good thing and giving users broken promises.

VFW serialization gave the user the ability to go all crazy, you could have an array of lists of interfaces nested in a dictionary and it would serialize! Think about that for a minute, yes it sounds "cool". But in reality, you want your core data structures to be as simple as possible. Having the ability to do that craziness + the fact that users using this are object-oriented people = complicated poop sauce recipe of doom turd. If you're serious about game programming, I would highly recommend you that you get object-oriented programming out of your head, cause trust me, it's nothing but a waste of time. Eventually most programmers quit it, it's just a matter of how many years of your life you'll waste to realize it's a bad idea.

This was my 2 cents on the situation, take it with a grain of salt if you wish, but that was my experience and a lot of fellow developers I know. When I see others doing the same kind of programming I used to do, it makes me sad, and if they were my users, it makes me angry cause I helped participate and facilitate them doing those things. Then I try to talk to them and hopefully correct things, cause I was a victim of OOP lies too.

A lot of programmers have recently woken up thanks to Casey's Handmade Hero movement (which I highly recommend) - One of them is Brian Will who made a couple of controversial videos about the subject which I quite liked (https://www.youtube.com/watch?v=QM1iUe6IofM).
I've been programming in a procedural style ever since. You could do it in C# too, via partial classes to get fake a global scope. Very simple programming, data (classes/structs with no methods) and functions that manipulates the data.

Thank you for the long thoughtful response. Yes, I came from a business development background also, and that's when I used to use VFW. Now I'm a big fan of ECS design, I guess maybe I should change the way I develop. I suggest adding this response to the readme file of this project.

Done.

Again, thanks for your intentions and I can't agree on how amazing data driven design is.
Currently, one of my existing projects is based on your asset (BetterBehaviour). Is your depreciation purely because of the code design aspect, or is there something that will break on me?

You should be able to use 1.3.4 just fine, which was a relatively solid and mostly bug-free version. But remember you will get those performance hits when you Instantiate BetterBehaviours due to the custom serialization that happens there. Just profile and make sure it doesn't harm your game.

At work, i developed a custom data format where we don't even have a single serializable field or class, we never rely on Unity's .scene file to save our data.

You never rely on Unity .scene file to save any data?
Never use any serializable fileld values in your Monobehaviour component?
Never save any references to GameObjects in a scene? You build/save/reload the GameObject hierarchy in your scene by yourself?
I cannot imagine how your solution looks like. Maybe I misunderstood what you mean.

I am also interested to know what you think about dependency injection and specifically
https://github.com/mlp1802/PowerInjectUnity
as well as what you think about reactive extensions
https://github.com/neuecc/UniRx

I spent a long time looking for ways to serialize all those crazy data structures, and it never occurred to me that it could be a terrible idea. Thanks for your work and that life lesson.

I love OOP, there's really nothing wrong with it - I use MVC pattern all the time so people who use my editors to create and modify data can use that data with either monobehaviours or DOTS. I haven't done anything with this system yet and I might stay away after some of the things I've read here. It is a nice idea, though.


Raster.reproject returns None if dst_bounds is set

This is because of an improper use of the Raster.crop method, which does not return a data set but update in place.
https://github.com/GlacioHack/GeoUtils/blob/68542e008d685fb9a01ae57d4e4f2befdf2120ae/geoutils/georaster.py#L425

We could add an update=True parameter to Raster.crop(), which would update in-place if True, or return a new Raster object if False.


[NEMO-257] Local combining only for BinaryCombineFn

JIRA: NEMO-257: Local combining only for BinaryCombineFn
Major changes:

Change the Beam frontend to apply local combining only on BinaryCombineFn

Minor changes to note:

N/A

Tests for the changes:

Existing integration tests pass

Other comments:

N/A

Closes #257

Combiner should be commutative/associative, and thus local combining should be applied for all combiners. Implementing the commutative/associative combiners is user's responsibility.
https://beam.apache.org/documentation/programming-guide/#combine

When you apply a Combine transform, you must provide the function that contains the logic for combining the elements or values. The combining function should be commutative and associative, as the function is not necessarily invoked exactly once on all values with a given key. Because the input data (including the value collection) may be distributed across multiple workers, the combining function might be called multiple times to perform partial combining on subsets of the value collection. The Beam SDK also provides some pre-built combine functions for common numeric combination operations such as sum, min, and max


Locked installer

I was trying to install Libreoffice and cancelled it in the midle but now the installer is locked forever and it says
' Another installation is still running. ' how can i get out from this ? And now I am not able to install any other apps too.

cancelled it in the midle

We need to find a way to prevent users from interrupting running installs, as it can lead to situations like this.
Do you still get this after a reboot?

Yes

https://forums.freebsd.org/threads/pkg-problem.56297/ suggests pkg clean.

pkg clean has no effect on the installer.
On Sun, 2 Jul 2023, 19:45 probonopd, @.***> wrote:

https://forums.freebsd.org/threads/pkg-problem.56297/ suggests pkg clean.
—
Reply to this email directly, view it on GitHub
https://github.com/helloSystem/ISO/issues/494#issuecomment-1616678540,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAHHHXIZONKQFXYZT4RCWLXOF7ANANCNFSM6AAAAAAZYI47Z4
.
You are receiving this because you authored the thread.Message ID:
@.***>

I agree with him, we need to put a cancel button on that thing.

A running installation should not be interrupted because it can apparently destroy the package database.

I tried to install from command line using pkg install command, interrupted
the process by ctrl+c. Then tried to install the same package, the package
installed without any issue.
On Sun, 30 Jul 2023, 11:00 probonopd, @.***> wrote:

A running installation should not be interrupted because it can apparently
destroy the package database.
—
Reply to this email directly, view it on GitHub
https://github.com/helloSystem/ISO/issues/494#issuecomment-1657047368,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AGAHHHS32FLAFXCAN2WVZPTXSXWPTANCNFSM6AAAAAAZYI47Z4
.
You are receiving this because you authored the thread.Message ID:
@.***>

If there is a termination during the download process (or if the network is suddenly disconnected for one minute, the user is notified whether to try again, and then the user ends the program), then reverse the installation and remove the downloaded package. Restore the system instead of just shutting down and ending the program,


Oops; flutter has exited unexpectedly: "Invalid argument(s): Invalid type for "path": null".

flutter version:
flutter --version
Flutter 2.0.2 • channel stable • https://github.com/flutter/flutter.git
Framework • revision 8962f6dc68 (7 days ago) • 2021-03-11 13:22:20 -0800
Engine • revision 5d8bf811b3
Tools • Dart 2.12.1

flutter create myapp
Creating project myapp...

Oops; flutter has exited unexpectedly: "Invalid argument(s): Invalid type for "path": null".
A crash report has been written to C:\as\projects\Clip\DigitalClipboard_Backend\flutter_03.log.
This crash may already be reported. Check GitHub for similar crashes.
https://github.com/flutter/flutter/issues?q=is%3Aissue+Invalid+argument%28s%29%3A+Invalid+type+for+%22path%22%3A+null

To report your crash to the Flutter team, first read the guide to filing a bug.
https://flutter.dev/docs/resources/bug-reports

Create a new GitHub issue by pasting this link into your browser and completing the issue template. Thank you!
https://git.io/JmwKY

flutter_03.log

flutter_03.log is attached

Closing this as duplicate of https://github.com/flutter/flutter/issues/56811
As a workaround, try this and see if it works.


Graph API capability

Is your feature request related to a problem? Please describe.
The ownCloud Web client needs to know whether or not it should query the graph api or a different api (e.g. graph or OCS for obtaining names of groups of a user).
Describe the solution you'd like
Minimal solution: introduce a new capability object graph with props enabled and version, as already done for e.g. spaces capability.
More advanced solution: inside the graph capability from the minimal solution we could add a list of available endpoints. Not sure if that makes sense.
Describe alternatives you've considered
None. Happy about ideas.

I would like to see a discovery mechanism for the graph endpoint that works similar to the openid connect discovery: https://openid.net/specs/openid-connect-discovery-1_0.html
When the user enters his username or email in the login form a discovery is used to find the IdP as well as the graph endpoint. The graph endpoint and its capabilities can then be described in the same way as IdP metadata: https://openid.net/specs/openid-connect-discovery-1_0.html#ProviderMetadata
Now, the discovery is optional and the default url could be our old status.php or capabilities endpoint, but I think it makes more sense to use https://cloud.ocis.test/graph/v1.0/$metadata as that holds all metadata for an odata endpoint: https://docs.microsoft.com/en-us/graph/traverse-the-graph
You can take a look at https://graph.microsoft.com/v1.0/$metadata to see the ms graph metadata.
To answer the original question: for now use a config property for the web ui that defines how the web ui should decide:
for oc10 deployments
"discovery": {
  "oidc": {"static": "https://idp.ocis.test"}, // or relative urls?
  "capabilities": {"static": "https://oc10.ocis.test"},

for ocis
"discovery": {
  "oidc": {"static": "https://idp.ocis.test"},
  "graph": {"static": "/graph/v1.0"},
}

in the future
"discovery": {
  "oidc": "auto",
  "graph": "auto",
}

thoughts?

You can take a look at https://graph.microsoft.com/v1.0/$metadata to see the ms graph metadata.

Did that. I am not sure what to say ... it's overwhelming.
I am not exactly sure how that would provide the information we actually need though. Ok it exposes a list of all the types and relations (and more) that are supported by a certain API.
But what the WebUI additionally needs is e.g. possibility to figure out which user properties are readonly and which are writeable in the current configuaration. So when e.g. an external IDM is used mark all the user properties apart from accountEnabled as readonly.

Not relevant anymore, since web is only talking with ocis by now 🥳


⚠ ClamAV has degraded performance

In 958cd63, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 495 ms

Resolved: ClamAV performance has improved in 7fd4aec.


Add getInstances and setInstances AbstractContainerConfigurator

Q
A

Is bugfix?
❌

New feature?
✔

Breaks BC?
❌

Fixed issues

This additional functionality allows for non-standard applications to interfere with the work of Yiisoft\Di\Container. Now there is a set method that allows you to interfere with the work of Yiisoft\Di\Container, so this new functionality does not threaten anything bad.
class TestClass1
{
    public function __construct()
    {
        echo "\n*** Create TestClass1 ***\n\n";
    }
}

class TestClass2
{
    public function __construct()
    {
        echo "\n*** Create TestClass2 ***\n\n";
    }
}

class TestContainerConfigurator extends Yiisoft\Di\AbstractContainerConfigurator
{
    private array $ids;

    public function __construct(array $ids)
    {
        $this->ids = $ids;
    }

    public function reset(Container $container): void
    {
        $container->setInstances(\array_fill_keys($this->ids, null), true);
    }
}

$config = [
    TestClass1::class => TestClass1::class,
    TestClass2::class => TestClass2::class,
    TestContainerConfigurator::class => [
        '__construct()' => [[
            TestClass2::class,
        ]],
    ],
];
$providers = [];
$container = new Container($config, $providers);

var_dump($container->get(TestClass1::class));
var_dump($container->get(TestClass2::class));
echo "\n=== Next Request ===\n\n";
$container->get(TestContainerConfigurator::class)->reset($container);
var_dump($container->get(TestClass1::class));
var_dump($container->get(TestClass2::class));

We get the following output:
*** Create TestClass1 ***

object(TestClass1)#8 (0) {
}

*** Create TestClass2 ***

object(TestClass2)#9 (0) {
}

=== Next Request ===

object(TestClass1)#8 (0) {
}

*** Create TestClass2 ***

object(TestClass2)#4 (0) {
}

This functionality may help to avoid the introduction into a classic php web application of the code necessary for the application to work under conditions of multiple requests (such as RoadRunner), since there will be no need to clear the data after processing the request.

Rather you should add the reset method to AbstractConfigurator or create a separate ResetableContainer with the public reset method.

Rather you should add the reset method to AbstractConfigurator or create a separate ResetableContainer with the public reset method.

This can be applied not only for this.
The ResetableContainer implementation can be tricky and come with pitfalls.

This idea is definitely interesting...

This can be applied not only for this.

Where are other use cases?

Rather you should add the reset method to AbstractConfigurator or create a separate ResetableContainer with the public reset method.

This can be applied not only for this.

Your implementation with setInstances and getInstances is a very bad idea. Instances management must be encapsulated inside Container class. No one should know about instances inside the container. External instances management leads to container corruption.

The ResetableContainer implementation can be tricky and come with pitfalls.

I think, you just don't understand ResetableContainer principle. When you call reset method of ResetableCOntainer, the container just looks over the instances and if an instance implements ResetableInterface then reset method of this instance is called.

I think, you just don't understand ResetableContainer principle. When you call reset method of ResetableCOntainer, the container just looks over the instances and if an instance implements ResetableInterface then reset method of this instance is called.

That would require proxy-classes, right? Because we can't require user to implement a certain interface. Especially if it's vendor code.

Your implementation with setInstances and getInstances is a bad idea. Instances management must be encapsulated inside Container class. No one should know about instances inside the container. External instances management leads to container corruption.

If we want to damage the container, we can pass a closure to it through the set method. Thus, this functionality does not pose any danger, but it provides additional opportunities.

I think, you just don't understand ResetableContainer principle. When you call reset method of ResetableCOntainer, the container just looks over the instances and if an instance implements ResetableInterface then reset method of this instance is called.

For example, I want to write a microservice using third-party code, I do not want to adapt it for yii3, which may not be possible at all because of the final classes. I just want to delete some objects without any hassle.
Perhaps I want to cache the objects I initialized and install cloned copies for each separate cycle. I can write my own container for this, but we can make life easier for people without understanding the security level of the framework.

This idea is definitely interesting...

This can be applied not only for this.

What are other use cases?

You can think of many different options. To summarize them, here are some of them.

Fast removal of some of the previously created objects from the container.
Pre-initialization of objects and the use of their cloned copies in a loop.
Obtaining a list of created container objects for debugging purposes.

When developing a microservice, we can focus on developing the microservice itself, and not on adding classes to the architecture of the framework to implement resettable states.

Closing since resetter is now implemented.