Add python AWS Signature v4 support

Work to implement feature in issue #56

PR checklist

[x] Read the contribution guidelines.
[x] Pull Request title clearly describes the work in the pull request and Pull Request description provides details about how to validate the work. Missing information here may result in delayed response from the community.
[x] Run the following to build the project and update samples:./mvnw clean package
./bin/generate-samples.sh
./bin/utils/export_docs_generators.sh

Commit all changed files.
This is important, as CI jobs will verify all generator outputs of your HEAD commit as it would merge with master.
These must match the expectations made by your contribution.
You may regenerate an individual generator by passing the relevant config(s) as an argument to the script, for example ./bin/generate-samples.sh bin/configs/python*.
For Windows users, please run the script in Git BASH.

Why are CI tests not running on this PR?

Closing and re opening to kick off ci

@jblakeney friendly ping. Do you still want this? I haven't seen any updates in a week.

@jblakeney friendly ping. Do you still want this? I haven't seen any updates in a week.

Hey, yes sorry I do plan to finish this. Its been a crazy work week. Ill aim to get the suggestions fixed up this week! Sorry for the delay!

No worries. I was just curious. Rebases on the 2_0_0 branch can be painful. If it is too much of a hassle, I find the easiest way to do it is to:

squash the feature commits in your branch into 1 commit, copy it into a new branch
locally delete your original branch
make a new version of your original branch from the latest 2_0_0
get cherry-pick your commit
rebuild and regen samples
force push your branch

No worries. I was just curious. Rebases on the 2_0_0 branch can be painful. If it is too much of a hassle, I find the easiest way to do it is to:

squash the feature commits in your branch into 1 commit, copy it into a new branch
locally delete your original branch
make a new version of your original branch from the latest 2_0_0
get cherry-pick your commit
rebuild and regen samples
force push your branch

Awesome ill give that a try, im usually pretty good at doing merge conflicts but we shall see! Ill give that an attempt tomorrow and ill let you know if I run into any issues.

Sorry for the delay, just wanted to update you here. I got the conflcits resolved on a new branch, gonna make my changes and then ill get it merged into this branch and push it. Aiming to hopefully have that done by this weekend.

Sorry again, im gonna close with for now. We do still need this but due to work deadlines before Christmas I havent had a chance to dedicate time to fix this up and properly test it. Ill re-open a PR once im ready to go. Sorry again!

No worries. When you have time you can add it later


feat: support CUCloud OSS storage provider

Support CUCloud OSS storage provider.

You can add this image to the material library。https://cdn.casbin.org/img/social_cucloud.png

@Gexinyu2333 for the image, you can create pull request in: https://github.com/casbin/static, it should be a transparent square PNG file


Implement the program edit view V2

The Civiform Admin didn’t know where to start on the program edit view. Ensure the content and visual design is focused on the essentials. The goal is to make the page easier to parse and reduce confusion on landing by having less elements on the page
Mock here:

I'm starting working on it. Some notes about implementation. I'm going to use term "screen" instead of "page" which is used in mocks. This is to avoid confusion between the web page where civiform renders admin UI and "page" as in separate part of a civiform program where applicant fills out questions.

The edit page will contain all screens and questions at once. Clicking "Add question" should open question bank only with the questions relevant to the corresponding screen. Opening question bank is client-side action so we'll need a logic that filters out questions for the selected screen. The plan is to render the question bank with all questions (question that can be added at least to one of the screens). Each question will contain data-screen-X attribute indicating that question can be added to screen X. When user clicks "Add question" on screen Y we loop through questions with data-screen-Y and show only them.

After any modification to a page (question add, delete, mark optional, move page up/down) the whole page is refreshed.  Which leads to scroll position jumping all the way to the top. We already heard complaints about it. But now it will be more important given that height of the page will be bigger as we are going to render all screens and questions at once. The plan is after each page update redirect user to the edit page to the particular screen that they modified. We are going to use hash in URL that tells browser to scroll to the element with the corresponding id. For example after user added question to 5th screen we redirect them back to /admin/programs/1/editBlocks#screen-5. This will still introduce some "jumping" but it will be less annoying.

Need to decide how to handle enumerator screens. Whether they should be rendered the same as regular screens or maybe visually different. For example children screens of an enumerator screens can have slight padding to indicate that they are sub-screens.

If we pull this back in, https://github.com/civiform/civiform/pull/3732 is a step in this direction.


Can you add sending SMS to phonenumber?

I have a requirement to send a SMS to individual mobile numbers but you have written only for topicARN.

Hi, you can add SMS mobile numbers as subscribers to a topic, then when you publish a message to that topic it will send it to all of the subscribed mobile numbers.
If that doesn't fit your use case you might be interested in some other providers that do this such as Twilio, Nexmo, MessageBird etc.
Best of luck!

Thanks for sharing, I want to use SNS publish service with PhoneNumber key. I am able to send the request to server and getting response with MessageId.

Have you been able to add the mobile numbers as subscribers? You can only publish to a topic.

Yes, but I want to send to individual members not to group.

I don't think SNS is suitable for this use case I'm afraid.

Ok, Thanks. Is there any IRC for AWS SNS?

There is a generic ##aws channel


HUB-1678: updated Gemfile/Gemfile.lock to use nokogiri >= 1.8.5, rack >= 2.0.6, and loofah >= 2.2.3.

Still need to solve Poltergeist problem but that's now its own story.


Inconsistency in the accepted shape/data_format of Input Tensor to Conv2D in documentation.

Problem
The Tensorflow Layers Guide at https://www.tensorflow.org/tutorials/layers specifies:

The methods in the layers module for creating convolutional and pooling layers for two-dimensional image data expect input tensors to have a shape of [batch_size, image_width, image_height, channels]

