🐛 Frame processor is getting distorted, whereas inbuild code scanner is working fine

What's happening?
I have to process the barcode and OCR both in my application therefore I am relying on frame processor but the frame processor returns distorted UI, even without using any other plugin. When I use the builtIn barcode scanner the video is not distorted but then for the OCR I have to rely on taking snapshots and processing that instead.
There is a major difference between built in frame processor and code scanner in all android devices.
This is from frame processor

This when using code scanner

Reproduceable Code
const frameProcessor = useFrameProcessor((frame) => {
		'worklet';

		console.log(frame.height);
	}, []);

	const codeScanner = useCodeScanner({
		codeTypes: ['qr', 'ean-13'],
		onCodeScanned: (codes) => {
			'worklet';

			console.log(`Scanned ${codes.length} codes!`);
		},
	});

Relevant log output
12-20 15:06:34.738 31241 31879 I CameraView: invokeOnAverageFpsChanged(19.95798319327731)
12-20 15:06:34.772 31241 31430 I ReactNativeJS: 1080
12-20 15:06:34.776   449 31942 E awb_adpt: 2336, awb_sprd_ctrl_calculation_v3: check handle success
12-20 15:06:34.776   449 31936 E smart_ctrl: 1911, smart_ctl_calc_atm: jhin_atm atm_switch_state:0 1
12-20 15:06:34.776   449 31936 E smart_ctrl: 1914, smart_ctl_calc_atm: jhin_atm atm_version 2
12-20 15:06:34.776   449 31936 D ATM     : 1099, atm_calc: smooth out frame_id 70 u4EVD 256 smooth u4EVD 256.000000  bv -266
12-20 15:06:34.779   449 31924 I Libae[HM]: 1073,hm:cam:ae,WEIGHT IS -267,0,6,15

Camera Device
{
  "hardwareLevel": "limited",
  "minExposure": -32,
  "neutralZoom": 1,
  "minZoom": 1,
  "supportsFocus": true,
  "formats": [],
  "supportsLowLightBoost": false,
  "hasTorch": true,
  "supportsRawCapture": false,
  "minFocusDistance": 0.09775171065493646,
  "sensorOrientation": "landscape-left",
  "maxZoom": 4,
  "physicalDevices": [
    "wide-angle-camera"
  ],
  "isMultiCam": false,
  "position": "back",
  "id": "0",
  "hasFlash": true,
  "maxExposure": 32,
  "name": "0 (BACK) androidx.camera.camera2"
}

Device
narzo 50i (Android)
VisionCamera Version
4.5.1/4.6.3
Can you reproduce this issue in the VisionCamera Example app?
Yes, I can reproduce the same issue in the Example app here
Additional information

[X] I am using Expo
[X] I have enabled Frame Processors (react-native-worklets-core)
[X] I have read the Troubleshooting Guide
[X] I agree to follow this project's Code of Conduct
[X] I searched for similar issues in this repository and found none.

Apparently the issue is with the camera format if you use the format key in the camera component is causes the frame to give distorted image even if you are using the current resolution.
			<Camera 					device={device} 					isActive={true} 					format={format} // this is causing distorted video with frame processor. 					onError={handleError} 					style={{ height: cameraHeight, width }} 				/>


Update dependencies

This PR updates alpine base image on ci, fw-kube-bench, fw-kubesec, fw-trivy, utils images to address CVEs. Update goldilocks to v4.8.2 and aws-costs to 1.3.0
Checklist

[x] I have signed the CLA
[x] I have updated/added any relevant documentation

Description
What's the goal of this PR?
Fix CVEs
What changes did you make?
Update dependencies

I've backed out my changes in this PR to introduce a more robust approach to vulnerability scanning for a a couple of reasons:

It was difficult to reason about when the scan should run
We push a new image with the commit SHA only if the image configuration changed, and the scan is happening downstream. There isn't a straightforward way to tell if the image simply failed to build previously or if does not exist because it wasn't changed

This now only contains the base image updates to address CVEs


Fix typo. in README.md

Summary
Changing occured to occurred.

Test plan
No test plan needed.

thank you!

Codecov Report

Merging #3635 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master    #3635   +/-   ##
=======================================
  Coverage   62.46%   62.46%
=======================================
  Files         181      181
  Lines        6652     6652
  Branches        6        6
=======================================
  Hits         4155     4155
  Misses       2494     2494
  Partials        3        3

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 a3ef627...d4e36c5. Read the comment docs.


setting GRUB_DEFAULT

This part of the README install instructions is not super-clear, I don't know what GRUB_DEFAULT should be set to.

If using grub2 as your bootloader, you can edit the GRUB_DEFAULT variable in the following file:
sudo vi /etc/default/grub
sudo update-grub

I have been working on new getting started instructions
https://rocm.github.io/ROCmInstall.html
Install or update ROCm
sudo apt-get update
sudo apt-get install rocm rocm-opencl-dev
Then, make the ROCm kernel your default kernel. If using grub2 as your bootloader, you can edit the GRUB_DEFAULT variable in the following file:
sudo nano /etc/default/grub
set the GRUB_Default Edit: GRUB_DEFAULT=”Advanced options for Ubuntu>Ubuntu, with Linux 4.9.0-kfd-compute-rocm-rel-1.6-77”
sudo update-grub
On Jul 5, 2017, at 7:24 AM, James Newling <notifications<EMAIL_ADDRESS>wrote:
This part of the README install instructions is not super-clear, I don't know what GRUB_DEFAULT should be set to.
If using grub2 as your bootloader, you can edit the GRUB_DEFAULT variable in the following file:
sudo vi /etc/default/grub
sudo update-grub
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHubhttps://github.com/RadeonOpenCompute/ROCm/issues/150, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AD8DuRXCMrprOpmmvgqHbmTlVpkH06YPks5sK4BkgaJpZM4OOQxd.


acknowledge Mathias Doenitz, Alexander Myltsev copyright in our main LICENSE

http-core/src/main/scala/org/apache/pekko/http/impl/model/parser/StringBuilding.scala
has this source header
/*
 * Copyright (C) 2009-2017 Mathias Doenitz, Alexander Myltsev
 *
 * Licensed under the Apache License, Version 2.0 (the "License");
 * you may not use this file except in compliance with the License.
 * You may obtain a copy of the License at
 *
 * http://www.apache.org/licenses/LICENSE-2.0
 *
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS,
 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
 * See the License for the specific language governing permissions and
 * limitations under the License.
 */

@jrudolph any idea where this originates? Unfortunately, we need to track down the original file so that we can see if the project has a LICENSE or NOTICE that we need to copy too.

It's not used any more since we moved to upstream parboiled2, see #251.


[package_info_plus] Make PackageInfo testable with mock data

Description
Added a similar method as already given in the shared_preference plugin (https://github.com/flutter/plugins/blob/master/packages/shared_preferences/shared_preferences/lib/shared_preferences.dart#L196), to allow the easy usage of the package_info_plus plugin during tests. The method allows the setup of mock data and also enables the developer to change the data during tests.
Related Issues
Fixes https://github.com/fluttercommunity/plus_plugins/issues/145
Checklist

[x] I read the [Contributor Guide] and followed the process outlined there for submitting PRs.
[x] My PR includes unit or integration tests for all changed/updated/fixed behaviors (See [Contributor Guide]).
[x] All existing and new tests are passing.
[x] I updated/added relevant documentation (doc comments with ///).
[x] The analyzer (flutter analyze) does not report any problems on my PR.
[x] I read and followed the [Flutter Style Guide].
[x] I am willing to follow-up on review comments in a timely manner.

Breaking Change
Does your PR require plugin users to manually update their apps to accommodate your change?

[x] No, this is not a breaking change.

One small remark. I wasn't able to execute the Melos analyze / formatting tasks without problems, as the Melos config file currently uses the pub command. I only have a pretty new Dart / Flutter installation so my installation only supports flutter pub or dart pub. Would it be a good idea to migrate as described here or would this break other installations?

Would it be a good idea to migrate as described here or would this break other installations?

Sounds good!

P.S. If you want to bump the pubspec version and add an entry to changelog, we can publish this right away.

Thanks for the super fast feedback :). I will bump the version and add the changelog entry in the next minutes 👍

Added the version increment + change log entry as a separate commit. Hopefully this is fine, as I wasn't sure if I should force push over the old commit instead or if a new commit would be more fitting.

Published: https://pub.dev/packages/package_info_plus/versions/0.6.4


Add transformation that generates summary statistics

This patch adds the aggregate transformation to metldata that can aggregate information from the metadata into newly generated summary statistics classes. Input and output paths as well as the applied aggregation functions are configurable:
https://github.com/ghga-de/metldata/blob/051df4748011955559c0f46bc7b9ff91fbff5e98/tests/fixtures/transformations/aggregate/default/config.yaml#L1-L99
Notes

The output model is newly generated and consists (besides the Submission root class) only of the generated summary classes.
An output class always corresponds to an input class and retains its identifier.
Aggregating over the root class (Submission) is currently not possible but could be accommodated if needed.
Due to the fact that there is no supported equivalent to additionalProperties in LinkML, the previous schema used for value countsHiSeq X Ten: 4
Illumina HiSeq 4000: 7
Illumina HiSeq 2500: 3

was changed to- value: "HiSeq X Ten"
  count: 4
- value: "Illumina HiSeq 4000"
  count: 7
- value: "Illumina HiSeq 2500"
  count: 3

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.8%) to 91.768%

Totals

Change from base Build<PHONE_NUMBER>:
0.8%

Covered Lines:
2564

Relevant Lines:
2794

💛  - Coveralls


Docs imported from studio/master

CC: @radinamatic - docs imported from studio.
Will import the develop branch, too.

Yey, first PR on this ganz neu repo!!! ❤ 👍 🌟
Thank you so much @benjaoming for setting this up!!! 🙇♀

It's so nice to get docs split out... I also wondered a bit about having these constant Read The Docs rebuilds for no reason... really bad for the environment to have hundreds if not thousands of build jobs for no reason.

And now they are officially 💥


[bazel] Revert "Enable bzlmod in hybrid mode"

This reverts commit 21d4988a339c9df0a340953ee26b0208951451ab.
Bazelisk does not understand that WORKSPACE.bzlmod and MODULE.bazel mark the top of the Bazel repository and fails to recognise the .bazelversion file. Reverting until this is fixed.

Oops, signoff. It's only been two years :)

Fixed in #25562, closing


Remove the create/delete operator actions from the epinio app chart ensemble.

For all that the issue is in the icebox, the base change looked to be trivial, so here it is, with some fixes to the cli doc generation.
The larger change, TODO, is updating the test suite, as it currently uses and tests the chart create/delete commands.
fix #1400
fix: remove chart operator commands, minimal change
fix: typo in operator command create
fix: cli doc generation.

Codecov Report

Merging #1401 (d32d4b4) into main (8d85911) will decrease coverage by 0.02%.
The diff coverage is n/a.

@@           Coverage Diff            @@
##            main   #1401      +/-   ##
========================================
- Coverage   7.75%   7.72%   -0.03%
========================================
  Files         69      69
  Lines       7273    7271       -2
========================================
- Hits         564     562       -2
  Misses      6669    6669
  Partials      40      40

Flag
Coverage Δ

