DrCCTProf requires Old Versions of CMake, GCC

sh build.sh fails when using cmake 13.17.3 and gcc 10.
This is related to two issues in building dynamorio:
one with cmake,and one with gcc 10.
To solve this on my computer, I had to

Wget an old version of cmake and add it to my path:

wget https://github.com/Kitware/CMake/releases/download/v3.17.3/cmake-3.17.3-Linux-x86_64.sh
export PATH=$(realpath ./cmake-3.17.3-Linux-x86_64/bin):$PATH

And edit scripts/build_tool/make.sh to use the option -DCMAKE_C_COMPILER=gcc-9 (instead of -DCMAKE_C_COMPILER=gcc) on both line 45 and line 47.
After those changes were made, I was able to compile DrCCTProf using sh build.sh.
Thanks :)

Could you provide us with complete information about the error you encountered? We recommend you use the template below to report the issue. That will help us to solve your problems quickly.

Describe the error
A clear and concise description of what the error is.
Screenshots or Pasted Text
Please provide screenshots or pasted texts of logs/cmake.log.$TIMESTAMP and logs/make.log.$TIMESTAMP.
For text, please cut and paste the text here, delimited by lines consisting of three backtics to render it verbatim, like this:

```
paste output here
```

Information on your system:

CPU Info: [eg. arch@aarch64 model_name@ThunderX2_99xx]
System Version: [e.g. Ubuntu14.04]
Depand Package Version: [e.g<EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS><EMAIL_ADDRESS>
Additional context
Add any other context about the problem here.

Describe the error
Using newer versions of gcc and cmake result in DrCCTProf failing to build in the "make" stage.
Screenshots or Pasted Text
When using cmake 3.18.1, when I run the following code:
sh build.sh

the "make" log will  contain this error:
[  4%] Building ASM object core/CMakeFiles/dynamorio_static.dir/arch/x86/x86.asm.o
cd /dynamorio/build/core && /usr/bin/cpp  -O2 -g -DNDEBUG -fPIC -I/dynamorio/core/drlibc -I/dynamorio/core/ir/x86 -I/dynamorio/core/arch/x86 -I/dynamorio/core/unix -I/dynamorio/core/ir -I/dynamorio/core/arch -I/dynamorio/core/lib -I/dynamorio/build -I/dynamorio/build/include/annotations --defsym STATIC_LIBRARY -DCPP2ASM -E /dynamorio/core/arch/x86/x86.asm -o CMakeFiles/dynamorio_static.dir/arch/x86/x86.asm.o.s
cpp: error: STATIC_LIBRARY: No such file or directory
cpp: warning: '-x c' after last input file has no effect
cpp: error: unrecognized command line option '--defsym'
cpp: fatal error: no input files
compilation terminated.
core/CMakeFiles/dynamorio_static.dir/build.make:838: recipe for target 'core/CMakeFiles/dynamorio_static.dir/arch/x86/x86.asm.o' failed
make[2]: *** [core/CMakeFiles/dynamorio_static.dir/arch/x86/x86.asm.o] Error 1
make[2]: Leaving directory '/dynamorio/build'
CMakeFiles/Makefile2:751: recipe for target 'core/CMakeFiles/dynamorio_static.dir/all' failed
make[1]: *** [core/CMakeFiles/dynamorio_static.dir/all] Error 2
make[1]: Leaving directory '/dynamorio/build'
Makefile:170: recipe for target 'all' failed
make: *** [all] Error 2

If I then downgrade to an older version of cmake, and using my system version of gcc (10.1.0), I get the following error in the make log:
In file included from dynamorio/tools/drdeploy.c:67:
dynamorio/tools/drdeploy.c: In function ‘append_client’:
dynamorio/libutil/dr_frontend.h:108:23: error: ‘snprintf’ argument 4 may overlap destination object ‘client_paths’ [-Werror=restrict]
  108 | #    define _snprintf snprintf
dynamorio/tools/drdeploy.c:751:9: note: in expansion of macro ‘_snprintf’
  751 |         _snprintf(client_paths[index], BUFFER_SIZE_ELEMENTS(client_paths[index]), "%s",
      |         ^~~~~~~~~
dynamorio/tools/drdeploy.c:737:20: note: destination object referenced by ‘restrict’-qualified argument 1 was declared here
  737 |               char client_paths[MAX_CLIENT_LIBS][MAXIMUM_PATH],
      |               ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

editing scripts/build_tool/make.sh to change -DCMAKE_C_COMPILER fixes this.
Information On Your System

CPU Info: x86_64 Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz
System Version: Arch Linux
Dependent package versions<EMAIL_ADDRESS><EMAIL_ADDRESS>
Additional Context
The main reason I am reporting this issue here is because you have to edit the build scripts to use gcc < 10, when I would expect setting $CC and $CXX to work.

After 65f224039f10939cf350b80468d82d239586c9ff I only need to downgrade cmake. My error is the same as @jsalzbergedu's.
Information on your system:

CPU Info: Intel(R) Core(TM) i5-8250U CPU @ 1.60GHz
System Version: Arch Linux
Dependent Package Version<EMAIL_ADDRESS><EMAIL_ADDRESS>

I run into the same error as above with<EMAIL_ADDRESS>on full updated Arch.
Building the tool on a mounted volume with dockerized Ubuntu 18.04 image seemed to be a good middle ground for me.
I have been using docker run -v /home/quantatic/DrCCTProf:/DrCCTProf -it ubuntu:18.04 /bin/bash to build the binary, and then running the binary from within my host system.

I run into the same error as above with<EMAIL_ADDRESS>on full updated Arch.
Building the tool on a mounted volume with dockerized Ubuntu 18.04 image seemed to be a good middle ground for me, as a temporary fix.
I have been using docker run -v /home/quantatic/DrCCTProf:/DrCCTProf -it ubuntu:18.04 /bin/bash to build the binary, and then running the binary from within my host system.

Thanks all!  Let me introduce my solution.
To support NinJa, cmake 3.18+ changed generated defined flags for asm compiling. Specifically, it replaces "-D" with "--defsym " in generated flags.make.
Using cmake3.18+ to config dynamorio will generate flags define files that contain "--defsym " in three module's dir:

${build path}/core/CMakeFiles/dynamorio.dir
${build path}/core/CMakeFiles/dynamorio_static.dir
${build path}/ext/drwrap/CMakeFiles/drwrap.dir

And Dynamorio can not build the above three modules correctly.
Without changing the compilation architecture of dynamorio, I fix this error by using a temp solution that is just running a script to replace "--defsym " to "-D" between cmake and make.
Now pulling the lastest commit in master, you all can use cmake 3.18+ to configure our program. And if future dynamorio support gcc10+ and cmake3.18+, I will remove the fix patches (patch 1, patch 2).
Also, if you want to develop a new client, I recommend using gcc <= 9 and cmake <= 3.17 to build our tool. It will ensure you build a stable dynamorio.

Thanks all! Let me introduce my solution.
To support NinJa, cmake 3.18+ changed generated defined flags for asm compiling. Specifically, it replaces "-D" with "--defsym " in generated flags.make.
Using cmake3.18+ to config dynamorio will generate flags define files that contain "--defsym " in three module's dir:
* ${build path}/core/CMakeFiles/dynamorio.dir

* ${build path}/core/CMakeFiles/dynamorio_static.dir

* ${build path}/ext/drwrap/CMakeFiles/drwrap.dir

And Dynamorio can not build the above three modules correctly.
Without changing the compilation architecture of dynamorio, I fix this error by using a temp solution that is just running a script to replace "--defsym " to "-D" between cmake and make.
Now pulling the lastest commit in master, you all can use cmake 3.18+ to configure our program. And if future dynamorio support gcc10+ and cmake3.18+, I will remove the fix patches (patch 1, patch 2).
Also, if you want to develop a new client, I recommend using gcc <= 9 and cmake <= 3.17 to build our tool. It will ensure you build a stable dynamorio.

Thank you for this fix idea.
Command to replace defsym to D in all files (run from build directory):
grep -rl '\-\-defsym' . | xargs -I% sed -i 's|--defsym|-D|g' %


Is it possible to output (x,y) without the z coordinate

Have I written custom code (as opposed to using a stock example script provided in MediaPipe)
None
OS Platform and Distribution
iOS, Android
MediaPipe version
0.10.7
Bazel version
6.4.0
Solution
Pose
Programming Language and version
swift
Describe the actual behavior
I can output world coordinate(x,y,z) correctly
Describe the expected behaviour
I don't need z coordinate. If I can get rid of z and save some coputing power, that will help.
Standalone code/steps you may have used to try to get what you need
No response
Other info / Complete Logs
No response

Hi @fchen09,
Certainly. Could you elaborate on the platform to which you are referring—whether it be Python, iOS, Android, JavaScript, or C++? Additionally, if you can pinpoint the specific example from the documentation, it would be helpful for us to better understand the issue.
Thank you!

I made an iOS framework. and I have written a func to obtain x, y, z, visibility, and presence
    const auto& landmarks = packet.Get<::mediapipe::LandmarkList>();
    NSMutableArray<Landmark *> *result = [NSMutableArray array];
    for (int i = 0; i < landmarks.landmark_size(); ++i) {
        Landmark *landmark = [[Landmark alloc] initWithX:landmarks.landmark(i).x()
                                                       y:landmarks.landmark(i).y()
                                                       z:landmarks.landmark(i).z()
                                              visibility:landmarks.landmark(i).visibility()
                                              presence:landmarks.landmark(i).presence()];
        [result addObject:landmark];
    }

I think it just outputs the results explicitly. However, I think the backend still calculated the z, right?

We currently do not have this option. If there is significant demand, we can revisit. We would need some indication that this does improve performance though.
Closing this for now as I don't anticipate much demand but we can re-open if needed.


oslc: slight adjustment to assignment typechecking

Consider int=float to be a warning, not an error.
This is partly because C allows it and we ran accross some
examples where it seems more strict than necessary.
(Of course it works without warning if you use a cast, showing
that any trucation is intentional.)

LGTM2!


fix long fields.

Hey Timo,
Proto fileds with [jstype = JS_NUMBER] were documented as * @generated from protobuf field: [...] [jstype = JS_STRING];
This is fixed in string-format.ts.
While I was looking for the correct place to fix this I found some fishy code in interpreter.ts where the normal type (i.e. BigInt) is not taken into account. I am not sure if the change is correct as I don't know where/how to test this. I'm happy to work on the tests if you can give me some pointers.
Thanks,
Vic

Hey Vic,
thanks for the fix!
I have added some info about testing to CONTRIBUTING.
For a simple manual test, I would use the procedure described in "Testing the plugin". Locally change packages/plugin/spec/protobufts-plugin.spec.ts:
    let plugin = new ProtobuftsPlugin('test');
    let request = getFixtureCodeGeneratorRequest({
        parameter: 'long_type_string,optimize_code_size',
        includeFiles: [
            'msg-longs.proto',
        ]
    });
    let generatedFiles = plugin.generate(request);

    for (let f of generatedFiles) {
        console.log('-------------------------' + f.getFilename() + '-------------------------');
        console.log(f.getContent());
        console.log();
        console.log();
    }

Then run:
cd packages/plugin-framework
make build
cd ../plugin
make test

This will spit out the generated code for packages/test-fixtures/msg-longs.proto.
Adding a test case for the generated comment
I would add a spec in packages/plugin/spec/ based on the code above.
Then just search for the expected comment string in the generated code.
Adding a test case for interpreter
I have added a basic spec file for the interpreter.
It tests if JS_NUMBER was determined correctly.
Should be possible to add tests for other combinations of field option and plugin parameter.
Hope this helps to get you started. If you have any questions or something breaks let me know.

Thanks Timo for one more quick, clear and helpful answer.
I run into one issue when adding your code above in a test in the plugin spec:
it('should generate the correct comment', () => {
  // your code above
});

The error is:
1) protobuftsPlugin generates valid typescript for every fixture .proto msg-longs.proto
  - Failed: msg-longs.ts(179,44): error TS2737: BigInt literals are not available when targeting lower than ES2020.
  msg-longs.ts(179,65): error TS2737: BigInt literals are not available when targeting lower than ES2020.
  msg-longs.ts(179,84): error TS2737: BigInt literals are not available when targeting lower than ES2020.
  msg-longs.ts(179,103): error TS2737: BigInt literals are not available when targeting lower than ES2020.
...

the error didn't go away after I revert the code !
Is this error expected. I understand that ES2020 is required to compile TS code - is it also required to generated TS code ?
Any idea on why this error persists ?

protobufts-plugin.spec.ts generates code for all .proto files in test-fixtures and checks for compilation errors (by compiling the generated code with the typescript compiler, all in memory).
The error messages you get are printed in this line. The compiler is run with target ES2015 in the test case (see here).
bigint literals do not compile with target ES2015, they need target ES2020. The plugin is generating some bigint literals for some reason, and the compiler complains about them.
I have checked out your branch and do not get the errors, so I don't know what is going on, unfortunately. Do you have any other uncommitted changes / unpushed commits?
I suggest to change the compiler target of the test case to ES2020. This should remove the error messages.
By the way, I stumbled upon a bug with the jstype = JS_STRING field option when investigating this. See #28 and #29. So a big thanks already for bringing this up.

By the way, I stumbled upon a bug with the jstype = JS_STRING field option when investigating this. See #28 and #29. So a big thanks already for bringing this up.

Now you make me feel bad. I have sent a 10 line pull request and this made you:

write documentation,
add a spec,
fix a bug.

I am kidding by saying "make me feel bad".
I deeply appreciate your commitment to the project and your clear answers.  Kudos to you.
I'm going to take a deeper look at the test hopefully today.
Thanks.

So my error was actually triggered by the bug fixed in interpreter.ts.
The generated code was:
        /* fixed64 fixed64_field_min = 1 [jstype = JS_NORMAL]; */
        if (message.fixed64FieldMin !== "0")

Where it should be
        /* fixed64 fixed64_field_min = 1 [jstype = JS_NORMAL]; */
        if (message.fixed64FieldMin !== 0n)

I'll bump the TS output to ES2020 and test the fix.

Timo,
I have updated the test. The PR is ready to be reviewed.
packages/plugin/spec/protobufts-plugin-long.spec.ts might not be super robust with regards to formatting changes in the generated code but it is probably better than nothing for now.

Hey Timo,
You can review this PR but no pressure, there is no rush.
I only want to make sure it's ready for review.
You can review it whenever you have time.
Thanks.

Sorry Vic, missed your previous comment.
All changes look good to me. Thanks for the MANUAL update, I would have forgotten.
The spec doing string lookup is a bit unwieldy, but the added coverage is definitely worth it.

I think it's time to release this as part of a 2.0. See notes in changelog.
I'd really like to have a pre-release version. Lerna can publish this as 2.0.0-alpha.0, for example. But I am not totally sure whether a regular npm install will ignore this version.
Vic, do you know any npm packages that use prerelease versions?

I would argue that this should also go into the the 1.x branch as a bug
fix. You don't want to force users to get breaking changes to get but fixes.
Pre-release version would not get installed by default. See
https://docs.npmjs.com/cli/v6/using-npm/semver. You can check any of the
angular packages for examples.
On Wed, Nov 25, 2020, 06:00 Timo Stamm<EMAIL_ADDRESS>wrote:

I think it's time to release this as part of a 2.0. See notes in changelog
https://github.com/timostamm/protobuf-ts/blob/48a30c16aaf74653ce4ff925472e8cc6df7330d2/CHANGELOG.md#upcoming
.
I'd really like to have a pre-release version. Lerna can publish this as
2.0.0-alpha.0, for example. But I am not totally sure whether a regular npm
install will ignore this version.
Vic, do you know any npm packages that use prerelease versions?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/timostamm/protobuf-ts/pull/27#issuecomment-733723700,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AAB4X4WWIMJM7OND7OH6M3LSRUEY3ANCNFSM4TZQJSRA
.

I would argue that this should also go into the the 1.x branch as a bug fix. You don't want to force users to get breaking changes to get but fixes.

I agree. But time is sparse and I haven't figured out yet how to backport PRs without cherry-picking or manual updates.

Pre-release version would not get installed by default.

Thanks! Just started published alpha v2 packages. Will give it a smoke test with my own projects.

I agree. But time is sparse and I haven't figured out yet how to backport PRs without cherry-picking or manual updates.

There is no reason why it should be you doing it Timo. You are already doing a great job as a maintainer. You should just asked people submitting PRs to submit then for both 1.x and master. I'm happy to do it when I'm back home early next week.
One thing that could help is to create a template for PR asking giving instructions on how to do it. I can draft something next week too.

That's actually a mess trying to backport this to 1.x now.
I guess 2.x will do :)