While, the inline documentation specified for conv2D (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/python/layers/convolutional.py#L444) mentions the following valid data_formats:

data_format: A string, one of channels_last (default) or channels_first.
The ordering of the dimensions in the inputs.
channels_last corresponds to inputs with shape
(batch, height, width, channels) while channels_first corresponds to
inputs with shape (batch, channels, height, width)

Moreover, nn.bias_add, avg_pool2d (https://github.com/tensorflow/tensorflow/blob/master/tensorflow/contrib/layers/python/layers/layers.py#L99) etc. also accept [...,height, width...] but using different strings/methodology.

inputs: A 4-D tensor of shape [batch_size, height, width, channels] if
data_format is NHWC, and [batch_size, channels, height, width] if
data_format is NCHW.

Thus; shouldn't https://www.tensorflow.org/tutorials/layers be updated and the valid data_format values for Convolutional Layers be changed?

Created #17893 to fix the inconsistency mentioned above.

Hi,
There are several other instance where the inconsistency needs to be fixed. Moreover, for data_format=channels_first the shape should be NCHW while it is specified as CNWH. I have created #17920 to cover all the instances where the shape should be changed.
Thanks!


Check for array types when instantiating mapped type constraints with any

This introduces a change to mapped types so that homomorphic-like mapped types play better with any.
Today, when instantiating a mapped types on keyof T, an instantiation of T with an array-like type behaves differently than with other object types. This allows us to reuse the same mapped types syntax with different kinds of types, but forces us to make a decision when we've hit a type like any. When instantiating with any, we don't consider it to be array-like in any way, and we produce { [x: string]: any }.
type Foo<T extends unknown> = { [K in keyof T]: T[K] };

type X = Foo<any>; // { [x: string]: any }

This is fine in the above example, but is undesirable when constraints would otherwise only allow array-like types.
type Foo<T extends unknown[]> = { [K in keyof T]: T[K] };
//                 ^^^^^^^^^
// Now we're dealing with an array constraint.

type X = Foo<any>; // { [x: string]: any }

The constraints imply that the above mapped type should always produce an array; however, any throws a wrench in the equation. This change introduces a new rule to account for this strange behavior.
Instantiating a mapped type { [K in keyof T]: ... } now produces any[] if the instantiation of T is any, and if T is constrained by only array and tuple types.
This provides better behavior for Promise.all when passing in an argument of type any instead of an array.
Fixes #46169

@typescript-bot pack this
@typescript-bot test this
@typescript-bot user test this


Add support for GET parameter to disable video FEC.

Description
Adds a GET parameter to enable filtering out the FEC/RED codecs so that apprtc can be used without FEC.
Purpose
Mostly for testing, but can also be useful in some situations for users who don't want to waste bandwidth on FEC.

LGTM


Separate search page

Greetings!
I'd like to see a separate search page so we could add Vue.js' docs as a bang to duckduckgo.
The duck's bang requires a bang url, e.g. https://vuejs.org/?q={{{s}}}.
That way Vue's docs would be easily searchable with (for example) !vue v-once.
I could make a PR for this as well, would just like to know how you'd like this implemented
(I see we use Algolia's docsearch as the autocomplete wrapper).

I'd accept a PR for a dedicated search page. How about at /v2/search?

I'm going to close this since there doesn't seem to be much interest. Happy to reopen in the future. 🙂

@andreasvirkus @chrisvfritz Hey just letting you know that duck duck go accepted the bang! so you can now search using it, for example "v-model !vue" and it'll take you to the vue docs :).


Change the separator color text

Just to make it more obvious its not selectable.
Before:

After:

My instinct always told me that "Run a generator" was selectable and I ended up selecting "Get me out of here!" :cry:
This change makes it very clear that "Run a generator" is not selectable and it's obviously a part of the separator.
https://github.com/SBoudrias/Inquirer.js/pull/252
@SBoudrias I assume this is what you mean by "overwrite"?

Well, this is a case of damned if you do, damned if you don't. We got complaints about using the gray color as it's not legible with some color schemes, so we switched to using dim instead. Seem like dim is not supported on your terminal (Get a better terminal emulator?).
This change should go in Inquirer though.

Oh I totally forgot about different consoles and colour schemes. I'm using iterm2 Build 2.1.1 and your right seem like dim is not supported. I tried in my default Terminal I can clearly see the colour. Although iterm2 might be popular, I don't think there's a generic solution so closing.

chalk.gray.dim is still legible for me though. So might be a solution. But should go into Inquirer.
Can you open an issue on iTerm about supporting the dim color? This ansi escape \u001b[2m.

https://gitlab.com/gnachman/iterm2/issues/3623


Version 1.1.0

Prime purpose is to fix the invalid unique id error

Any clue when this might be released , if even only as a pre-release via hacs

I will se what I can do ASAP. The reason for not just sending it out, is that this will make a breaking change, as all entities will get new Unique ID's, so whereever sensors are used, might need to be updated.


Add EV-D68 Capsid

Description
Fixes #717
Adds EV-D68 Capsid as a target.
Status

[X] Ready to go

Developers certificate of origin

[X] I certify that this contribution is covered by the MIT license as defined in our LICENSE and adheres to the Developer Certificate of Origin.

Codecov Report

Merging #718 (a361737) into main (2dd2f53) will increase coverage by 23.89%.
The diff coverage is n/a.

Additional details and impacted files

LGTM! Do we have a 1:1 comparison of constrained vs non-constrained of this target?

@JenkeScheen for the MD simulations? No I haven't had a look, but we should investigate, another option is also to restrain only a selection of CAs at to protein-protein interface if we want more dynamics, which may be a good idea as some of the  sims I ran looked pretty rock solid.


<EMAIL_ADDRESS>

Added an ExecStartPre with a 30 second sleep timer in order to solve an issue where the camera was not recognized on boot.

I believe this should be enough https://github.com/nvtkaszpir/prusa-connect-camera-script/commit/30aca823917208e6f1a212ee51a6fca0683a9a9f#diff-23ae5022ebf1cb29d6a80d3366cd310580ff3db5658a1e74a0e8b72daae1015c
(already in master branch)
What it does is:

wait for udev service and udev trigger rules to kick in
always restart and auto restart every 15s

closing because it was already added to the codebase in different branch


set meanFreq on exit

Summary: This piece of feature was missing from linuxptp transition. We have to setup mean frequency on exit to be sure that PHC is not difting to much to compensate the latest drift.
Reviewed By: leoleovich, abulimov
Differential Revision: D43534339

Codecov Report
Base: 57.44% // Head: 57.43% // Decreases project coverage by -0.01% :warning:

Coverage data is based on head (76606df) compared to base (19cd2f6).
Patch coverage: 75.00% of modified lines in pull request are covered.

:mega: This organization is not using Codecov’s GitHub App Integration. We recommend you install it so Codecov can continue to function properly for your repositories. Learn more
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #261      +/-   ##
==========================================
- Coverage   57.44%   57.43%   -0.01%
==========================================
  Files         125      125
  Lines       11291    11303      +12
==========================================
+ Hits         6486     6492       +6
- Misses       4264     4268       +4
- Partials      541      543       +2

Impacted Files
Coverage Δ

ptp/sptp/client/sptp.go
32.82% <40.00%> (+0.13%)
:arrow_up:

servo/pi.go
77.31% <100.00%> (+0.84%)
:arrow_up:

ptp/sptp/client/bmca.go
78.57% <0.00%> (-21.43%)
:arrow_down:

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.


WSL2 freezes with high CPU usage on arm64

Version
Microsoft Windows [Version 10.0.22621.819]
WSL Version

[X] WSL 2
[ ] WSL 1

Kernel Version
<IP_ADDRESS>
Distro Version
Ubuntu 22.04
Other Software
Programs used when freezes occur:
Node.js
Angular.js (ng)
postgresql
(WSL2 Terminals used in Visual Studio on Windows)
Repro Steps
Error occurs regularly, but randomly. Cannot give steps to reproduce ...
Expected Behavior
I expected the WSL terminals to be always responsive.
Actual Behavior
Sometimes the WSL terminals freeze for more than 10 minutes and there is nothing I can do when this happens. I can't execute any commands or even close running applications. During this time, my CPU runs between 35-99% of its capacity (1% in idle normally).
The command wsl.exe --shutdown  also doesn't work and just hangs.
Diagnostic Logs
https://drive.google.com/file/d/1lfqTItgadQkRguVXO0Bn-M7Z5b7v7gSf/view?usp=share_link

May be related to this: https://github.com/microsoft/WSL/issues/8824
The problem and symptoms are exactly the same.

 Today it happened again on ctrl+c to close 3 running docker containers. Added the logs
WslLogs-2022-11-11_12-54-21.zip

If that can be of any help, I noticed it also happens when I'm not using WSL at all. I don't know anything about this project or how WSL works, but it could be that this problem is caused not by the virtual machine itself, but rather by the process that controls it.

On my Matebook E Go (OS: Windows 11 22H2), one of the node services would suddenly experience high CPU usage after running for about 15 minutes, and when I tried to kill the service, the whole WSL froze up.
Executing wsl --shutdown does not work, the computer must be restarted.

Adding my $0.02/wo : this consistently happens on my Surface Pro X running latest insiders build.
Pretty annoying because apart from this it's a great travel Linux development machine.

This consistently happens on Volterra (Windows 11 Pro 22H2, build 22621.1194). vmmemWSL process CPU usage is very high when it freezes and wsl --shutdown also doesn't work. I have to kill the "Windows Subsystem for Linux" process and restarting WslService to get back to using WSL.

Same for me on Surface Pro 9 (SQ3)
PS C:\Users\bhh> wsl --version
WSL version: <IP_ADDRESS>
Kernel version: <IP_ADDRESS>
WSLg version: 1.0.49
MSRDC version: 1.2.3770
Direct3D version: 1.608.2-61064218
DXCore version: 10.0.25131.1002-220531-1700.rs-onecore-base2-hyp
Windows version: 10.0.22623.1325

Has anyone found a workaround for this? Still affecting my SPx, needing reboot every time it wakes from deep sleep.

Has anyone found a workaround for this? Still affecting my SPx, needing reboot every time it wakes from deep sleep.

No to my knowledge. I have stoppede using wsl on my surface for this reason. But it seems that this https://github.com/microsoft/WSL/issues/9454 is about the same and are asking for logs.

Since I'm leaving for a trip to Japan in a couple of weeks and want to take (only) my SPx with me, I embarked on some debugging of this syndrome today. Interestingly, I find that although WSL2 seems "hung" in that any existing shell does not respond to key strokes, and any attempt to open a new shell results in a hang after some initial output; it turns out that I am able to run some commands using the wsl.exe command from an NT prompt. Specifically I can run ls and date. What I noticed is that the Linux kernel's idea of the date is totally wrong. This reminded me of this issue: https://github.com/microsoft/WSL/issues/10006 and the tantalizing thought that the hangs may be the result of something in either the WSL2 kernel, or Ubuntu userland getting wedged in a busy CPU loop when the clock is way off. I seem to recall this actually happened a few years ago in the Futex implementation during a leap second event. Unlikely to be that exact same problem, but something along the same lines : 1) clock goes adrift -> b) something busy spins using CPU and c) that thing blocks proper shell operation (but doesn't totally hose the kernel).

Hmm...I was able to change the WSL2 time with wsl --user root date --set "15 MAY 2023 9:48 AM" but that didn't fix the "hanging" syndrome.

After recovering shell access I found that WSL2 was not quite working 100%. e.g. Docker was unresponsive. Rather than trying to diagnose these secondary issues I wondered if I could now force WSL2 to restart (much better than having to reboot Windows). In this state (having fixed the clock and un-wedged a shell), wsl.exe --shutdown worked (it took tens of seconds to complete though), and I could then subsequently open a new WSL2 shell with everything working as normal.
Probably a good enough workaround for me for now since this avoids the need to reboot Windows every time I open up my tablet after a period of sleeping.

Continuing mortal kombat with this bug: I discovered that my "workaround" above was a case of luck. I've never been able to use wsl.exe --shutdown successfully subsequently.
However, I noticed this possible dup : https://github.com/microsoft/WSL/issues/8529 and a comment therein that did work, at least the one time I've tried it so far.
This in an admin powershell:
taskkill /f /im wslservice.exe

Killed WSL2 and it re-started upon opening a new shell, docker working.

Hey all, I have had this problem for well over a year and I finally solved it for myself. For me the bug was when WSL generates the /etc/hosts file inside of the Linux subsystem. The hosts file generator appended a bad control character of some kind after the line that contained my hostname. Removing the character wasn't enough because WSL would regenerate the file, so I had to create /etc/wsl.conf and add
[network]
generateHosts=false

Then removing the bad character fixed it and WSL works as expected.
I don't have this issue on my home computer, so part of me wonders if this issue happens only on domain-joined systems when the hostname line includes a domain computer name. I have no evidence to back this up of course, but I'd be curious to hear from anyone else who this helps whether or not the system with the issue was domain-joined.

wonders if this issue happens only on domain-joined systems

fwiw, I have this character (a unicode BOM mark) also being inserted, and my machine is not joined to a domain.
I just made the change, so I don't know if this resolves things or not yet, but happy to have something new to try.

Wow I'm in disbelief.
I've had this WSL2 freezing issue since 2020, so my Surface Pro X just sat there collecting dust.
lawndoc's solution with turning off generateHosts fixed the issue for me.
WSL2 no longer freezes for me, even after sleeping or staying locked for hours.

I encountered a similar problem when programming with VScode. My CPU is 8cx gen3.

See https://github.com/microsoft/WSL/issues/11274#issuecomment-2236525718
This issue is fixed in 24H2.


[FR] - make Alonzo-era transactions default

Internal
Area
Other   Any other topic (Delegation, Ranking, ...).
Describe the feature you'd like
Mary-era transactions are now default, i.e. when --alonzo-era is not specified when building a transaction. Since Alonzo is now on mainnet, it would make sense to make Alonzo-era transactions the default.

Fixed here: https://github.com/input-output-hk/cardano-node/pull/3339


Filters stay expanded after submitting

BEWD portion of https://github.com/cfpb/cfgov-refresh/pull/1643

Can you update /cfgov/jinja2/_includes/macros/filters.html as well for the old Sheer pages?

Checking the request in the expandable will potentially lead to expandables that aren't used in a filter being expanded if they are on the same page as a filter. is_expanded needs to be passed into the expandable, such as setting controls.is_expanded = true before controls is passed in here --> https://github.com/cfpb/cfgov-refresh/blob/flapjack/cfgov/jinja2/v1/_includes/organisms/filterable-list-controls.html#L185

LGTM :100:


[next] "The message format compilation is not supported in this build" when generating page

Version
@nuxtjs/i18n: i18n-edge
nuxt: 3.0.0-rc.6
Nuxt configuration
Please change to [x] if relevant for this issue:

[x] Applies to a site deployed to a static server (site generated with nuxt generate)
[ ] Applies to a site deployed to a server with a Node backend

@nuxtjs/i18n configuration
  i18n: {
    vueI18n: {
      fallbackLocale: 'de',
      legacy: false,
      messages: {
        en: {
          hello: 'Hello, I am translated',
        },
        de: {
          hello: 'Hallo, ich bin übersetzt',
        }
      },
    },
  }

Reproduction Link
https://github.com/timgoeller/nuxt-i18n-bug
Steps to reproduce
Add messages to the messages attribute of vueI18n.
What is Expected?
Translations working correctly.
What is actually happening?
The error message The message format compilation is not supported in this build. Because message compiler isn't included. You need to pre-compilation all message format. So translate function return 'hello'. appears during generation phase, and the page will throw an error (e.$t is not a function) when trying to start the generated page.

Actually, this error seems to appear in the dev server aswell with rc-6

I've already fixed this commit
https://github.com/nuxt-community/i18n-module/commit/0923cac104ff0a8b72d59b5805ee37b96004a9ec
You can try to use latest edge version :)
Thanks!


Auto-generate waiver file from existing lint rules violations

This PR introduces:
A new feature for the linter, oringially proposed in #1180
Feature description:
Using the linter on big files usually outputs huge number of violations, this feature helps maintaining these violations.
Implementation:
New linter AutoFixMode --autofix=generate-waiver which writes the violations into a text file (which is passed to --autofix_output_file) with waiver syntax, that is directly usable by flag --waiver_files
Generated waiver syntax follows the following:
waive --rule=<rule_name> --line=<number> --location=<file_name>
Use model:
A user have 'big_file.sv' that contains a lot of violations.
He can do the following:
verible-verilog-lint big_file.sv --autofix=generate-waiver --autofix_output_file violations.waiver
The linter will output the violations as the usual error format on cerr stream, and also generate the waiver file.
Then, the user can look into the generated waiver file, comment out some, leave some, and work his way to solve them.
verible-verilog-lint big_file.sv --waiver_files violations.waiver
He can also use both flags together, to check if there are new violations
verible-verilog-lint big_file.sv --waiver_files violations.waiver --autofix=generate-waiver --autofix_output_file violations.waiver
Fixes: #1180

Thanks a lot for your review :)

Codecov Report

Merging #1297 (9aa3e40) into master (c48d80c) will increase coverage by 0.00%.
The diff coverage is 100.00%.

@@           Coverage Diff           @@
##           master    #1297   +/-   ##
=======================================
  Coverage   92.87%   92.88%
=======================================
  Files         339      339
  Lines       23642    23668   +26
=======================================
+ Hits        21958    21984   +26
  Misses       1684     1684

Impacted Files
Coverage Δ

common/analysis/lint_rule_status.h
100.00% <ø> (ø)

common/analysis/lint_rule_status.cc
96.92% <100.00%> (+0.37%)
:arrow_up:

common/analysis/violation_handler.cc
93.66% <100.00%> (+0.53%)
:arrow_up:

common/analysis/violation_handler.h
100.00% <100.00%> (ø)

verilog/tools/lint/verilog_lint.cc
95.50% <100.00%> (+0.26%)
:arrow_up:

Continue to review full report at Codecov.

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

Nice.
Thanks, merged!


Add a Gitter chat badge to README.md

J3RN/timesheet now has a Chat Room on Gitter
@J3RN has just created a chat room. You can visit it here: https://gitter.im/J3RN/timesheet.
This pull-request adds this badge to your README.md:

If my aim is a little off, please let me know.
Happy chatting.
PS: Click here if you would prefer not to receive automatic pull-requests from Gitter in future.

LGTM! :+1:


Support PicoQuant PT3 and PTU files

Dr Evangelos Sisamakis, Product Manager Microscopy at PicoQuant GmbH, kindly provided some resources, which may facilitate implementing a file reader for the PicoQuant PT3 and PTU file formats.
The demo workspace dataset contains data files used in the SymPhoTime Analysis tutorials.
The SPT 64 tutorials dataset contains data files for the Lifetime-Fitting Using the FLIM Analysis tutorial.
The Luminosa software can be used freely to open data files taken with a Luminosa system.
A few Python scripts (but no ready to use library) are available to read PTU and PT3 files:

Python/Read_PTU.py: official reference implementation

readPTU_FLIM.py

picoquantio: unreleased Python package

snAPI wrapper: for time traces and correlation curves, not images

The data T3-mode formats are described at https://www.tcspc.com/doku.php/glossary:t3-mode.

I released a first version of the ptufile library.

I released a first version of the ptufile library.

Thank you very much @cgohlke I tested this and it works like a charm. Do you think it would be possible to make it straightforward to export the decay curves from each pixel?

Closing this issue. A reader for PTU files was added in #25. Support for PT3 files would need to be added to the ptufile library first, which seems unlikely anytime soon given that the format is deprecated for ~10 years and no formal format specification is available.

As of version 2024.12.28, the ptufile library can write TCSPC histograms to T3 image mode PTU files.


Support for REMOVE keyword

Add support for deleting attributes on nodes
https://neo4j.com/docs/cypher-manual/current/clauses/remove/
MATCH (a { name: 'Andy' })
REMOVE a.age
RETURN a.name, a.age

I think this should be implemented in the same was as set since the syntax is more or less identical


Fundamental Performance Improvement

I have been working on performance improvement of loading and showing images, but the previous fixes were minor and have not solved the underlying problem. I need to take a serious look at this issue and seek a solution to improve the performance at a fundamental level because the performance is becoming a serious problem as the number of saved images increases.
Here are the related commits I have tried to solve the problem.
f2cb514
0ab2e26
f8c3f27
f929171
1a88204
a8c6d4d

Cases of heavy performance

Loading images when started
Opening an image dialog
Closing an image dialog
Copying an image to clipboard
Scrolling images at fast
Searching images by criteria
Reset to show all images


add ability to check exit status of command that was run

I am making a draft PR because I would want to add some documentation to the README and associated tools, but it appears to be working as intended and so I'd like feedback.
The basic idea is to allow for users to optionally specify an exit code the command should return. This is done by inspecting the command and if the first word starts with -, then the exit code that should be returned comes after.
Examples
Leaving with a non-zero code will do nothing (current behavior).
<!-- cmdrun exit 1 -->

Specifying an exit code that the command returns successfully builds.
<!-- cmdrun -0 some long command that returns 0 if successful -->

Mis-matching exit codes will propagate an error to mdbook and stop the build.
<!-- cmdrun -0 exit 1 -->

@FauconFan I have rebased onto the updated master branch and have implemented "injecting" the error messages into the mdbook with some very simple markdown. I think if the overall design of the code is reasonable then I can work on

[ ] writing a regressions test with a more complete example including stderr and stdout printouts
[ ] write a more meaningful error message, probably taking inspiration from mdbook-admonish which I've used

Hi!
I think you are in the right direction!
A few comments and things that comes out of my head:

Maybe parse_from from clap directly, parsing manually is cool for low-level performance, but I would prefer maintainability here (https://docs.rs/clap/latest/clap/trait.Parser.html#method.parse_from) (this is optional)
Manage failing edge-cases such as "--expect-return-code a-string-not-a-number", "-NaN", "-42.42", "-"
Documenting the whole thing within the README file (arguments and error examples)
Put some regressions and examples within the test book (as you said)
Error messages can be displayed even though there is an error during parsing, when using your parsing code or clap error

That would be really great overall
I just approved CI in this PR, so you can run your tests within Windows and Linux.

Alright, I got clap working (kinda) with a few notable exceptions.
The get_matches_from function requires an iterator which one can naively create using split_whitespace. The problem then is that split_whitespace does not respect quoted substrings and then when I re-join the command and only use one space tests that depend on multiple spaces fail. For example
https://github.com/FauconFan/mdbook-cmdrun/blob/b3f424819646b8a6ff1c6cdfc566092a4b0e56e5/tests/command.rs#L47-L57
and probably the following on Windoze
https://github.com/FauconFan/mdbook-cmdrun/blob/b3f424819646b8a6ff1c6cdfc566092a4b0e56e5/tests/command.rs#L61
After some googling, I think there are two options forward:

Only split on the first whitespace. This would then require the flag specifying the desired exit code to be first which isn't a horrible requirement but does put some of the parsing outside of clap. Maybe the index parameter of an Arg would do this as well? I'm not sure.
Introduce a new dependency for splitting the command string into words for clap like a shell would. e.g. with shellwords or shlex. I like this option better but it would introduce a new dependency which I'm not sure if you are opposed to.

@FauconFan any opinions on these two paths forward?

I guess I was also excited about using clap to make the parsing more maintainable, but these two barriers are making it difficult to use in a idiomatic way.

We need to pre-split the command string into words to be parsed by clap. This does not preserve the command very naturally without some "pre-parsing" with a shell word splitter and re-introduction of quote characters.
clap is really opposed to the -N flag. The only solution I could find is allowing negative numbers and then checking if the first positional argument is a negative number. This leads to some "post-parsing" separate from clap.

Maybe after this experimentation we should conclude that using a full CLI parser like clap is not the way forward for this parsing? There is so much parsing "outside" of the parsing done by clap that I don't think using clap is worth it... What do you think @FauconFan ?
It could also certainly be the case that my infamiliarity with clap and Rust is hiding an obvious solution that avoids these issues.

Hello @tomeichlersmith,
Sorry for the delay for getting back to you.
I'm not opposed to either shlex or shellwords. I never used them, but they look very stable. For maintainability, I'm more concerned about bug fixing and readability than a few tricks to parse the input in the way we have stated, and if you don't want to use clap, i'm okay with that.
I'm not a huge fan of handcrafting solutions (in this case manual parsing) where it can be done with very established solutions (or if you have a really reason to do it manually!). Another solution would be to not have -N argument and just use clap which is very common in the Rust cli space.
As said, a quick win would be to "drop" the shorthand -N and use clap, and hop it's working
Another would be to switch to another deps. and support the whole thing (but I never worked with these deps so idk)
I'm more interested in the tests that comes with the implementation than the implementation itself (except maintainability). The rest is up to you. Me advising for clap was because I thought that was easy, and apparently it isn't. That's fine
I let you the judge of how you want to proceed.
I'm okay with whatever solution you want to implement, as long as the core feature is implemented and comes with tests and maintainability.

That makes sense, I will focus on tests and getting a longer-term maintainable solution.
No worries on the delay :) I am just using this to help learn some Rust so I am not in a huge rush.

This is a really good way to learn indeed :)

Alright, I dropped back to manual parsing because of the mentioned reasons above. I stored my work on a branch on my fork in case you want to double check that I'm not missing anything obvious. The main issue is that shellwords (and the like) interpret words when splitting causing us to lose some of the escape characters. Using shellwords::escape reintroduces these escape characters but also escapes special characters that were previously not escaped. Instead of adding additional parsing on top of shellwords to make sure the correct characters remain escaped, I choose to drop back to manual parsing and require the flag defining the expected exit code to be the first word. This makes the manual parsing manageable and is not a large requirement.
To Do List

[x] ~parse with clap~ (won't do for above reasons)
[x] ~fancier error message like mdbook-admonish~ (personally not interested in writing necessary html and current solution gets point across)
[x] handle parsing edge cases and test to make sure
[x] add regression test for how error messages are displayed
[ ] document new flags with some examples in README


Would love to see a Network Planning section included as well

[Enter feedback here]
Awesome work on this architectural reference. I was looking for a Networking planning section where it lists any network addressing requirements and was able to find it in the bicep implementation example on GitHub, however, was not present within the doc itself.
Doc ref. https://learn.microsoft.com/en-us/azure/architecture/reference-architectures/app-service-web-app/baseline-zone-redundant?source=docs
I would have loved to see it included in the doc. A quick list of what is required would be great to have. Such as
var vnetAddressPrefix = '<IP_ADDRESS>/16'
var appGatewaySubnetPrefix = '<IP_ADDRESS>/24'
var appServicesSubnetPrefix = '<IP_ADDRESS>/24'
var privateEndpointsSubnetPrefix = '<IP_ADDRESS>/27'
var agentsSubnetPrefix = '<IP_ADDRESS>/27'
Taken from: https://github.com/Azure-Samples/app-service-baseline-implementation/blob/main/infra-as-code/bicep/network.bicep
Thanks!
Johnny Harbieh
Document Details
⚠ Do not edit this section. It is required for learn.microsoft.com ➟ GitHub issue linking.

ID: 3b40adb2-53a0-55ac-e18b-de8cb18cb8c8
Version Independent ID: 3b40adb2-53a0-55ac-e18b-de8cb18cb8c8
Content: Baseline highly available zone-redundant app services web application - Azure Architecture Center
Content Source: docs/reference-architectures/app-service-web-app/baseline-zone-redundant.yml
Service: architecture-center
Sub-service: reference-architecture
GitHub Login: @RobBagby
Microsoft Alias: robbag

@jharbieh-microsoft
Thanks for your feedback! We will investigate and update as appropriate.

#please-close


fail to open "models\mxvgg.params"

hi:
I have tried to run
python main.py optim --content-image images/content/venice-boat.jpg --style-image images/styles/candy.jpg

but I got an error:
LocalFileSystem: fail to open "models\mxvgg.params"

I have checked the models dir, which there is no mxvgg.params file, but it has an download_model.sh script,
then, but it only download 21styles.params no mxvgg.params.
where can i find mxvgg.params?

It should be automatically downloaded https://github.com/zhanghang1989/MXNet-Gluon-Style-Transfer/blob/master/utils.py#L207

ok，thanks


Issues with ebpf_extension_header

Describe the bug

The CURRENT_VERSION_SIZE macros cannot be used by extensions without first defining the EBPF_SIZE_INCLUDING_FIELD macro. This EBPF_SIZE_INCLUDING_FIELD macro (and its dependents) should be moved to a header that is exported in our nuget package, to allow for developers to use it.
The following are missing sizes:
EBPF_HELPER_FUNCTION_ADDRESSES_CURRENT_VERSION_SIZE
EBPF_ATTACH_CLIENT_DATA_CURRENT_VERSION_SIZE
EBPF_ATTACH_PROVIDER_DATA_CURRENT_VERSION_SIZE
EBPF_PROGRAM_INFORMATION_CLIENT_DATA_CURRENT_VERSION_SIZE
There seems to be some issues with our code which uses EBPF_HELPER_FUNCTION_ADDRESSES_CURRENT_VERSION, some of which point to incorrect size. This should be updated to use the new EBPF_HELPER_FUNCTION_ADDRESSES_CURRENT_VERSION_SIZE once it is added.
For ebpf_extension_data_t - The header was added, but it looks like this may have replaced the actual extension_data_t fields for version and size (of the data field).

OS information
No response
Steps taken to reproduce bug
Consume ebpf 0.15.0. Adding the extension header ran into the above issues.
Expected behavior
n/a
Actual outcome
n/a
Additional details
No response

Thanks, I was discovering the same issues when trying to consume 0.15.0 from XDP.


Welcome to issues for Vyxal Bot!

If you have a suggestion, or have found a bug, open an issue and add the appropriate labels.

Why does this exist? @PlaceReporter99 you are not the lead of this project and were never told to create this. Please don't make administrative decisions by yourself in the future.


Trust SSL/TLS Certificates, fixes #1247, fixes #1501, fixes #849

The Problem/Issue/Bug:
https is now standard everywhere, but ddev has never had a way to present a trusted certificate.
mkcert makes it possible.
How this PR Solves The Problem:

Use mkcert to create a trusted CA on the host
Copy the trusted CA files into the router and the webserver container
Generate certs for each name needed (or wildcard)
Provide a cert for <IP_ADDRESS> for web container
Make sure web container trusts the certs as well
Reorganize nginx config so that there's not so much repetition
Add simple include nginx config add-ons per #1501 - simple item while doing the nginx config reorg

Manual Testing Instructions:

Install mkcert (brew install mkcert, choco install -y mkcert)
mkcert -install
Use browser and curl against https URLs on host
Test complex URLs introduced with additional_hostnames and additional_fqdns.
Try just regular old https
Try curl within the web container against localhost and against the FQDN with https
Try curl on the host against localhost-https port as shown in ddev describe
Test behavior without mkcert installed. It should "work", but not have trusted browser responses.
Use nginx snippet overrides in .ddev/nginx/<something>.conf and verify that they get detected.
Review updated docs for mkcert and nginx config and other (docs/index.md, docs/users/extend/customization-extendibility.md
Test ddev config --host-https-port

Automated Testing Overview:

[x] We may have places where we're currently ignoring https failure and we can respect it now!
[x]  Start a project with no router running
[x]  Start up with another project running, both should be valid
[x]  Container tests for ddev-router, cert should work inside (curl https://d8composer.ddev.local --resolve "d8composer.ddev.local:443:<IP_ADDRESS>")
[x]  Container tests for ddev-webserver, cert should work inside against <IP_ADDRESS> address. #1235 will prevent access to router via hostname

Related Issue Link(s):
#1247
Release/Deployment notes:

Add mkcert dependency to homebrew
Explain in release how nginx snippets work
Explain mkcert in release
Explain ddev config --host-https-port
Explain that https is now the first option in lists of URLs and why

Thanks so much @andrewfrench - I'm in the process of adding nss.
Question though on your install of nss... This is what I see on brew install mkcert on macOS, I don't get a prompt about nss:
$ brew uninstall --ignore-dependencies mkcert nss
Uninstalling /usr/local/Cellar/mkcert/1.3.0... (6 files, 4.8MB)
Uninstalling /usr/local/Cellar/nss/3.43... (222 files, 27.5MB)
rfay-macos-mbp2013:d8git rfay$ brew install mkcert
Updating Homebrew...
==> Auto-updated Homebrew!
Updated 3 taps (rfay/ddev, homebrew/core and homebrew/cask).
==> Updated Formulae
asciidoctor         gitlab-runner       newsboat            ruby-build
erlang              glooctl             purescript

==> Downloading https://homebrew.bintray.com/bottles/mkcert-1.3.0.mojave.bottle.
Already downloaded: /Users/rfay/Library/Caches/Homebrew/downloads/8811bf4b440be280e5f5685d7f54a55e4620638b3676953ffc30b12f455ead7a--mkcert-1.3.0.mojave.bottle.tar.gz
==> Pouring mkcert-1.3.0.mojave.bottle.tar.gz
🍺  /usr/local/Cellar/mkcert/1.3.0: 6 files, 4.8MB

Forget it @andrewfrench , it's very clear on the mkcert project page,

brew install mkcert
brew install nss # if you use Firefox

I'll update docs and such for that.

Just ran through again and noticed that the message actually shows up in the mkcert -install step, not the brew step:
Using the local CA at "/Users/andrew/Library/Application Support/mkcert" ✨
Warning: "certutil" is not available, so the CA can't be automatically installed in Firefox! ⚠
Install "certutil" with "brew install nss" and re-run "mkcert -install" 👈

But I see that both mkcert and nss have been added as dependencies, thanks for that!


GEODE-6166: Improves put performance

Thank you for submitting a contribution to Apache Geode.
In order to streamline the review of the contribution we ask you
to ensure the following steps have been taken:
For all changes:

[ ] Is there a JIRA ticket associated with this PR? Is it referenced in the commit message?

[ ] Has your PR been rebased against the latest commit within the target branch (typically develop)?

[ ] Is your initial contribution a single, squashed commit?

[ ] Does gradlew build run cleanly?

[ ] Have you written or updated unit tests to verify your changes?

[ ] If adding new dependencies to the code, are these dependencies licensed in a way that is compatible for inclusion under ASF 2.0?

Note:
Please ensure that once the PR is submitted, you check travis-ci for build issues and
submit an update to your PR as soon as possible. If you need help, please send an
email to<EMAIL_ADDRESS>

When benchmarked with a simple rapid put operation the changes between develop and this PR resulted in about ~20% increase in puts/second. Comparing the profiles between develop and the PR shows a ~72% reduction in allocated transient objects.

I love hearing this kind of stuff! Great numbers indeed.
--
Mike Stolz
Principal Engineer - Gemfire Product Manager
Mobile:<PHONE_NUMBER>
On Dec 8, 2018 10:23 AM, "Jacob Barrett"<EMAIL_ADDRESS>wrote:

Opps, basic math error. Corrected numbers are:
When benchmarked with a simple rapid put operation the changes between
develop and this PR resulted in about ~25% increase in puts/second.
Comparing the profiles between develop and the PR shows a ~42% reduction in
allocated transient objects.
Still great numbers!
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_apache_geode_pull_2970-23issuecomment-2D445466841&d=DwMFaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=us915XVL1kT8_Q-vmxAPAGcdk8eQkhBJKJGVCwFNFlA&m=eYRfbtKmkpiq7dk_RvVRQaRp1jCWvDi6XOqUX_Sl9Rk&s=mPLcta6apYMXflsgcoRmgJRP4T74CACe-kZvjnUbDAo&e=,
or mute the thread
https://urldefense.proofpoint.com/v2/url?u=https-3A__github.com_notifications_unsubscribe-2Dauth_ASblIKsBzsvAx1Oi7Q6iDFaTEIX-2DAjHeks5u29lngaJpZM4ZH3Rl&d=DwMFaQ&c=lnl9vOaLMzsy2niBC8-h_K-7QJuNJEsFrzdndhuJ3Sw&r=us915XVL1kT8_Q-vmxAPAGcdk8eQkhBJKJGVCwFNFlA&m=eYRfbtKmkpiq7dk_RvVRQaRp1jCWvDi6XOqUX_Sl9Rk&s=jODcI2ZsFr6_9n9wLOWu0GabHjRpoN8AwW0FUFCVRlY&e=
.

@upthewaterspout it does change the on wire and all backwards compatibility tests pass.
Old clients send the serialized object and the server detects this because the part is and object. New clients send just a byte and the server detects this because the part is not an object. Saves ~63 bytes per put message.


Add files via upload

Pull Request Test Coverage Report for Build 60

0 of 0   changed or added relevant lines in 0 files are covered.
No unchanged relevant lines lost coverage.
Overall coverage remained the same at 33.762%

Totals

Change from base Build 58:
0.0%

Covered Lines:
105

Relevant Lines:
311

💛  - Coveralls

Test data moved to danforthcenter/plantcv


buffer encoding conversion is failing

see https://github.com/gruntjs/grunt-cli/issues/10#issuecomment-260168614 for the background.
This is a globally installed grunt (installed by debian package with #55). But I doubt the error is not related to global installation, so I thought of creating an issue here.
Commenting out the encoding conversion part fixes the issue, see https://anonscm.debian.org/cgit/pkg-javascript/grunt.git/tree/debian/patches/remove-encoding-conversion.patch

Could you provide instructions on how to reproduce the problem and why you think it is caused by this library?

@shama sorry, this should have been filed against grunt and not grunt-cli. But the issue was caused by a bug in iconv-lite package in debian (it did not install all the required files as its package.json did not have a files section). See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=844333


Error for UnityBridge swift file

Hi,
can you help me with this. I have followed all the steps of integrating unity library recommended in the repo

Hi, I believe your issue is simply that your dependencies are wrong and so the API defined in UnityBridge isnt visible. Did you set the header to public?

Yes

I will need a bit more context to help here, but It definitely is a small build issue

@DavidPeicho , I have same problem when trying to use your files in my own project. Your project is working perfect, but when I took UnityBridge.swift and NativeCallProxy-Bridging-Header.h for my project, it now cannot be builded. I'm using same unity sample project and files dependencies are the same in it. My project is just swift, without swiftui.

Hey @dandepeched, you need to set the NativeCallProxy.h as a bridging header. It's an ObjectiveC file, and the swift need some info about that. Please have a look at the Apple documentation

Yes, I was missing path to the NativeCallProxy-Bridging-Header.h in the Build Settings/Objective-С Bridging Header.
Now I can build the project. Thanks for your help!


No module named 'tensorflow.compiler'

import tensorflow as tf
tf.contrib.layers.conv2d(inputs=h_pool1,num_outputs=64,kernel_size=[5,5],stride=[1,1],padding='SAME', activation_fn=tf.nn.relu)

When  I executing above code,the errors orrurs,help me please!
env:tensorflow1.9+jupyter notebook +windows10 + python 3.6
~\AppData\Roaming\Python\Python36\site-packages\tensorflow\contrib\tpu\python\tpu\tpu_feed.py in <module>()
     26 from six.moves import xrange  # pylint: disable=redefined-builtin
     27
---> 28 from tensorflow.compiler.xla.experimental.xla_sharding import xla_sharding
     29 from tensorflow.compiler.xla.python_api import xla_shape
     30 from tensorflow.contrib.tpu.python.ops import tpu_ops

ModuleNotFoundError: No module named 'tensorflow.compiler'

Thank you for your post. We noticed you have not filled out the following field in the issue template. Could you update them if they are relevant in your case, or leave them as N/A? Thanks.
Have I written custom code
OS Platform and Distribution
TensorFlow installed from
TensorFlow version
Bazel version
CUDA/cuDNN version
GPU model and memory
Exact command to reproduce
Mobile device

OS Platform:windows10 64bit
anaconda3: anaconda Command line client (version 1.6.14)
python3.6:Python 3.6.5 :: Anaconda, Inc.
tensorflow1.9 for cpu:I installed it from the file tensorflow-1.9.0-cp36-cp36m-win_amd64.whl
https://files.pythonhosted.org/packages/e7/88/417f18ca7eed5ba9bebd51650d04a4af929f96c10a10fbb3302196f8d098/tensorflow-1.9.0-cp36-cp36m-win_amd64.whl
GPU model nvidia 1060 6G memory
CUDA/cuDNN version    9.0/9.0
all code:
import tensorflow as tf
x = tf.placeholder(tf.float32, [None, 24,24,3])
x_image = tf.reshape(x, [-1,24,24,3])
h_conv1 = tf.contrib.layers.conv2d(x_image, 64,5,1, "SAME", activation_fn=tf.nn.relu)

Can I run the codes above in cpu mode

Nagging Assignee @shivaniag: It has been 15 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @shivaniag: It has been 30 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @shivaniag: It has been 45 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @shivaniag: It has been 75 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @shivaniag: It has been 91 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Nagging Assignee @shivaniag: It has been 106 days with no activity and this issue has an assignee. Please update the label and/or status accordingly.

Go through the following issue and it should help you in resolving this issue. Thanks!


Update authentication-scenarios.md

Changed the reference to authentication protocol to match the table of contents to the left of the page.

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

@mochr  Thanks for the update.  #sign-off


#109 Added Zulip PPA and launchpad link for third party packages

In accordance to #109, added Ubuntu steps including the official Zulip PPA as an alternative to the wget method, and included a link to the launchpad for access to third party packages.
This will be useful to users interested in building from source as well as quickly installing the application using the PPA rather than using dpkg with a manually downloaded deb package for tsearch-extras.

Automated message from Dropbox CLA bot
@tcarrio, it looks like you've already signed the Dropbox CLA. Thanks!

Awesome, thanks for working on this @tcarrio!  I merged this as 014fcf7570717937b598868745ca8619cbdf05c9 -- note squashing the two commits, reformatting of the commit message to match our style guidelines and dropping the new section at the bottom (I'm not sure why that section is needed; if you can explain that to me, we can merge another commit to address that issue!)

I thought it may be useful for people interested in accessing the packages required that aren't on Ubuntu specifically or even a different architecture. It's no problem!

Ahh, OK, maybe we should provide a note that one can also download the packages directly from the PPA for other platforms and provide a link to the tsearch-extras subpage?

The whole PPA should be useful, I think it would be more beneficial to offer all the packages by linking the PPA rather than just one package that happens to not be included in the Ubuntu repos. It would be useful for anyone building Zulip and it's dependencies all from their source.

You can access the tsearch-extras package from the PPA webpage, so it shouldn't be necessary to link the PPA as well as the package.

How about just making "official Zulip PPA" a link to the PPA?

Cool, done and merged as e7cb1e3f9261909fcd5f724117f7b3f02bec5647, thanks @tcarrio!
Just a quick note on using GitHub, the "reactions" feature is designed to not notify anyone about your reaction, so for cases like this where you want to notify the other party, it's best to post a comment :)
(It's lucky that I happened to look back anyway and notice your response)


[tabs] Keyboard navigation is incomplete, broken in chrome - DDS Consulting

Engineering info:

HC engineer:
HC Jira Ticket:
DDS consulting engineer:

Detailed description

Describe in detail the issue you're having.

Tabbed interfaces using role="tablist" and role="tabitem" carry an implicit interaction model that needs to be followed for WCAG compliance. Right now, that UI pattern is incomplete and broken in Chrome.

Is this a feature request (new component, new icon), a bug, or a general
issue?

:bug: Bug

Is this issue related to a specific component?

Tabs

What did you expect to happen? What happened instead? What would you like to
see changed?

Missing keyboard interactions:

While focus is within the tablist, the Home key should move focus to the first tab and activate it.
While focus is within the tablist, the End key should move focus to the last tab and activate it.
While focus is within the tablist, the Tab key should move focus to the active tabpanel element, and then to any focusable elements within that tabpanel before moving on to other parts of the page

Chrome's keyboard interaction model is completely broken at the moment. For some reason the links within each <bx-tab> are unable to receive/hold focus.

What browser are you working in?

Tested in the following:

Chrome 94.0.4606.61
Firefox 92.0.1
Safari 15.0 (166<IP_ADDRESS>.4, 16612)

What version of Carbon Web Components are you using?

Latest at time of writing (#01b2892)

What offering/product do you work on? Any pressing ship or release dates we
should be aware of?

carbon-for-ibm-dotcom, but we've already fixed this issue downstream for now.
Additional information

W3: Tabs example

@Praveen-sr Could you have Ram take a look to verify this bug and set the severity.  Thanks.

@annawen1 if tabs-extended isn't inheriting from this repo's tabs then this issue is only related in the sense that they should have similar solutions.

@andy-blum I wonder if we should keep separate tickets or create one ticket to add solution to both carbon-for-ibm-dotcom and carbon-web-component tab component

@annawen1 @andy-blum I think we have 2 separate issues.  #5816 is for Carbon for ibm.com and this issue is for Carbon web components.  I have added the severity to this issue.  I think we can move it forward into the Pending scheduling pipeline.

Duplicate of #970. Capturing remaining a11y requirements (home/end) there.


 Replace that with TS.

Imports complained:
npx jest packages/circuits/tests/wallet.test.ts
 FAIL  packages/circuits/tests/wallet.test.ts
  ● Test suite failed to run

    node_modules/@zk-email/helpers/src/dkim/index.ts:2:30 - error TS7016: Could not find a declaration file for module './dkim-verifier'<EMAIL_ADDRESS>implicitly has an 'any' type.

    2 import { DkimVerifier } from "./dkim-verifier";
                                   ~~~~~~~~~~~~~~~~~
    node_modules/@zk-email/helpers/src/dkim/index.ts:3:31 - error TS7016: Could not find a declaration file for module './tools'<EMAIL_ADDRESS>implicitly has an 'any' type.

    3 import { writeToStream } from "./tools";

Hi @Divide-By-0 I would like to work on this

Sweet, feel free to make a PR @Dhoni77


FEATURE: Add more verbosity to commands processing SAT files

Manta needs to provide more feedback to the user in regards decisions make when processing SAT file.
For example:

show the CFS configuration created
Specify which parts of the SAT file are going to be processed

fixed in v1.25.0


Translating i18n file from French to Chinese

Type: Bug
Prompt : translate i18n file to chinese zh
Result is incomplete. Only the first few lines of the file are translated.
Extension version: 0.21.2024090602
VS Code version: Code 1.93.1 (Universal) (38c31bc77e0dd6ae88a4e9cc93428cc27a56ba40, 2024-09-11T17:20:05.685Z)
OS version: Darwin arm64 23.5.0
Modes:

System Info

Item
Value

CPUs
Apple M1 Max (10 x 2400)

GPU Status
2d_canvas: enabledcanvas_oop_rasterization: enabled_ondirect_rendering_display_compositor: disabled_off_okgpu_compositing: enabledmultiple_raster_threads: enabled_onopengl: enabled_onrasterization: enabledraw_draw: disabled_off_okskia_graphite: disabled_offvideo_decode: enabledvideo_encode: enabledwebgl: enabledwebgl2: enabledwebgpu: enabledwebnn: disabled_off

Load (avg)
6, 5, 5

Memory (System)
64.00GB (8.95GB free)

Process Argv
--crash-reporter-id a4e558e8-73b9-483c-9fd9-017c4cc43b05

Screen Reader
no

VM
0%

A/B Experiments
vsliv368cf:30146710
vspor879:30202332
vspor708:30202333
vspor363:30204092
vscod805cf:30301675
binariesv615:30325510
vsaa593:30376534
py29gd2263:31024239
c4g48928:30535728
azure-dev_surveyone:30548225
962ge761:30959799
pythongtdpath:30769146
welcomedialog:30910333
pythonnoceb:30805159
asynctok:30898717
pythonmypyd1:30879173
h48ei257:31000450
pythontbext0:30879054
accentitlementst:30995554
dsvsc016:30899300
dsvsc017:30899301
dsvsc018:30899302
cppperfnew:31000557
dsvsc020:30976470
pythonait:31006305
dsvsc021:30996838
jg8ic977:31013176
a69g1124:31058053
dvdeprecation:31068756
dwnewjupyter:31046869
impr_priority:31102340
nativerepl2:31134655
refactort:31108082
pythonrstrctxt:31112756
flighttreat:31134774
wkspc-onlycs-t:31132770
wkspc-ranged-c:31125598
ei213698:31121563

Further tests show that :

The translation is limited to the part of the file which is visible on my screen. It does not consider in it's context the entire file!!

Thanks for filing the issue!
Is this with panel chat or inline chat? Could you include a screencast?

Hi,
This was in "Panel Chat"
*How to reproduce: *
1/ Here is the input file I used : fr.yml
2/ Having opened in VS Code fr.yml file, open a new Copilote chat panel,
and request the following to Copilote 'translate i18n file to chinese zh'
3/ Copilote's result is zh.yml (in attachment)
I think I have found a clue to the issue. Please check the screenshot. The
reference used only takes a selection of lines instead of the whole file.
[image: Capture d’écran 2024-10-01 à 10.18.28.png]
Le lun. 30 sept. 2024 à 15:26, Ulugbek Abdullaev @.***>
a écrit :

Thanks for filing the issue!
Is this with panel chat or inline chat? Could you include a screencast?
—
Reply to this email directly, view it on GitHub
https://github.com/microsoft/vscode-copilot-release/issues/1605#issuecomment-2383188827,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACMURSGH6VGBQ4W2MBOABUTZZFGMNAVCNFSM6AAAAABORWUDZWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBTGE4DQOBSG4
.
You are receiving this because you authored the thread.Message ID:
@.***>

--
Nicolas Lallouet


Update External-Resources.md

added an article

Is this article intended to be general information?
Because I can't see any direct mention of re-frame?
Doesn't seem sufficiently relevant.
I'll close, but please push back if I've missed something.


Death of st2actionrunner process causes action to remain running forever

SUMMARY
Using StackStorm 3.0.1, if something kills an st2actionrunner process supervising a python-script action runner, and this action execution is part of a workflow execution, the action execution remains forever in state running regardless of parameters: timeout setting in the workflow.
What I'd like to see, is the action being rescheduled to another st2actionrunner, or at the very least, timed out so that a retry in the workflow can deal with that problem.
(It is not clear either how StackStorm deals with the death of a st2actionrunner supervising an orquesta action runner.)
This is not an HA setup, but nothing in the code or documentation leads me to believe that the expected behavior is to just hang a workflow execution when the underlying action runner supervisor process is gone.  I'm thinking a machine in an HA setup crashes while ongoing workflows are executing actions on that machine, and then all workflows whose actions were running there, just hang, never to even timeout.
We expect to be able to run StackStorm for weeks on end, with long-running workflows that survive the death or reboot of a machine that is part of the StackStorm cluster.
OS / ENVIRONMENT / INSTALL METHOD
Standard non-HA recommended setup in Ubuntu 16.04
STEPS TO REPRODUCE
Create workflow with one Python action that runs sleep 60 via subprocess.
Start workflow with st2 run.
Kill st2actionrunner supervising the Python action.
Wait forever.

If the action runner process dies unexpectedly while an action execution is still executing, the action execution will be stuck in a running state because the action runner process didn't get a chance to update the database.  We've recently added service discovery capability to the action runner.  We will be adding garbage collection shortly to clean up these orphaned action executions and set them to something like an abandoned status. This will trigger the workflow execution to fail. When implemented, the service discovery feature will require user to configure a coordination backend such as redis server to work along side StackStorm.

That sounds like a plan.  Thanks.
Meanwhile, how can I get abandoned actions to restart?  That is crucial because most of our workflows run for a month or more, so if a box gets slammed, we see our workflows either fail or become stuck.  It would be okay in our case to restart the specific failed action from the top, because our actions are all idempotent.

For the orquesta workflow engine, rerunning/restarting WF from failed task is not supported yet.  It is currently WIP and planned for a future release.

Triggering the workflow to fail after one of the child tasks is abandoned seems like a sane default, but in many cases I'd like to be given the option to "retry" the abandoned task since many of our actionrunner failures are due to transient issues.  Rerunning/rehydrating a workflow from a given state would be essentially equivalent to this.

Rerunning/rehydrating a workflow from a given state would be essentially equivalent to this.

This would be adequate for our use cases.  Otherwise Orquesta basically makes it impossible to put the machines running the workflow engine in maintenance mode.

I think there are different things being communicated here.  As I understand, 1) there is the case where the action runner dies while executing an action for a task and that leads to the task and workflow stuck in running state. This is the original issue here.  2) You want to be able to rerun the task when the task and workflow execution failed as a result of #1.  3) You want to be able to pause the workflow execution, bring up another workflow engine, and resume the execution on the new server.
Item 3 already works today.  You can pause the workflow execution.  The state of the execution is saved to MongoDB.  Then you can bring up a new workflow engine using the same st2.conf and shut down the old workflow engine. Resume the workflow execution and the workflow engine will pick up where it left off. If you are running different versions of st2, then be careful there are no breaking changes in between versions.
For item 1, per the solution described above, we plan to implement garbage collection and will abandoned action execution where the action runner that host it dies but the execution is stuck in running.
For item 2, we have a WIP feature to rerun a workflow execution from one or more failed tasks.  We will make sure this supports item 1 where the action execution is abandoned.

Awesome.  Now if the mistral language supported retries it'd be so awesome.  Ultimately the big concern is that sometimes stopping st2 components cause actions to get stuck in state running and never end / become unpauseable or uncancellable.  Hope this gets ironed out.
On June 27, 2019 6:34:57 AM GMT+02:00, W Chan<EMAIL_ADDRESS>wrote:

I think there are different things being communicated here.  As I
understand, 1) there is the case where the action runner dies while
executing an action for a task and that leads to the task and workflow
stuck in running state. This is the original issue here.  2) You want
to be able to rerun the task when the task and workflow execution
failed as a result of #1.  3) You want to be able to pause the workflow
execution, bring up another workflow engine, and resume the execution
on the new server.
Item 3 already works today.  You can pause the workflow execution.  The
state of the execution is saved to MongoDB.  Then you can bring up a
new workflow engine using the same st2.conf and shut down the old
workflow engine. Resume the workflow execution and the workflow engine
will pick up where it left off. If you are running different versions
of st2, then be careful there are no breaking changes in between
versions.
For item 1, per the solution described above, we plan to implement
garbage collection and will abandoned action execution where the action
runner that host it dies but the execution is stuck in running.
For item 2, we have a WIP feature to rerun a workflow execution from
one or more failed tasks.  We will make sure this supports item 1 where
the action execution is abandoned.
--
You are receiving this because you authored the thread.
Reply to this email directly or view it on GitHub:
https://github.com/StackStorm/st2/issues/4716#issuecomment-506153439

--
Sent from my Android device with K-9 Mail. Please excuse my brevity.

@m4dcoder  can you explain the recently added GC process when a workflow task is stuck?  i.e. if an actionrunner machine reboots.
I'm reading the code and it appears that if a task gets stuck, the GC will kill the whole workflow execution.  If this is the case, I don't think that is desired behavior.  I think the stuck task should fail, but the workflow should be able to handle the failure, with a retry or other workflow path.

Also, I think the action runner and workflow engine need to support a "warm shutdown" TERM signal to the process.  The idea being that they should finish their work before they exit, minimizing orphaned actions or lost workflow state.
For the workflow engine, this may mean initiating a pausing/paused before shutting the process.
For the action runner, this may mean that it stops accepting any new work, and completes it's current running work before exiting (with a hard timeout value).
We use this type of behavior for Celery workers today. See: http://docs.celeryproject.org/en/master/userguide/workers.html#stopping-the-worker

+1, in Kubernetes environment all services die, respawn and get rescheduled to another nodes on a regular basis.
It's a reality requirements to make StackStorm handle these cases as normal situation, especially thinking about it in HA context.

Currently, GC will cancel the workflow execution if it has been pass max idle time without any activity (i.e. task execution still executing).  The current GC does not cover the use cases where action runner died/reboot in the meeting of execution an action.  When this happens, the action execution will be stuck in a  running state and so is the corresponding task execution record.  This will not trigger the current GC to clean up the workflow execution.

per the solution described above, we plan to implement garbage collection and will abandoned action execution where the action runner that host it dies but the execution is stuck in running.

Per the solution here for this issue which we haven't implement yet, when GC abandons the action execution, it has the same affect in failing the action execution and the task execution which will trigger whatever clean up defined in the workflow definition.

@m4dcoder ok, is anyone working on GC for the action exection / actionrunner restart scenario?

This is not currently prioritized for the next v3.2 release and we already started on v3.2.  If this is something the community needs, st2 is open source and we welcome contribution.  We will dedicate time to help and review with code contribution.

Hi there - Checking whether this is still on the road map for any releases near soon? This requirement has real significance in the stackstorm-ha world especially when the nodes/pods get killed/restarted often in the k8s world compared to the traditional deployment model.

Yeah.  Kubernetes rollouts of new packs (using the st2packs sidecar containers built for the purpose) restart action runners, which means the restarted action runners usually leave actions behind, "running" as ghosts, which obviously torpedoes our long-running workflows.  The garbage collector also does not collect tasks in "running" state by default either.  And tasks whose executors have gone AWOL simply cannot be canceled from the UI (it directs the user to look at the developer console, see screenshot).
To add to that complication, default retry behavior "when task is abandoned" is still not implemented in orquesta, when a transient failure of this type happens either -- we end up having to code retries on every task in each workflow, which is relatively easy to screw up for us workflow developers.
These deficiencies make StackStorm usage in a modern production environment a very difficult pitch.  Truly great in theory -- in practice very painful to deploy and maintain.

Hi, is there any updates on this ticket? My team is trying to deploy StackStorm HA but we are running into this issue which isn't acceptable for our use case. :(

If the kill signal is sent to an actionrunner it should wait till the action finishes if you have graceful shutdown on. Do you have gracefull  shutdown enabled in the config? There is also an exit timeout and sleep delay setting.code

looks like you have to also increase the terminationGracePeriodSeconds in your chart.  The default is 30 seconds.

Make sure that your timeouts are all set correct vs your action timeouts.
Most of our actions timeout after 10 minutes.  So we set the following to at least allow the action timeouts to trigger before the graceful shutdowns.

action timeouts: 600 seconds for most of our actions.  we have a couple set to 900, but we want to cover most.
actionrunner: gracefull timeout settings in values.yaml in config settings.  set it to a bit longer than the action timeout.

 [actionrunner]
      graceful_shutdown = True
      exit_still_active_check = 610 # 10 mins
      still_active_check_interval = 10

termination Grace Period Seconds in values.haml for action runner

 st2actionrunner:
    terminationGracePeriodSeconds: 630

With these settings we are hoping that worst case actions actually get abandoned because the actionrunner shutdown method will have enough time to abandon them before the k8 pod timeout hits 20 seconds later
Also we set the st2workflowengine timeouts:
  st2workflowengine:
    terminationGracePeriodSeconds: 630

2 more notes:

do NOT put inline comments in your config file
you must enable coordination | service_registry = True in the config for graceful shutdown to wait for actions to finish.

Why the sensible options being discussed here are not defaults, it's a mystery to me.

Lowercase true?
On Tue, Nov 5, 2024 at 12:40 Sravanthi Konduru @.***>
wrote:

@guzzijones https://github.com/guzzijones I tried setting the
recommended graceful shutdown configs. But still actionrunner process is
not setting the actions to aborted state while dying. Here is my conf
[actionrunner]
graceful_shutdown = True
exit_still_active_check = 300
still_active_check_interval = 2
[coordination]
service_registry = True
terminationGracePeriodSeconds: 330 in action runner helm
I also added additional logs in st2 shut down code for debugging . Looks
like shutdown method here
https://github.com/StackStorm/st2/blob/b9aec99fc49507d0b5b199caa2b1c27f7f5e13a6/st2actions/st2actions/worker.py#L140
is not getting called when kubernetes pod is terminated. Actionrunner is
still taking up new actions in Terminating state. Do you have any
suggestions on what could be going wrong/missing in our setup?
—
Reply to this email directly, view it on GitHub
https://github.com/StackStorm/st2/issues/4716#issuecomment-2457798337,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZ5TIIPIE6JQ5FFIQIMEW3Z7D7HRAVCNFSM6AAAAABRHCTRA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXG44TQMZTG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Do you h e coordination enabled?
On Tue, Nov 5, 2024 at 13:33 aj jones @.***> wrote:

Lowercase true?
On Tue, Nov 5, 2024 at 12:40 Sravanthi Konduru @.***>
wrote:

@guzzijones https://github.com/guzzijones I tried setting the
recommended graceful shutdown configs. But still actionrunner process is
not setting the actions to aborted state while dying. Here is my conf
[actionrunner]
graceful_shutdown = True
exit_still_active_check = 300
still_active_check_interval = 2
[coordination]
service_registry = True
terminationGracePeriodSeconds: 330 in action runner helm
I also added additional logs in st2 shut down code for debugging . Looks
like shutdown method here
https://github.com/StackStorm/st2/blob/b9aec99fc49507d0b5b199caa2b1c27f7f5e13a6/st2actions/st2actions/worker.py#L140
is not getting called when kubernetes pod is terminated. Actionrunner is
still taking up new actions in Terminating state. Do you have any
suggestions on what could be going wrong/missing in our setup?
—
Reply to this email directly, view it on GitHub
https://github.com/StackStorm/st2/issues/4716#issuecomment-2457798337,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZ5TIIPIE6JQ5FFIQIMEW3Z7D7HRAVCNFSM6AAAAABRHCTRA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXG44TQMZTG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

Also it should t set them to aborted when gracefulshutdown is working
correctly for you
On Thu, Nov 7, 2024 at 21:57 aj jones @.***> wrote:

Do you h e coordination enabled?
On Tue, Nov 5, 2024 at 13:33 aj jones @.***> wrote:

Lowercase true?
On Tue, Nov 5, 2024 at 12:40 Sravanthi Konduru @.***>
wrote:

@guzzijones https://github.com/guzzijones I tried setting the
recommended graceful shutdown configs. But still actionrunner process is
not setting the actions to aborted state while dying. Here is my conf
[actionrunner]
graceful_shutdown = True
exit_still_active_check = 300
still_active_check_interval = 2
[coordination]
service_registry = True
terminationGracePeriodSeconds: 330 in action runner helm
I also added additional logs in st2 shut down code for debugging . Looks
like shutdown method here
https://github.com/StackStorm/st2/blob/b9aec99fc49507d0b5b199caa2b1c27f7f5e13a6/st2actions/st2actions/worker.py#L140
is not getting called when kubernetes pod is terminated. Actionrunner is
still taking up new actions in Terminating state. Do you have any
suggestions on what could be going wrong/missing in our setup?
—
Reply to this email directly, view it on GitHub
https://github.com/StackStorm/st2/issues/4716#issuecomment-2457798337,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ACZ5TIIPIE6JQ5FFIQIMEW3Z7D7HRAVCNFSM6AAAAABRHCTRA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXG44TQMZTG4
.
You are receiving this because you were mentioned.Message ID:
@.***>

@guzzijones Thanks for the response. Yes, we have co-ordiantion enabled. I figured out the problem. Our entrypoint is a launch script that internally spins up a st2 process , so the SIGTERM signal passed to the launch script and not to st2. I made this change to pass the SIGMTERM signal to the st2 process. Graceful shutdown on action runners started working after this change.
exec ./st2/bin/$1 --config-file=/etc/st2/st2.conf --config-file=$ST2_CONFIG_FILE &
pid=$!
# Trap the SIGTERM signal and forward it to the main process
trap 'kill -SIGTERM $pid; wait $pid' SIGTERM
# Wait for the main process to complete
wait $pidh

But the graceful shutdown in workflowengine is still not working. We are getting StackStormDBObjectNotFoundError from this code  . Any clue what could be going wrong? I see @khushboobhatia01 is the contributor of workflow engine shutdown, adding her in case she gets chance to see this. Here is the stacktrace.
2024-11-05 20:30:44,771 ERROR [-]
2024-11-05 20:30:44,771 ERROR [-]   File "/opt/stackstorm/st2/lib/python3.9/site-packages/st2actions/cmd/workflow_engine.py", line 89, in main
    return run_server()

2024-11-05 20:30:44,771 ERROR [-]
2024-11-05 20:30:44,772 ERROR [-]   File "/opt/stackstorm/st2/lib/python3.9/site-packages/st2actions/cmd/workflow_engine.py", line 75, in run_server
    engine.shutdown()

2024-11-05 20:30:44,772 ERROR [-]
2024-11-05 20:30:44,772 ERROR [-]   File "/opt/stackstorm/st2/lib/python3.9/site-packages/st2actions/workflows/workflows.py", line 135, in shutdown
    lv_ac = action_utils.get_liveaction_by_id(ac_ex_db.liveaction["id"])

2024-11-05 20:30:44,772 ERROR [-]
2024-11-05 20:30:44,772 ERROR [-]   File "/opt/stackstorm/st2/lib/python3.9/site-packages/st2common/util/action_db.py", line 193, in get_liveaction_by_id
    liveaction = LiveAction.get_by_id(liveaction_id)

2024-11-05 20:30:44,772 ERROR [-]
2024-11-05 20:30:44,772 ERROR [-]   File "/opt/stackstorm/st2/lib/python3.9/site-packages/st2common/persistence/base.py", line 86, in get_by_id
    return cls._get_impl().get_by_id(value)

2024-11-05 20:30:44,772 ERROR [-]
2024-11-05 20:30:44,772 ERROR [-]   File "/opt/stackstorm/st2/lib/python3.9/site-packages/st2common/models/db/__init__.py", line 488, in get_by_id
    return self.get(id=value, raise_exception=True)

2024-11-05 20:30:44,773 ERROR [-]
2024-11-05 20:30:44,773 ERROR [-]   File "/opt/stackstorm/st2/lib/python3.9/site-packages/st2common/models/db/__init__.py", line 526, in get
    raise db_exc.StackStormDBObjectNotFoundError(msg)

2024-11-05 20:30:44,773 ERROR [-]
2024-11-05 20:30:44,773 ERROR [-] st2common.exceptions.db.StackStormDBObjectNotFoundError: Unable to find the LiveActionDB instance. {'id': '66a101daf8e29ec398547601'}

Also it should not set them to aborted when gracefulshutdown is working correctly for you
…
On Thu, Nov 7, 2024 at 21:57 aj jones @.> wrote: Do you h e coordination enabled? On Tue, Nov 5, 2024 at 13:33 aj jones @.> wrote: > Lowercase true? > > On Tue, Nov 5, 2024 at 12:40 Sravanthi Konduru @.> > wrote: > >> @guzzijones https://github.com/guzzijones I tried setting the >> recommended graceful shutdown configs. But still actionrunner process is >> not setting the actions to aborted state while dying. Here is my conf >> >> [actionrunner] >> graceful_shutdown = True >> exit_still_active_check = 300 >> still_active_check_interval = 2 >> [coordination] >> service_registry = True >> >> terminationGracePeriodSeconds: 330 in action runner helm >> >> I also added additional logs in st2 shut down code for debugging . Looks >> like shutdown method here >> https://github.com/StackStorm/st2/blob/b9aec99fc49507d0b5b199caa2b1c27f7f5e13a6/st2actions/st2actions/worker.py#L140 >> is not getting called when kubernetes pod is terminated. Actionrunner is >> still taking up new actions in Terminating state. Do you have any >> suggestions on what could be going wrong/missing in our setup? >> >> — >> Reply to this email directly, view it on GitHub >> <#4716 (comment)>, >> or unsubscribe >> https://github.com/notifications/unsubscribe-auth/ACZ5TIIPIE6JQ5FFIQIMEW3Z7D7HRAVCNFSM6AAAAABRHCTRA2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDINJXG44TQMZTG4 >> . >> You are receiving this because you were mentioned.Message ID: >> @.> >> >

Yes, when multiple replicas of actionrunners are present in the registry , its waiting for the grace period to let the actions complete before setting them to aborted. Although I felt it should wait for actions to complete regardless of other actionrunners in the registry. Not sure of the rationale for checking the service registry for deciding whether to wait for currently running actions.

It looks like all the workflow engines need to be sent the systemexit signal at the same time.  Here after a timeout period waiting for workflows to finish it checks for other WFE one time before pausing workflows.  I ran  a test locally and sure enough if there are 2 workers and 1 worker is terminated then it will not pause any workflows.  The workflows in process will be stuck running.  I am not sure the rational of waiting until only one workflow engine is running to pause all the remaining workflows.  I guess, st2 devs expected them all to be shutdown at the same time.
So if you are on a K8 setup you need to scale the replica set to 0 so it tries to shutdown all the workers at once.  The last workflow engine will then pause the remaining running workflows before it dies.

Yes, in my setup I made sure to have one replica of workflowengine to test graceful shutdown. Workflowengine is trying to pause ongoing executions, but its throwing exception that linked in the previous post while pausing.

That would be an inconsistency between  liveaction = LiveAction.get_by_id(liveaction_id) and ex_db_access.ActionExecution.query(**query_filters)

AFIAK we don't delete records out of the 'liveAction' table.  Not sure what could be wrong here other than it never got created or it was deleted by some other process

I'll do little more digging on whats happening in our setup. Thanks for your hints @guzzijones


Error occurred when import dolfin module

Hi,
My OS is ubuntu 14.04. I am using Anaconda Python distribution.
I run the line "conda i nstall fenics mkl --channel juanlu001" to install fenics
But something went wrong as I import dolfin. Error information as follow:
'' libboost_filesystem.so.1.55.0: cannot open shared object file: No such file or directory ''
I found that there is '' libboost_filesystem.so.1.57.0"  file in my
computer. How can I deal with that?
Thanks
Li

possibly duplicate here with #8

Thanks @zhuliwuhan for the bug report and @GaZ3ll3 for the detailed walkthrough. I am trying to reproduce your steps but I am facing an unrelated error.
On the other hand, unless there is no other way I will try to use all the default packages in Ubuntu 14.04 for building.

Thanks @GaZ3ll3  and @Juanlu001 . I  installed libboost 1.55 as @GaZ3ll3  mentioned,  however another problem related to "libblas.so" come up. So I am still stuck in there.
I went back to installation webpage on Fenicsd Project. There is another way to install by using Ubuntu PPA. So I added the FEniCS PPA to my system to get  the latest FEniCS release.  See here http://fenicsproject.org/download/ubuntu_details.html
It works quite good and simply. I think it's an alternative way for me.
Thanks you all the same.

Exactly, I can't find "libblas.so" either. That is what I am trying to fix now.

I uploaded a new dolfin package which should fix the libblas linking problem and the boost version specification. Could you please confirm if it works? Do conda install dolfin --channel juanlu001.

I kinda know why mine works, I have already MKL installed and configured the path, and I looked at the installation log, it seems BLAS dir is already detected somehow.

I have tried the new packages in a couple of different distros and everything seems to work. I am closing this issue, please don't hesitate to reopen if it persists or open a new one.

Thank you @Juanlu001 and @GaZ3ll3. Everything works fine now after updating the dolfin package.

Hi @Juanlu001, I am trying to install FEniCS via your channel. Upon running the demo ~/.anaconda3/envs/fenics27/share/dolfin/demo/documented/poisson/python/demo_poisson.py I get an error related to boost:
ImportError:/home/user/.anaconda3/envs/fenics27/lib/python2.7/site-packages/ufc/../../../libstdc++.so.6: version GLIBCXX_3.4.20' not found (required by /usr/lib/libboost_filesystem.so.1.58.0);`
Apparently FEniCS/Dolfin is trying to use the system version of boost instead of the one from your channel.

Hello @cfbaptista, that is strange. Can you try the following and post the outputs somewhere? (Maybe gist.github.com)
$ source activate fenics27
$ conda info -a
$ conda list
$ which python
$ python ~/.anaconda3/envs/fenics27/share/dolfin/demo/documented/poisson/python/demo_poisson.py

Hello @cfbaptista, that is strange. Can you try the following and post the outputs somewhere? (Maybe gist.github.com)
$ source activate fenics27
$ conda info -a
$ conda list
$ which python
$ python ~/.anaconda3/envs/fenics27/share/dolfin/demo/documented/poisson/python/demo_poisson.py

Hi @Juanlu001, I have posted the output you requested at this gist. Thanks for your support!

I opened a new issue to discuss that, please head there. Thanks!

I don't think this should be closed. I still encounter exactly the same error as the OP (be it on CentOS 6.6). Trying the demo_poisson.py also gives
ImportError: libboost_filesystem.so.1.55.0: cannot open shared object file: No such file or directory
Upon installation it says indeed:
The following NEW packages will be INSTALLED:
boost:            1.57.0-4             defaults
ect.
Whereas this ought to be 1.55.
Can you revert to a latest working version of some kind? Thanks for maintaining.

FWIW, I managed to get version 1.4 working on an older system using the following:
conda install dolfin=1.4.0 boost=1.55 eigen3 ffc petsc petsc4py instant ufl fiat vtk=5.10 fenics=1.4.0 mkl scientificpython --channel https://conda.binstar.org/juanlu001/channel/fenics:1.4.0:centos

Hello,
I am experiencing a similar issue as OP.
I followed the standard recipe using conda.
Ubuntu 15.10
ImportError: libgfortran.so.1: cannot open shared object file: No such file or directory

I posted the results of
$ conda info -a
$ conda list
$ which python
$ python ~/.anaconda3/envs/fenics27/share/dolfin/demo/documented/poisson/python/demo_poisson.py

https://gist.github.com/GitH00t/9062fdb3122fa20ceab0
When I upgrade numpy I can get rid of the problem, but the I get the same error as OP
ImportError: libboost_system.so.1.57.0: cannot open shared object file: No such file or directory

Since you pointed out in the faq that this might be related to linking I executed the command you specified and posted it to this gist
https://gist.github.com/GitH00t/c7f9c9bf7f3aab97e28a
Unfortunately I am pretty newb at fenics and linux, so I don't really know what this is telling me.


PE-35371 Update prune command

Update prune command to take serialnumber(s) or certname(s) and remove corresponding entries from CRL. When serial numbers are given, the CRL will be searched for matching entries and will be deleted. If certnames are given, inventory.txt file will be searched for a matching certname, if found the corresponding serial number will be read and deleted from CRL. If the certname is not in inventory.txt, CA dir will be searched for a matching certificate and correspoding serial number will be deleted from CRL.

Ran these tests:
Using serial numbers:
[root@odd-connivance ~]# puppetserver ca prune --serial E9,EB,ED,EF,F1,F3,F5,F7,FB,FD,FF,0101,0103,0105,0107,0109,010B,010D,010F,0111,0113,0115,0117,0119,011B,011D,011D,011F,0121,0123,0125,0127,0129,012B,012D,012F,0131,0133,0135,0137,0139,013B,013D,013F,0141,0142,0143,0144,E8,EA,EC,EE,F0,F2,F6,F4,F8,FA,FC,FE,0145,0146,0147,0148,0149,014A,014B,0100,0102,0104,0106,0108,010A,010C,010E,0110,0112,0114,0116,0118,011A,011C,011E,0120,0122,0124,0126,0128,012A,012C,012E,0130,0132,0134,0136,0138,013A,013,C,013E

Using certnames from inventory.txt
[root@odd-connivance ~]# time ./delete-crl.sh
foo21,foo22,foo23,foo24,foo25,foo26,foo27,foo28,foo29,foo30,foo31,foo32,foo33,foo34,foo35,foo36,foo37,foo38,foo39,foo40,foo41,foo42,foo43,foo44,foo45,foo46,foo47,foo48,foo49,foo50,foo51,foo52,foo53,foo54,foo55,foo56,foo57,foo58,foo59,foo60,foo61,foo62,foo63,foo64,foo65,foo66,foo67,foo68,foo69,foo70,foo71,foo72,foo73,foo74,foo75,foo76,foo77,foo78,foo79,foo80,foo81,foo82,foo83,foo84,foo85,foo86,foo87,foo88,foo89,foo90,foo91,foo92,foo93,foo94,foo95,foo96,foo97,foo98,foo99,foo100,foo101,foo102,foo103,foo104,foo105,foo106,foo107,foo108,foo109,foo110,foo111,foo112,foo113,foo114,foo115,foo116,foo117,foo118,foo119,foo120,
Total number of certificates found in Puppet's CRL is: 100.
Removed 100 certs from Puppet's CRL.

real	0m0.503s
user	0m0.455s
sys	0m0.047s

Using certnames not in inventory.txt
[root@odd-connivance ~]# time ./delete-crl.sh
foo21,foo22,foo23,foo24,foo25,foo26,foo27,foo28,foo29,foo30,foo31,foo32,foo33,foo34,foo35,foo36,foo37,foo38,foo39,foo40,foo41,foo42,foo43,foo44,foo45,foo46,foo47,foo48,foo49,foo50,foo51,foo52,foo53,foo54,foo55,foo56,foo57,foo58,foo59,foo60,foo61,foo62,foo63,foo64,foo65,foo66,foo67,foo68,foo69,foo70,foo71,foo72,foo73,foo74,foo75,foo76,foo77,foo78,foo79,foo80,foo81,foo82,foo83,foo84,foo85,foo86,foo87,foo88,foo89,foo90,foo91,foo92,foo93,foo94,foo95,foo96,foo97,foo98,foo99,foo100,foo101,foo102,foo103,foo104,foo105,foo106,foo107,foo108,foo109,foo110,foo111,foo112,foo113,foo114,foo115,foo116,foo117,foo118,foo119,foo120,
Total number of certificates found in Puppet's CRL is: 100.
Removed 100 certs from Puppet's CRL.

real	0m0.503s
user	0m0.455s
sys	0m0.047s

@jonathannewman @nmburgan Thanks for the review. i am working on it.

@jonathannewman @nmburgan Did you get a chance to look at the changes?
I would like to get this in so that I can use these changes for my next PR

Looking now, sorry!

LGTM!


Edit button does not visually prompt user to click on token card

When you click the edit button, nothing changes with the token card to prompt the user to click on the token card.
The scan bar becomes greyed out and the ‘edit’ changes to ‘done’, but a user will have to experiment to realize that they can click on token card to bring up menu, because nothing changes visually with the token card when you hit edit.
You just need to know from experience that you can now click on the token card.

Closing as outdated with edit functionality removed.


Error: Cannot start service fms: Ports are not available

Fresh install is failing due to "address already in use" (please refer to error message below).
But there are no other services running at this time.
Does this mean inside the docker container, or on the host system?
How to detect and solve the conflict?

fmsinstall
Done. Now starting your server ....
Creating fms-FMS19 ... error
ERROR: for fms-FMS19  Cannot start service fms: Ports are not available: listen tcp <IP_ADDRESS>:5003: bind: address already in use
ERROR: for fms  Cannot start service fms: Ports are not available: listen tcp <IP_ADDRESS>:5003: bind: address already in use
ERROR: Encountered errors while bringing up the project.

That is an indicator that port 5003 is already taken by another application, most likely the FileMaker Pro client. You can check with the output of sudo lsof -i -P | grep 5003 .

That is an indicator that port 5003 is already taken by another application, most likely the FileMaker Pro client. You can check with the output of lsof -i -P | grep 5003 .

OK, I see.... yes it's the FileMaker Client.
So if I want to start the docker container with FMS I have to close my local FileMaker client first!
Not that intuitive, but makes sense from the perspective of the network ports.
Thanks for the hint! Made my day :-)

Good to hear!
That behaviour of FileMaker Pro, to take that port exclusively, even with sharing turned off, is relatively new from what I heard. So yes, no other way around here I'm afraid.


Adding flexible workaround for dnspython v1.x and v2.x

v1.x Resolver().query and v1.x uses Resolver().resolve in net.net.py
This avoids deprecation warnings when using V2.x
Updated setup.py requirements to allow v2.x of dnspython to install with ipwhois.
Current pip versions warn or block conflicting dependency versions.

Coverage decreased (-0.07%) to 99.576% when pulling<PHONE_NUMBER>5f915038f42071029dd4a8438943c0 on ianhelle:ianhelle/dnspython2.x-compat-2020-02-09 into 11f763273e70526883f440ae3c758d56296e110a on secynic:dev.

I think I will be dropping python 2 support. I updated requirements to latest for dnspython in dev branch. Will think about this some more before closing.


Calendar appointment in HTML

Hi there
I saw that you are using AppointmentDetailsKind.Html in the EventDetails.xaml.cs class. I tried to achieve the same but the HTML is not rendered and the calendar just shows all the HTML tags. Does it work for you? Is there something else I need to declare?
Best regards

@Biocodr Yes, it does work for the code in this repo. Can you share a repro of what you are trying? Also, what is the e-mail client that you have associated by default?


Association names plural vs singular

The docs are a bit confusing to me
https://github.com/vierge-noire/cakephp-fixture-factories/blob/main/docs/associations.md
They link to https://book.cakephp.org/4/en/orm/associations.html (v4 btw, not v5) - in main.
As in Cake, I would assume all relations to be plural
$this->belongsTo('Authors');

But in this plugin, some things are plural, others are singular.
Shouldnt
ArticleFactory::make()->with('Authors.Address.City.Country', ['name' => 'Kenya'])

be
ArticleFactory::make()->with('Authors.Addresses.Cities.Countries', ['name' => 'Kenya'])

?
At least the contain() and other relation chaining in Cake would work this way, afaik?

The first parameter in ->with() should be the name of the association as defined in the models.
Weither the association is plural or not depends on the association name.
If Cities has one Countries, then CityFactory::make()->with('Countries');

Under HasOne Associations  there are examples where asociations are singular, like HomeAddress.
I think it is ok to leave the examples as such, mixed plural and singular.

Yeah, the Cake docs are bit confusing here.
Usually the relation is always plural still, so I thought this could be a bit confusing.
$this->belongsTo('Countries', [
    'propertyName' => 'country'
]);

I opened a PR for discussion as this shouldnt be the case in default docs and conventions:
https://github.com/cakephp/docs/pull/7776

The 5.x docs have been fixed up to be consistent: https://book.cakephp.org/5/en/orm/associations.html#hasone-associations


Introduce cache invalidation policies, closes #39

Codecov Report

Merging #42 into master will increase coverage by 1.03%.
The diff coverage is 100%.

@@            Coverage Diff             @@
##           master      #42      +/-   ##
==========================================
+ Coverage   93.84%   94.88%   +1.03%
==========================================
  Files          11       11
  Lines         471      508      +37
==========================================
+ Hits          442      482      +40
+ Misses         29       26       -3

Impacted Files
Coverage Δ

include/spike/caching.hpp
100% <100%> (+2.77%)
:arrow_up:

tests/spike/test_caching.cpp
100% <100%> (ø)
:arrow_up:

include/spike/simple_service.hpp
100% <0%> (+4.16%)
:arrow_up:

Continue to review full report at Codecov.

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


Change branch name from "master" to "main"

The branch name "master" is discouraged because of historical context (link to slavery).
Instructions how to do this, for example: https://www.git-tower.com/learn/git/faq/git-rename-master-to-main

The README will need adapting accordingly.

@MarionBWeinzierl I have renamed 'master' and set some basic protection on the new 'main' branch.


[Suggestion] Can you update the mod to 1.19.2 forge?

There is already dev compiling version of flywheel and create for 1.19.2 forge at least.
As well as oculus.
Link Flywheel: https://ci.tterrag.com/job/Flywheel/job/Forge/
Link Create: https://ci.tterrag.com/job/Create/job/1.19-dev/
Really want to try it in my modpack, since I am getting massive lags with trains.

Almost done. But there is a question.
When I added create and oculus (only these two) and then placed a block that rendered by flywheel in game, the game crashed.

Strange. You can reach with that to the dev (Discord: NanoLive#4206). Just say that you are the dev of that mod. He might help you, I guess.

There is new flywheel build out, you might give it a try.

Create and Flywheel packed jar in jar is officially out.