unittests
7.72% <ø> (-0.03%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files
Coverage Δ

internal/cli/chart.go
10.98% <ø> (-1.92%)
:arrow_down:

Continue to review full report at Codecov.

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

api failure looks to be imported from main - not in modified code/tests, was noted in slack for other branch, possibly even main.


Verification environment integration

Hi @LeeHoff, what this the goal of this task?

Given that the CV32E20 has been integrated into the CORE-V-VERIF environment and that ci_check regressions are running under multiple simulators, I would suggest that this task is complete.  There is more work to do, most importantly integrating ImperasDV, but this is tracked under task #32.

Re-assigning to Mario and myself.   The completion criteria for this Task:

Integration of CV32E20 into the cv32e20-dv (CORE-V-VERIF) environment.
ci_check regressions are running under multiple simulators.
Integration with the Spike reference model.
Conclusion of #32.
Merging of all cve2 related updates to the master branch of CORE-V-VERF.


pull request for e2e test at 01/17/2017 20:45:13

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


remove useless and/or dubious compiler flags

refs #133
-D_FORTIFY_SOURCE has no effect under -O0
And there's nothing in this repo that _FORTIFY_SOURCE would check.
-fwrapv is a code-generation option
Variant, being a header-only library, should work with or without
this, and indeed will, because it doesn't rely on signed overflow
behavior. For the sake of testing, it makes more sense to test in
standard-compliant conditions, i.e. without -fwrapv.
-Wsign-compare is already enabled by -Wall -Wextra
-Wformat-security can be enabled by -Wformat=2
-Wno-unsequenced is unacceptable, unless there's a strong reason for it
Note that any warnings suppressed here will pop up in user code
using the library, and this one in particular should not be casually
suppressed.
The rest of CLANG_WARNING_FLAGS are redundant, as these warnings aren't
enabled by default, nor by -Wall -Wextra.

👍  thanks for tuning these. The CLANG_WARNING_FLAGS were a copy/paste mistake.


A way to see events

Is your feature request related to a problem? Please describe.
It's hard sometimes to understand when important events happened. For example, the motor's current got to zero because it hit a limit switch, but there's no easy way to see this and correlate between these two events.
Describe the solution you'd like
I was imagining something like a logging function in AdvantageKit that receives a logging message, severity level, and an optional JSON metadata field (could be a Map object) used for filtering or custom purposes (log type like "command started", "sensors" type; subsystem name, etc). Then you can see the events as you hover over the line graph or as lines inserted in the table view. Regarding the graph, I thought of something like in this screenshot -- events would be shown as dashed lines, similar to the timestamp, and when hovered would show the full message. A window to filter based on the aforementioned JSON will also be available.
Something else that could be useful is attaching logs to subtables, so only when values from the relevant suitable are used will the associated events be shown.

For the example you gave, you can log the value of the limit switch as a boolean on the line graph and show it as a discrete field. In general, events and state changes can be expressed as discrete fields (booleans, strings, etc). Does this cover your use case?

Can strings be shown on the graph?

Yes, you can drag then to "discrete fields"

Oh, that's nice! Didn't know about that. That seems as a good solution for what I was looking for, thanks.
The filtering feature might still be useful.

I'm not sure what you mean by "filtering." Fields are already organized by table, and you can easily toggle the visibility of each field on the graph.

For example, a team logs every second some string with state for each subsystem, but it's being logged to the same key. The team can add {"subsystem": "elevator"}/{"subsystem": "drivetrain"}, etc. to the string metadata, then filter only "elevator" state logs.

In that case, the states of different subsystems should probably be logged to different keys. That could also keep them organized into tables.

That sounds reasonable. Thanks!


Release CETL via conan center

Publish CETL as a conan package on https://conan.io/center/

yea. I don't see why not. Still doesn't mean this would be nice to have via conan though?


slugrunner: Retry downloading slugs

This prevents slugrunner jobs failing immediately if started when the blobstore is temporarily unavailable (e.g. when resurrecting the cluster and the job starts before the blobstore).
Tested manually by scaling the blobstore down to zero, scaling my app up, scaling the blobstore back up after 10s and seeing that my job started ok (albeit delayed by 10s).
Fixes #1428.

LGTM


More readable test steps in Playwright's report

This library is really helpful in implementing the Screenplay pattern! However a small issue I have is that the test steps shown in the report show the playwright function call inside the ability instead of the call made in my test file, which makes it slightly more troublesome to trace (see screenshot below).
Do you know if there's a way around this? One workaround I'm thinking of is to wrap my Actions in test.step to make it more readable.

What kind of message do you want to print? You can use annotations if you have something per test basis like that:
js test.info().annotations.push({ type: 'something', description: 'some description' });
Also console.logs should get reflected in the stdout section. For grouping, you can use test steps: https://playwright.dev/docs/api/class-test#test-step

SInce quite a while you can activate logging to stdout by setting an env var

export DEBUG=testla:sp

However working on a proper report. Stay tuned!

Beta (1.7.0) is out for this feature


Tab ordering/control in TextField

Not sure if this would be an easy one to fix with the way MAUI is currently (i.e. no such thing as tabstops anymore).
If you have AllowClear enabled, tabing within the text field changes the focus to the clear button instead of the next control.
i.e. If you want to tab to the next field for entry, you have to tab twice
This breaks up the workflow and I have just been avoiding the clear button because of it.

It seems TabIndex was removed from MAUI with PR https://github.com/dotnet/maui/issues/1646
I'll take a look at it to find out what can be done.

Got a PR for this.
Not perfect but good enough.
Waiting on #634 PR to be incorped


picocrypt: 1.35 -> 1.36

Description of changes
Diff: https://github.com/Picocrypt/Picocrypt/compare/1.35...1.36
Changelog: https://github.com/Picocrypt/Picocrypt/releases/tag/1.36
Things done

Built on platform(s)

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

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

[ ] sandbox = relaxed
[ ] sandbox = true

[ ] Tested, as applicable:

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

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

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

[x] Fits CONTRIBUTING.md.

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

Closed in favor of #325753


Measure emitting records counts and their sizes for input and output metrics and used it in in_monitor_agent (revised)

Which issue(s) this PR fixes:
None
What this PR does / why we need it:
Currently, Fluentd metrics do not have emit size for calculating flow rate (per sec or  per hour).
Fluentd Input plugin and Output should have emit_records and emit_size metrics.
But, currently, I disabled input metrics and size metrics by default for performance concerns.
enable_input_metrics in system config is false by default.
enable_size_metrics in system config is also false by default.
Docs Changes:
Needed.
Release Note:
Same as title.

Sorry, I accidentally deleted PRed branch.... :cry:

Oh... :sweat_smile:

And I measured simple benchmark testing for filter case (not included in this PR):
#!/usr/bin/env ruby

require 'benchmark/ips'

require_relative 'test/helper'
require 'fluent/plugin/filter'
require 'fluent/event'
require 'fluent/engine'
require 'fluent/event_router'

class DummyStreamFilter < Fluent::Plugin::Filter
  def filter_stream(tag, es)
    es
  end
end

class DummyFilter < Fluent::Plugin::Filter
  def filter(tag, time, record)
    record
  end
end

def create_filter_stream(router)
  f = DummyStreamFilter.new
  f.context_router = router
  f.configure(config_element())
  f
end

def create_filter(router)
  f = DummyFilter.new
  f.context_router = router
  f.configure(config_element())
  f
end

router = Fluent::EventRouter.new(Fluent::NoMatchMatch.new($log), self)

fs1 = create_filter_stream(router)
fs1.use_size_metric = false

fs2 = create_filter_stream(router)

f1 = create_filter(router)
f1.use_size_metric = false

f2 = create_filter(router)

t = event_time()
es = Fluent::ArrayEventStream.new([ [t, {"key" => "value1"}], [t, {"key" => "value2"}] ])

Benchmark.ips do |x|
  x.report("before -- filter stream") do
    fs1.filter_stream('tag', es)
  end

  x.report("after -- filter stream") do
    fs2.filter_stream('tag', es)
  end

  x.report("before -- filter") do
    f1.filter('tag', t, {"key" => "value1"})
  end

  x.report("after -- filter") do
    f2.filter('tag', t, {"key" => "value1"})
  end
end

$ % bundle exec ruby bench_filter_metrics.rb
Warming up --------------------------------------
before -- filter stream
                       377.028k i/100ms
after -- filter stream
                       373.687k i/100ms
    before -- filter   217.949k i/100ms
     after -- filter   209.939k i/100ms
Calculating -------------------------------------
before -- filter stream
                          3.629M (± 6.5%) i/s -     18.097M in   5.010721s
after -- filter stream
                          3.614M (± 6.6%) i/s -     18.311M in   5.091728s
    before -- filter      2.427M (± 7.7%) i/s -     12.205M in   5.058706s
     after -- filter      2.434M (± 8.3%) i/s -     12.176M in   5.043038s

Output performance regression is not observed in filter, but for the base classes' consistency, I'll add enable_size_metrics system config handling for filter base class and bare_output and multi_output base classes.

I resolved conflicts. I'll merge this PR after CIs are finished.


Project: AIBoosterShot

Project name
AIProductivityBooster-Together
Description
We have developed a Microsoft Teams bots(Boost10x and MyTaskReminder) that offers below key features to enhance users' well-being and productivity.
Mindfulness Videos:
Description: In today's fast-paced world, it's very common for individuals to experience burnout, stress, and a lack of focus. To address this, our bot provides a mindfulness feature that aims to promote relaxation, mental clarity, and overall well-being.
Command: Users can trigger this feature by using the 'mindfulness' command within the Teams chat.
Functionality: When the 'mindfulness' command is used, the bot will automatically fetch the best mindfulness videos available on the internet. These videos are carefully selected to offer guided meditation, breathing exercises, and other mindfulness practices. Users can engage with these videos at their convenience, finding moments of calm and rejuvenation amidst their busy schedules.
Light Exercises:
Description: With the increasing number of individuals working from home, maintaining a healthy lifestyle and staying active can be a challenge. To address this, our bot offers a light exercise feature that allows users to incorporate quick and energizing exercises into their daily routines.
Command: Users can initiate this feature by using the 'lightexercise' command in the Teams chat.
Functionality: Upon using the 'lightexercise' command, the bot will present users with animated exercise visuals. These visuals guide users through a series of light exercises that can be done in a short amount of time and with minimal equipment. The exercises are designed to target various muscle groups, promote flexibility, and improve circulation. Users can follow along with the animations at their own pace, incorporating these exercises into their daily routine to maintain their physical well-being and boost their energy levels.
Image Analyzer:
Description: Our bot includes an image analyzer feature that allows users to gain insights about uploaded images. Whether it's a travel photo, a picture of a dish, or an unfamiliar object, the image analyzer provides valuable information to help users explore and understand the world through visual content.
Functionality: When a user uploads an image to the bot, the image analyzer component comes into play. Leveraging advanced image recognition and analysis techniques, the bot processes the image and generates a description of its contents. This description can include details such as landmarks, objects, animals, plants, and more. By receiving this information, users can discover new places, learn about different cultures, identify unknown objects, or simply satisfy their curiosity through the images they encounter.
Task scheduler and Reminder This is a notification bot which notifies a user by showing reminders on scheduled time for scheduled task which ould help user to increase productivity.
Usage:
Install our bot in your Teams application 💻
To access mindfulness videos and promote relaxation, use the 'mindfulness' command in the Teams chat. 🕊
To incorporate light exercises into your daily routine and maintain physical well-being, use the 'lightexercise' command. 🤸♂
To gain insights about uploaded images and explore the world through visual content, simply upload the image to the bot. ℹ
To schedule tasks and get reminder, use command schedule task and follow the further conversation.
Note: The Microsoft Teams bot aims to support users in managing stress, promoting physical activity, and expanding their knowledge and curiosity through image analysis. By offering mindfulness videos, light exercises, and image insights, users can enhance their overall well-being, improve their focus and productivity, and explore the world without leaving the Teams platform.
Project Repository URL
https://github.com/JyotiDagar/Hack-Together-Teams.git
Project video
https://drive.google.com/file/d/1FNos6kAhNiRY8gxXGKqb4_aKsjJhPuZ5/view?usp=drive_link
Team members
JyotiDagar, Krishdu

Thank your for your project submission @JyotiDagar, we are looking forward to checking out your project! Would you be willing to fill out the feedback survey? That'd help us learn from your experience and improve the hackathon next time: https://aka.ms/hack-together-teams/survey


feat: migrate all message to messageId

Migrate all message to messageId (for the update to eslint-plugin-eslint-plugin)
(#471)

Was this one supposed to be as a draft too?

It looks per https://github.com/eslint-community/governance/pull/1/files that collaborators (and not only team members) can do merges (presumably on other-than-their-own PRs), so I'll go ahead and merge.

I changed from feat to refactor, as it seems there are no user-facing changes.

I changed from feat to refactor, as it seems there are no user-facing changes.


Stable/Spark-history-server - completed spark jobs url redirecting  https --> http and timing out in chrome/Mozilla

Deployed Spark-history-server
version: 1.4.3
appVersion: 2.4.0
While accessing completed jobs in spark history server UI:
Completed spark jobs url redirecting from https --> http and timing out in Chrome/Mozilla. Where as the redirect to http is not happening in Safari and able to navigate through completed spark job in Spark history server.
Any one experienced this issue and any possible solutions?

Hi, @mshilamk8s - you're asking this question in a deprecated repo for helm charts, so you probably want to ask elsewhere. I suggest starting with https://stackoverflow.com/questions/61218954/when-ssl-is-enabled-spark-ui-doesnt-use-https-but-forwards-to-port-0-over-htt and seeing if that helps; if it does not, then stackoverflow is likely a better place to ask. Best of luck.


Rare crash issue when triggering hotkeys just before map change

Scenario: someone scrolls into uw, you're using your hotkey to swap all 5 armour pieces at once. With good ping, no issue. With bad ping and some unlucky timing, gw crashes.

I have had the bad ping spike when casting spells, however. I do not believe that could crash the game.

@DubbleClick would be good to get some dumps for this if it happens again

@DubbleClick would be good to get some dumps for this if it happens again

No dumps happen there, gane either hangs indefinitely or instantly closes.

I’m starting to think we should move the update loop into the render callback instead of the game thread


Thermostat Reporting Incorrect Temps

Please see details here. I added the issue to the incorrect page
https://github.com/homebridge/homebridge/issues/3319#issuecomment-1433121751

Please find the answer to your problem in the wiki.
https://github.com/milo526/homebridge-tuya-web/wiki/Something-will-receive-higher-or-lower-value-than-allowed

Hi, thank you very much for the quick response and the wiki.
This has worked perfectly. I really appreciate your work on this.
Do you by any chance know if or how I could add a robot vacuum here?


Set up setuptools

That's nice. But shouldn't the setup.py also include the requirements?

Thanks for pointing that out! I have added numpy and scipy as required dependencies in setup.cfg

(Just did rebase and force-push to avoid having all intervening commits appear in this PR)

@JonathonLuiten Thanks a lot for all your work. We are also looking forward to be able to use trackeval as a package. It seems to be the purpose of this PR. Any plan of merging this PR soon on your side ? Thanks a lot again

This has been merged. Let me know if there is anything else that needs changing?


[Bug] [Seatunnel-web] GET /seatunnel/api/v1/job/executor/resource API is not using logged-in user.

Purpose of this pull request

Check list

[ ] Code changed are covered with tests, or it does not need tests for reason:
[ ] If any new Jar binary package adding in your PR, please add License Notice according
New License Guide
[ ] If necessary, please update the documentation to describe the new feature. https://github.com/apache/seatunnel/tree/dev/docs

Exected related test case

Please fix conflict

resolving the problems

Resolved the conflics. But I think the conflict will popup again in this PR after https://github.com/apache/seatunnel-web/pull/194 is merged.

Resolved conflicts.

Thanks @Hisoka-X for reviewing and merging the PR.


Fix foreach ending on tables with type mismatch

Fixes #2803
This repeats the iter in a loop until a type match or nil.
This might be better as a fix in the rcompiler to run typecheck in the loop, so as to preserve the intent of iter. Unfortunately, despite my attempts, I can't find a way to safely put the responsibility on the compiler instead.
If I had the approval to change the signature of operator iter to include type at the end, it would be terribly easy to move into the compiler instead, however passing type is also a bit heavyhanded of an approach.

@Vurv78 this good to merge?


Vimeo throws an error (player.js)

[ ] Issue does not already exist Not that I can see
[ ] Issue observed on https://plyr.io: YES

Expected behaviour
Video should play without throwing any errors
Actual behaviour
As soon as the video starts to play the following error is thrown
Uncaught TypeError: navigator.mediaSession.setActionHandler is not a function
    at t.value (player.js:13)
    at t.<anonymous> (player.js:13)
    at t.Te.e.fire (player.js:3)
    at player.js:15
    at i (player.js:9)
value @ player.js:13
(anonymous) @ player.js:13
Te.e.fire @ player.js:3
(anonymous) @ player.js:15
i @ player.js:9

So it looks like the error is coming from player.js
Environment

Browser: Chrome
Version:  Latest
Operating System: OS
Version:  2.0.11

Players affected:

[ ] Vimeo

Steps to reproduce
Press play... look in the console!

Head on over to the Vimeo API for this one then:
https://github.com/vimeo/player.js/issues


Combine /: with :?

Say I have a request localhost:8080/endpoint/some/path?param=1, and I want to extract /some/path part and query params part, so I write:
case req @ _ -> "endpoint" /: subUrl :? ParamMatcher(param) =>

But this doesn't not work, /: may overlap the :? so this router will finally match the NotFound part.
Any idea?

Hmm.  It seems to work for me?
scala> val routes = HttpRoutes.of[IO] { case _ -> "endpoint" /: subUrl :? ParamMatcher(param) => Ok(s"$subUrl :: $param") }
routes: org.http4s.HttpRoutes[cats.effect.IO] = Kleisli(org.http4s.HttpRoutes$$$Lambda$7433/1082888865@10e4e2fa)

scala> routes.run(Request[IO](Method.GET, uri"/endpoint/sub1/sub2/sub3?foo=bar")).semiflatMap(_.as[String]).value.unsafeRunSync()
res19: Option[String] = Some(/sub1/sub2/sub3 :: bar)

Well, how about this?
object TestMain extends IOApp {
  object ParamMatcher extends QueryParamDecoderMatcher[String]("param")

  val routes = HttpRoutes
    .of[IO] {
      case _ -> "endpoint" /: subUrl :? ParamMatcher(param) => Ok(s"$subUrl :: $param")
    }
    .orNotFound

  override def run(args: List[String]): IO[ExitCode] =
    BlazeServerBuilder[IO]
      .bindHttp(6666)
      .withHttpApp(routes)
      .serve
      .compile
      .drain
      .map(_ => ExitCode.Success)
}

I just get 404 Not Found when using Postman to access http://localhost:6666/endpoint/user/get?param=test

I'm not sure what version the original report was on, but it works for me on series/0.21 today:
$ curl http://localhost:6666/endpoint/user/get?param=test
/user/get :: test


helm: Fix typo in dashboard path

Please ensure your pull request adheres to the following guidelines:

[ ] For first time contributors, read Submitting a pull request
[ ] All code is covered by unit and/or runtime tests where feasible.
[ ] All commits contain a well written commit description including a title,
description and a Fixes: #XXX line if the commit addresses a particular
GitHub issue.
[ ] If your commit description contains a Fixes: <commit-id> tag, then
please add the commit author[s] as reviewer[s] to this issue.
[ ] All commits are signed off. See the section Developer’s Certificate of Origin
[ ] Provide a title or release-note blurb suitable for the release notes.
[ ] Are you a user of Cilium? Please add yourself to the Users doc
[ ] Thanks for contributing!

Resolve typo in path for cillium dashboards
Fixes: bdbb1294f251f ("helm: Add example dashboards as chart options ")

Thanks @jcpunk!

/test

Jenkins CI all failed with  controller write-cni-file failure 'failed to render CNI configuration file: invalid CNI chaining mode: ' - this unrelated to this PR (it's also happening on other PRs) and caused by a desync issue due to changes to the Helm charts present on master which are pulled in by Jenkins, but not present on this branch.
ci-verifier failed with unrelated new flake: https://github.com/cilium/cilium/issues/24808

Since none of the code here is tested by Jenkins CI or related to BPF, I am marking this PR as ready to merge.


Allow customising chevron colour

Is your feature request related to a problem? Please describe.
Currently, there is no way of customizing the chevron colour, so it's difficult to get a dark mode looking right.
Describe the solution you'd like
A separate property added to CheckoutTheme for altering the chevron tint color.
Describe alternatives you've considered
Trying to access the underlying UIButton and changing the tint colour of the image view.
Additional context
The disclosure indicator chevron next to "Billing Details*" is black and cannot be customised:

@mvoong this is now released : https://github.com/checkout/frames-ios/releases/tag/3.3.0. Any questions please feel free to reopen the issue. Once again thank you for creating the PR.

Thanks, we've integrated with this already and looks good.


[WIP] Int4Tensor refactor to implements pattern

Refactoring UInt4Tensor to have implements pattern similar to nf4tensor  and UInt2Tensor
ToDo

[x] Create implements for UInt4Tensor and PerChannelSymmetricWeight
[x] Test Cases
[x] Move uint4i to uint4.py

@melvinebenezer thanks for working on this, can you take a look at Developer API in https://github.com/pytorch/ao/issues/391, this has the structure of what new dtype tensor subclass can use

Todo

[ ] Use AffineQuantizedTensor
[ ] Convert test cases to pytest to maintain uniformity

@melvinebenezer we have landed Uintx tensor subclass to affine quantized tensor recently: https://github.com/pytorch/ao/blob/main/torchao/dtypes/uintx/Uintx.py
we now have a UintxTensor here: https://github.com/pytorch/ao/blob/ba2d3b1333b90ccd0186216649a1c58c6a17ce56/torchao/dtypes/uintx/Uintx.py#L38 so uint4 tensor can probably be deprecated for now, I think moving over the relevant operator implementation UintxTensor might be helpful (add add some tests for the new ops)

@jerryzh168 Sure, will make the changes

@jerryzh168  shall I close this draft and work on new one ?

@jerryzh168 shall I close this draft and work on new one ?

yeah opening a new one makes more sense I think

@jerryzh168 Yes makes total sense. will continue the conversation in discord and the new PR


migrate from @azure/core-http to @azure/core-rest-pipeline

We should move to @azure/core-rest-pipeline which is newer and modern version of our azure core library.  Looks that the usage of core-http include

bearerTokenAuthenticationPolicy.  Is this internal usage only?
TokenCredential interface

PR #1040


Internal PHP Validation Provider uses a problematic value for endCharacter

Does this issue occur when all extensions are disabled?: Yes

VS Code Version: 1.83.1 (user setup) f1b07bd25dfad64b0167beb15359ae573aecd2cc
OS Version: Windows_NT x64 10.0.22621

When the internal PHP Valudation Provider is enabled "php.validate.enable": true it is reporting Diagnostics with a Range end Character value of Number.MAX_VALUE.
https://github.com/microsoft/vscode/blob/c05b49710b0fff24aa4380751e02b53c54e784ce/extensions/php-language-features/src/features/validationProvider.ts#L200C6-L200C6
This causes other language servers to get a message textDocument/codeAction with the value of 1.7976931348623157e+308.
Steps to Reproduce:

Create PHP file, create a line with an error.
Have some PHP language server and inspect LSP communication

Additional info:
LSP defines that position should use type uinteger https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#position that is supposed to be 0 to 2^31 - 1 https://microsoft.github.io/language-server-protocol/specifications/lsp/3.17/specification/#uinteger
Perhaps a better solution than fixing each location that uses Number.MAX_VALUE in VSCode - and possible other extensons - would be to catch this where LSP messages are generated and sent to individual Language Servers.
Fix for internal PHP Valudation Provider is in #196166

This can probably be closed. Unless You'd prefer to implement some more generic logic in the LSP code, that would prevent sending out miss-formatted messages like this.
As far as I looked it doesn't seem to be possible to check this with TS type system, but I could be wrong.

Oh, I'll close it from https://github.com/microsoft/vscode/pull/196166, thanks


Code improvement3

Code improvements, moving code so less extern global declarations needed, fixed two bugs, commenting unused code, fix compiler warnings.

@dingo35 Thanks for the effort! We went to most of the changes and they seem ok, except could elaborate more on the changes done in #b29bf67 ?
The goal would be to create a auto snapshot build (need to add some Actions stuff first to enable this) from this PR. Are you able to test most of the functionality?
Btw: for the future I would propose to create multiple PR's so we can prioritize them, so like separate code refactorings, bug fixes...This allows to move forward faster with the essential stuff while focusing on this so we keep the risk of breaking stuff as small as possible. Goal is to move quicker with the essential stuff.

Ok guys what is needed to move this forward? You need me to reissue this PR without #b29bf67, and/or without the wifi debugging?
And please note its hard to deliver PR's if we don't accept the wifi debugging PR, since this patch touches all serialprint statements, and I can't code/test/debug without wifi debugging capabilities. So that means that after coding and testing I have to rework every commit to one without the wifi debugging.
Appreciate your work guys, but I think better, faster communication would help this process....

Merged in release/v1.4.0 together with the wifi debug
@dingo35 can you test the build resulting from those two pr's? You can find the artifact here: https://github.com/serkri/SmartEVSE-3/actions/runs/2597377462 if you can confirm all is OK we I'll make a new release

@koen-serneels Great work Koen! I checked the sources, all went ok with the merging/git stuff. My own firmware.bin has the same size as yours, there is a diff but this might be due to version differences of platformio ; I am currently running the 1.4.0 generated firmware, all looks great, not sure how long you want me to test :-) .
I added a new PR to update the README.md doc , which IMO should be included in the 1.4.0 release too.
I suggest the PR on the wifi disconnects (the only currently known bug) is for the next (1.5.0 or 1.4.1?) release, but its up to you!


open /sys/class/hwmon/hwmon6/name: no such file or directory

Installed on Arch from AUR. It just crashes as soon as I try to run it.

Are you on x86 processor ? with stock kernel ?

Yes, and sorry for the late reply. I had forgotten I opened this, and then rediscovered the issue tonight, and came here to report it 😅
This is on a clean install of Arch from just a few days ago, with zftop Installed from the AUR.

Here's a tree view of my /sys/class/hwmon

.
├── hwmon0 -> ../../devices/pci0000:00/0000:00:03.0/0000:08:00.0/0000:09:11.0/0000:0e:00.0/nvme/nvme3/hwmon0
│   ├── device -> ../../nvme3
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_alarm
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_label
│   ├── temp1_max
│   ├── temp1_min
│   └── uevent
├── hwmon1 -> ../../devices/pci0000:00/0000:00:03.0/0000:08:00.0/0000:09:13.0/0000:10:00.0/nvme/nvme5/hwmon1
│   ├── device -> ../../nvme5
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_alarm
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_label
│   ├── temp1_max
│   ├── temp1_min
│   └── uevent
├── hwmon2 -> ../../devices/pci0000:00/0000:00:03.0/0000:08:00.0/0000:09:0a.0/0000:0c:00.0/nvme/nvme1/hwmon2
│   ├── device -> ../../nvme1
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_alarm
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_label
│   ├── temp1_max
│   ├── temp1_min
│   └── uevent
├── hwmon3 -> ../../devices/pci0000:00/0000:00:03.0/0000:08:00.0/0000:09:12.0/0000:0f:00.0/nvme/nvme4/hwmon3
│   ├── device -> ../../nvme4
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_alarm
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_label
│   ├── temp1_max
│   ├── temp1_min
│   └── uevent
├── hwmon4 -> ../../devices/pci0000:00/0000:00:03.0/0000:08:00.0/0000:09:10.0/0000:0d:00.0/nvme/nvme2/hwmon4
│   ├── device -> ../../nvme2
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_alarm
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_label
│   ├── temp1_max
│   ├── temp1_min
│   └── uevent
├── hwmon5 -> ../../devices/pci0000:00/0000:00:03.0/0000:08:00.0/0000:09:09.0/0000:0b:00.0/nvme/nvme0/hwmon5
│   ├── device -> ../../nvme0
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_alarm
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_label
│   ├── temp1_max
│   ├── temp1_min
│   └── uevent
├── hwmon6 -> ../../devices/LNXSYSTM:00/LNXSYBUS:00/ACPI000D:00/hwmon/hwmon6
│   ├── device -> ../../../ACPI000D:00
│   ├── power
│   ├── subsystem -> ../../../../../../class/hwmon  [recursive, not followed]
│   └── uevent
├── hwmon7 -> ../../devices/pci0000:00/0000:00:02.2/0000:04:00.1/hwmon/hwmon7
│   ├── device -> ../../../0000:04:00.1
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_label
│   ├── temp1_max
│   └── uevent
├── hwmon8 -> ../../devices/pci0000:00/0000:00:1c.4/0000:02:00.0/hwmon/hwmon8
│   ├── device -> ../../../0000:02:00.0
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_max
│   └── uevent
├── hwmon9 -> ../../devices/pci0000:00/0000:00:1c.4/0000:02:00.1/hwmon/hwmon9
│   ├── device -> ../../../0000:02:00.1
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_max
│   └── uevent
├── hwmon10 -> ../../devices/pci0000:00/0000:00:1c.4/0000:02:00.2/hwmon/hwmon10
│   ├── device -> ../../../0000:02:00.2
│   ├── name
│   ├── power
│   ├── subsystem -> ../../../../../../class/hwmon  [recursive, not followed]
│   ├── temp1_crit
│   ├── temp1_input
│   ├── temp1_max
│   └── uevent
└── hwmon11 -> ../../devices/pci0000:00/0000:00:1c.4/0000:02:00.3/hwmon/hwmon11
    ├── device -> ../../../0000:02:00.3
    ├── name
    ├── power
    ├── subsystem -> ../../../../../../class/hwmon  [recursive, not followed]
    ├── temp1_crit
    ├── temp1_input
    ├── temp1_max
    └── uevent

49 directories, 75 files

I think it depend on hwmon driver that u cpu uses.

Try to test this branch https://github.com/ssleert/zfxtop/tree/hwmn-name-fix.
And if it works, i merge it in master/

After some exploring online, it appears this is a power meter, and might be an HPE specific thing? Or at least there were lots of results about ProLiant owners seeing (harmless?) errors related to this, and them just blacklisting acpi_power_meter.. but this appears to only have been common for a few periods where there were other dependent modules that were never getting loaded.
On my system, my power meter was providing an average power usage value.
I did rmmod it, and my hwmon6 went away entirely.
But it might be desirable to mitigate an outright failure in zfxtop if it fails to find a value like this.
Ah! And as I type this, I see that you just replied with a change! I'll give it a shot now and will report back.

i merged it, but my math teacher scolded me for being distracted from class)

Thank you for your time, and dedication. Maybe this will pass.


🚧Add name list to reactables

Description:
To allow this pull request to be merged, please make sure that the following items of this pull request are complete.
This pull request closes #188
✅The pull request head branch must be a feature branch with the syntax 'feature/-sync-testing'.
✅The pull request base branch must be a 'main' or 'preview' branch..
✅The pull request head branch contains a valid issue number.
✅The pull request title matches the linked issue title exactly.
✅The pull request assignees match the assignees of the issue.
✅The pull request labels match the labels of the issue.
✅The pull request organizational projects match the organizational projects of the issue.
✅The pull requests milestone matches the milestone of the issue.

Additional Info:

Pull requests are automatically synced with the associated issue upon creation by one of the KinsonDigital workflow bots.
The associated issue is the issue number that is embedded in the pull request head branch.
The list above will be automatically updated as the pull request's various settings match or do not match the associated issue.
To manually sync the pull request to the issue, create a comment with the [run-sync] command.

Note You must be an admin member of the organization to use this command.

[x] Sync with the issue.  Use this to enable or disable this pull request from syncing with its associated issue.

[!Warning]
Introduced the following https://github.com/KinsonDigital/Carbonate/labels/🧨breaking changes

Changed the IReactable<TSubscription>.SubscriptionIds property type from ReadOnlyCollection<Guid> to ImmutableArray<Guid>.
Changed the ReactableBase<TSubscription>.SubscriptionIds property type from ReadOnlyCollection<Guid> to ImmutableArray<Guid>.


VSCode remote via ssh 远程到 CentOS 7 无法使用

VSCode remote via ssh 到远程一个 CentOS 7 linux 上，点击安装这个插件，用掉很长时间 loading，一直安装不上。
也找不到日志和控制台输出。查看远程 linux 的 ~/.vscode-server/extensions/ 目录没有这个插件的信息。
另外，请问 README 安装文档里的这一段是什么意思，怎么执行，是需要再 linux 上先编译安装一个二进制吗？
Open repo and execute tasks in VSCode
* PreCompile
* Compile
* Install

VSCode 1.38.0
Lua 插件 0.12.6
安装其它插件没有问题，因此可以排除是网络问题。

[Info  - 21:21:47] Connection to server got closed. Server will restart.
/home/fititnt/.vscode/extensions/sumneko.lua-0.14.5/server/bin/Linux/lua-language-server: ...vscode/extensions/sumneko.lua-0.14.5/server/platform.lua:16: It doesn't seem to support your OS, please let me know at https://github.com/sumneko/lua-language-server/issues
stack traceback:
	[C]: in function 'error'
	...vscode/extensions/sumneko.lua-0.14.5/server/platform.lua:16: in main chunk
	...nt/.vscode/extensions/sumneko.lua-0.14.5/server/main.lua:3: in main chunk
	[C]: in ?
[Error - 21:21:47] Connection to server is erroring. Shutting down server.
[Error - 21:21:47] Connection to server is erroring. Shutting down server.
[Error - 21:21:47] Connection to server is erroring. Shutting down server.
/home/fititnt/.vscode/extensions/sumneko.lua-0.14.5/server/bin/Linux/lua-language-server: ...vscode/extensions/sumneko.lua-0.14.5/server/platform.lua:16: It doesn't seem to support your OS, please let me know at https://github.com/sumneko/lua-language-server/issues
stack traceback:
	[C]: in function 'error'
	...vscode/extensions/sumneko.lua-0.14.5/server/platform.lua:16: in main chunk
	...nt/.vscode/extensions/sumneko.lua-0.14.5/server/main.lua:3: in main chunk
	[C]: in ?

Maybe the binary is for newer versions of Ubuntu? If that's the case I could just compile it too to make it work for now.

@fititnt The built-in Linux binary files are compiled in the latest Ubuntu, please build it in your OS, see https://github.com/sumneko/vscode-lua/wiki/Build

Ok, thanks!
Also, wonderful project! Much more complex than what I would expect from most languages. I'm just starting with lua to do some OpenResty stuff and your project really impressive.


Visualization of batches

Hi there,
is there a possibility to visualize the batches from the input layer to check if the batches are korrekt?
Thanks for any hints.

I use this data augmentation class to dump augmented images:
class DumpSamples(DetectionAugmentation):
    def __init__(self, debug_dir):
        super().__init__()
        self.debug_dir = debug_dir

    def apply(self, input_record):
        image = input_record["image"]
        gt_bbox = input_record["gt_bbox"]
        img = image.astype(np.uint8).transpose((1, 2, 0)).copy()
        for box in gt_bbox:
            cv2.rectangle(img, tuple(box[:2]), tuple(box[2:4]), color=(255, 0, 0),thickness=3)
        img = cv2.cvtColor(img, cv2.COLOR_BGR2RGB)
        print("DEBUG: writing file {}".format("debug/data_aug/{}.jpg".format(input_record['im_id'])))
        cv2.imwrite("debug/data_aug/{}.jpg".format(input_record['im_id']),img)

Make sure you have debug/data_aug directory. And then just append DumpSamples("debug/") in configuration file to the end of transform list.

Awesome, thanks for your code!
I put it the class in the config file  tridentnet_r101v2c4_c5_2x.py  and append the DumpSamples("debug/") at the end of
    metric_list = [rpn_acc_metric, rpn_l1_metric, box_acc_metric, box_l1_metric]     return General, KvstoreParam, RpnParam, RoiParam, BboxParam, DatasetParam, \            ModelParam, OptimizeParam, TestParam, \            transform, data_name, label_name, metric_list, DumpSamples("debug/")
But I tells me that 'NameError: name 'DetectionAugmentation' is not defined'.
Is there anything I missed?

yeah, the class definition goes to core.detection_input file OR should import DetectionAugmentation from that file. If you put into core.detection_input don't forget to import it later in configuration file (as others data augmentations classes:
from core.detection_input import DumpSamples

yes, it worked. Thanks!


Add test for private github email fetching

Using the new structure from https://github.com/authlib/loginpass/pull/37 and the modified Github remote from https://github.com/authlib/loginpass/pull/36 I added tests related to https://github.com/authlib/loginpass/issues/32 which exposed a suboptimal self.get where the token had to be re-fetched.
So this PR does the following things:

add tests for Github private email fetching
pass the token along with fetching the user's private email

In this way, we can only test the missing email case. How about the case with email address in /user?

This might be a shortcoming of the test-setup but I view the test as being inclusive of the happy-path, meaning the current execution part "covers" both parts. A more complete setup would be to also introduce 01_public_email  and 02_private_email inside the test/data/github folder.
Let me know what you think.

@lepture I changed to PR to separate the two cases and cover both scenarios. Let me know what you think.

@lepture The change is now covering all cases - hope you get the time soon to review this.


Fix common type target for reserved type names (3.4.x)

Issue #, if available:
Needs https://github.com/cedar-policy/cedar/pull/1378
Description of changes:

I assume these changes are already on main?

Not precisely these changes, but the problem doesn't effect main because we introduced a CommonTypeId struct with an arbitrary impl that never generates reserved type names.

build errors finally fixed. just need another approval


Add client base

@rudigiesler / @smn - this one is ready now. I had to make some changes to the fake to add the missing sub endpoint support and cross endpoint data access for foreign key GETs

@rudigiesler I think I've dealt with all your comments. :+1: ?

Just those two comments about commented out code. There are some of the client methods that don't seem to be tested (get_messageset_messages, delete_messageset, etc). Am I missing something, or don't these have tests yet?

@rudigiesler good catch, I'd added tests to the API not the client

landing now for complete release

:+1:


feat: landing jumbotron animation

:tada: This PR is included in version 0.45.0 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


[BLD]: Fixing working dir for package.json update

Description of changes
Summarize the changes made by this PR.

Improvements & Bug fixes

...

New functionality

...

Test plan
How are these changes tested?

[ ] Tests pass locally with pytest for python, yarn test for js, cargo test for rust

Documentation Changes
Are all docstrings for user-facing APIs updated if required? Do we need to make documentation changes in the docs repository?

#2342  👈
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @tazarov and the rest of your teammates on  Graphite


Update-engine sends empty requests when restarted before a pending reboot

Description
Update-engine sends empty requests to an empty URL when the update-engine service is restarted before a pending reboot. This can only be resolved by rebooting or by resetting the update-engine state.
Impact
The instance does not communicate with the update server anymore.
Environment and steps to reproduce

Set-up: Run an old Flatcar version with standard settings, but mask locksmith
Task: Trigger an update (update_engine_client -update), then restart update-engine.service
Action(s): Restart update-engine after the update is written to the partition and update-engine waits for the reboot
Error: in the journal one can see that all ping's are now done with empty values

journalctl --no-pager -u update-engine | grep -i "Posting an Omaha request to"
May 25 08:05:54 localhost update_engine[859]: I0525 08:05:54.272867   859 omaha_request_action.cc:268] Posting an Omaha request to https://public.update.flatcar-linux.net/v1/update/
May 25 08:06:01 localhost update_engine[859]: I0525 08:06:01.907414   859 omaha_request_action.cc:268] Posting an Omaha request to https://public.update.flatcar-linux.net/v1/update/
May 25 08:10:33 localhost update_engine[1011]: I0525 08:10:33.162166  1011 omaha_request_action.cc:268] Posting an Omaha request to