[Key Vault] Run samples in test pipelines

Per the instructions in this document, we should configure our live test pipelines to run repo samples in order to catch bugs and breaking changes.

This is tracked by https://github.com/Azure/azure-sdk-for-python/issues/35106.


Duplicated controller  - strange controller  behavior

All controllers appear twice. Bluetooth section shows 1, but controller sections shows 2 controllers.
With 2 Controllers there are 4 showed in controller section.
Tested with multiple DS4 Controller.
If there are 2 or more controllers connected and you playing a game, after some while the first (blue) controller got issues and does not accept all button inputs then it got disconnected. It's like the BT signal has problems.
Reconnecting the controller needs multiple tries and the controller is not functional and got disconnected after a while again.
This happens always and only with the first connected controller with blue lights and while a game is playing. Changing the series of connecting the controllers, so an other controller is the first (blue) one, it happens to this controller.
Tested with Mortal Kombat 11, TMNT Shredders Revenge and Horizon Chase Turbo
After a full restart of the system, it's working again for a short time (~30 sec) and then happens again.
Setup:
minisforum um790 pro
4x DS4 controller
Plain ChimeraOS 45-1

Because there seems to be no fix or help and part of this issue are month old, I decided to follow this solution:
https://github.com/ChimeraOS/chimeraos/issues/918

Can you update to ChimeraOS 46 and confirm that this is fixed?

I am sorry but I can't.
As I said I followed the solution in #918 and switched to bazzite.

Alright, thanks. The issue is fixed as far as I can tell.

Hi @alkazar,
I still have the same issue.
And it has gotten worse.
Im using mainly 3 Dualsense Controllers. Sometimes Input on the Steam profile selection is  not registered at all.
And often I have dual devices in games.
Using Version 46-1

@200Puls thank you, I'll reopen and investigate

@pastaq
Thanks for reopening.
I just updated to 46-2 and the not working input seems to be fixed.
I will try to replicate the duplicate input tomorrow.

@pastaq
I extensively tested it now. The problems I still Encounter are:

when I Turn Off a connected Dualsense Controller and I turn it back on: No input is received. With the Steam Controller and Xbox this works
When I Connect 3 Dualsense Controllers I have Phantom input errors where one of the Controllers acts as two. This is in the Steam Interface as well as in games like Sonic cart. Using two Dualsense and one Xbox controller does Not cause this issue.

@pastaq both issues are fixed for me If I disable the inputplumber service as suggested in the linked issue.
Is there any reason why I should not disable it?

InputPlumber is our input management software, think of it like open source steam input. It is only strictly necessary if either your controller doesn't work by default/has missing features (most handhelds) or if you want to use the steam-plus or opengamepadui sessions.

I can confirm that the Problem with double controller is fixed on 46-2.

Both problems seemed to be solved at 46-2.


WebRTC service stream to Google Cast device stopped working

Hi,
Using Home Assistant 2023.11.x, got Frigate running in a container and installed WebRTC Camera Integration in HACS.
Up until last week, I've been using the DashCast service to stream my front door camera upon detecting a person to my Google TV. Now it wont start the stream anymore, just switches to the menu overview on the Google TV. Did also test to a different cast device attached to my TV, here it stops with the DashCast logo.
I'm connected to NabuCasa as external URL, on my LAN HA runs https://xyz.ducdns.org for internal address (using DuckDNS). What I can see flashing at the bottom of the screen of my second cast device is that it seems the URL it tries to load is the NabCasa URL and not my internal URL??
This is the script I am running (been working for months):
  sequence:
    - service: webrtc.dash_cast
      entity_id: media_player.google_tv
      data:
        url: rtsp://user:pass@<IP_ADDRESS>:8554/inngang
        force: true
        extra:
          mode: webrtc,mse

