Bring back ShowWindow functionality

Description of the new feature/enhancement
Bring back ShowWindow functionality as after #13164 only hiding the window works.

Proposed technical implementation details (optional)

Yes, I got a node application using https://github.com/felixhao28/node-systray and https://github.com/hetrodoo/hetrodo-node-hide-console-window-napi which is intended to be hidden to tray by default but which can be un-hidden to allow watching status information. While this works very well with windows console host set as default terminal application, it does not with windows terminal.
https://github.com/flybywiresim/simbridge

Windows Console Host
https://user-images.githubusercontent.com/50082450/172674510-04a2487e-2a92-461a-887d-375766216b0a.mp4

Windows Terminal Preview
https://user-images.githubusercontent.com/50082450/172674633-c0f39503-fc81-44aa-b990-983a8d852eee.mp4

Out of curiosity - how do you expect your app to work in a multi-tab, multi-pane scenario? We don't have a lot of folks even attempting this in the wild, so any and all feedback is appreciated ☺

What would you expect if you tried to ShowWindow(GetConsoleWindow(), SW_SHOW) from an inactive tab? (e.g. user starts the script, switches to another tab and starts working there, and eventually the script in the inactive tab calls ShowWindow)
Same question, but for an inactive pane
Same as the above questions, but now you've minimized the Terminal (e.g. an inactive tab, in a minimized window, calls ShowWindow)
Would outputting the XTWINOPS sequences CSI 1 t and CSI 2 t for show/minimize be possible for you rather than calling ShowWindow on GetConsoleWindow? I don't think that works today, but that might be easier to fix.