Expected behavior
Without restarting the service the pings have the regular values as before the update (except for the update check entry). This is also expected after restarting the service but doesn't work currently.
Additional information
When resetting the update-engine state there may be a crash of the service but it recovers

From an initial look, we can clearly see that even the values of the payload are missing between the restarts of the update-engine service:
<request protocol="3.0" version="update_engine-0.4.10" updaterversion="update_engine-0.4.10" installsource="ondemandupdate" ismachine="1">
    <os version="Chateau" platform="CoreOS" sp="2765.2.4_x86_64"></os>
    <app appid="{e96281a6-d1af-4bde-9a0a-97b76e56dc57}" version="2765.2.4" track="stable" bootid="{f2195e2e-7a2d-44f7-8ec7-e8f1327175aa}" oem="qemu" oemversion>
        <ping active="1"></ping>
        <updatecheck></updatecheck>
        <event eventtype="3" eventresult="2" previousversion="<IP_ADDRESS>"></event>
    </app>
</request>

After restart:
<request protocol="3.0" version="update_engine-0.4.10" updaterversion="update_engine-0.4.10" installsource="scheduler" ismachine="1">
    <os version="Chateau" platform="CoreOS" sp=""></os>
    <app appid="{e96281a6-d1af-4bde-9a0a-97b76e56dc57}" version="" track="stable" bootid="" oem="" oemversion="" alephversion="" machineid="" machinealias="" lang="" board="" hardware_class="" delta_okay="true" >
        <ping active="1"></ping>
    </app>