What I've tested :

Testing the RTSP URL on VLC > Stream works fine
Changing mode to webrtc only > No change
Changing mode to mse only > No change
Rebooted both my Google TV, sencond Cast device and HA multiple times > no change

Any suggestions?

I am having the exact same problem, though I am not running Frigate.
I cannot get the rtsp stream to play on my Google Nest Hub. They work perfectly fine in Home Assistant 2023.08.x.
Version 2023.08.x

View camera in Home Assistant dashboard works. Using url rtsp://user:pass@<IP_ADDRESS>:554/h264Preview_01_sub
View camera in VLC. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub
View camera on my Google Nest Hub using DashCast works. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub

Version 2023.11.x

View camera in Home Assistant dashboard works. Using url rtsp://user:pass@<IP_ADDRESS>:554/h264Preview_01_sub
View camera in VLC works. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub
View camera on my Google Nest Hub using DashCast does not work. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub or rtsp://user:pass@<IP_ADDRESS>:554/h264Preview_01_sub

Something has changed in the way WebRTC is doing the stream that has broken for DashCast using Google Nest Hub devices (in my case).
Any help would be appreciated!

I am having the exact same problem, though I am not running Frigate.
I cannot get the rtsp stream to play on my Google Nest Hub. They work perfectly fine in Home Assistant 2023.08.x.
Version 2023.08.x
* View camera in Home Assistant dashboard works. Using url rtsp://user:pass@<IP_ADDRESS>:554/h264Preview_01_sub

* View camera in VLC. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub

* View camera on my Google Nest Hub using DashCast works. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub

Version 2023.11.x
* View camera in Home Assistant dashboard works. Using url rtsp://user:pass@<IP_ADDRESS>:554/h264Preview_01_sub

* View camera in VLC works. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub

* View camera on my Google Nest Hub using DashCast **does not** work. Using url rtsp://user:pass@<IP_ADDRESS>:8554/doorbellsub or rtsp://user:pass@<IP_ADDRESS>:554/h264Preview_01_sub

Something has changed in the way WebRTC is doing the stream that has broken for DashCast using Google Nest Hub devices (in my case).
Any help would be appreciated!

When the DashCast comes up on screen, I can see a brief message at the bottom referring to my nabucasa url - can this affect it and be the reason?

@AlexxIT  Possible to get a comment - what to look for?

My Google TV uses Google DNS
My NabuCasa URL works from outside (but from laptop and from HA Companion App)
My local HA is using DuckDNS with a working certificate

When triggering the script (tested from both HA > Services and from a script) the result are always the same. DashCast logo appear, I can always see the loading of my NabuCasa URL and then nothing. Using force: true results that image return to the Google TV default page. WIth force: false, it just stop and hangs at the DashCast logo.
Updated the script to:
service: webrtc.dash_cast
data:
  entity_id: media_player.google_tv
  url: rtsp://user:pass@<IP_ADDRESS>:8554/inngang
  force: true
  extra:
    mode: webrtc,mse

The URL is an internal physical server running Frigate 12+ (currently also testing beta 13). It is not available directly from WAN.

Using the RTSP to any other viewer like VLC works fine. Also within Frigate everything is fine.

When the DashCast comes up on screen, I can see a brief message at the bottom referring to my nabucasa url - can this affect it and be the reason?

I am not using nabucasa but am having the same issue as you, so I don't think it's related to nabacusa.

Has anyone solved the problem?

Has anyone solved the problem?

For me it was simply that my HA instance was locked
http:   ip_ban_enabled: true   login_attempts_threshold: 5   server_port: 443
As soon as this was resolved, it all worked again. HA was working with internal IP but not through Nabu Casa, and since my external URL pointed to the Nabu Casa, stream wanted to use the external URL.

This service using from homeassistant.helpers.network import get_url feature from Hass API to know what is best local/cloud Hass public link. It should prefer local link by default.
https://github.com/home-assistant/core/blob/dev/homeassistant/helpers/network.py
I don't know why it prefer nabucasa url.


Filename error in aurelia_project/environements dir.

I'm submitting a bug report

Library Version:
I honestly can't figure this out. Which of the 9 billion config files should I be looking in?

Please tell us about your environment:

Operating System:
OSX 10.11.6

Node Version:
6.6.0

NPM Version:
3.10.3

JSPM OR Webpack AND Version
JSPM 0.16.48

Browser:
all

Language:
all ESNext