(I'm not asking to discourage you, I'm asking because these are the kinds of things that Terminal forces us to think about. Since it's an upending of the Console infrastructure that has existed on Windows for a few decades, we have to get these things right.)

What would you expect if you tried to ShowWindow(GetConsoleWindow(), SW_SHOW) from an inactive tab? (e.g. user starts the script, switches to another tab and starts working there, and eventually the script in the inactive tab calls ShowWindow)

I would expect it to switch the tab to the previously inactive one and focus on it.

Same question, but for an inactive pane

I'd expect it to focus on the pane which is tied to the call

Same as the above questions, but now you've minimized the Terminal (e.g. an inactive tab, in a minimized window, calls ShowWindow)

It should maximize the Terminal, focus on the tab which is tied to the call and if applicable, focus the specific pane.

Would outputting the XTWINOPS sequences CSI 1 t and CSI 2 t for show/minimize be possible for you rather than calling ShowWindow on GetConsoleWindow? I don't think that works today, but that might be easier to fix.

Given my previous answers, this would not behave exactly as described, but at least it would provide some basic functionality.

If there are multiple panes currently visible, and the application in one of them decides to hide its "console window", does that pane get sent away?

I'd expect it to ask for confirmation to hide the entire window, same for tabs. I can't really think of a scenario where one would want to temporarily hide one pane as in that case tabs or multiple windows would be more suitable.

How should this work user-driven preferences like "always on top" or the use of the Quake-style window (which is docked at the top of the screen and can be summoned with a hotkey)?

Always on top should be affected in the same way as a minimize call does now, as I expect show and hide calls to be user-desired. Else an option to disable this functionality entirely could be considered. The Quake-style window should be hidden when ShowWindow is being set to false, and restored when ShowWindow is being set to true.


Fix log message for rolling upgrade input validations

Issue #, if available:
Description of changes:
Testing (if applicable):
By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

/cherrypick release-0.11


pose_landmarks emit an empty packet while the corrsponding pose_world_landmarks packet isn't empty

Please make sure that this is a bug and also refer to the troubleshooting, FAQ documentation before raising any issues.
System information (Please provide as much relevant information as possible)

Have I written custom code (as opposed to using a stock example script provided in MediaPipe): Yes
OS Platform and Distribution (e.g., Linux Ubuntu 16.04, Android 11, iOS 14.4): Linux archlinux 5.18.16-arch1-1
Mobile device (e.g. iPhone 8, Pixel 2, Samsung Galaxy) if the issue happens on mobile device: -
Browser and version (e.g. Google Chrome, Safari) if the issue happens on browser: -
Programming Language and version ( e.g. C++, Python, Java): C++
MediaPipe version: v<IP_ADDRESS>
Bazel version (if compiling from source): 5.2.0
Solution ( e.g. FaceMesh, Pose, Holistic ): Pose
Android Studio, NDK, SDK versions (if issue is related to building in Android environment): -
Xcode & Tulsi version (if issue is related to building for iOS): -

Describe the current behavior:
When trying to get output from pose_landmarks stream using OutputStreamPoller#Next, sometimes the output packet is empty while there's a corresponding non-empty output packet in pose_world_landmarks.
Describe the expected behavior:
When the output packet of pose_world_landmarks is not empty, the output packet of pose_landmarks is also not empty.
Standalone code to reproduce the issue:
Diff: https://github.com/homuler/mediapipe/commit/feabd089138188ff4604a925f56f70991fef5736
Essentially, I modified demo_run_graph_main_gpu.cc to get outputs from pose_landmarks and pose_world_landmarks synchronously.
  ASSIGN_OR_RETURN(mediapipe::OutputStreamPoller pose_landmarks_poller,
                   graph.AddOutputStreamPoller("pose_landmarks", true));
  ASSIGN_OR_RETURN(mediapipe::OutputStreamPoller pose_world_landmarks_poller,
                   graph.AddOutputStreamPoller("pose_world_landmarks", true));

  // After starting CalculatorGraph
  while (graph_frames) {
    // ...

    mediapipe::Packet pose_landmarks_packet;
    mediapipe::Packet pose_world_landmarks_packet;
    if (!pose_landmarks_poller.Next(&pose_landmarks_packet) || !pose_world_landmarks_poller.Next(&pose_world_landmarks_packet)) {
      break;
    }
    if (pose_landmarks_packet.IsEmpty() && !pose_world_landmarks_packet.IsEmpty()) {
      LOG(WARNING) << "pose_landmarks is empty while pose_world_landmarks exists";
      LOG(WARNING) << "pose_landmarks queue: " << pose_landmarks_poller.QueueSize() << ", pose_world_landmarks queue: " << pose_world_landmarks_poller.QueueSize();
    }
    // ...
  }

Command:
bazel build -c opt --copt -DMESA_EGL_NO_X11_HEADERS --copt -DEGL_NO_X11 //mediapipe/examples/desktop/pose_tracking:pose_tracking_gpu
GLOG_logtostderr=1 ./bazel-bin/mediapipe/examples/desktop/pose_tracking/pose_tracking_gpu --calculator_graph_config_file=mediapipe/graphs/pose_tracking/pose_tracking_gpu.pbtxt

Other info / Complete Logs :
I'm not sure if it's a bug, but at least I find it a bit odd.
It seems that it occurs when roi and filtered_visibility are calculated almost at the same time.
I guess the following is occurring.
Calculation Steps
NOTE:

Step B and Step C are concurrent.
Step B is dependent on Step A.
Step C is dependent on Step A.
Step D is dependent on Step B and Step C.
SwitchDemuxCalculator will be triggered whenever its input is updated, but its container node won't be necessarily triggered (it is usually triggered only when all the inputs are given).

Step A

An input image is added to input_video at X.
poselandmarkgpu__ImagePropertiesCalculator adds its output to image_size.
The new image_size packet triggers poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchDemuxCalculator.
PoseLandmarkByRoiGpu adds its output to unfiltered_pose_landmarks and unfiltered_auxiliary_landmarks.

In practice, outputs are not added to unfiltered_pose_landmarks and unfiltered_auxiliary_landmarks simultaneously, but the order does not matter here.

Step B

The new unfiltered_pose_landmarks packet triggers poselandmarkgpu__poselandmarkfiltering__switchcontainer_1__SwitchDemuxCalculator
poselandmarkgpu__poselandmarkfiltering__switchcontainer_1__SwitchDemuxCalculator triggers poselandmarkgpu__poselandmarkfiltering__switchcontainer_1__VisibilitySmoothingCalculator_2.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_1__VisibilitySmoothingCalculator_2 adds its output to filtered_visibility.
The new filtered_visibility packet triggers poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchDemuxCalculator.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchDemuxCalculator relays filtered_visibility to poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2.

Step C

The new unfiltered_auxiliary_landmarks packet triggers poselandmarkgpu__poselandmarkfiltering__LandmarksToDetectionCalculator
poselandmarkgpu__poselandmarkfiltering__LandmarksToDetectionCalculator adds its output to aux_detection.
The new aux_detection packet triggers poselandmarkgpu__poselandmarkfiltering__AlignmentPointsRectsCalculator.
poselandmarkgpu__poselandmarkfiltering__AlignmentPointsRectsCalculator adds its output to roi.
The new roi packet triggers poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchDemuxCalculator.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchDemuxCalculator relays roi to poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2.

Step D

After finishing Step B and Step C, poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2 is triggered.
The output of poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2 triggers poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchMuxCalculator.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchMuxCalculator relays its input to filtered_landmarks (== pose_landmarks).

The point is that Step B and Step C is concurrent.
As long as filtered_visibility is calculated and relayed to LandmarksSmoothingCalculator before roi is calculated (or vice versa), this issue does not occur.
However, if filtered_visibility is calculated and roi is calculated before filtered_visibility is relayed to LandmarksSmoothingCalculator, the following occurs.
Step B and C

poselandmarkgpu__poselandmarkfiltering__switchcontainer_1__VisibilitySmoothingCalculator_2 adds its output to filtered_visibility (Step B # 3).
InputStreamHandler pops the new filtered_visibility packet from the queue and next_timestamp_bound_ for filtered_visibility is updated.
The new filtered_visibility packet is sent to the corresponding input streams.
poselandmarkgpu__poselandmarkfiltering__AlignmentPointsRectsCalculator adds its output to roi (Step C # 4).
InputStreamHandler pops the new roi packet from the queue and next_timestamp_bound_ for roi is updated.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchDemuxCalculator is triggered by the new filtered_visibility packet.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchDemuxCalculator relays each input packet to poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2.

image_size is left as it is since it's empty.
filtered_visibility is relayed to the corresponding output stream.
roi is empty but the next_timestamp_bound_ was updated (at the 5th step), so the timestamp bound of the corresponding output stream is also updated.

poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2 is triggered while the roi is empty.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2 does not output, but updates its output timestamp bound.
poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__SwitchMuxCalculator updates the timestamp bound of filtered_landmarks.
If a client is polling the output (using OutputStreamPoller#Next), this change of the timestamp bound is detected and an empty packet is returned to the client.

If the 5th step occurs after the 7th step finishes, the timestamp bound of roi won't be updated in the 7th step and poselandmarkgpu__poselandmarkfiltering__switchcontainer_2__LandmarksSmoothingCalculator_2 won't be triggered in the 8th step and this issue does not occur.
This issue also does not occur for world_landmarks (filtered_world_landmarks) because the corresponding SwitchContainer has only one input stream and its container node will be triggered at most once.
Workaround
After all, this issue occurs because SwitchDemuxCalculator triggers LandmarksSmoothingCalculator before all the dependent inputs are given.
I think we can avoid it by using DefaultInputStreamHandler for the SwitchDemuxCalculator instead of ImmediateInputStreamHandler.
When the following patch is applied (though I/F should be improved), this issue seems to be resolved.
diff --git a/mediapipe/framework/tool/switch_container.proto b/mediapipe/framework/tool/switch_container.proto
index a9c2d90..f38de33 100644
--- a/mediapipe/framework/tool/switch_container.proto
+++ b/mediapipe/framework/tool/switch_container.proto
@@ -27,4 +27,7 @@ message SwitchContainerOptions {

   // Use DefaultInputStreamHandler for muxing & demuxing.
   optional bool synchronize_io = 5;
+
+  optional bool synchronize_demux_io = 6;
+  optional bool synchronize_mux_io = 7;
 }
diff --git a/mediapipe/framework/tool/switch_demux_calculator.cc b/mediapipe/framework/tool/switch_demux_calculator.cc
index c4352c8..68b56bc 100644
--- a/mediapipe/framework/tool/switch_demux_calculator.cc
+++ b/mediapipe/framework/tool/switch_demux_calculator.cc
@@ -115,7 +115,7 @@ absl::Status SwitchDemuxCalculator::GetContract(CalculatorContract* cc) {
     }
   }
   auto& options = cc->Options<mediapipe::SwitchContainerOptions>();
-  if (!options.synchronize_io()) {
+  if (!options.synchronize_io() && !options.synchronize_demux_io()) {
     cc->SetInputStreamHandler("ImmediateInputStreamHandler");
   }
   cc->SetProcessTimestampBounds(true);
diff --git a/mediapipe/framework/tool/switch_mux_calculator.cc b/mediapipe/framework/tool/switch_mux_calculator.cc
index 9982ae4..a44bc00 100644
--- a/mediapipe/framework/tool/switch_mux_calculator.cc
+++ b/mediapipe/framework/tool/switch_mux_calculator.cc
@@ -154,7 +154,7 @@ absl::Status SwitchMuxCalculator::Process(CalculatorContext* cc) {
   // Update the input channel index if specified.
   channel_index_ = tool::GetChannelIndex(*cc, channel_index_);

-  if (options_.synchronize_io()) {
+  if (options_.synchronize_io() || options_.synchronize_mux_io()) {
     // Start with adding input signals into channel_history_ and packet_history_
     if (cc->Inputs().HasTag("ENABLE") &&
         !cc->Inputs().Tag("ENABLE").IsEmpty()) {
diff --git a/mediapipe/modules/pose_landmark/pose_landmark_filtering.pbtxt b/mediapipe/modules/pose_landmark/pose_landmark_filtering.pbtxt
index bb3665f..27d141c 100644
--- a/mediapipe/modules/pose_landmark/pose_landmark_filtering.pbtxt
+++ b/mediapipe/modules/pose_landmark/pose_landmark_filtering.pbtxt
@@ -100,6 +100,7 @@ node {
   options: {
     [mediapipe.SwitchContainerOptions.ext] {
       enable: true
+      synchronize_demux_io: true
       contained_node: {
         calculator: "LandmarksSmoothingCalculator"
         options: {

Hi @homuler ,
Possibly the model produce "empty packet" instead of vector of zero detections.
(please try ObserveTimestamps option, in FrameProcessor. option is only available for AddMultiStreamCallback. user would need to alter code locally to use AddMultiStreamCallback, and select the ObserveTimetampBounds parameter. https://github.com/google/mediapipe/blob/master/mediapipe/java/com/google/mediapipe/components/FrameProcessor.java#L213)

@sureshdagooglecom Sorry, what am I expected to confirm?
Could you please share this issue with those who are familiar with Pose or SwitchContainer?

Possibly the model produce "empty packet" instead of vector of zero detections.

The essence of this issue is that the above statement is not true.
Whatever "the model" is, it does not produce this empty packet since the packet isn't in a stream but generated here for convenience.
OutputStreamPoller#Next can return an empty packet when the output is empty, and it's OK.
The problem is that OutputStreamPoller#Next can return an empty packet too early when the output has not yet been calculated (or LandmarksSmoothingCalculator is executed before all the inputs are given).

@sureshdagooglecom Why is the status stat:awaiting response?

Hi @ivan-grishchenko,
Could you please look into this issue? Thank you!

Thank you. It seems like the situation has changed, so I will close this issue. If there is a similar problem with a new solution, I will create a new issue again.


fix: holesky genesis timestamp

📝 Summary
The current Holesky genesis timestamp used in MEV boost is not correct.
⛱ Motivation and Context
This prevents usage of mev-boost under the Holesky network.
📚 References
Genesis can be found here: https://holesky.beaconcha.in/slot/0
✅ I have run these commands

[x] make lint
[x] make test-race
[x] go mod tidy

Confirmed


docs(api): add tabs to Python API docs

Overview
This PR adds a Sphinx extension for creating tabbed sets of content on documentation pages. We plan to use tabs for quick comparison between parallel content for Flex and OT-2 (mostly code, but also related descriptions).
There's only one tab set included here, on the home page of the documentation. Edits to the surrounding text and tabs on other pages will come in subsequent PRs.

Test Plan

Check out the tab behavior in the sandbox.
Changelog

Adds sphinx-tabs to /api/Pipfile
Loads sphinx-tabs and sets options in the conf.py file.
Adds the first tab set on the Welcome page.

Review requests

Looking for all feedback on organizing content this way and the Sphinx implementation.
Risk assessment

Low. Adds a Sphinx extension that runs in CI.

Tabs are an ideal feature to use.

Saves us from maintaining separate .rst files for each robot.
When OT-2 is deprecated, you can easily revert back to a single page by removing obsolete tab.

As a style issue, I suggest always putting the Flex tab first followed by the OT-2 tab.


feat: add vite-environment-examples

As discussed with @patak-dev, this PR adds https://github.com/hi-ogawa/vite-environment-examples to ecosystem ci.
I verified the test passes locally by:
pnpm tsx ecosystem-ci.ts --branch v6/environment-api vite-environment-examples

this is great!


Few Questions on Slack

How can I send a scrollable data grid to slack as an incoming webhook response? Given it supports the only image format.
Can I send an image object as streaming content to incoming webhook response? or I need to publish this image object as an image in some folder and provide that URL as an attachment.
Now I have an app on my slack account. How do I make it available for my client's account and their workspace?
How about security. Can I put security on this slack app(which I created) so that only legitimate user, workspaces and accounts can only access this App?

My workflow  - Every time a question is asked on Slack app, it hits my rest endpoint and once the question is processed I post the answer on incoming webhook.
How do I put security on each such transactions? so that it is secured.

I am little confused in terms of where and all security is required. I did go through manage distribution and OAuth sections in Slack doc but couldn't completely comprehend. Where to start, etc.
Appreciate, if you can answer my queries. I am simultaneously checking with Slack Team as well.

How can I send a scrollable data grid to slack as an incoming webhook response? Given it supports the only image format.

You can't currently. You can experiment with different formatting options, though: https://api.slack.com/docs/messages/builder

Can I send an image object as streaming content to incoming webhook response? or I need to publish this image object as an image in some folder and provide that URL as an attachment.
Now I have an app on my slack account. How do I make it available for my client's account and their workspace?

You'd have to use the Web API upload methods, rather than the response URL.

How about security. Can I put security on this slack app(which I created) so that only legitimate user, workspaces and accounts can only access this App?

OAuth allows you to have your app authorized by specific users.

How do I put security on each such transactions? so that it is secured.
I am little confused in terms of where and all security is required. I did go through manage distribution and OAuth sections in Slack doc but couldn't completely comprehend. Where to start, etc.

https://api.slack.com/docs/oauth-safety

thanks very much Roach. Are there any charts like fusion charts , D3 are supported in Slack

@ashwinbiyani not currently. The most common solution is to render the chart as an iage and attach it to the message. One example would be StatsBot: https://statsbot.co/

@Roach Thank you for answering the questions.
@ashwinbiyani As the creator of this Java library, I do not have anything to do for this issue. Do you mind if I close this issue?

Yes
On Sat, May 5, 2018, 08:39 Kaz Sera<EMAIL_ADDRESS>wrote:

@Roach https://github.com/Roach Thank you for answering the questions.
@ashwinbiyani https://github.com/ashwinbiyani As the creator of this
Java library, I do not have anything to do for this issue. Do you mind if I
close this issue?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/seratch/jslack/issues/63#issuecomment-386774860, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AfByLWIvfamrF76wuC-x5mLXnwoSbOaBks5tvRfngaJpZM4S-CbT
.

I understand that you meant that you don't mind if I close this issue. If not, let me know. I will close this issue within a few days.

Yes please, you can close.
On Sat, May 5, 2018, 10:59 Kaz Sera<EMAIL_ADDRESS>wrote:

I understand that you meant that you don't mind if I close this issue. If
not, let me know. I will close this issue within a few days.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/seratch/jslack/issues/63#issuecomment-386780870, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AfByLWQ2JfnY4ktjph_kLkJ3q1KX847Eks5tvTjCgaJpZM4S-CbT
.


add java_opts attribute so that heap settings can be overridden by another cookbook

:+1:

Shipped in v2.11.0


Reading additional Node command line options from the .env file.

Have not set up any additional tests for this yet, but wanted to confirm that this was a reasonable approach to specifying additional command line options on the spawned instance of Node.
As an example, you could give Node additional memory on a build by specifying the following in your .env file:
NODE_COMMAND_LINE_BUILD=--max-old-space-size=8192

Original issue is #2820

I'm not sure if this is exactly what I had in mind.
Is it possible to see what flags were passed to the node process?
If we use fork() instead of spawn() do we get the behavior we'd like; should we do that instead?

Superseded by #2913.


Release saying "27 Sept" instead of "27 Nov"?

Hi, just wondering if there is a typo in the version 3.1.0 and 3.1.1 release dates, because it is two months older than real time :-)
Also found here https://discourse.nixos.org/t/mach-nix-create-python-environments-quick-and-easy/6858/88.

Thanks for noticing. I corrected the dates ;)


Wrong Fixes are constructed when Sequence type is involved

Currently, Kubescape is not accounting for the Sequences when constructing fixes for auto-fixing files or displaying in Assistant Remediation.
Example while auto-fixing files:

One of the basic fixes is to drop "NET_RAW" capability.
Fix Constructed: spec.containers[0].securityContext.capabilities.drop |= NET_RAW.
Right fix : spec.containers[0].securityContext.capabilities.drop +=  ["NET_RAW"]

// Fix Applied with the constructed path
capabilities:
     drop: NET_RAW

// Right Fix:
capabilities:
     drop: ["NET_RAW"]

// OR
capabilities:
     drop:
     - NET_RAW

TLDR
Fixes should be constructed differently for mapping and sequence types.
Possible Solution

Add another field PathType to FixPath in armosec/armoapi-go
https://github.com/armosec/armoapi-go/blob/392cab84a55ee919cd1559da112c00b00af11d06/armotypes/posturetypes.go#L287

The PathType field takes either Mapping or Sequence as values. The fixes can be constructed accordingly knowing the type of Path.

cc: @yuleib

fixed in regolibrary PR #230

I think it is better we close the issue only after the fix is published :)


Fix query dashboards when frontend is deployed

Fixes #4112

Hi @kakkoyun, thanks for the help.
I just generated the examples and add the new dashboard to this PR.
About your question, I do not think other dashboards can have the same issue currently, because this seems related to the fact that the query component can be completed by the query-frontend, but this is specific to query as I understood from the doc.

@kakkoyun Apparently the merge is blocked...do I have to do something else on my side please ?

Hey @yogeek, you need to sign your comments for DCO https://github.com/thanos-io/thanos/pull/4113/checks?check_run_id=2457531742
And I'll have another look at it. Thanks 👍

ok @kakkoyun  it's done


End of client boundary

Checklist

[X] The problem is not listed in the hardware support matrix as a known limitation. Examples of known driver-side issues are fans not turning on with a custom curve or inaccurate power limits on RDNA3.
[X] I've included a debug snapshot if the issue is related to hardware configuration

Bug description
On upgradeing from 0.5.7 to testing 0.6.1 and rebooting the gui got into a state where error messages were spammed.
Screenshot taken at 12:59:02

I have not been able to reproduce this so I am guessing that it happened when adding a new profile based on the old "default". Or perhaps the damon needs to be reloaded when automatic switching is enabled.
The gui was killed by closing the main window.
Expected behavior;
One error message that can be killed without continuosly generating more. Ah the good old days of w98 ;)
LACT-sysfs-snapshot-20241226-142420.tar.gz
System info
- LACT version:0.6.1 testing
- GPU model:5700XT
- Kernel version:6.12.6-x64v3-xanmod1 #0~20241220.g893acd0 SMP PREEMPT_DYNAMIC
- Distribution:Mint 21.3

The window spam is fixed with https://github.com/ilya-zlobintsev/LACT/commit/21df725c42b59ccad3490a558fb93c3ebc5ff65e.
Please let me know if you manage to reproduce the error (this error specifically will now just be logged though without error windows, as it happens due to background checking of the profile rules and not an explicit user action).


atom always no responding, how to solve it?

Prerequisites

[x] Can you reproduce the problem in safe mode?
[x] Are you running the latest version of Atom?
[ ] Did you check the debugging guide?
[ ] Did you check the FAQs on Discuss?
[ ] Are you reporting to the correct repository?
[x] Did you perform a cursory search to see if your bug or enhancement is already reported?

For more information on how to write a good bug report or enhancement request, see the CONTRIBUTING guide.
Description
[Description of the bug or feature]
I just use atom edit react-native, but today always crash? can you help me ?

Steps to Reproduce

[First Step]
[Second Step]
[and so on...]

Expected behavior: [What you expected to happen]
Actual behavior: [What actually happened]
Versions
Atom    : 1.12.4
Electron: 1.3.9
Chrome  : 52.0.2743.82
Node    : 6.5.0
npm: 4.0.2
You can get this information from executing atom --version and apm --version at the command line. Also, please include the OS and what version of the OS you're running.

please help me to solve the problem as soon as possible, thanks very much

Thanks for contributing!
All new issues now require steps to reproduce (also called "repro steps") the problem or the behavior you wish to see in Atom. We do this so we can be certain that we are understanding what it is you're describing and don't prematurely close the issue or implement the wrong feature. If you need help writing detailed repro steps, please see the How Can I Contribute? section of the Atom CONTRTIBUTING guide.
Right now we do not have enough information to help you solve your problem. If the requested information in the issue template is not provided within a reasonable timeframe, this issue will be closed.

maybe the bad luck, now there is  nothing


Can't create class from raylib-cpp

Pretty all class of raylib-cpp have no constructor allowing that:
class ObjectName
{
public:
	ObjectName();
	~ObjectName();

	void Load(const char* path);
	void Draw(raylib::Vector3 pos);

private:
	raylib::Model model;
};

So it's impossible to create class like this because a error is thrown saying Model have no default constructor !

A few options here...

Use raylib::Model* model; instead... construct and delete at ObjectName destruction
Pass const char* path in as part of the ObjectName constructor

I'm not sure how I feel about constructing the object without loading the associated data. Could run into Unload errors... Worth considering though!

Well creating a pointer need allocating via RL_MALLOC() im using mimalloc so its probably a good option.
Can't, because i wont use pointer for model, its overkill :x im planning to do a sceneManager, ive changed the raylib-cpp model.hpp file with a default constructor and it work fine :) im just calling Load(path) manually since the ObjectName class wont be deleted until the game exit, or if i call it myself.

Mind submitting a Pull Request? Others may be interested in it too. I'd love to see what you're proposing.

Okay, just need to test more about it, for now, ive not crashed when using this method :)

For this one, it will need some time since i need to check each class and found a way to move some default constructor to function, also testing it to see if it work :)

Quick thought... Would an initializer list for this help here?
https://docs.microsoft.com/en-us/cpp/cpp/constructors-cpp?view=msvc-170#member_init_list
class ObjectName
{
public:
	ObjectName(const std:string& modelFile);
	~ObjectName();

	void Load(const char* path);
	void Draw(raylib::Vector3 pos);

private:
	raylib::Model model;
};

ObjectName(const std::string& modelFile) : model(modelFile) {
   // Do other things.
}

A child property will need to know how to construct itself if you're creating the parent.

add a default one ObjectName() so it could be used within other class, else it would just throw a error about not being initialised properly with ObjectName(string),
also load the model in the Load() function and use it in ObjectName(string) to avoid problem with it, since you can set the error check only in Load(), also the modder/coder with be able to use Load() manually in custom class.


Repair sideloading of images

When deploying the plugin to a public-facing site this morning, I realized that the sideloading of images as an asynchronous task wasn't working as designed. Exporting from within Airstory opens a new tab with the post edit link (provided by the plugin in the webhook response), which effectively puts an immediate lock on the newly-created post. As a result, the media is not being sideloaded nor paths updated when run asynchronously.
I've opened #10 to revisit this in the future, but for now the sideloading of media has been made a synchronous part of the import process.
This PR also ensures the necessary dependencies for media_sideload_image() are loaded, since the webhook isn't technically executed within a WP Admin context.

@norcross: ready for round 2 of review.

@norcross I've addressed the two issues you raised, as well as fixed the docblock at the top of formatting.php. Anything else, or are we good to merge?


API: Create milestone

Implement https://developer.github.com/v3/issues/milestones/#create-a-milestone

Codecov Report

Merging #391 into master will increase coverage by 14%.
The diff coverage is 100%.

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


Geocode International Address Issue

Expected behavior and actual behavior.
I was expecting to get the lat. and long. of the international address.
I'm only getting 0.00000 as the result for international addresses.  The United States addresses are properly geocoded and the correct lat. and long. coordinates are returned.
Steps to reproduce the problem (screenshots are really usefull)

I created a custom field call "SingleLineAddress" for the entities.
I created a workflow that monitors to see if ANY address fields have been updated.  If so:

The workflow's first action is to update the SingleLineAddress field by concatenating the address fields (e.g. line1 line2 line3 city state postalcode country) into one line with quotation marks at the beginning and the end and spaces between each field value.
The next action is to geocode the SingleLineAddress field using a Basic Bing Key.
The last action is to update the lat. and long. fields.

This works for United States addresses, but not the International ones.  What am I doing wrong?
CRM Version - online/onpremise - WorkflowTools version
I'm using Dynamics 365 (v9 online) with Dynamics365WorkflowTools version <IP_ADDRESS>.

I did more testing and it doesn't appear to be an issue with international addresses.  I have an address that has a number sign (#) in it and that seems to be causing the issue.
What do I need to do to keep this from happening if an address contains that symbol?
Thanks,
Ryan

You can close this issue.  I used another Workflow utility to remove the special characters from the address field before Geocoding it.
Thanks,
Ryan


Update to std 0.99.0

Found this to be broken. This is a great alternative to esprima + typescript nodejs modules!
I wonder why there isn't more effort to use swc to convert node packages into deno? Though I am not interested in upgrading a node modules dependencies. The whole point of Deno is to avoid dependency overflow. But if dependency migration is done manually, I would hope this would lead to less of them.

Is there a way to do this as a squash commit? That is if you think this is a valuable PR.
It would also be nice to lock a release to a range of supported deno versions. Not that I want to downgrade. But as Deno version increases, it does seem to break a lot of packages. Deno giving a warning with what versions it has been tested against would be nice.

Is there a way to do this as a squash commit?
@tamusjroyce Sure, I can create a squash commit when we land this

I'll try to get to this tonight or later this week. Thanks for kicking of the ci stack!

Is there a way to get deno lint --ignore=swc_wasm/wasm.js as pre-commit or a pre-push hook? would be nice to ignore all files. Hoping CI is setup to ignore this as well.

@wongjiahau or @littledivy, would you have a chance to run the workflow for this? mostly curious if I got everything. You might have a better attempt at upgrading to 0.99.
I think demo_swc is immensely useful before jumping directly into rust + swc. Hoping others feel the same. Also curious about ajv to rust. Since ajv is a json schema compiler, it would make sense as rust. And give deno extra feature/security people desire (built-in validation).

@tamusjroyce you need to run deno fmt

Thank you @wongjiahau or @littledivy for all the assistance and patience. Hoping I have it this time (finally)

Sorry just saw the message! I'll run the pipeline for you

I will add Run cd swc_wasm && deno run -A ./build.js to the pre-push script. Getting closer to this matching the pipeline. Thanks for giving it a run littledivy!

Will leave bumping swc to a future PR
PS C:\Users\Owner\Projects\deno_swc\swc_wasm> cargo update
Updating crates.io index
Updating git repository https://github.com/swc-project/swc
Updating aho-corasick v0.7.13 -> v0.7.18
Updating anyhow v1.0.31 -> v1.0.42
Updating arrayvec v0.5.1 -> v0.5.2
Updating autocfg v1.0.0 -> v1.0.1
Updating bumpalo v3.4.0 -> v3.7.0
Updating byteorder v1.3.4 -> v1.4.3
Updating const-random v0.1.8 -> v0.1.13
Updating const-random-macro v0.1.8 -> v0.1.13
Adding crunchy v0.2.2
Updating dashmap v3.5.1 -> v3.11.10
Updating either v1.5.3 -> v1.6.1
Adding form_urlencoded v1.0.1
Removing getrandom v0.1.14
Adding getrandom v0.1.16
Adding getrandom v0.2.3
Updating hashbrown v0.8.1 -> v0.11.2
Updating hermit-abi v0.1.15 -> v0.1.19
Updating idna v0.2.0 -> v0.2.3
Updating if_chain v1.0.0 -> v1.0.1
Updating indexmap v1.5.0 -> v1.7.0
Updating is-macro v0.1.8 -> v0.1.9
Updating itoa v0.4.6 -> v0.4.7
Updating js-sys v0.3.45 -> v0.3.51
Updating libc v0.2.72 -> v0.2.98
Updating log v0.4.11 -> v0.4.14
Updating memchr v2.3.3 -> v2.4.0
Updating num-integer v0.1.43 -> v0.1.44
Updating num-traits v0.2.12 -> v0.2.14
Updating once_cell v1.4.0 -> v1.8.0
Updating ordered-float v1.1.0 -> v1.1.1
Updating ppv-lite86 v0.2.8 -> v0.2.10
Updating proc-macro-hack v0.5.16 -> v0.5.19
Updating proc-macro2 v1.0.18 -> v1.0.27
Updating quote v1.0.7 -> v1.0.9
Updating regex v1.3.9 -> v1.5.4
Updating regex-syntax v0.6.18 -> v0.6.25
Updating serde v1.0.114 -> v1.0.126
Updating serde_derive v1.0.114 -> v1.0.126
Updating serde_json v1.0.56 -> v1.0.64
Updating siphasher v0.3.3 -> v0.3.5
Removing smallvec v0.6.13
Removing smallvec v1.4.1
Adding smallvec v0.6.14
Adding smallvec v1.6.1
Updating string_cache v0.8.0 -> v0.8.1
Updating syn v1.0.34 -> v1.0.73
Removing thread_local v1.0.1
Adding tiny-keccak v2.0.2
Updating tinyvec v0.3.3 -> v1.2.0
Adding tinyvec_macros v0.1.0
Updating unicode-bidi v0.3.4 -> v0.3.5
Updating unicode-normalization v0.1.13 -> v0.1.19
Updating unicode-xid v0.2.1 -> v0.2.2
Updating url v2.1.1 -> v2.2.2
Updating version_check v0.9.2 -> v0.9.3
Updating walkdir v2.3.1 -> v2.3.2
Adding wasi v0.10.2+wasi-snapshot-preview1
Updating wasm-bindgen v0.2.68 -> v0.2.74
Updating wasm-bindgen-backend v0.2.68 -> v0.2.74
Updating wasm-bindgen-macro v0.2.68 -> v0.2.74
Updating wasm-bindgen-macro-support v0.2.68 -> v0.2.74
Updating wasm-bindgen-shared v0.2.68 -> v0.2.74
...
error[E0603]: module private is private
--> C:\Users\Owner.cargo\git\checkouts\swc-594f88c93b4170b2\6b03c65\ecmascript\jsdoc\src\ast.rs:30:1
|
30  | #[ast_node]
| ^^^^^^^^^^^ private module
|
note: the module private is defined here
--> C:\Users\Owner.cargo\registry\src\github.com-1ecc6299db9ec823\serde-1.0.126\src\lib.rs:277:5
|
277 | use self::__private as private;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0603]: module private is private
--> C:\Users\Owner.cargo\git\checkouts\swc-594f88c93b4170b2\6b03c65\ecmascript\jsdoc\src\ast.rs:238:1
|
238 | #[ast_node]
| ^^^^^^^^^^^ private module
|
note: the module private is defined here
--> C:\Users\Owner.cargo\registry\src\github.com-1ecc6299db9ec823\serde-1.0.126\src\lib.rs:277:5
|
277 | use self::__private as private;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^
error[E0603]: module private is private
--> C:\Users\Owner.cargo\git\checkouts\swc-594f88c93b4170b2\6b03c65\ecmascript\jsdoc\src\ast.rs:356:1
|
356 | #[ast_node]
| ^^^^^^^^^^^ private module
|
note: the module private is defined here
--> C:\Users\Owner.cargo\registry\src\github.com-1ecc6299db9ec823\serde-1.0.126\src\lib.rs:277:5
|
277 | use self::__private as private;
|     ^^^^^^^^^^^^^^^^^^^^^^^^^^
(if you notice PS>, I am glad to support powershell via vscode. But I do strongly dislike any tcl-based language! I will never support how arrays work in PS >.<)

@tamusjroyce LGTM
/cc @littledivy


SNOW-1254469: Add CTE optimization to tests/perf/perf_runner

Please answer these questions before submitting your pull requests. Thanks!

What GitHub issue is this PR addressing? Make sure that there is an accompanying issue to your PR.
Fixes #NNNN

Fill out the following pre-review checklist:

[ ] I am adding a new automated test(s) to verify correctness of my new code
[ ] I am adding new logging messages
[ ] I am adding a new telemetry message
[ ] I am adding new credentials
[ ] I am adding a new dependency

Please describe how your code solves the related issue.
Please write a short description of how your code change solves the related issue.

Does the current test suite test for chain of operation of varying sizes for example 10, 100, 1000 so see the trend of impact.

You mean something like df.union(df), with 10, 100, 1000 times?


Fixed fetching options

This Changes fixed initializing the module with custom options like language.

How can I change the language,please

How can I change the language,please

This PR Fixed changing language issue, and waiting to be merged.


Prototype 1es-template conversion for azure-sdk-for-js

[ ] Take the common updates from this branch

eng/common/scripts/job-matrix/job-matrix-functions.ps1
eng/common/scripts/Verify-AgentOS.ps1
eng/common/pipelines/templates/steps/publish-artifact.yml
eng/common/pipelines/templates/jobs/archetype-sdk-tests-generate.yml
eng/pipelines/templates/variables/image.yml

[ ] Run converter tool against top level templates, ensure a successful template release.
[ ] Store results in 1es-template-conversion branch on the repo.

Rollout strategy is still being discussed. For now let's find gotchas.

Gotchas Discovered:

[ ] Need to update smoketests job. Lot of duplication here.

Visible working builds present in 1es-template-conversion on the repo.


add DeepFM_v2

add a full version of DeepFM and rename file to DeepFM_v2

This is a great work for sure. only one comment. Could you add some comment at the beginning to explain the difference between this version and the previous version? just some general introduction is enough.

I add a two-line description.

This is a great work for sure. only one comment. Could you add some comment at the beginning to explain the difference between this version and the previous version? just some general introduction is enough.

I add a two-line description.


Move Template Operator to Separate Repository instead of a subfolder in Lifecycle Manager

As a Module Developer I want easy access to module documentation and development guides that are easy to understand and access. The easiest way to achieve this is by moving template operator to a separate Repository. This also enables some follow-up Clean-Up for maintenance of lifecycle-manager (and also module-manager)
AC:

[x] Move Template Operator from https://github.com/kyma-project/lifecycle-manager/tree/main/samples/template-operator to a separate repository.
[x] Decide naming on template operator (e.g. sample-operator / template-manager / template-operator, etc...)
[x] Correct all links in documentation in template operator and community guides to link to the new repository instead
[x] Move Lifecycle Manager Operator part with go.mod to Root after the move has been completed to clean up the Lifecycle Manager Repo after the Move

Adjustmen of Lifecycle Manager Repo in https://github.com/kyma-project/lifecycle-manager/pull/300

Regular jobs will fail as it also changes the destination of the jobs (now being in root) so one has to also adjust the pipelines: https://github.com/kyma-project/test-infra/pull/6342
New Template-Operator will be located in https://github.com/kyma-project/template-operator/pull/1

Reopening since the Pipelines are not implemented
(Issue got closed by kyma-bot)

PR to introduce the template-operator pipelines
https://github.com/kyma-project/test-infra/pull/6382

@jeremyharisch i think we need to reopen, your linked PR closed this issue.


Rework failures traces

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

55 of 55 (100.0%)  changed or added relevant lines in 9 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.0005%) to 99.852%

Totals

Change from base Build<PHONE_NUMBER>:
0.0005%

Covered Lines:
9438

Relevant Lines:
9452

💛  - Coveralls


Adds display for metrics.

closes #3365
Why was this change made?
Metrics!
How was this change tested?
Which documentation and/or configurations were updated?


BDropdown not working on bootstrap-vue-next.github.io

Describe the bug
Hey,
It seems that the dropdown components (available here or here for instance) are not working at all. This could be related to #2024 and #1972.
Here's the console content :

Reproduction
Go to this page with a Chromium browser. Not tested on Firefox or Safari tho.
EDIT : It seems to happen only when rendered server side. So if it works while testing, try to F5 the page before retrying 🙂
Used Package Manager
n/a
Validations

[X] Have tested with the latest version. This is still alpha version and sometime things change rapidly.
[X] Follow our Code of Conduct
[X] Read the Contributing Guide.
[X] Check that there isn't already an issue that reports the same bug to avoid creating a duplicate.
[X] Check that this is a concrete bug. For Q&A, please open a GitHub Discussion instead.
[X] The provided reproduction is a minimal reproducible of the bug.

A workaround if you're using Nuxt : wrap your BDropdown component inside of a ClientOnly component.

We experienced the same issue with nuxt 3.12.4 and bootstrap-vue-next 0.24.7... thanks @Skyost for the workaround - it does mean the menu jumps slightly on loading but at least it gets us going.


Emmet is not working.

So Emmet worked for like 2 days, but after that it stopped expanding my commands.
I dont even know where to start, I have googles a lot but nothing is working.
I have uninstalled Emmet and PyV8 and tried manually installed both... Nothing.
What information do you need from me to figure out why this isn't working?

Thank you @ganar , I downloaded the PyV8 and solved the issue.

Same Issue for me..

Traceback (most recent call last):
File "emmet-plugin in C:\Users\abc\AppData\Roaming\Sublime Text 3\Installed Packages\Emmet.sublime-package", line 375, in run_action
File "emmet-plugin in C:\Users\abc\AppData\Roaming\Sublime Text 3\Installed Packages\Emmet.sublime-package", line 324, in _action
TypeError: TypeError: Cannot read property 'value' of null ( emmet-app.js @ 6004 : 24 )  -> 		this._name = nameToken.value;

@zeeshanyshaikh what solved the issue for me was downloading the PyV8 binaries for OSX from the this page

@ganar Thanks. Installing new PyV8 binary worked.


Fix typo

Github -> GitHub

@changeworld : Thanks for your contribution! The author, @viv-liu, has been notified to review your proposed change.

Merging typo fixes


Fix enhancement statistics in Kubernetes 1.19 release blog

The source of the information is: http://bit.ly/k8s-1-19-enhancements
Signed-off-by: Nabarun Pal<EMAIL_ADDRESS>/cc @onlydole @mkorbi @jeremyrickard @mrbobbytables

/cc @castrojo

Ideally we'd not have the whitespace changes in the same commit, but I'm going to approve this as it's just a cleanup.
/approve

Thank you @sftim for the consideration and the approval. :+1:


Install command needs to be done inside the Node-Red directory

Problem/Motivation - No resultant dark mode

(Why the issue was filed) - Install didn't have desired results (AKA nothing changed)

Theme version: Normal
Node-RED version:  2.0.5
Platform/OS:  RPi Buster
Browser:  Chrome

Proposed changes
As per Node-Red Forum - https://discourse.nodered.org/t/dark-mode-theme-looking-rather-pale/49768
knolleary

You have run the install in the wrong directory.

You need to be in ~/.node-red

That's right. See https://nodered.org/docs/user-guide/runtime/adding-nodes#installing-with-npm

Sorry, I guess I meant that this tidbit could be added to your own install instructions... for the uninitiated who, as far as I can recall at least, ran every other npm install command from home directory.... unless stated otherwise in the directions :)

I understand. But, since there are so many different ways for people to install Node-RED, it's almost impossible to cover them all in the installation instructions.

As I now understand it, regardless of method of NR install... installing an npm contrib, that needs to effect NR, requires it to be done in the NR directory.
Whether you add that detail or not is really no longer meaningful, as anyone running into same issue may look for and see this topic.


SSE Support?

Hi,
I couldn't find anything about SSE in the documentation so I was wondering if it is a missing feature or if simply there is a way to test SSE based REST API with rest-assured that I couldn't find :)
If it's a missing feature, I don't think it would be very easy to implement but it could be quite interesting to have.
In particular, the following use case are of interest (to me, but I think to other people too):

asserting about one event verifying some constraints
asserting about all events verifying some constraints
asserting the above, taking into account order, or not!
asserting for only some event types
etc

These are some ideas, even the most basic way of testing things would be great :)
Thanks!

Hi,
There's no built in way to do this. Not sure how much of an effort it'll be. I don't think SSE should be supported natively since due to it's request-response nature. One might be able to hack something up using awaitility in combination with rest-assured? I will close this issue as "out-of-scope". But if you want to contribute with a module (like the json schema validation module) that would be very interesting.
/Johan

Ok, thanks for the answer and ideas to combine it with awaitility!

@victornoel have you come with any solutions about SSE? thanks!

@pawelebe not really, it was a long time ago, I believe I must have used the workaround proposed above ^^

Being able to test SSE would be an amazing feature.


Frontend: implement req User Routines in Userpage

Branch 97 deprecated

git fetch origin
git checkout 116-frontend-implement-req-user-routines-in-userpage


upgrade gradle to 8.0.1

:exclamation: Please review the guidelines for contributing
Description
upgrade gradle to 8.0.1

Build failed because of issue with spotless gradle plugin and looks similar to https://github.com/diffplug/spotless/issues/1572. And I don't know how to make a fix/workaround.
Anyway, I don't accept PR for dependencies version updates, check contributing guidelines.


[Number input]: Formatted input for decimal numbers not working

Description
Expected: When using bx-number-input with step="0.01", typing in "2,55" (in that order), the input should accept that
What happened instead: Typing "," (a comma) returns typing cursor to the beginning of the input. So typing in 2, then comma will result in just "2" with typing cursor before "2". Typing a comma again will result in ",2".
Component(s) impacted
bx-number-input
Browser
Chrome
Carbon for IBM.com version
1.26.0
Severity
Severity 2 = Aspects of design is broken, and impedes users in a significant way, but there is a way to complete their tasks. Affects major functionality, has a workaround.
Application/website
internal tools
Package
@carbon/web-components
CodeSandbox example
Codesandbox for bx-number-input does not compile
Steps to reproduce the issue (if applicable)
Typing "," (a comma) returns typing cursor to the beginning of the input. So typing in 2, then comma will result in just "2" with typing cursor before "2". Typing a comma again will result in ",2".
Release date (if applicable)
No response
Code of Conduct

[X] I agree to follow this project's Code of Conduct
[x] I checked the current issues for duplicate issues

@lyyka the @carbon/web-components package follows the functional and design specifications from the @carbon/react package. NumberInput does not accept commas in the React version of the component - it's not a valid number. If you'd like to discuss this feature request further, you can do that here.


3446: Fix file uploads for partner form

Resolves #3446 .
Description
When we merged partners, we used the simple_fields_for method to update what was now the partner profile. However, there are two versions of this method - one meant for use inside a bare form tag, and one for use inside a form builder (i.e. using the form_for or form_with method). We were using the wrong one, meaning that the form builder was not updated as "multipart", which happens when a file field is included in the form. This skipped the necessary attributes allowing file uploads, which caused all file uploads to fail.
This PR fixes it!
Type of change

Bug fix (non-breaking change which fixes an issue)

How Has This Been Tested?
Local testing

Hey @dorner -- there is a partner-related test failing -- and not one of the ones known to be flakey.

Pushed fixes!

Working fine on my local, too.


It would be nice to be able to stop the bot gracefully

I did not find a way to stop the bot gracefully. When you stop the bot today (via CTRL-C or any UNIX standard signal), it just spits an error:
^C/usr/lib/ruby/1.9.1/net/protocol.rb:143:in `select': Interrupt
    from /usr/lib/ruby/1.9.1/net/protocol.rb:143:in `rescue in rbuf_fill'
    from /usr/lib/ruby/1.9.1/net/protocol.rb:140:in `rbuf_fill'
    from /usr/lib/ruby/1.9.1/net/protocol.rb:122:in `readuntil'
    from /usr/lib/ruby/1.9.1/net/protocol.rb:132:in `readline'
    from /usr/lib/ruby/1.9.1/net/http.rb:2563:in `read_status_line'
    from /usr/lib/ruby/1.9.1/net/http.rb:2552:in `read_new'
    from /usr/lib/ruby/1.9.1/net/http.rb:1320:in `block in transport_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:1317:in `catch'
    from /usr/lib/ruby/1.9.1/net/http.rb:1317:in `transport_request'
    from /usr/lib/ruby/1.9.1/net/http.rb:1294:in `request'
    from /var/lib/gems/1.9.1/gems/persistent_http-1.0.6/lib/persistent_http.rb:304:in `block in request'
    from /var/lib/gems/1.9.1/gems/gene_pool-1.4.1/lib/gene_pool.rb:137:in `with_connection'
    from /var/lib/gems/1.9.1/gems/persistent_http-1.0.6/lib/persistent_http.rb:299:in `request'
    from /var/lib/gems/1.9.1/gems/httparty-0.13.5/lib/httparty/request.rb:101:in `perform'
    from /var/lib/gems/1.9.1/gems/httparty-0.13.5/lib/httparty.rb:522:in `perform_request'
    from /var/lib/gems/1.9.1/gems/httmultiparty-0.3.16/lib/httmultiparty.rb:124:in `post'
    from /var/lib/gems/1.9.1/gems/telegram-bot-ruby-0.3.2/lib/telegram/bot/api.rb:32:in `call'
    from /var/lib/gems/1.9.1/gems/telegram-bot-ruby-0.3.2/lib/telegram/bot/api.rb:27:in `method_missing'
    from /var/lib/gems/1.9.1/gems/telegram-bot-ruby-0.3.2/lib/telegram/bot/client.rb:27:in `block in listen'
    from /var/lib/gems/1.9.1/gems/telegram-bot-ruby-0.3.2/lib/telegram/bot/client.rb:26:in `loop'
    from /var/lib/gems/1.9.1/gems/telegram-bot-ruby-0.3.2/lib/telegram/bot/client.rb:26:in `listen'
    from bot.rb:34:in `block in run'
    from /var/lib/gems/1.9.1/gems/telegram-bot-ruby-0.3.2/lib/telegram/bot/client.rb:22:in `run'
    from /var/lib/gems/1.9.1/gems/telegram-bot-ruby-0.3.2/lib/telegram/bot/client.rb:10:in `run'
    from bot.rb:33:in `run'
    from bot.rb:43:in `<main>'

It would be nice to be able to do something like for webrick (see the following example) so that the bot can be stopped without crashing :
require 'webrick'
server = WEBrick::HTTPServer.new :Port => 1234
server.mount "/", WEBrick::HTTPServlet::FileHandler, './'
trap('INT') { server.stop }
server.start

Good point, i have been thinking about it too. I'll try implement this feature in near future.

Added graceful shutdown in 0.3.6.

I'd jump into this ticket, since, with the main provided example and with 0.7.2, the ctrl-c seems not to work. Can you confirm this or it's just me?

I've read the source code and I've got the problem. The listen loop checks the variable 'running' for every cycle. The point is "should I start the next cycle or not?". But the cycle is not interrupted, then: if I send ctrl-c, the software exits only when the next message arrives. I'll try to patch the code and send a PR to you.

Are you sure about "only when the next message arrives"?
Yes, Client#fetch_updates method is not interrupted, but let's look at this scenario:

Client#fetch_updates is already started
You press Ctrl+C
running is set to false, Client#fetch_updates continues to yield received messages to you. So you process all the messages (which is fine I believe)
Next Client#fetch_updates call is not going to be happened, no new messages arrive.
Exit

Is something wrong here?

IMHO: yes. If I press ctrl-c, and no message arrives, the client doesn't quit.

It will quit after timeout period.
On Thu, 9 Feb 2017 at 15:32, Dario Lombardo<EMAIL_ADDRESS>wrote:

IMHO: yes. If I press ctrl-c, and no message arrives, the client doesn't
quit.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/atipugin/telegram-bot-ruby/issues/13#issuecomment-278628239,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AARM1JuCl2Z5XGsivH-NRBZpv7xNnlvbks5rawdDgaJpZM4F8cPv
.

Yes, I reproduce it myself. But if you send it INT signal it will quit as it should.

Of course it works. But wouldn't it nicer to stopwith ctrl-c? What's the value of getting the last messages in the queue, if we're quitting anyway? Whouldn't it be better to run exit when the signal is got?

Is the timeout configurable?

I succeeded to make the client to quit faster with
bot.options[:timeout] = 1


Sync dev into master

@sdrabenh Let me test it in coupled mode.

@sdrabenh @mathomp4 Also, should this merge include 260, or should it be added later?

@sdrabenh @mathomp4 Also, should this merge include 260, or should it be added later?

Ideally, yes, #260 should be included as well depending on how long the coupled tests will take to complete. I really need to sync develop into master and issue a tag tomorrow because other users have requested a tag reference on master (with the latest changes now in develop) so their systems can run. Unfortunately, this PR rolls in 10 other PRs - all of which have been approved already in develop.

@sdrabenh @mathomp4 Good news is that develop works in coupled mode (which is unusual). Let me check if we can merge Matt's branch into develop before merging everything  to master. I have a meeting now, but it should not take a lot of time after meeting. I don't need to run whole lot of tests, if it is zero diff with develop, it is good to go.

@yvikhlya you should be able to approve #260 and remove the DNA label. At that point I will merge it into develop. Then I'll update this PR, but then you have to approve this PR too.

@mathomp4 @sdrabenh Sorry it takes so long. System hiccups are horrible today. Still did not finish zero diff test with #260 , but looking at code I think everything is ok. Is there anything else I need to do to close this PR?


Update Information Menu Item and content - IMPORTANT!

Change Menu Idea name from 'Fund' to 'Information'.
Add a redirect from https://cardanocataly.st/en/funds/ and https://cardanocataly.st/funds/ to https://cardanocataly.st/en/timeline/
Add 'Timeline' card to 'Information' page
Add Regular Weekly events card to Information Page
Add @whitevo events to the page https://discord.com/channels/@me/863362605007765545/880811011710517298

Added event logic and info.
If this issue is public they cant see that message
Event Calender for landing page.md
Weekly events
September 1, 18:00 - Townhall
September 1, 19:00 - After Townhall (mini proposal workshop, some catalyst circle related topic, Project related information, Catalyst School )
September 4, 17:00 - Swarm Sessions (some catalyst circle related topic, Project related information, Going Deep on ideas, Catalyst School, Gaming)
September 9, 16:00 - Gimbalabs playground (some catalyst circle related topic, Project related information, Going Deep on ideas, Catalyst School, Gaming)
Bi-Weekly events
September 9, 17:00 - Catalyst Circle


Fix Build: Adds imagej dependency

and add relevant imports to LIghtSheetStackTest.  It is unclear if this was the intention.  Closes #626.

Thanks Nico! I think things break at the Deploy PycroManagerJava.jar to Sonatype OSS step, which only runs when a branch is merged into main (I think). So we are yet to see if these changes have fixed the build bug.
I believe Henry's intention was not to make pycromanager explicitly depend on ImageJ. @henrypinkard is there a better place where the LightSheetStackTests can live?

Yes, Im not sure how I ended up merging this in the first place, but these tests are for manual local testing, and imageJ is just for displaying images. So I've just commented out this class for now in https://github.com/micro-manager/pycro-manager/pull/632

I think things break at the Deploy PycroManagerJava.jar to Sonatype OSS step, which only runs when a branch is merged into main (I think)

Ah yes, I think that is right. I made a new issue for this #633


Failed to create docker image while instanciating chaincode

Hi,
I'm following the tutorial related to this git repository but I have an issue at the installing/instantiating a chaincode step. The installation is working fine but I cannot make the instantiation work. I think it is related to a docker issue but I cannot find a solution on stackoverflow...
Here a the logs when calling 'make' :
SDK created
Ressource management client created
Channel created
Channel joined
Initialization Successful
ccPkg created
Chaincode installed
[fabsdk/fab] 2019/06/20 09:27:33 UTC - peer.(*peerEndorser).sendProposal -> ERRO process proposal failed [rpc error: code = Unknown desc = error starting container: Failed to generate platform-specific docker build: Error executing build: API error (400): {"message":"OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown"}
""]
[fabsdk/fab] 2019/06/20 09:27:33 UTC - peer.(*peerEndorser).sendProposal -> ERRO process proposal failed [rpc error: code = Unknown desc = error starting container: Failed to generate platform-specific docker build: Error executing build: API error (400): {"message":"OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown"}
""]
Unable to install and instantiate the chaincode: failed to instantiate the chaincode: sending deploy transaction proposal failed: Multiple errors occurred:
Transaction processing for endorser [localhost:8051]: gRPC Transport Status Code: (2) Unknown. Description: error starting container: Failed to generate platform-specific docker build: Error executing build: API error (400): {"message":"OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown"}
""
Transaction processing for endorser [localhost:7051]: gRPC Transport Status Code: (2) Unknown. Description: error starting container: Failed to generate platform-specific docker build: Error executing build: API error (400): {"message":"OCI runtime create failed: container_linux.go:348: starting container process caused "exec: \"/bin/sh\": stat /bin/sh: no such file or directory": unknown"}
Tell me if you need me to provide other informations,
Vylly

This was an issue related to my VM being broken, after reinstalling my VM and rebuilding the code, it's now working.


[Snyk] Fix for 5 vulnerabilities

Snyk has created this PR to fix 5 vulnerabilities in the maven dependencies of this project.
Snyk changed the following file(s):

master/pom.xml

Vulnerabilities that will be fixed with an upgrade:

Issue
Score
Upgrade

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230364
  53
org.springframework:spring-context:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230365
  53
org.springframework:spring-core:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230366
  53
org.springframework:spring-web:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230367
  53
org.springframework:spring-webflux:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

Improper Handling of Case Sensitivity SNYK-JAVA-ORGSPRINGFRAMEWORK-8230368
  53
org.springframework:spring-webmvc:  5.3.18 -> 6.1.14 Major version upgrade No Known Exploit

[!IMPORTANT]

Check the changes in this PR to ensure they won't cause issues with your project.
Max score is 1000. Note that the real score may have changed since the PR was raised.
This PR was automatically created by Snyk using the credentials of a real user.

Note: You are seeing this because you or someone else with access to this repository has authorized Snyk to open fix PRs.
For more information:
🧐 View latest project report
📜 Customise PR templates
🛠 Adjust project settings
📚 Read about Snyk's upgrade logic

Learn how to fix vulnerabilities with free interactive lessons:
🦉 Learn about vulnerability in an interactive lesson of Snyk Learn.

:tada: Snyk checks have passed. No issues have been found so far.
:white_check_mark: code/snyk check is complete. No issues have been found. (View Details)


Fix editor help crash

Fixes random crash when opening/typing in the editor help.
fixes #68452

Thanks!


[suggestion] can this be made to work with Periodic Notes

can this also be amde to work with the Periodic Notes Plugin

See also https://github.com/liamcain/obsidian-periodic-notes/issues/86#issue-1099654289


Added support of APNG

What is this?
I added APNG support to ChunkyPNG.
You can decord/encord the Animated PNG file.
Also you can R/W access to the frame images's pixels like you do for the ChunkyPNG::Canvas.
Low level access to APNG-specific chunks is also possible.
refs:

#116
mozilla wiki - APNG Specification
Animated PNG demos

What did I do?
I made it possible for ChunkyPNG::Chunk module to parse acTL/fcTL/fdAT chunk types.
And I added the following three classes.

ChunkyPNG::Animation - class to represent APNG images
ChunkyPNG::Frame - class to represent each frames that construct the animation
ChunkyPNG::AnimationDatastream - represents the internal structure of an APNG

Usage
I will show some samples.
Since APNG images are included, please view the following samples with APNG supported browsers (Safari/Firefox).
Read APNG file
input:

require 'chunky_png'

animation = ChunkyPNG::Animation.from_file('apng-sample.png')
puts "width: #{animation.width}px"         #=> width: 200px
puts "height: #{animation.height}px"       #=> height: 200px
puts "num_frames: #{animation.num_frames}" #=> num_frames: 8
puts "num_plays: #{animation.num_plays}"   #=> num_plays: 0 (infinite loop)

Modify and Export
input:

output:

require 'chunky_png'

animation = ChunkyPNG::Animation.from_file('apng-sample.png')
ads = animation.to_datastream
ads.each_chunk do |c|
  next unless c.is_a?(ChunkyPNG::Chunk::FrameControl)
  c.delay_den = c.delay_den / 2
end
ads.save('out_1.png')

Create animation from multiple images
input:

output:

require 'chunky_png'

frame_attrs = { delay_num: 1, delay_den: 10 }
animation = nil
(0..7).each do |i|
  name = '%03d' % i
  frame = ChunkyPNG::Frame.from_file("{name}.png", frame_attrs)
  if i == 0
    animation = ChunkyPNG::Animation.from_frame(frame)
  else
    animation.frames << frame
  end
end
animation.save('out_2.png')

Create animation from multiple images 2
In addition to above, prepare a default image for users of unsupported browsers.
input:
above 000-007.png and

output:

(left: supported browser, right: unsupported browser)
require 'chunky_png'

frame_attrs = { delay_num: 1, delay_den: 10 }
animation = ChunkyPNG::Animation.from_file('error.png')
(0..7).each do |i|
  name = '%03d' % i
  frame = ChunkyPNG::Frame.from_file("#{name}.png", frame_attrs)
  animation.frames << frame
end
animation.save('out_3.png')

Create animation from single image
input:

output:

require 'chunky_png'

radius = 10
ref_x = 40
ref_y = 40
animation = ChunkyPNG::Animation.new(200, 200, ChunkyPNG::Color::WHITE)
base_attrs = { delay_num: 1, delay_den: 10, dispose_op: 2, blend_op: 1 }
0.step(359, 20) do |degrees|
  radian = degrees * Math::PI / 180
  x_offset = ref_x + (radius * Math.cos(radian)).round
  y_offset = ref_y + (radius * Math.sin(radian)).round
  each_frame_attrs = base_attrs.merge(x_offset: x_offset, y_offset: y_offset)
  frame = ChunkyPNG::Frame.from_file('face.png', each_frame_attrs)
  animation.frames << frame
end
animation.save('out_4.png')

Who use this?
Uhmm... it's difficult.
However, as far as I know the following events have occured recently.

Added APNG support to Chromium https://codereview.chromium.org/2618633004/
Message app LINE allows creators to make animation stickers in APNG format since Jun 2016.
CLIP STUDIO PAINT supported exporting animation as APNG since ver1.6.3 (released Oct 2016).

2 and 3 may not affect other than Japan.
LINE's market share is biased toward Japan (https://www.similarweb.com/blog/worldwide-messaging-apps , https://techcrunch.com/2012/12/04/global-messaging-market/).
CLIP STUDIO PAINT is made in Japan, many of the users will be Japanese.
Nevertheless, I expect that APNG will become widespread in the near future.
Finaly
I hope it will be the basis for discussion.
However, I know that you want to keep this library small.
So, even if this Pull-Request is rejected I will think your decision is reasonable and I will respect it.
Thank you.

This is really cool! Hoping to do a full review of this - I have a bunch of things on my plate right now, but hopefully before the end of the week.

What's the status of this pull request?
We could use this feature.

This could be cool to have merged.


[Typo] wrong headings on button

JS project page has "React project heading" & React projects page has "JS mini projects" heading.

yes, sure!

@krn1904 @Bhanu-code this is not an issue. Those are not headings. Those are links to navigate to challenges

oh, ok


When .AAB support

It seems APK files may be rejected from the store. When do we have support for a full gradle project?
"You can't roll out this release because it doesn't allow any existing users to upgrade to the newly added APKs." - uploading Play Store new version of the app
Blocked on old APK format

Why do you think that app bundles aren't supported? I use them for more than a year with libGDX successfully

It could be supported but in the bundle will be included all platforms .so files, even if not needed

If you look at https://developer.android.com/guide/app-bundle#aab_format an aab has to contain all natives. Google Play generates the apks for the different architectures so every native code must be included inside the aab file.
How do you know that the natives aren't stripped? https://developer.android.com/studio/build/shrink-code#strip-native-libraries says that they get stripped by default

Yes this Play Store does with apps, but what about libgdx apps? Check the
size of the app at install time. Check the number of methods after R8
On Sat, Nov 28, 2020, 12:41 SimonIT<EMAIL_ADDRESS>wrote:

If you look at https://developer.android.com/guide/app-bundle#aab_format
an aab has to contain all natives. Google Play generates the apks for the
different architectures so every native code must be included inside the
aab file.
How do you know that the natives aren't stripped?
https://developer.android.com/studio/build/shrink-code#strip-native-libraries
says that they get stripped by default
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libgdx/libgdx/issues/6293#issuecomment-735215344, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA473QXOCJ4EBI6EXDHHPULSSDHWJANCNFSM4UFJMSIQ
.

Yes this Play Store does with apps, but what about libgdx apps?

Every app store has to split the aab into individual apks because you can't install aab's on android
Can you provide some numbers to proof that it doesn't strip them?

R8
On Sat, Nov 28, 2020, 17:23 SimonIT<EMAIL_ADDRESS>wrote:

Yes this Play Store does with apps, but what about libgdx apps?
Every app store has to split the aab into individual apks because you
can't install aab's on android
Can you provide some numbers to proof that it doesn't strip them?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libgdx/libgdx/issues/6293#issuecomment-735244120, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA473QUC6CZIAPB6AUZHHV3SSEIXTANCNFSM4UFJMSIQ
.

Please see https://github.com/libgdx/libgdx/wiki/Getting-Help, your issue is not suitable for this tracker. It lacks reproduction steps or an example to show the problem and you have failed to provide a reasonable answer when somebody has tried to assist you.
Please feel free to reopen with an issue with the template properly filled and all the requested information provided.

I'll come back with the metrics
On Sat, Nov 28, 2020, 18:33 obigu<EMAIL_ADDRESS>wrote:

Closed #6293 https://github.com/libgdx/libgdx/issues/6293.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/libgdx/libgdx/issues/6293#event-4048218858, or
unsubscribe
https://github.com/notifications/unsubscribe-auth/AA473QU7NPELM45TCCBQXK3SSEQ4RANCNFSM4UFJMSIQ
.

Hello! Sorry for bumping the old thread but this is the most relevant I could find..
I'm having an issue with this .aab (assets cannot be located) format despite the fact that same app runs quite good (on many devices) via .apk format. I need some help specifically with .aab and libgdx


⚠ AGEG website (prod) has degraded performance

In 35cc317, AGEG website (prod) (https://www.ageg.ca/) experienced degraded performance:

HTTP code: 200
Response time: 1323 ms

Resolved: AGEG website (prod) performance has improved in 60b1a5d.