</request>

This parameters (and the update_url) are computed in this lines:
https://github.com/kinvolk/update_engine/blob/312ab260fce283e84635b73d92dd6d526d1e3d96/src/update_engine/update_attempter.cc#L159-L162
This method is not called if the status is UPDATE_STATUS_UPDATED_NEED_REBOOT because we "simply" PingOmaha (https://github.com/kinvolk/update_engine/blob/312ab260fce283e84635b73d92dd6d526d1e3d96/src/update_engine/update_attempter.cc#L128-L134)

Good find, seems ok to try calling this earlier but maybe a special case is needed for the pending update state.


 not W3C cumplaint

When you insert a table, Silverstripe automatically adds border attribut like "", but the 0 value is not W3C cumpliant.
And even if you manually delete it, the editor put it back.

This has been refactored out with the tinymce 4 upgrade in silverstripe 4.


Related Product Card

 <IP_ADDRESS>. Product Information

Created  related folder inside Component folder,  and add  4 files to it.  Three of them are jsx files for the related product feature, and the API.js file is for test purpose to see how to fetch data from API.
Imported the jsx files to App.js, and successfully showed content to browser page
Please review it when you have a moment. Thank you!


Max number of races is limited to 100?

Hi!
I have created a small custom function
def fetch_rider_results(rider_url):
    rider_results = RiderResults(rider_url + "/results")
    rider_results_JSON = rider_results.parse()
    return rider_results_JSON

When I call this function, for instance
st.write(fetch_rider_results("rider/jonas-vingegaard"))

I get a JSON object, but the number of races and stages only go from 0-99. Wouldn't it be possible instead to fetch for instance the results for the last 5 years?
Best regards
Kasper

Unfortunately it's not possible to get more than 200 results per request, becasue PCS won't show more on a rider results page.
It's possible to get 200 results by changing the Results per page field on this page for example: https://www.procyclingstats.com/rider/jonas-vingegaard/results , using the filter, copying URL and using it as URL for the RiderResults scraping class.
The new URL will look like that: https://www.procyclingstats.com/rider.php?xseason=&zxseason=&pxseason=equal&sort=date&race=&km1=&zkm1=&pkm1=equal&limit=200&topx=&ztopx=&ptopx=smallerorequal&znation=&type=&continent=&pnts=&zpnts=&ppnts=largerorequal&level=&rnk=&zrnk=&prnk=equal&exclude_tt=0&racedate=&zracedate=&pracedate=equal&name=&pname=contains&category=&profile_score=&zprofile_score=&pprofile_score=largerorequal&exclude_gcs=0&vert_meters=&zvert_meters=&pvert_meters=largerorequal&uci_pnt=&zuci_pnt=&puci_pnt=largerorequal&filter=Filter&id=jonas-vingegaard&p=results
It can be shortened if you play with it a little, but this one should work too. In general it's possible to obtain some results in one request only if it is possible to see them on one PCS page with some URL. So if you want to get more you need to play a little with filters on the page, get some URL that these filters produce and use it in code.


[issue] Divergents do not tending any plants while mod BetterFarmingEffects is active

Expected Behavior
Sweetle and grubgrubs not tending any plants while mod BetterFarmingEffects is active
Spaced Out installed
Current Behavior
Nothing. Over 30 cycles no one divergent tended any plant.
Mod Versions
Steam Subscription
Tried force update, nothing happens
Steps to Reproduce

Install mod
Ranch a Divergent
And see, that no one sweetle has no tending plants

Game Log
Player-prev.log

Here is an additional player log for this issue: https://pastebin.com/RradEGwQ

Thanks for the report. However, I already found the cause of the problem a few hours ago.
The problem was caused by undefined behavior in a piece of code written more than a year and a half ago, which, due to changes in the game itself, unexpectedly did not cause a crash (as it usually happens every time the game is updated), but continued to work at first glance as expected. Divergents tended plants, but only on the first asteroid (where the portal and the first duplicants will spawn at the start of a new game). Therefore, the problem was not noticed during testing.
fixed at d6a90230e3062db7278df557585c35447d7bfea1


Looks like 1.2.2 is not published to npm

We want to use modifier value separators config.

You right, sorry. Done: https://www.npmjs.com/package/bem-cn


uBit.audio.levelSPL->getValue() takes around 40ms to get valid values

With a similar programme than https://github.com/lancaster-university/codal-microbit-v2/issues/300, when it works correctly it still takes 40 ms from uBit.audio.enable() before uBit.audio.levelSPL->getValue() starts returning good values.
Tweaking that specific programme, so that it prints a levelSPL value every 5ms (instead of 10, although the ticker is configured at 4ms). Fort the first 40-ish ms, about the first half of values are 0, and the second half are values larger than reality (tested in a relatively quiet room), not always the same "high" values, but always the same number repeated and definitely higher than expected. After that I start seeing reasonable values:
0
0
0
0
153
153
153
63   <-- From here the values look reasonable
63
58
58
58
53

0
0
0
0
129
129
129
66  <-- From here the values look reasonable
66
56
56
56
68

First time the sound level is read we can block until we have enough samples to produce a valid value.

This is still an issue, which probably explains why the quiet and loud events are still raised on startup.
With the 0.2.52 tag I'm getting this output:
0
0
122
122
75
75
73
73
...

On master the levelSPL object will now block (deschedule) unitl at least 2 valid ADC buffers have been seen, this seems to eliminate this issue, but can also be tuned with a config parameter.
Pending further testing, but I think this is now fixed.

I'm not seeing much difference here between tag v0.2.55 and the latest commits in the main branches.
Slightly modified the example to reduce the sleep time in the loop and also print the loud and quiet events:
#include "MicroBit.h"
#include "CodalDmesg.h"

MicroBit uBit;

void onLoud(MicroBitEvent) {
    DMESG("LOUD");
}

void onQuiet(MicroBitEvent) {
    DMESG("QUIET");
}

int main() {
    uBit.init();

    uBit.messageBus.listen(DEVICE_ID_SYSTEM_LEVEL_DETECTOR, LEVEL_THRESHOLD_HIGH, onLoud);
    uBit.messageBus.listen(DEVICE_ID_SYSTEM_LEVEL_DETECTOR, LEVEL_THRESHOLD_LOW, onQuiet);

    uBit.audio.enable();
    uBit.audio.levelSPL->setUnit(LEVEL_DETECTOR_SPL_8BIT);
    for (int i = 0; i < 100; i++) {
        DMESG("[%d] %d", uBit.systemTime(), (int)uBit.audio.levelSPL->getValue());
        uBit.sleep(1);
    }

    while (true);
}

With v0.2.55:
relocate vtor to 0x0 -> 0x20002200 0x20002200
[160] 0
[164] 0
[168] 0
[172] 0
[176] 0
[180] 0
[184] 123
LOUD
[188] 123
[192] 123
[196] 123
[200] 123
[204] 123
QUIET
[208] 68
[212] 68
[216] 68
[220] 68
[224] 68
[228] 68
[232] 61
[236] 61
[240] 61
[244] 61

And with the latest commits:
relocate vtor to 0x0 -> 0x20002200 0x20002200
[160] 0
[164] 0
[168] 0
[172] 0
[176] 0
[180] 0
[184] 126
LOUD
[188] 126
[192] 126
[196] 126
[200] 126
[204] 126
QUIET
[208] 66
[212] 66
[216] 66
[220] 66
[224] 66

My last test was checking out the hashes from the target-lock.json file, so I had to add the "dev": true entry to codal.json to pull the latest commits from all dependencies.
With that done I am getting the expected results 🎉
relocate vtor to 0x0 -> 0x20002200 0x20002200
[160] 70
QUIET
[232] 70
[236] 66
[256] 66
[260] 66
[280] 66
[284] 66
[300] 66
[304] 66
[324] 66

$ python build.py -s

***/Users/microbit-carlos/workspace/mbef/codal/microbit-v2-samples/libraries/codal-core
Branch: master, Nearest Tag: streamracefix-v0 (c24d50c3025a2ab6202c34aded96824d3ea07777)
## master...origin/master

***/Users/microbit-carlos/workspace/mbef/codal/microbit-v2-samples/libraries/codal-nrf52
Branch: master, Nearest Tag: ~none~ (84b1aeec870addcfb6027a924dbfe83f1f10c6db)
## master...origin/master

***/Users/microbit-carlos/workspace/mbef/codal/microbit-v2-samples/libraries/codal-microbit-nrf5sdk
Branch: master, Nearest Tag: ~none~ (ef4662e13875a7b03e7296d7ac24a2b4d231f323)
## master...origin/master

***/Users/microbit-carlos/workspace/mbef/codal/microbit-v2-samples/libraries/codal-microbit-v2
Branch: master, Nearest Tag: v0.2.55 (02a85fa86a00ac204cbd2a4caacd5a964e1cf26e)
## master...origin/master

***/Users/microbit-carlos/workspace/mbef/codal/microbit-v2-samples
Branch: master, Nearest Tag: v0.2.11 (f4aaca3a9ff55dfd79c9ec41024dbbc0bec4de04)
## master...origin/master
 M codal.json
 M source/main.cpp

@JohnVidler one thing I've noticed is that the first value is returned as early as before, and the delay seems to be introduced between the first and second value:
Before:
relocate vtor to 0x0 -> 0x20002200 0x20002200
[160] 0
[164] 0
[168] 0
[172] 0
[176] 0
[180] 0
[184] 126
LOUD
[188] 126
[192] 126
[196] 126
[200] 126
[204] 126
QUIET
[208] 66

I've also removed the LOUD/QUIET events to ensure they don't add an additional delay.
Current (both measurements after a flash, which takes a bit longer to get the first value, not sure why):
relocate vtor to 0x0 -> 0x20002200 0x20002200
[160] 70
[232] 70
[236] 66

relocate vtor to 0x0 -> 0x20002200 0x20002200
[160] 66
[232] 66
[236] 66

Current (timings from reset by pressing the reset button):
relocate vtor to 0x0 -> 0x20002200 0x20002200
[46] 66
[118] 66
[122] 66

relocate vtor to 0x0 -> 0x20002200 0x20002200
[46] 192
[118] 192
[122] 194

The both situations the new delay is also 72 milliseconds, is that more or less the expected delay?
Before the fix we were getting valid data after around 48ms.

Okay, just noticed the reason the delay appears to be between the 1st and 2nd call to uBit.audio.levelSPL->getValue() it's because of my code, not related to CODAL
(DMESG("[%d] %d", uBit.systemTime(), (int)uBit.audio.levelSPL->getValue());).
However, I guess the question still stands if we can reduce the delayed time a little bit from the current 70ms to something closer to the 48ms from the initial report, or maybe it's not forth the effort?

@JohnVidler will do a final update to reduce the startup delay and this will be tagged for v0.2.56.

I've re-measured the timings with a very minor tweak to the logic here, such that we allow the level detector to unblock any waiting fibers on the second buffer, rather than the third, and we get the following:
// BOOT
0       level = 81    <-- Time printed BEFORE the getLevel() call, so initially zero
97      level = 81    <-- 97ms later we've got a value and looped around (cold start delay)
101     level = 75
117     level = 75
121     level = 71
0       level = 75    <-- Release and press the sample button, resets the timer
1       level = 66    <-- 1ms later we get a result (hot start minimum time, the MIC was still 'hot' here)
5       level = 113
25      level = 113
29      level = 104
49      level = 104
53      level = 100
69      level = 100
0       level = 101  <-- Release and press the sample button, resets the timer
5       level = 101  <-- 5ms later (ish) we get a result (warm start, the mic was 'off' but the ADC was running)
9       level = 102
21      level = 102
25      level = 98
45      level = 98
49      level = 102

This seems repeatable on my test kit, so we're looking at something like 97ms on a 'cold start' (no adc, mic off), <1ms for a 'hot start' (mic on, adc on), and 5ms for a 'warm start' (mic off, adc on).

That's a bit worse than I was measuring in my test code, could you run this program with your branches and compare results?
#include "MicroBit.h"
#include "CodalDmesg.h"

MicroBit uBit;

int main() {
    uBit.init();

    uBit.audio.levelSPL->setUnit(LEVEL_DETECTOR_SPL_8BIT);
    uBit.audio.enable();

    DMESG("[%d]", uBit.systemTime());
    for (int i = 0; i < 100; i++) {
        int audioLevel = (int)uBit.audio.levelSPL->getValue();
        DMESG("[%d] %d", uBit.systemTime(), audioLevel);
        uBit.sleep(1);
    }

    while (true);
}

With this I get 70 ms:
relocate vtor to 0x0 -> 0x20002200 0x20002200
[46]
[116] 162

This should now be fixed and pushed to live in PXT - I'm closing this for now, but do re-open if this is a problem again.

Okay, so with the latest v0.2.56 tag we still get a 70ms delay in the first call to uBit.audio.levelSPL->getValue() (about three 255 byte buffers at 11000 sample rate), but it sounds like we cannot improve that.


After upgrading to 1.4.3 the switches cannot be used in automations because they are not listed as devices.

After upgrading to 1.4.3 the switches cannot be used in automation because they are not listed as devices. The Sonoff switches are listed only as entities.
There is an associated notification with the sonoff switches  mentioning they cannot be managed because they don't have a unique ID:
This entity ('switch.10010ee5c2') does not have a unique ID, therefore its settings cannot be managed from the UI. See the documentation for more detail.

Can confirm. I really hope everything can get a unique ID.
There is a workaround, though. You can use services in automations to accomplish what you want. It's a lot more roundabout, but it works.
Example code:
mode: single
trigger:
  - platform: sun
    event: sunrise
    offset: 0
  - platform: sun
    event: sunset
    offset: 0
action:
  - if:
      - condition: sun
        after: sunrise
        before: sunset
    then:
      - service: switch.turn_off
        target:
          entity_id: switch.10010ee5c2
    else:
      - service: switch.turn_on
        target:
          entity_id: switch.10010ee5c2

Where can I write the sample code? I  am novice with HA. If you can guide me in the right direction I would appreciate.
In the meantime is somebody even checking the issues raised here for ewelink addon? such support makes me think twice when choosing another device for automation. Maybe the right platform is Tuya instead Tuya devices are also cheaper than Sonoff and the other ewelink compatible.

When you go to the automation, there should be an Edit in YAML option. However, you can use do this via the Visual Editor. Just pick the "Call service" action. Then, pick switch.turn_off, switch.turn_on, or switch.toggle depending on what you need to do. You'll then be asked for a target. Use the "Choose entity" button and select the switch you need.

It works perfectly. Thank you!

Confirm, same issue here.


Lucas part2

Title of Pull Request HERE
Github Issue Number Here: <YOUR_GITHUB_ISSUE_NUMBER_HERE (include the hashtag)>
What user problem are we solving?
What solution does this PR provide?
Testing Methodology

How did you test your changes and verify that existing
functionality is not broken

Any other considerations

@LuHG18 can you fix the build check failure and attach screen recording showing your part 2 works as intended

LucasGoldfarb.mov
https://drive.google.com/file/d/1iuz_NByOislHfd_mKj8H1TAn7_3sO5b6/view?usp=drive_web
Hi Karthik,
Sorry for the delay. I'll try to fix the build check failure before
tomorrow but if not I may need some assistance. Thanks. See you tomorrow.
Best,
Lucas Goldfarb
M:<PHONE_NUMBER>
E: @.***
On Fri, Nov 3, 2023 at 10:13 AM karkir0003 @.***> wrote:

@LuHG18 https://github.com/LuHG18 can you fix the build check failure
and attach screen recording showing your part 2 works as intended
—
Reply to this email directly, view it on GitHub
https://github.com/DSGT-DLP/Deep-Learning-Playground/pull/1046#issuecomment-1792512409,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCC6LXDTAU2TDPBSMIVZTDYCT3ZRAVCNFSM6AAAAAA6YOE73KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSGUYTENBQHE
.
You are receiving this because you were mentioned.Message ID:
@.***>

LucasGoldfarb.mov https://drive.google.com/file/d/1iuz_NByOislHfd_mKj8H1TAn7_3sO5b6/view?usp=drive_web Hi Karthik, Sorry for the delay. I'll try to fix the build check failure before tomorrow but if not I may need some assistance. Thanks. See you tomorrow. Best, Lucas Goldfarb M:<PHONE_NUMBER> E: @.***
…
On Fri, Nov 3, 2023 at 10:13 AM karkir0003 @.> wrote: @LuHG18 https://github.com/LuHG18 can you fix the build check failure and attach screen recording showing your part 2 works as intended — Reply to this email directly, view it on GitHub <#1046 (comment)>, or unsubscribe https://github.com/notifications/unsubscribe-auth/AHCC6LXDTAU2TDPBSMIVZTDYCT3ZRAVCNFSM6AAAAAA6YOE73KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSGUYTENBQHE . You are receiving this because you were mentioned.Message ID: @.>

@LuHG18 access request sent

You should have access now. Let me know if it's not working.
Lucas Goldfarb
M:<PHONE_NUMBER>
E: @.***
On Tue, Nov 7, 2023 at 8:34 PM karkir0003 @.***> wrote:

LucasGoldfarb.mov
https://drive.google.com/file/d/1iuz_NByOislHfd_mKj8H1TAn7_3sO5b6/view?usp=drive_web
Hi Karthik, Sorry for the delay. I'll try to fix the build check failure
before tomorrow but if not I may need some assistance. Thanks. See you
tomorrow. Best, Lucas Goldfarb M:<PHONE_NUMBER> E: @.***
… <#m_3931312127358576767_>
On Fri, Nov 3, 2023 at 10:13 AM karkir0003 @.> wrote: @LuHG18
https://github.com/LuHG18 https://github.com/LuHG18
https://github.com/LuHG18 can you fix the build check failure and attach
screen recording showing your part 2 works as intended — Reply to this
email directly, view it on GitHub <#1046 (comment)
https://github.com/DSGT-DLP/Deep-Learning-Playground/pull/1046#issuecomment-1792512409>,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCC6LXDTAU2TDPBSMIVZTDYCT3ZRAVCNFSM6AAAAAA6YOE73KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSGUYTENBQHE
https://github.com/notifications/unsubscribe-auth/AHCC6LXDTAU2TDPBSMIVZTDYCT3ZRAVCNFSM6AAAAAA6YOE73KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTOOJSGUYTENBQHE
. You are receiving this because you were mentioned.Message ID: @.>
@LuHG18 https://github.com/LuHG18 access request sent
—
Reply to this email directly, view it on GitHub
https://github.com/DSGT-DLP/Deep-Learning-Playground/pull/1046#issuecomment-1800861694,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/AHCC6LRB7J7MBSGNX6TII6TYDLOSPAVCNFSM6AAAAAA6YOE73KVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBQHA3DCNRZGQ
.
You are receiving this because you were mentioned.Message ID:
@.***>


set_subpart! for unique indexed attributes

Possibly undesired behavior: setting a subpart of a unique indexed attribute does so in a particular order (rather than all at once), leading to spurious uniqueness errors.
@present TheoryLabeledGraph <: TheoryGraph begin
  Label::AttrType
  label::Attr(V,Label)
end
@acset_type IndexedLabeledGraph(TheoryLabeledGraph, index=[:src,:tgt],
                                unique_index=[:label]) <: AbstractGraph
z = @acset IndexedLabeledGraph{Int} begin
       V=2
       label=[2,1]
end
set_subpart!(z, :label,[1,2])
ERROR: AssertionError: subpart not unique

Ran into this problem too recently. However, I'm not sure how to elegantly do a check at compile time since it appears that for StructACSet objects, information about which homs/attrs are indexed/uniquely indexed is not available in the type. It would appear the best way to proceed would be to include a runtime check in _set_subpart!, checking the type of the cache for that hom/attr implementation. Is my understanding correct?

Looks like this issue can be closed now?


Catch up with Embulk v0.10 API/SPI

Although the mixed-in credential has already been revoked (right?), I'd suggest to squash out the commit 3c9e2154d54709f302354f2f54483b684539b2a9, and to do a force push, to be uneasy to look.

Done in https://github.com/embulk/embulk-output-gcs/pull/35.


Layout/MultilineOperationIndentation not enforcing aligned

Expected behavior
No matter how I change this setting, it always adjusts to indented.
Layout/MultilineOperationIndentation:
  Enabled: true
  EnforcedStyle: aligned
  IndentationWidth: 0

Actual behavior
Always indents with 2 spaces.
Steps to reproduce the problem
Adjust setting. Try running rubocop or rubocop -a
RuboCop version
Fetching rubocop 0.85.0 (was 0.82.0)
Installing rubocop 0.85.0 (was 0.82.0)
Fetching rubocop-rspec 1.39.0 (was 1.38.1)
Installing rubocop-rspec 1.39.0 (was 1.38.1)

$ [bundle exec] rubocop -V
0.85.0 (using Parser <IP_ADDRESS>, rubocop-ast 0.0.3, running on ruby 2.7.1 x86_64-darwin19)

I'm getting this same errant behavior in the currently latest Rubocop version 0.92.0


PropsTable is not being rendered when my component is in an external package

Bug Report
PropsTable are not being rendered if I use the Button.jsx file on a package (@itreverie/itr-components-basics) but if I use the same code in the Button.jsx file inside the docz project, the table renders correctly.
To Reproduce

Clone the following repo to reproduce the issue.
itr-components-lib
Go to /itr-components-lib/src/basics/Button.mdx
If you use import { Button } from '@itreverie/itr-components-basics'. It doesn't render the table but
If you use import Button from './Button' It renders the table correctly.
Note: The repo for the external components can be found in itr-components-basics, it is published in npm.

I would expect that if Button.jsx code is the same in my external package or in the file on my docz package the PropsTable should render. I do not understand why the table is not rendered when I use the Button.jsx on the external package.

@itReverie it isn’t a problem and yes a limition of lib that we use to render the prop-types. Then you need to use export default to work in docz.

Hello @nicholasess Thanks so much for your response. When you say I need to use "export default" what exactly do you mean. I think I am using export default Button; (as  you can see in the image). I am sorry if I am not getting your point and it might be something basic, could you  please be more specific?


Firstcommit

Commit Summary: Initial implementation of SCANUE-V

.env.example

Added template for environment variables

Added model configuration examples

Added API key placeholder

Added optional settings

.gitignore

Added Python-specific ignores

Added environment file ignores

Added IDE-specific ignores

Added project-specific ignores

utils.py

Added logging configuration

Added file and console handlers

Added timestamp formatting

Added error level handling

tools.py

Added PFC-specific analysis tools

Added type hints and input schemas

Added error handling

Added role-specific processing

README.md

Added project overview

Added setup instructions

Added usage guidelines

Added architecture description

openai_wrapper.py

Added OpenAI API integration

Added error handling

Added configurable parameters

Added type hints

main.py

Added main execution flow

Added logging integration

Added error handling

Added result formatting

graph.py

Added PFC interaction model

Added state management

Added routing logic

Added error handling

create_scanue_v_text.py

Added file combination utility

Added error handling

Added file processing

Added output formatting

config.py

Added environment variable loading

Added model configurations

Added processing parameters

Added validation checks

This code was transferred into the API


add support for repeatable directives

The October 2021 spec (changelog, commit) introduced an optional keyword repeatable in directive definitions. (The June 2018 spec requires that all directives be unique; graphql-go doesn't enforce that, but nor does it recognize the repeatable keyword.)
Context: I'm working in a codebase where I want to repeat a directive, and a different tool requires that we mark it repeatable; but if I do that, then graphql-go SyntaxErrors.

Please, remove the regex.

Thank you for your contribution. I'll fix few more things and will release it soon in version v1.4.0

Awesome, thanks! Pleasure doing business with you!


Installation guide

Could you please share the complete installation guide?

Hello shabeepm,
what are you missing from the readme ? The how-to section should be enough to get you started. The only requirement is for you to have docker installed. Building and running the container after having dropped your case files in the proper path is all you need to do.

Thank you for your response, I am getting below error message related to docker file,
ERROR: failed to solve: failed to read dockerfile: open Dockerfile: no such file or directory

that error message would typically occur if there is no Dockerfile found in your current working directory, are you running the docker build command from within the base directory of the project ?
git clone https://github.com/mf1d3l/Splunk4DFIR.git
cd Splunk4DFIR/
sudo docker build -t splunk4dfir .

Thank you very much, the error was related to docker and i tried to manage it and installed Splunk4DFIR, however now it is stuck in the stage, which says 'Ansible playbook complete, will begin streaming splunkd_stderr.log', below is the screenshot

you can login as admin user with the password set via the SPLUNK_PASSWORD variable passed via the docker run command

Thank you very much,
One last question - I am using this docker on my Ubuntu WSL and once it is restarted, how can I run splunk4dfir docker again ?

Thank you very much, One last question - I am using this docker on my Ubuntu WSL and once it is restarted, how can I run splunk4dfir docker again ?

you can manage the instance with the docker start/docker stop commands

Could you please advise under which directory, I can create the folder, artifacts/ ?

you can just use the folder structure of the project or you can map /mnt/artifacts to any arbitrary path where you case files are located using the -v volume flag of the docker run command
if you are completely new to docker I recommend you read the docker cli documentation and get familiar with the basics: https://docs.docker.com/reference/cli/docker/

Thank you very much for your support, I am not familiar with docker and facing few issues, (sorry for bothering you)
so when Ib tried to run the splunk4dfir container using the command below, i am getting below error message

Could you please share the correct command to run this docker in the background ?

it's right there in the how-to: https://github.com/mf1d3l/Splunk4DFIR?tab=readme-ov-file#how-to
sudo docker run --name splunk4dfir -e SPLUNK_START_ARGS=--accept-license -e SPLUNK_PASSWORD=changeme -e SPLUNK_APPS_URL="/mnt/resources/sankey-diagram-custom-visualization_130.tgz" -p 8000:8000 -p 8089:8089 -v ./artifacts:/mnt/artifacts -v ./resources:/mnt/resources splunk4dfir:latest start

I tried to run the same command, but i am getting below error -

thats because you already have a container created with the name "splunk4dfir"
you can delete it with sudo docker rm splunk4dfir then run the docker run command again.
once the container instantiated via the docker run command you can stop it with sudo docker stop splunk4dfir and start it again with sudo docker start splunk4dfir
Getting familair with the basics of docker container management is essential if you want to use this project.

It is working well, thank you for your support


Enabling Quorum Tessera to use HashiCorp vault for keypair retrival

Description
As a developer I want to enable the private/public key pairs used by Tessera to be retrieved from hashicorp key vault, preventing the need to store the keys locally.
The storage part integration is done, retrieval integration needs to be done
Reference PR : https://github.com/hyperledger/bevel/pull/1804
Acceptance Criteria

Quorum network deployed with tessera private TM
Tessera integrated with HashiCorp vault
Remove fetching of tessera key pair from the vault

I will work on this issue

please assign it to me.


How to change datastore master nodes ip address

$ microk8s status
microk8s is running
high-availability: no
  datastore master nodes: 10.x.x.x:19001
  datastore standby nodes: none

netstat says kubelite is listening on 10.x.x.x:19001, but I want it to listen on 192.168.x.x:19001 interface instead.
Will microk8s allow a change from 10.x.x.x to 192.168.x.x or would it be easier to start over?
Also tried this https://github.com/ubuntu/microk8s/issues/2402#issuecomment-875071474 but can-reach=192.168.x.x is true for 10.x.x.x, so maybe that's the problem?

Hi @hagna, the first node you get with a snap install microk8s does not listen on a specific interface. As soon as you join a second node the two nodes assume the cluster is formed using the network interface they are reachable from. Since your node reports that the master is at 10.x..x.x at some point in the past there was a second node on that network. I assume now you want to add a node that is on the 192.168.x.x network, right?
At this point the easiest way forward is to start over. Maybe @MathieuBordere knows of a way to safely update the IP dqlite is listening on.

@ktsakalozos The dqlite .reconfigure command could help in this case, it's not yet in your current snaps I think, so not really a help for @hagna, but you could already try it out to see if it can solve cases like this.


Pull check for allowed intrabc out of write_lrf().

Coverage increased (+0.02%) to 83.298% when pulling 4039512a8f5a1eb4e050b518196b947c300e49e4 on negge:fi_cleanup into 7f2e0adf9b9d03882b071ea0c19cf8b0605fb640 on xiph:master.


The Setting of F Parameters

it is said parameter f is the dimensions of fingerprints.
How does the f parameter affect the hash value of the result？
I tried to compute the results of "abc" and "aaa", and found that the length was 64, and the other was 63.

@yhfwww the other is 63 because the leading bit is 0. Hope that helps you understand it.


made result_sorting by default for local emailable report

there is no need to declare and use extra parameter for that. Just do always result sorting for local emailable report

done. to test run api-demo-test using 7.2.10-SNAPSHOT carina.
-> there is no in logs any line about result_sorting
-> local emailable report results are sorted by default


Default name for showSaveDialog when using filters is wrong

Testing #34821 on macOS
I call the API so:
window.showSaveDialog({ filters: { 'TypeScript': ['*.ts'] }});

Again, just forward stuff to our service/electron....

Hm, this is just bad documentation. If you use 'ts' instead of '*.ts' everything works as expected. I'll update the docs


Text composables: Android Basics with Compose

URL of codelab
https://developer.android.com/codelabs/basic-android-kotlin-compose-text-composables#3
In which task and step of the codelab can this issue be found?
step 4. see text "Build your code. The preview should automatically update." and the screen preview window below it.
Describe the problem
your screen shows 'greetingpreview' above the Hello James! text. However this should be BrirthdayCardPreview because that is what the composable preview function was renamed to in an earlier step.
Steps to reproduce?

Go to...
Click on...
See error...

Versions
Android Studio version:
API version of the emulator:
Additional information
Include screenshots if they would be useful in clarifying the problem.

Hi @goodfriends1
Thank you for writing in and bringing this issue to our attention.
The lesson is being updated to correct this inaccuracy and will be republished again in the near future.
Hope you are enjoying the course!
Regards.


allow to use crt-list configurations

Hi @geofffranks,
as @jgf already mentioned in slack,I've prepared a pull request for the crt-list feature of haproxy-1.8.x. Only things that are already supported by the haproxy-boshrelease are now also supported by crt-lists. The one and only exception is the "verify" option.
The existing "ssl_pem" feature has not been touched, but if you put both "ssl_pem" and "crt_list" in your manifest, an error will be reported.
Please have a look at my changes.
crt-list is documented here:
https://cbonte.github.io/haproxy-dconv/1.8/configuration.html#5.1-crt-list
The new field 'haproxy.crt_list' replaces 'haproxy.ssl_pem' and allows to
specify sslbindconf and snifilter options for each certificate
Only a small subset of the allowed sslbindconf options is supported:

sslbindconf
field in manifest

"npn"
not supported

"alpn"
not supported

"verify"
"verify"

"ca-file"
"client_ca_file"

"no-ca-names"
not supported

"crl-file"
"client_revocation_list"

"ecdhe"
not supported

"curves"
not supported

"ciphers"
"ssl_ciphers"

"ssl-min-ver"
not supported

"ssl-max-ver"
not supported

membership publicized, feel free to close and reopen this pull request

Should the template compilation abort with an error if (ha_proxy.client_revocation_list || ha_proxy.client_cert || ha_proxy.ssl_pem) && haproxy.crt_list - so you can either use the old global-settings, or you can use the new SNI-specific settings, but you can't accidentally use both and run into unexpected behavior?

On Mar 6, 2018, at 3:09 AM, Jochen Dückminor<EMAIL_ADDRESS>wrote:
@dueckminor commented on this pull request.
In jobs/haproxy/templates/haproxy.config.erb https://github.com/cloudfoundry-incubator/haproxy-boshrelease/pull/94#discussion_r172436433:

 <% else %>

bind <%= p("ha_proxy.binding_ip") %>:443 ssl crt /var/vcap/jobs/haproxy/config/ssl <% if p("ha_proxy.strict_sni") %> strict-sni <% end %> <% if p("ha_proxy.client_cert") == true -%>

bind <%= p("ha_proxy.binding_ip") %>:443 ssl <%= crt_config %> <% if p("ha_proxy.strict_sni") %> strict-sni <% end %> <% if p("ha_proxy.client_cert") == true -%>
According haproxy-1.8 documentation they override the global properties.
I've updated the jobs/haproxy/spec file to clarify this.

—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub https://github.com/cloudfoundry-incubator/haproxy-boshrelease/pull/94#discussion_r172436433, or mute the thread https://github.com/notifications/unsubscribe-auth/AG2SUjCzBFjJmS0sEwYnu4z_Je3XWt50ks5tbkRDgaJpZM4SZvhx.

Hmm, one the one hand you are right. But on the other hand, it's an absolutely valid configuration. You can globally define the defaults for many entries in the crt-list and override them for some entries.
I'll discuss this with my team tomorrow.

I now abort the template compilation if client_ca_file/client_revocation_list is configured both globally and in a crt-list entry.
But it's getting more complicated...
The ha_proxy.client_cert option has to be configured if one of the crt-list entries tries to turn on mutual auth (by configuring client_ca_file, client_revocation_list, or verify!=none). Because otherwise the X-Forwarded-Client-Cert header will not be set.
I also found something strange in the existing haproxy.config.erb file which directly affects this pull request.
If we have a configuration like this:
properties:
  ha_proxy:
    crt_list:
    - ssl_pem: ...
      verify: required

mutual auth will be required and the certs from /etc/ssl/certs/ca-certificates.crt will be used as ca-file. (I don't think that configuration makes sense, but it's the simplest configuration to show the problem)
But if we now add
properties:
  ha_proxy:
    accept_proxy: true

the haproxy will not start anymore, as mutual auth is enabled but no ca-file is configured. As soon as accept_proxy is true, client_ca_file has to be configured in each crt-list entry which requires mutual authentication
Shall I fix it within this pull request?

Regarding the accept_proxy and client_cert bug: It was introduced with this commit https://github.com/cloudfoundry-incubator/haproxy-boshrelease/commit/7778b01817df375d84a376a920004f05dbb75146#diff-dbc8ccc259666df86aec4ce94f276464L171
Where a change is missing for the accept_proxy == true case in line 171

Let's fix the accept_proxy bug separately. I'll probably just add it as an optional setting that gets plugged into the bind directive instead of the current if-else syntax. Seems like the client_cert stuff needs cleaning up as well, and doesn't apply to the optional 4443 frontend.


⚠ Bofrost.lu has degraded performance

In 2f506b6, Bofrost.lu (https://www.bofrost.lu) experienced degraded performance:

HTTP code: 200
Response time: 815 ms

Resolved: Bofrost.lu performance has improved in 6267162.


refactor(ast): move functions to top level in ast macro

Pure refactor. Convert nested functions to top level, to make it easier to read.

[!WARNING]
This pull request is not mergeable via GitHub because a downstack PR is open. Once all requirements are satisfied, merge this PR as a stack on Graphite.
Learn more

#5793  👈
#5792
#5791
main

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @overlookmotel and the rest of your teammates on  Graphite

@rzvxa This is preparatory work for a larger change/experiment.


'cleanup caches' example workflow is wrong and harmful!

Code of Conduct

[X] I have read and agree to the GitHub Docs project's Code of Conduct

What article on docs.github.com is affected?
https://docs.github.com/en/actions/using-workflows/caching-dependencies-to-speed-up-workflows#force-deleting-cache-entries
Lifted from:

https://github.com/github/docs/pull/23530

The workflow that is supposed to delete PR-caches deletes caches from master/base branch:
https://github.com/github/docs/blob/4f054920abd101e3c059195642e04c0901e9490a/content/actions/using-workflows/caching-dependencies-to-speed-up-workflows.md?plain=1#L330-L347
This looks logical, but seems to be wrong.  If invoked by a closing PR, BRANCH ends up to be the base branch, e.g. master. This job will then remove exactly the wrong caches.
Should be fixed immediately by some knowledgeable person.  Or at least add the disclaimer I suggested in the PR.
Evidence here: https://github.com/agda/agda/actions/runs/4025940394/jobs/6919801891#step:3:5
(Note: these logs will be removed by github after some time.)
What part(s) of the article would you like to see updated?
See above.
Additional information
No response

Labels yesterday seems like the best of choices after reading this article highly agree

Looks like this was fixed in another PR recently: https://github.com/github/docs/pull/23612
Thanks for the issue!


Game mod collision bug

In game mod (when user controls the hero) some materials have wrong collision (like leaves of trees), why?

In game mod (when user controls the hero) some materials have wrong collision (like leaves of trees), why?

Wrong collision or no collision?
Texture collision information is saved in a matlib file (pml format). Only after loading them and compiling the world (save zen compiled), information about how these textures should behave (collision) is saved in the .zen (compiled) file.

Wrong collision with leaves in game mod in Spacer. Spacer loads matlib.


Can I get the depth information of each pixel in the RGB image？

Hello,Can I get the depth information of each pixel in the RGB image？
I The size of the RGB image I collected using Azure Kinect is 4096 * 3072, and the depth image is 1024 * 1024. But what I need is the depth information corresponding to each pixel on the RGB picture. Obviously, these two sizes cannot match.
This question is very important to me, and I hope to get your help, thank you very much！

Hi,
you could use one of these transformations from the SDK
https://docs.microsoft.com/en-us/azure/kinect-dk/use-image-transformation

Thanks so much, I've got the depth image I want (same resolution as RGB).
Thanks again for your answer!