Current behavior:
The dev.js file in the aurelia_projects/environments dir is erroneously named:
Starting 'configureEnvironment'... { uid: 8,   name: 'configureEnvironment',   branch: false,   error:     { Error: File not found with singular glob: /Users/AJB/Server/Aurelia/contact-manager/aurelia_project/environments/development.js ...
Expected/desired behavior:
The tutorial should work.

What is the motivation / use case for changing the behavior?
To make the tutorial work.

You have a machine local environment variable named "development". That is why you are seeing this error. Try using this command au run --watch --env dev

Thanks for the quick reply!
I actually don't have a local ENV var named development, however the suggested command worked anyhow.


Bugs

All of docker are viruses

Can you please elaborate?  I've been running, using, and contributing to the Docker open source project and community for over 7 years now, and I feel like I'm missing some context.

This issue seems like spam. (especially after looking at the user account)


Tiny white line below mj-image

Discussed in https://github.com/mjmlio/mjml/discussions/2901

Originally posted by karin-pacholkova September 11, 2024
Hi there,
I have two mj-sections. In the first one the background-color is white, in the second one dark blue. In the first mj-section I only have a PNG image, which has a transparent part on the top, but the bottom is all dark blue. In the second mj-section I have the same dark blue color and mj-text.
When I send myself a test email, then the Apple Mail app on the iPhone XS, or Gmail on Android 11.0 shows a tiny white line below the image. When I changed the background color of the first mj-section from white to dark blue, the white line disappeared. So I assume it's related to the background color of the first mj-section. But unfortunately I can't have the color of the first mj-section the same as the color of the second mj-section. I also tried setting the mj-column in first mj-section to vertical-align="bottom", but it didn't help.
Here is the code - https://mjml.io/try-it-live/86fve3Elyj

Thank you in advance.
Karin

Hello,
would you be so kind and tell me what can I do with the code above?
If I'm doing something wrong or is there some help, please?
Thank you very much in advance for any your idea, thought or help.
Karin

👋 I'm not sure about this but it might be the browser that have trouble to find a integer value for pixel. Meaning the white line is just a subpixel displayed. Try to set a fixed height to your image it should do the trick

Sorry to write so late - it helped me. 👍
Thank you VERY MUCH!!! 🤗


Track history of applied just OS modifications

Why
It is useful for tracking modifications you did on top of the OS you may want to revert in the future.
It is also useful for troubleshooting issues from the affected users.
Example
I want to hide grub & to apply amd_pstate-active manually to the CPU. I apply those commands:
just hide-grub
just amd_pstate-active
I want to have those in history of applied modifications by issuing this (or similar) command:
just modification-history
When you apply the command which reverts to defaults with:
just unhide-grub
just revert-amd_pstate-active
Than those just entries you had in just modification-history will get removed.
We would whitelist only those just commands which are related to modifying the system, so we would avoid having something like just update in just modification-history.
Implementation
Not something I figured out currently. This is just an idea I got right now. Feel free to start your own work. I will also start my own.
Broadly imagining, we would have the "modifications" file in /usr/share/ublue-os/just & we would include that file in justfile. Modifications file would contain just commands which modify the OS & the "revert to defaults" equivalent just command to pair. That's just the configuration part.
I didn't figure out yet on how to implement the main logic to just modification-history command.

Maybe create history file including timestamps like the 'history' shell command?

just is just a command runner, similar to make, so there are no built-in logging facilities for the commands that are run. You might need to adjust each recipe to log something to an, e.g., .just_history file, which would let you know which commands were run, but you would also need each recipe to also have an opposite recipe to undo its changes if you wanted some sort of revert-to-defaults command. It seems quite involved.

Yeah we're using this for shortcuts, not active management of the machine.


Pid update

addressing #95
Don't opinions on whether we need more / larger explanation are welcome

Thanks, change made

@space-is-hard can you have a quick look at this and pull it if you think it addresses #95 (mostly so that i am not merging my own PRs)


XML fails to validate to the OSIS schema

Further to your commit on 4 February 2018, the XML file fails to validate (though it passes XML syntax check).
The problems are all related to the use of the l element used to mark the word Sela.
<l type="selah">Sela.</l>

This may only be used within the OSIS line group element <lg>...</lg>.
coverdale.xml.validation.log

Ah, yes, I understand now. I will remove the l element for now, since the scans just have the psalms as regular text, no different formatting.


Update to hy 1.0.0 and hyrule 0.6.0

update lispwords
clean up builtin list
separate builtins from hy and hyrule, for hy-awared vim colorschemes
treat "and bnot cut get in is is-not not not-in or of" as operators like what they are in python
reorder some syntax groups, for easier lookup
did not touch the conceal part, nor clean up the rest of the code
renamed hyTagMacro to hyReaderMacro

Awesome, thanks for the PR!


Bump lnd compile time dependency to v0.17.0, update RPC compilation of test proto

Replaces https://github.com/lightninglabs/aperture/pull/138.

When I run make fmt in the branch, it results in this diff:
diff --git a/pricesrpc/prices.pb.json.go b/pricesrpc/prices.pb.json.go
index 8750a9f..423334e 100644
--- a/pricesrpc/prices.pb.json.go
+++ b/pricesrpc/prices.pb.json.go
@@ -1,6 +1,7 @@
 // Code generated by falafel 0.9.1. DO NOT EDIT.
 // source: prices.proto

+//go:build js
 // +build js

 package pricesrpc

I use Go go1.22.4

Hmm, that file is auto generated by falafel. I guess we should update that to use the new format.
If I manually format the file then the RPC check CI step will fail. So I'll leave it for now and see if I have time to update falafel at some point. But thanks for noticing!

@viktortigerstrom: review reminder


Study - Check what can be done about image loading with placeholder and error management

The Coil external library is perfect for this job:
rememberAsyncImagePainter(
    model = recipe.url,
    placeholder = painterResource(id = R.drawable.placeholder_small),
    error = painterResource(id = R.drawable.placeholder_small)
)

This is what we use in the demo app to display recipe images.


MAS 1.4.3: Elements must have sufficient color contrast (div:nth-child(1))

Issue Details
Elements must have sufficient color contrast
color-contrast
Repro Steps:

Open URL  in Edge browser.
Notice 'Upload File' and 'Send' button icons present in bottom of screen.
Type 'Help' in the input control at the bottom of the screen and hit enter (or click on send button).
Content will upload, Navigate to " Demo for GitHub repository sample " button and click on it.
‘sample:github-repository’ page appear in bottom section.
Verify the color contrast on ‘No renderer for this attachment’ text.

Element Path
li:nth-child(1) > .css-djy7c2 > .css-19kadhh > div:nth-child(1)
Snippet
No renderer for this attachment
How to fix
Fix any of the following:

Element has insufficient color contrast of 3.99 (foreground color: #ffffff, background color: #ff0000, font size: 12.0pt, font weight: normal). Expected contrast ratio of 4.5:1

Test Environment:
OS: Windows 10
OS Build: 17763.55
OS Version: 1809
Browser: Edge
Tool: K4W
This accessibility issue was found using Keros for Web, a tool that helps debug and find accessibility issues earlier. Get more information & download this tool at

@corinagum please change it to #EF0000.

Closed as duplicate of #1341

#HCL;#Accessibility;#HCL_BotFramework_WebChat;A11yMAS;WCAG1.4.3


Link variables in views to their fields in DDMs

Maybe create a new type of variable derived from ITypedVariableNode that has all the information from the variable of the DDM (e.g. the type).
If the type is overwritten in the view, have it be a default ITypedVariableNode.
Diagnostics:

If the length in the view is greater than the length in the DDM for the field, report an error
#157

When the type is known or the variable is somehow linked to the ddm variable, fix the TODO in CompressAnalyzer.

Note, that a variable in a DDM can also be a group. We have a "normal" group and a periodic group. @MarkusAmshove


Great work on  SAM-webui

I would like to express my sincere gratitude to the developers of SAM-webui for their hard work and dedication to creating such a valuable resource for the community. Your efforts are greatly appreciated and I am truly grateful for the time and energy that you have put into this project. I wish you all the best and hope that the project continues to thrive and improve in the future.

Thanks for your appreciation! I am still thinking about the future of this work. About whether I should make this work a professional tool or user friendly but losing some professional functions. I think I will update this work after I figure it out! If you want to provide some good idea, feel free to tell me! 😄

I would also like to say great work on this! I've found it a very easy tool to use and the results are often great :)
One suggestion I have: Consider adding a number of proposal predictions like this tool

(Not sure if this would slow down the app too much though - although perhaps you are already computing multiple masks?)
https://github.com/derekray311511/SAM-webui/blob/12d18c2b2630c2f4de0c41cd1080ec00e08fe950/app.py#L430


Add Node.js install retry (5)

Trying to prevent this: https://github.com/eirslett/frontend-maven-plugin/issues/882
This PR also split configuration and install buildsteps trying to fix #503 (without success but better split IMO)

I have another bug I am running into with Vite I will try and create a reproducer and report in another issue once I figure out what is going on.

I have another bug I am running into with Vite I will try and create a reproducer and report in another issue once I figure out what is going on.

is this a new bug? with the latest changes?

No its happening with the current 2.1.0 version of hte plugin. The WebSocket is getting closed whenever i make any Java changes I see the server hot reload but then the UI is dead with Quinoa saying it can't forwrard the message.  I will write it up with a reproducer.


Unify value evaluation

A Swagger specification can contain fields with pre-defined values that are set via x-example, example, or default, or in any of their children. Since the request and response parts contain different types of parameter objects, we need to find a way to move this logic in one place.

This might be too complex.


⚠ Bofrost.nl has degraded performance

In 67b763c, Bofrost.nl (https://www.bofrost.nl) experienced degraded performance:

HTTP code: 200
Response time: 954 ms

Resolved: Bofrost.nl performance has improved in e293dd1.


Projection with parameterized constructor fails

The following code worked fine with EF Core 2.2, but no longer with EF Core 3:
        var wrappedEntities = context.Products
          .Select(p => new ProductWrapper(p));

The exception text reads:

System.InvalidOperationException: 'When called from 'VisitMemberInit', rewriting a node of type 'System.Linq.Expressions.NewExpression' must return a non-null value of the same type. Alternatively, override 'VisitMemberInit' and change it to not visit children of this type.'

Using a parameterless constructor and passing the entity via a public property works:
        var wrappedEntities = context.Products
          .Select(p => new ProductWrapper
          {
            Entity = p
          });

Is this a bug or an intended breaking change: Linq queries are no longer evaluated on the client
Further technical details
EF Core version: 3.0.0
Database provider: Microsoft.EntityFrameworkCore.SqlServer
Target framework: .NET Core 3.0
Operating system: Windows 10 1903
IDE: Visual Studio 2019 16.3.9

@mnissl I have not been able to reproduce this--see my code below. Please post a small, runnable project/solution or complete code listing that demonstrates the behavior you are seeing.
public class Product
{
    public int Id { get; set; }
}

public class ProductWrapper
{
    public ProductWrapper(Product product)
    {
    }
}

public class BloggingContext : DbContext
{
    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
        optionsBuilder
            .UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=Test;ConnectRetryCount=0");
    }

    public DbSet<Product> Products { get; set; }
}

public class Program
{
    public static async Task Main()
    {
        using (var context = new BloggingContext())
        {
            context.Database.EnsureDeleted();
            context.Database.EnsureCreated();

            context.AddRange(new Product(), new Product());
            context.SaveChanges();
        }

        using (var context = new BloggingContext())
        {
            var wrappedEntities = context.Products.Select(p => new ProductWrapper(p));
        }
    }
}

I could reproduce the issue: It doesn't work if you use both a parameterized constructor and an (empty) property initialization list.
  public class Product
  {
    public int Id { get; set; }
  }

  public class ProductWrapper
  {
    public string Name { get; set; }

    public ProductWrapper()
    {
    }

    public ProductWrapper(Product product)
    {
    }
  }

  public class BloggingContext : DbContext
  {
    protected override void OnConfiguring(DbContextOptionsBuilder optionsBuilder)
    {
      optionsBuilder
        .UseSqlServer(@"Server=(localdb)\mssqllocaldb;Database=Test;ConnectRetryCount=0");
    }

    public DbSet<Product> Products { get; set; }
  }

  public class Program
  {
    public static void Main()
    {
      using (var context = new BloggingContext())
      {
        context.Database.EnsureDeleted();
        context.Database.EnsureCreated();

        context.AddRange(new Product(), new Product());
        context.SaveChanges();
      }

      using (var context = new BloggingContext())
      {
        // This works!
        context.Products.Select(p => new ProductWrapper()).ToList();

        // This works!
        context.Products.Select(p => new ProductWrapper { }).ToList();

        // This works!
        context.Products.Select(p => new ProductWrapper { Name = "ABC" }).ToList();

        // This works!
        context.Products.Select(p => new ProductWrapper(p)).ToList();

        // This will throw in Debug, but in Release only with attached debugger!?!
        context.Products.Select(p => new ProductWrapper(p) { }).ToList();

        // This will throw in Debug and Release!
        context.Products.Select(p => new ProductWrapper(p) { Name = "ABC" }).ToList();
      }
    }
  }

Hello,
Great spot ! It's a quite annoying bug when you develop with on a Clean Architecture/DDD way.
When you think this will be available ?
I have two project ( one new & one migrations ready ) that have this issue, and I waste some time to analyse when the issue come from me or not.
Thanks for the answer

@smitpatel Would it be possible to have this fix available in EF Core 3.0.x or 3.1? Milestone 5.0.0 sounds like .NET 5 sounds like November 2020!?

Seriously 5.0.0? Since this is broken between 2.2 and 3.0 it would most appreciated if this would make it to 3.1.0.

I've stumbled upon this issue as well while converting from 2.2 to 3.0. The fix should come ASAP.

Note from triage: we will consider patching this for a 3.1.x release.


Allow response headers specification

OpenAPI spec allows the response object to specify headers https://spec.openapis.org/oas/v3.1.0#response-object
{
  "description": "A simple string response",
  "content": {
    "text/plain": {
      "schema": {
        "type": "string",
        "example": "whoa!"
      }
    }
  },
  "headers": {
    "X-Rate-Limit-Limit": {
      "description": "The number of allowed requests in the current period",
      "schema": {
        "type": "integer"
      }
    },
    "X-Rate-Limit-Remaining": {
      "description": "The number of remaining requests in the current period",
      "schema": {
        "type": "integer"
      }
    },
    "X-Rate-Limit-Reset": {
      "description": "The number of seconds left in the current period",
      "schema": {
        "type": "integer"
      }
    }
  }
}

I see that I can specify request headers with itty-router-openapi, but not the response headers. With the following definition, I can find "x-foo" request header in generated openapi.json, but not "x-bar" response header.
export class GetResult extends OpenAPIRoute {
  static schema = {
    tags: ['Results'],
    summary: 'Get operation result',
    headers: {
      "x-foo": new Str({ example: "foo-example" }),
    },
    parameters: {
      ...JSONAcceptHeader,
      id: Path(Str, {
        description: 'Result ID',
        example: '61c9e3c4-9cb2-4fb9-95a5-b48b3772741d',
      }),
    },
    responses: {
      '200': {
        contentType: 'audio/mpeg',
        schema: new Str({ format: 'binary' }),
        headers: {
          "x-bar": new Str({ example: "bar-example" }),
        },
    ...

I'm seeing the response type RouteResponse doesn't have a headers field
export declare type RouteResponse = Omit<ResponseConfig, 'content'> & {
  schema?: Record<any, any>
  contentType?: string
}

Is this something one can do in itty-router-openapi? If not, is that something that can be added?

Hey @pvarsh i've just published a new version (1.0.13) that adds support for this, read the docs here


Introduce boolean literal freshness

The logical follwup to adding enum freshness last week, as we mentioned at the time. I hadn't realized that we had had issues reported which required it to be fixed, but we had, so here's the freshness implementation for booleans. It's rather straightforward since all the variants can be constructed up front. The old trueType/falseType map to the new fresh variant. The change also brings a noticeable improvement to the accuracy of CFA when multiple boolean-typed declarations are involved, as they no longer always widen irrecoverably to boolean.
The only literal types which do not have freshness of any kind now are, I believe, tuples.
Fixes #25474

@typescript-bot test this

@typescript-bot test this again

what is freshness please?

@aleksey-bykov I wrote a novel-length treatment of the different ways the compiler converts types to related types. Note that it still doesn’t cover the base constraint type, which is related to the apparent type. But it does cover freshness pretty well.


[ BUG ] datatable rowselect trigger rowclick even too

Bug Report
BUG (Not correct behavior)
What is the expected behavior?
i've tried rowclick event in datatable but got some bug
the rowselect method is not working properly,
so when you click the checkbox it will trigger the rowclick method instead of rowselect method
you can see the example in the documentation too

is there a different event listeners for click and select , it doesn't  work as expected.

As far as I can see, clicking the checbox triggers both events. Most likely this is the expected behaviour by design, what in my opinion is correct because the checkbox element is still part of the row element.

yes  @jotatoledo , but if i have a navigation based on row click and deletion based on multi selected rows, this usecase fails. need to see what would be the right solution

@manickam91 there is a different when you click the row it will trigger the rowclickevent however for checkbox @jotatoledo you are right it will trigger both
but in my opinion in most case (especially enterprise application) it should be different,
for example:
if you click the row (not checkbox) you will redirect the page to the form which is detail data from the row that you clicked, whereas if you want to delete the data (multiple delete) you should click the row (checkbox) first than you click the button delete which is will delete the row (data) that you want to delete. However with current feature you cant do that, because if you click the checkbox you will redirect to the detail page because the checkbox will trigger the rowclick event (which is this row click event have redirect method to the detail page)

@manickam91 lol i write long explanation then you summarize all the need in simple paragraph ROFL
that @manickam91 statement really true, thats what i expect the correct behavior

in my opinion the checkbox should not trigger the rowclick event

I can understand the use case, lets wait and see what the dev team thinks about it

A possible fix for this could be:
In covalent/src/platform/core/data-table/data-table.component.html

        <md-pseudo-checkbox
          [state]="isRowSelected(row) ? 'checked' : 'unchecked'"
          (mousedown)="disableTextSelection()"
          (mouseup)="enableTextSelection()"
          (click)="select(row, $event, rowIndex)">
        </md-pseudo-checkbox>

        {{column.format ? column.format(getCellValue(column, row)) : getCellValue(column, row)}}
        <ng-template
          *ngIf="getTemplateRef(column.name)"
          [ngTemplateOutlet]="getTemplateRef(column.name)"
          [ngOutletContext]="{ value: getCellValue(column, row), row: row, column: column.name }">
        </ng-template>

Moving the above event/event handler from the tr element into the td td-data-table-cell (not the one for the checkbox element). Not sure if this is correct though.

So as @jotatoledo mentioned, this was by design.
The issue was about having separate events, which now we have (rowClick) and (rowSelect).
There was never a specification of throwing one event or the other because when you actually do a selection, you technically are clicking on the row too, so the behavior is as designed.
Now we can sure discuss about if we should block the event if its a selection or something that lets the user know that, since i do understand the use case.

@emoralesb05

but if i have a navigation based on row click and deletion based on multi selected rows, this usecase fails. need to see what would be the right solution

based on that scenario, we cant achieve it

Use multi select checkboxes and links on the names of the items using row templates

@kyleledbetter what does it mean?

Check the first example in the docs. It has a template for the row with button. Use that with routerLink and the selectable checkboxes and you'll have both features your need

what @kyleledbetter suggests is the following if Im not wrong:

  <ng-template tdDataTableTemplate="action" let-value="value" let-row="row" let-column="column">

         Navigate!

  </ng-template>

where action could be another column defined by ITdDataTableColumn in the columns input.
Still, most surely there are other use cases where somebody would like to only trigger rowSelect when the user clicks the checkbox element. Could it be possible to configurate this through a flag variable?

Yeah, yesterday i was discussing this with @kyleledbetter and @jeremysmartt, and we might make it the default behavior.
Its just we have to find a way to block the angular click event when clicking on the checkbox. Ive never blocked an angular event, so im not sure if its simple or not.

Created a small PR to address this. Not sure if its the correct way of doing it (couldnt think of any other way), but it was the less expensive way of doing it (time wise and code change wise).

Hey all I updated the PR so that there is a new attribute that we check for:
stopRowClick
So on that first cell with the checkbox we now have this:
<md-pseudo-checkbox
          [state]="isRowSelected(row) ? 'checked' : 'unchecked'"
          (mousedown)="disableTextSelection()"
          (mouseup)="enableTextSelection()"
          stopRowClick
          (click)="select(row, $event, rowIndex)">
</md-pseudo-checkbox>

Notice the stopRowClick attribute that is on there.  This lets us know not to send the rowClick Event when you click on that.   Also, the nice thing about this is it can be used on any cells not just this first one with the checkbox.  So if you add any other buttons or anything in any other cells and don't want the the rowClick to happen this just add this attribute.


DSP-851 New resource form

resolves DSP-851
this PR has been developed with dsp-api v13.0.0-rc.17

@mdelez the yalc process to get the required local dsp-ui package:

checkout the branch wip/dsp-881-export-ValueOperationEventService
in your terminal in the dsp-ui-lib repo, run npm run yalc-publish-lib
in your dsp-app repo, run yalc add @dasch-swiss/dsp-ui && npm install
in dsp- app, run npm run ng s and see error

@flavens I got something working. You'll need the changes I made to the UI-Lib as well here. I recommend using a form with not too many properties to test the validation, I've been using a website resource class in the biblio ontology of the BEOL project.
I've been trying to find a way to add each FormGroup to the parent FormGroup with a unique name since they need to be unique or else it will be overwritten...unsuccessful so far. This will be important when we implement a plus button to allow users to add multiple values per property.

Breaking change incoming from DSP-UI PR 214
renaming of ValueTypeService to ValueService
affected code: https://github.com/dasch-swiss/dsp-app/blob/4b2920d1200ea929131ba1e550f10233aba2dfb8/src/app/workspace/resource/resource-instance-form/select-properties/select-properties.component.ts#L36

Breaking change incoming from DSP-UI PR 214
renaming of ValueTypeService to ValueService
affected code:
https://github.com/dasch-swiss/dsp-app/blob/4b2920d1200ea929131ba1e550f10233aba2dfb8/src/app/workspace/resource/resource-instance-form/select-properties/select-properties.component.ts#L36

fixed in 54c4670

Just some details I figured out:

In case of system admin, all projects should be accessible.
In case user is member in only one project, the user doesn't have to select. Same for ontology if there's only one ontology in the project, the user doesn't need a select box or it should already be selected. Same for resource class.
Label input field could be confusing: In the old salsah we used the value (stringified) of the first property as the label. There was no Input field for label. This is something we have to discuss together and with @lrosenth.
When clicking on "back" button, the form is empty. It can be frustrating to select again all needed fields.

Just some details I figured out:

In case of system admin, all projects should be accessible.
In case user is member in only one project, the user doesn't have to select. Same for ontology if there's only one ontology in the project, the user doesn't need a select box or it should already be selected. Same for resource class.
Label input field could be confusing: In the old salsah we used the value (stringified) of the first property as the label. There was no Input field for label. This is something we have to discuss together and with @lrosenth.
When clicking on "back" button, the form is empty. It can be frustrating to select again all needed fields.

How crucial would you consider these things for the first implementation of this feature? I think Flavie and I are eager to get what we have so far into the next release

How crucial would you consider these things for the first implementation of this feature? I think Flavie and I are eager to get what we have so far into the next release

I agree. Just a comment; will move it to the user story 😉

Sorry to barge in like this :-)
@kilchenmann

Label input field could be confusing: In the old salsah we used the value (stringified) of the first property as the label. There was no Input field for label. This is something we have to discuss together and with @lrosenth.

I can't remember how the old Salsah worked but in the version that we use now (Salsah with Knora as back-end), there is an input field for the label.
And I agree with you, it is confusing. For every new project, the reason for this label must be explained to users: when you want to create a link between 2 resources, the link property opens a search box which uses the label of the resource you want to point to to create the link...
In some cases, using the first property as label would not provide enough information. Most of the time, the label chosen by users is a selection of at least 2 properties and sometimes much more. Actually, in one case, a plugin was even developed by a user so that each resource class receives a label consisting of a custom concatenation of properties.
I thought it could be useful for you to know.

@kilchenmann @mrivoal about the resource label, I agree that we could take the first property value as a resource label. However, it is currently not possible. In some ontologies, the first property does not make sense to use as a resource label. It could be set/updated in the ontology editor but this is not implemented yet. A short discussion should be planned to decide what to do. Meanwhile, we will keep the current behaviour, it will be improved as soon as we make a decision.


Use different XPath for xenc:EncryptedKey

Resolves #312, please comment there for main discussion.

Stumbled upon the same issue, ended up with fixing it in exactly the same way. Awaiting the PR to be merged. Thanks

PR #297 is related to this issue, have you checked it?

That seems relevant. Are you reviewing #297? When can we expect a fix?

Does the PR of #297 solve your issue?

The responses I am receiving use retrievalmethod as well, so it should.

Please test the other solution (#297) and if fix your issue I will merge it.
Thanks

Fixed that with PR #297


Ability to build containers from a local directory

As title says, would love to be able to create docker containers in KM from local files, and not have to rely on GitHub repo.

I can't seem to be able "feature" label to this for some reason, so please see it as such.

Thanks for the issue!

:+1:

I am in a really urgent need for this feature :(

:+1:

:+1:

:+1:

👍

:thumbsup:

YES!
It would be IDEAL to be able to:

Build containers from a local Dockerfile
Run these containers and manage them just like those from DockerHub
Perhaps even pull a repo from GitHub (with a Dockerfile) and build a container in a super easy workflow

Thanks for the notes everyone!
@ericsolberg, love the big :+1: !

:+1:

:+1:

:+1: PLEASE

:+1:

:+1:

:+1: :+1: :+1:
Also connect to private repo/view dockerfile loaded/edit dockerfile?

:+1:

:+1:
I'm concerned this may be a lock-in play by Docker Inc now that they own Kitematic. Can you confirm this isn't the case and that Kitematic will support local/private/non-docker-hub-images? I'm hesitant to use Kitematic if it's primarily being positioned as a typical vendor-lock-in play. Hope I'm wrong and paranoid -- Thanks! :)

:+1:

:+1:

+1

:+1:

+2

+1

+1

There's currently a PR for Local image support:
https://github.com/kitematic/kitematic/pull/882
This would allow you to build the image locally and then find it in Kitematic. Would this be sufficient for now?

+1

:+1:

+1

+1

+1

+1

@FrenchBen Yes #882 is sufficient. Thanks for the PR. :+1:


feat(devtools): new page current storage

Summary
https://github.com/web-infra-dev/modern.js/assets/18379948/130c3ddd-0d43-4cbf-a87d-a3dadb8a2bb8

Generate identifier for presets automatically.
Extract unified card component (for internal usages).
Add new page to inspecting current storage status.
Fix loading spinner position issue.

Pending by https://github.com/web-infra-dev/modern.js/pull/5729 & https://github.com/web-infra-dev/modern.js/pull/5733.
Related Links

Checklist

[ ] I have added changeset via pnpm run change.
[ ] I have updated the documentation.
[ ] I have added tests to cover my changes.

I wonder how to find the current storage. is there any tag in the presets ?

The Flame label is not easy to understand as apply. Is this a ui reference. Consider adding text and icons together in "fire" ?

I wonder how to find the current storage. is there any tag in the presets ?

I perfer to highlight the applied presets by their key-values. In other words a preset will be highlighted since its records matches current storage status even if it doesn't applied. I am planning to feature it in next pull request.

Sure, we already have a tooltip here, but I am considering reducing the delay of the initial display as it is not significant. Maybe in the next pr as well?


Unable to use the HTTP SSL example to send a GET request

Hey Vinny,
I'm currently using beast 1.70.0 with clang 8.0.0, im using the asynchronous http ssl example to connect to an endpoint to aggregate FX data, unfortunately you wont be able to reproduce the issue as your ip wont be whitelisted. However the example compiles fine and I use the beast library for other things, the issue is running the following command from terminal works fine:
$ curl "https://tools.dxfeed.com/wintermute/rest/events.json?events=Quote&symbols=EUR/USD:AFX&indent" -D -
however when I try to run the asynchronous HTTP example to send the get request it timesout on async_connect, I am passing the following arguments to the binary generated by your example exactly as is: tools.dxfeed.com 7831 /wintermute/rest/events.json?events=Quote&symbols=EUR/USD:AFX&indent
I am sure I am doing something very simple wrong, I would appreciate your help.

Actually Ive just realised that the format of the endpoint is totally wrong.
I'll close the issue!

Actually the issue isnt in the request format, which is wrong as stated as the connection cant even be made, sorry for the spamming!

Based on your command line, curl is using port 443 (the default HTTP/S port), since you did not specify an alternate port. But your Beast command line specifies port 7831. Try using port 443 with Beast.


Push notification and charting

It would be great to have some ways to perform push notification for apps developed with the App Framework. It will increase users engagement too.
Another component that might be good to have is integration with ChartJS or any other JS charting for displaying at least line, bar, pie and area charts.

Hey, both already to be found in the issues:
https://github.com/scriptPilot/app-framework/issues/641
https://github.com/scriptPilot/app-framework/issues/94


Request to accept the username and password as two different arguments for db.open function.

Hi,
I'm trying to connect to aws rds based postgres instance with a password string containing a good number of special characters.
I did observe an error as  net/url: invalid userinfo  while building the xk6-sql extension and providing the connection string.
After a bit of research I'm able to fix my issue with a local build of xk6-sql by following the below two suggestions:

https://github.com/golang/go/issues/23392
https://stackoverflow.com/a/64818762

I'm pretty new to golang ecosystem so requesting to get the same code changes on the actual repo if it makes sense.
// need to add two more arguments for username and password
func (*SQL) Open(database string, connectionString string, username string, password string) (*dbsql.DB, error) {
	supportedDatabases := []string{"mysql", "postgres", "sqlite3", "sqlserver"}
	if !contains(supportedDatabases, database) {
		return nil, fmt.Errorf("database %s is not supported", database)
	}

   // modified code suggestion start
    connectionUrl, connErr := url.Parse(connectionString)
    if connErr != nil {
         fmt.Errorf("ERROR: %v\n", connErr)
         return nil, connErr
    }
    connectionUrl.User = url.UserPassword(username, password)

	db, err := dbsql.Open(database, connectionUrl.String())
	// modified code suggestion end
	if err != nil {
		return nil, err
	}

	return db, nil
}

Hi there!
If you're using special characters in your connection string, you need to URL encode them first.
You can use the builtin encodeURIComponent() function for this. For example:
const pass = encodeURIComponent('pass[@#$%^&]');
const db = sql.open('postgres', `postgres://user:${pass}@<IP_ADDRESS>:5432/postgres?sslmode=disable`);

I confirmed this works on a local Postgres instance, so it should work with AWS RDS as well.
So we don't need to add separate arguments for this, even though it wouldn't be a breaking change.

Hi,
Thanks for the quick response. Unfortunately, I could not make it work either with encodeURIComponent()  or even by providing an already encoded password directly.
The only observed difference so far I can see is that encodeURIComponent function did not encode these two characters  !) but even after replacing them with the actual encoded values it did not work for me.
I would prefer to use my local build with username and password as different arguments on the open function in the golang sql.go script as that is the only approach I can make it work.
Thanks again for your feedback. I really appreciate it.

@vamsidarbhamulla Sorry to read that, but I think there's another reason you're getting the invalid userinfo. You're right that the !) characters don't get encoded, but from my tests with a local Postgres instance, they don't need to be. I can connect fine by either encoding them or not.
Can you test with plain Postgres and not RDS, to confirm if it's an RDS issue? I run a Docker container with:
docker run --rm --name postgres -p <IP_ADDRESS>:5432:5432 -e POSTGRES_USER=user -e POSTGRES_PASSWORD='pass[@#$%^&!)]' postgres:14.4

The reason I'm reluctant to do this change is because db.open is not just used for Postgres. While technically JavaScript allows calling functions with less arguments than defined, and it likely wouldn't be breaking change for k6 scripts, we would need to ensure it works well for other RDBMSs, and it's not such a trivial change.
You could just keep using your fork, but I don't see a reason why encodeURIComponent() shouldn't work in this case.

Hi @imiric - I did test it with plain postgres docker setup and I'm able to interact with the local docker DB. Not sure what exactly is the issue with RDS setup and the inavlid userinfo error.
I totally agree with the reasoning behind not modifying the current code changes. I will keep using the fork. Thanks for the response.


Consider a more lenient engines req in package.json

As it is right now, package.json has the following values for the engines key.
https://github.com/Claudiohbsantos/github-material-icons-extension/blob/32fc7be79485b4c6fd4655700c380feb07114892/package.json#L16-L19
I tried to clone this repo and install by running npm i. I received an error telling me that my node and npm versions were not compatible. (I was using node v18.16.0 and npm 9.8.1.)
I believe you should consider changing the engine requirement from ^ (Include everything that does not increment the first non-zero portion of semver) to >= (Specify a range of stable versions).
https://semver.npmjs.com/
...Unless using a newer version of node would indeed break the repo, in which case I feel like you should mention that somewhere.

Haha, this is funny because I thought the same thing a while ago. Once upon a time (before I put up a PR to change it) it was using exact versions. I changed it to this to make it at least a bit more general, but that was a while ago. Tbh, there probably doesn't need to be an engines field at all.

We've removed the engine configuration for now. So you should be able to run the scripts with Node.js LTS (>=20). No need to have the exact node version on your machine.


Add previous_revision_uuids and next_revision_uuids to indices

Addressed via PR #722. @shirey @DerekFurstPitt we'll need to update the translation logic a bit to switch from the singular fields to the plural fields when we do the cutover eventually.


Documentation Contents

TODO

[ ] Contributing File
[ ] Development File
[ ] Branch Organization File
[ ] Semantic Commit Messages File
[ ] Folder Structure File
[ ] Content Style Guide File
[ ] Using Components File
[ ] Pull Request File
[ ] Types of contributions File
[ ] Support File

Contributing File => @b-tekinli & @TalhaAksoy
Development File => @ziarparvaiz
Branch Organization File => @Burak-Atak & @TalhaAksoy
Semantic Commit Messages File => @ziarparvaiz
Folder Structure File => @ziarparvaiz
Content Style Guide File => @b-tekinli & @TalhaAksoy
Using Components File => @ziarparvaiz
Pull Request File => @b-tekinli & @TalhaAksoy
Types of contributions File => @ziarparvaiz
Support File => @ziarparvaiz


Connecting to Aws Elastic cache - redis (Cluster enabled) configuration end point

Hi @steve0511, i see from the examples that the we need to provide all the nodes of the cluster in the configuration. But with AWS redis elastic cache (cluster enabled) all that AWS provide is just the configuration end point. Does the code automatically discover the nodes from this? Please advice.

You don't need to list all nodes in the cluster. As long as the cluster is operational / in good state, each node will know of all the other nodes.
If you use the configuration endpoint provided by AWS, that should be enough for the redlis-client to identify which nodes are part of the cluster.

Hi @AnoopPutta, were you able to connect to AWS elastic cache instance ? I continuously get timeout issues though i have tried out configuration examples.

Hi,
I am not using this anymore. Sorry cannot help much.


Timer - Idle Timeout

Instantiate the timer object #15 and countdown 120 seconds to display the timeout overlay.

Assigned to Gerren and Mohamed (awaiting GitHub handles).


test script #159

Coverage remained the same at 57.636% when pulling 6aee5ad76cbc31852b0cd7e68ba59341e4a5763a on scripts/test into a1e7e055485c230363335a24d442f68464fe40e2 on create-react-app-feature.


Spanner: Refactor SpannerImpl.java

SpannerImpl has become quite long and difficult to read. This PR splits it into a number of logical parts.
The following new files have been added as a result of splitting SpannerImpl (all classes defined at top-level of these files are package-private):

AbstractReadContext.java: Contains the abstract base class of all com.google.cloud.spanner.ReadContext implementations, as well as all concrete implementations of  read-only ReadContexts. Read-write transactions, that also implement ReadContext, are not included in this file.
AbstractResultSet.java: Contains the abstract base class for ResultSet implementations and the concrete implementation of GrpcResultSet (the ResultSet returned by database queries on Spanner).
DatabaseAdminClientImpl.java: The concrete implementation of DatabaseAdminClient. Used to be an inner class of SpannerImpl.
InstanceAdminClientImpl.java: The concrete implementation of InstanceAdminClient. Used to be an inner class of SpannerImpl.
PartitionedDmlTransaction.java: Implementation of partitioned DML transactions for Spanner. Used to be an inner class of SpannerImpl.
SessionImpl.java: Implementation of Session. Used to be an inner class of SpannerImpl.
TransactionRunnerImpl.java: Implemenation of TransactionRunner and TransactionContext. TransactionContext is also an implementation of ReadContext and a subclass of AbstractReadContext, but defined in this file as it is only used by 'TransactionRunnerImpl. Used to be an inner class of SpannerImpl`.

As a result of the above, SpannerImpl is reduced from more than 3,000 lines of code to approx 360 lines of code.
Changes to other files are a result of updated references (i.e. no longer referencing SpannerImpl.SessionImpl but SessionImpl), the need to pass in a reference to SpannerImpl or SpannerGrpc, the need to change private inner classes into package-private inner classes or the need to change private methods and final fields in SpannerImpl into package-private methods and final fields.

Replaced by separate PR's per change set.


Chat message wrapping

Chat messages need to break on words and handle color codes on newlines.

Fixed with commit https://github.com/vexyl/MCHawk/commit/7eb42d0f44b42fb55b8fb07ff1914b999bf5f4e3.


Astrobody data processor bug

You need to turn the switch off and on again each time when there is new data come in from the data cables to restart the research, otherwise it will not do anything even the data is full

Turns out I just forgot to decrement after fixing the ABDP reseting upon being out of power or whatever


how to update sql server license key in ubunthu

how to update sql server license key in ubunthu? I neve find any knowledge base to update license key in ubunthu.

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

ID: 5634d572-0020-808b-693a-13addc8861d9
Version Independent ID: 136bab7d-d4d1-1e82-ba89-be2020bc784b
Content: Ubuntu: Install SQL Server on Linux - SQL Server
Content Source: docs/linux/quickstart-install-connect-ubuntu.md
Product: sql
Technology: linux
GitHub Login: @VanMSFT
Microsoft Alias: vanto

Hi @callranjithkani - You should be able to run mssql-conf setup and choose the edition of SQL Server, and then enter your product key at that time.

But option 7 not accepting any key.
On Fri, Jun 24, 2022, 3:54 PM Van To @.***> wrote:

Hi @callranjithkani https://github.com/callranjithkani - You should be
able to run mssql-conf setup and choose the edition of SQL Server, and
then enter your product key at that time.
—
Reply to this email directly, view it on GitHub
https://github.com/MicrosoftDocs/sql-docs/issues/7720#issuecomment-1165433236,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHAIABRBARHKMOPMPSAXCADVQWEE3ANCNFSM5ZTHL2OA
.
You are receiving this because you were mentioned.Message ID:
@.***>

@callranjithkani - The paid options, like option 7 does not require entering a product key. You are verifying that you have a volume license or purchased a license through an Enterprise Agreement. Option 8 is for retail purchases, and you can enter a product key.

@callranjithkani If you have any more questions, please feel free to reply here. In the meantime, I am closing this as resolved.
#please-close


data not shown for india

https://commits.top/india.html

+1 Germany as well

@Pranay0302 this was introduced for India by this commit and fixed by this commit -- so currently it's showing :slightly_smiling_face:
@mustafaozhan this was introduced for Germany by this commit and fixed by this commit -- so showing for it too :slightly_smiling_face:
I think we can close this ticket.

@ashkulz I have checked, and it works for Germany, so it is fine to close my side 😉

Working now 👍🏼

@ashkulz Germany broken again 😞

I'm not sure I can do anything @mustafaozhan -- it's updated weekly on my fork :man_shrugging:


bobcat: 5.10.01 -> 5.11.01

Automatic update generated by nixpkgs-update tools. This update was made based on information from https://repology.org/metapackage/bobcat/versions.
meta.description for bobcat is: "Brokken's Own Base Classes And Templates"
meta.homepage for bobcat is: "https://fbb-git.gitlab.io/bobcat/"
meta.changelog for bobcat is: ""
Updates performed

Version update

To inspect upstream changes
Impact

Checks done (click to expand)

built on NixOS
The tests defined in passthru.tests, if any, passed
found 5.11.01 with grep in /nix/store/bnx6zklslqznws7av8c0p45p2f8cqlax-bobcat-5.11.01
found 5.11.01 in filename of file in /nix/store/bnx6zklslqznws7av8c0p45p2f8cqlax-bobcat-5.11.01

Rebuild report (if merged into master) (click to expand)

3 total rebuild path(s)

3 package rebuild(s)

First fifty rebuilds by attrpath
bisoncpp
bobcat
flexcpp

Instructions to test this update (click to expand)

Either download from Cachix:
nix-store -r /nix/store/bnx6zklslqznws7av8c0p45p2f8cqlax-bobcat-5.11.01 \
  --option binary-caches 'https://cache.nixos.org/ https://nix-community.cachix.org/' \
  --option trusted-public-keys '
  nix-community.cachix.org-1:mB9FSh9qf2dCimDSUo8Zy7bkq5CX+/rkCWyvRCYg3Fs=
  cache.nixos.org-1:6NCHdD59X431o0gWypbMrAURkbJ16ZPMQFGspcDShjY=
  '

(The Cachix cache is only trusted for this store-path realization.)
For the Cachix download to work, your user must be in the trusted-users list or you can use sudo since root is effectively trusted.
Or, build yourself:
nix-build -A bobcat https://github.com/r-ryantm/nixpkgs/archive/60d6bd3fb3fa50a4048606dce36dd48a7bbe6664.tar.gz

After you've downloaded or built it, look at the files and if there are any, run the binaries:
ls -la /nix/store/bnx6zklslqznws7av8c0p45p2f8cqlax-bobcat-5.11.01
ls -la /nix/store/bnx6zklslqznws7av8c0p45p2f8cqlax-bobcat-5.11.01/bin

Pre-merge build results
We have automatically built all packages that will get rebuilt due to
this change.
This gives evidence on whether the upgrade will break dependent packages.
Note sometimes packages show up as failed to build independent of the
change, simply because they are already broken on the target branch.
Result of nixpkgs-review run on x86_64-linux 1

3 packages built:

bisoncpp
bobcat
flexcpp

Maintainer pings

@ofborg build bobcat bobcat.passthru.tests

Result of nixpkgs-review pr 191282 run on aarch64-linux 1

3 packages built:

bisoncpp
bobcat
flexcpp


[BUG] GCP Bucket - Can't pull from bucket which is private and requires a JSON Key

Describe the bug
Cannot register the filesystem: Couldn't create gcs::ClientOptions for Project ID XXXXX
status=Could not automatically determine credentials. For more information, please see https://developers.google.com/identity/protocols/application-default-credentials
Steps/Code to reproduce bug
bc.gcs('dir_name',project_id='xxx,bucket_name='xxx',use_default_adc_json_file=False,adc_json_file='../home/david/Downloads/a3e4838767e8.json')
Expected behavior
Using JSON from service account credentials.
Environment overview (please complete the following information)
Docker Pull

Can you try passing the full path instead of using a relative path for the location of the json file. I think that we still need to enable using relative paths there.

Hi @Djdraper12 thanks, have you try to suggestion made  by @felipeblazing also how did you generate the json file, with gsutil command?

Apologies - yes I did try but it's not working still.

Hi @Djdraper12 How did you create the JSON file?
cc @jeanp413

cc @mario21ic !

I am creating it in the gcp console

@Djdraper12 Thanks, could you please send us the link of Google Cloud documentation? So we can replicate the exact same steps? Another question, do you have this file in you home folder .config/gcloud/application_default_credentials.json ? If not, can you try again using the default authentication credentials? cc @mario21ic @jeanp413

https://cloud.google.com/iam/docs/creating-managing-service-account-keys

Hi @Djdraper12 thanks for reporting this, so the PR https://github.com/BlazingDB/blazingdb-io/pull/27 fixes the issue and this one will be available in our next release! Thanks @jeanp413 @mario21ic


documenting the bugsnag facade adding support to code-completion

Goal
Documenting the bugsnag facade will allow code-completion tools to display useful information about available methods.
This change introduces a subset of the (arguably) most commonly used features available throw the commented facade: \Bugsnag\BugsnagLaravel\Facades\Bugsnag.
Changeset
none
Tests
Not applicable
Discussion
Alternative Approaches
Inspired in the same patterns used to document facades in Laravel core packages.
Outstanding Questions
None
Linked issues
None
Review
For the submitter, initial self-review:

[x] Commented on code changes inline explain the reasoning behind the approach
[x] Reviewed the test cases added for completeness and possible points for discussion
[x] A changelog entry was added for the goal of this pull request
[x] Check the scope of the changeset - is everything in the diff required for the pull request?
This pull request is ready for:

[x] Initial review of the intended approach, not yet feature complete
[x] Structural review of the classes, functions, and properties modified
[x] Final review

For the pull request reviewer(s), this changeset has been reviewed for:

[ ] Consistency across platforms for structures or concepts added or modified
[ ] Consistency between the changeset and the goal stated above
[ ] Internal consistency with the rest of the library - is there any overlap between existing interfaces and any which have been added?
[ ] Usage friction - is the proposed change in usage cumbersome or complicated?
[ ] Performance and complexity - are there any cases of unexpected O(n^3) when iterating, recursing, flat mapping, etc?
[ ] Concurrency concerns - if components are accessed asynchronously, what issues will arise
[ ] Thoroughness of added tests and any missing edge cases
[ ] Idiomatic use of the language

@danieldevsquad
Thanks for the PR. We'll take a look.

Thanks for the PR @danieldevsquad!
I'll merge this in https://github.com/bugsnag/bugsnag-laravel/pull/408 with some extra methods and changelog entry added 🙂


W&B API: permission denied (<Response [403]>)

Hello,
when trying to run the main file an error happens. trying to access an  API, error below.
wandb: Currently logged in as: anony-moose-164205501462235178. Use wandb login --relogin to force relogin
wandb: ERROR Error while calling W&B API: permission denied (<Response [403]>)
wandb: ERROR It appears that you do not have permission to access the requested resource. Please reach out to the project owner to grant you access. If you have the correct permissions, verify that there are no issues with your networking setup.(Error 403: Forbidden)
Thank you for your help and good work

Hi, please see here for W&B documentation on logging in - you will need your own account and API keys.


cleanup component indexes to export instead of being the main component

Currently when using components inside react-magma-dom the sub components often have to be imported from multiple files
import { Card } from '../Card';
import { CardHeading } from '../Card/CardHeading';
import { CardBody } from '../Card/CardBody';

There should be a Card/Card.tsx a Card/CardHeading.tsx and a Card/CardBody.tsx
and then the Card/index.ts just does
export { Card, CardProps } from './Card';
export { CardBody, CardBodyProps } from './CardBody';
export { CardHeading, CardHeadingProps } from './CardHeading';

this would allow all the downstream components to just do
import { Card, CardHeading, CardBody } from '../Card'

This applies to Card, Dropdown, Modal, NavTabs, Table, Tabs.


When bundling documents which use the <base> tag, emulate it and remove it.

[x] CHANGELOG.md has been updated
Handle <base href="..."> values correctly when resolving imports.
Apply <base target="..."> to links and forms in the same document as appropriate.

@justinfagnani all change requests responded to and all refactoring committed.  PTAL


SelfDuration meaning

Please answer these questions before submitting your issue.

Why do you submit this issue?
[X] Question or discussion
[ ] Bug
[ ] Requirement
[ ] Feature or performance improvement

Question

What do you want to know?
I know TotalDuration = SelfDuration + duration(s) of child spans.
but what's meaning of  the SelfDuration Time ?
where is the API latency ?
what's relation with the API latency and the SelfDuration Time and the TotalDuration Time ?

Bug

Which version of SkyWalking, OS and JRE?
6.4.0

Which company or project?

What happen?
If possible, provide a way for reproducing the error. e.g. demo application, component version.

Requirement or improvement

Please describe about your requirements or improvement suggestions.

I am afraid, you should learn about Google Dapper Paper and the basic knowledge of span. Once you have that the formula I gave you should be enough. The duration at the left side is the duration of the segment, the segment is the set of spans belonging to one process flow, mostly one HTTP request.
Basically, you need your side study, don't treat us as a service provider, which we are not. Open-source community is collaborating with developers, preaching is evangelists', consultant, or commercial services' responsibility.


Why does the decoding of the dynerf dataset start from cam01.pm4, not cam00.pm4？

I am a beginner and I apologize for starting this issue. I hope you can provide assistance.

using "python train.py -s data/dynerf/sear_steak --port 6017 --expname "dynerf/sear_steak" --configs arguments/dynerf/sear_steak.py"

Hi, cam00.mp4 is used for evaluation, 01-20 are used for training.

@guanjunwu  After decoding the frame, I obtained images from 01-20 and removed MP4. Executing "bash colmap. sh data/dynerf/sea_steak llff", there is a discrepancy between the number of files and the number of cameras in npy. Do we need to modify the npy file?

@yanh929 cam00.mp4 should also be decoded. You can look at the new PR, which provides instructions for training dynerf scenes.

@yanh929 cam00.mp4 should also be decoded. You can look at the new PR, which provides instructions for training dynerf scenes.

for customized dataset, how to generate poses_bounds.npy file? @guanjunwu @jsxzs


Initialization of actuator status should follow EPANET file

The initialization of the DB values is always 0, instead it should follow the EPANET files

Completed in December


MD editor model layer breaker

It sits in common and depends on /node/

:+1: Ideally services live in common.


Fix malformed json assertion results file, close #3192

Adding a missing '[' to the value of the actualValue attribute

Fixes #3192

cherry-picked, thanks!

@slandelle any chance this can be included in 2.3.1?

Actually, this was shipped in 2.2.4


Added Code Coverage Documentation for GitHub Actions

Changes

Added basic documentation for github-actions test runner from changes part of release v2.0.1 and PR https://github.com/game-ci/unity-test-runner/pull/182

Checklist

[x] Read the contribution guide and accept the code of conduct
[x] Readme (updated or not needed)
[x] Tests (added, updated or not needed)

Will be merged after #218 is in.

Hey @webbertakken I was able to update, rebase went quite well. I updated it based on some notes from discussion in discord. If you have any other notes or comments let me know :)

Thanks a bunch @nicholas-maltbie :tada:


feat!: queries return structs instead of tuples

Query methods have been updated so that they all return either a NearestNeighbour, Vec<NearestNeighbour>, or Vec<BestNeighbour>, for consistency.

Codecov Report

Merging #65 (44ba591) into next (e1489a7) will increase coverage by 0.52%.
The diff coverage is 94.54%.

@@            Coverage Diff             @@
##             next      #65      +/-   ##
==========================================
+ Coverage   83.88%   84.40%   +0.52%
==========================================
  Files          29       29
  Lines        3593     3636      +43
==========================================
+ Hits         3014     3069      +55
+ Misses        579      567      -12

Impacted Files
Coverage Δ

src/fixed/query/nearest_n.rs
100.00% <ø> (ø)

src/fixed/query/within.rs
99.28% <ø> (ø)

src/fixed/query/within_unsorted.rs
100.00% <ø> (ø)

src/float/query/nearest_n.rs
94.11% <ø> (ø)

src/float/query/within_unsorted.rs
94.30% <ø> (ø)

src/lib.rs
100.00% <ø> (ø)

src/nearest_neighbour.rs
46.15% <33.33%> (ø)

src/best_neighbour.rs
46.15% <46.15%> (ø)

src/common/generate_best_n_within.rs
100.00% <100.00%> (ø)

src/common/generate_nearest_n.rs
100.00% <100.00%> (ø)

... and 8 more

:mega: We’re building smart automated test selection to slash your CI/CD build times. Learn more


Dilithium cert is not recognized

I followed this link and got to the starting TLS server step. But it seems that openssl doesnt recognize dilithium cert type. After I run this line
$ openssl s_server -cert server.crt -key server.key -www -tls1_3 -CAfile CA.crt -curves kyber512:p521_kyber1024

I got the error:
Using default temp DH parameters
error setting certificate
40D7675D127C0000:error:0A0000F7:SSL routines:ssl_set_cert:unknown certificate type:../ssl/ssl_rsa.c:239:

My openssl version does have oqsprovider:
$ openssl version
OpenSSL 3.0.2 15 Mar 2022 (Library: OpenSSL 3.0.2 15 Mar 2022)

$ openssl list -providers -verbose -provider oqsprovider
Providers:
  default
    name: OpenSSL Default Provider
    version: 3.0.2
    status: active
    build info: 3.0.2
    gettable provider parameters:
      name: pointer to a UTF8 encoded string (arbitrary size)
      version: pointer to a UTF8 encoded string (arbitrary size)
      buildinfo: pointer to a UTF8 encoded string (arbitrary size)
      status: integer (arbitrary size)
  oqsprovider
    name: OpenSSL OQS Provider
    version: 0.6.1-dev
    status: active
    build info: OQS Provider v.0.6.1-dev (8b3d460) based on liboqs v.0.10.1-dev
    gettable provider parameters:
      name: pointer to a UTF8 encoded string (arbitrary size)
      version: pointer to a UTF8 encoded string (arbitrary size)
      buildinfo: pointer to a UTF8 encoded string (arbitrary size)
      status: integer (arbitrary size)

I don't even know where is the ..ssl/ssl_rsa.c is so I don't know what to debug.
I have followed the previous step correctly, only the curl does not recognize kyber or dilithium, and it only displayed SSL connection using TLSv1.3 / TLS_AES_256_GCM_SHA384. I think this is not relevant but will mention it anyway

Hi @HarryLee02, I think you need at least OpenSSL v3.2 for full PQ-TLS support, see https://github.com/open-quantum-safe/oqs-provider/blob/main/README.md#32-and-greater.


Release Notes for 1.38.0

Release notes for 1.38.0

@radtriste whenever you feel like, you can merge it.

@radtriste whenever you feel like, you can merge it.

whenever GH allows it :D


pass user to get tree objects

This ensures the proper tenant/group is going across
This is similar to #4925 - that one is low hanging fruit, while this one requires some thought.
This hash is passed into Rbac.filtered, but it goes through many layers. It seems that these values are not stored/used anywhere else, but want a second opinion.
If we don't do this, chances are we will derive the correct user.current_group (and therefore tenant), But I am fixing all of these to avoid unknown edge cases.
/cc @dclarizio please point me to the best person to nail this down

@kbrock I think @h-kataria can help you out here


Dynamic percentage based traffic routing with istio

Describe the feature request
I want to use istio for doing blue green deployment but i don’t want the traffic percentage to be static. I want it to be variable acccording to some logic i apply For example i want the logic to be http error count in both versions and the one with lower error count would get a higher traffic percentage. Can this be accomplished via some istio feature or has to be done manually?
Describe alternatives you've considered
The current alternative i think is writing a shell script for getting the errors via curl requests, replacing percentages in virtual service yaml file and applying it again and doing all this in a loop.Is there a better way?
Affected product area (please put an X in all that apply)
[ ] Configuration Infrastructure
[ ] Docs
[ ] Installation
[X ] Networking
[ ] Performance and Scalability
[ ] Policies and Telemetry
[ ] Security
[ ] Test and Release
[ ] User Experience
[ ] Developer Infrastructure

The general idea of dynamic perctanges is a bit outside the scope of what we are trying to do, but is something that could be potentionally handled by istio/operator or other higher level tools.
However your specific ask

For example i want the logic to be http error count in both versions and the one with lower error count would get a higher traffic percentage.

I would suggest you look at https://istio.io/docs/reference/config/networking/v1alpha3/destination-rule/#OutlierDetection


Update population-health-management-for-healthcare.md

Diagram is above and not below

@BMichaelJ : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

@ktoliver : Thanks for your contribution! The author(s) have been notified to review your proposed change.

Thanks for this fix @BMichaelJ