support call back in other python files

https://github.com/pikasTech/pikascript/commit/e31135ba90f7e2a0573d2e3c9e8327fd646034a7


Multiple HTML files

Hi, I have a use case where I am generating two HTML files, one optimized for HTTP/1 clients and another for HTTP/2. I'd like to be able to tell this task to update both of the files with the one set of icons it generates. Do you think we can add the ability to specify an array of HTML files to update, instead of just one path? (Maybe by using the same mechanism grunt uses for selecting multiple files like with the standard src: [] or files: [] options?)

Actually, I think I should be able to add the favicons to my template before generating the two HTML files.


H.265 (HEVC) + widewine some devices cannot play

Version
Media3 1.1.1 / ExoPlayer 2.19.1
More version details
Hi,
I got problem with some of h.265 streams with widevine. One of tested device is returning decoding error. At the moment I cannot share the stream, however I'm working on it.
We also had tested on newest media3 1.4.1 but results were the same. I attach logs, maybe there is something you will see.
log_galaxy_a14.log
My apologies for no stream or reproduction steps. I'm working on it.
Devices that reproduce the issue
Samsung Galaxy A14 on Android 14
Devices that do not reproduce the issue
Samsung Galaxy S20 FE on android 13
Reproducible in the demo app?
Not tested
Reproduction steps
Currently only logs available. Working on repro app
Expected result
Stream is played
Actual result
Stream is not played
Media
H.265 stream with widevine L1
Bug Report

[ ] You will email the zip file produced by adb bugreport to<EMAIL_ADDRESS>after filing this issue.

@rrfrias: Do the Widevine logs in the attached output look expected? There are a few warnings and errors (e.g. Cdm Identifier not found or Failed to close cdm), but not sure if that can cause the secure codec to fail.

I found that this issue happen all device with mediatek chipset

Following up with Mediatek (Internal ref: 371091096)

Gentle ping


[android] Fetch with method HEAD always fails

Description:
When trying to request headers with fetch it always fails with TypeError: Network request failed.
Environment:
System:
    OS: macOS 10.15.3
    CPU: (8) x64 Intel(R) Core(TM) i7-7700HQ CPU @ 2.80GHz
    Memory: 82.66 MB / 16.00 GB
    Shell: 5.7.1 - /bin/zsh
  Binaries:
    Node: 13.7.0 - /usr/local/bin/node
    npm: 6.13.6 - /usr/local/bin/npm
    Watchman: 4.9.0 - /usr/local/bin/watchman
  SDKs:
    iOS SDK:
      Platforms: iOS 13.2, DriverKit 19.0, macOS 10.15, tvOS 13.2, watchOS 6.1
    Android SDK:
      Android NDK: 17.2.4988734
  IDEs:
    Android Studio: 3.5 AI-191.8<IP_ADDRESS>00203
    Xcode: 11.3.1/11C504 - /usr/bin/xcodebuild
  npmPackages:
    react: 16.12.0 => 16.12.0
    react-native: 0.61.5 => 0.61.5
  npmGlobalPackages:
    react-native-cli: 2.0.1

Steps To Reproduce
Run this:
fetch('google.com', { method: 'HEAD' }).catch(error => console.log(error));

Expected Results
To actually get the headers.

Nevermind, now it's working for whatever reason.


Execute a function all the time

Hi, i have a question that i can't find the answer.
How can i do to execute a function all the time ?
I have a function who modify the menu and i would it to be executed every scrolls, clicks on button , etc ...
In fact i would change the menu to appear/disappear submenu in function of the position on the page like the following site : http://getbootstrap.com/components/#glyphicons.
If you scrolls the menu changes automaticaly.
Thanks :)
Ben

Not sure what you mean by "all the time" but you can surely execute a function on each $digest look by doing $scope.$watch(function() { ... }). Based on your description, though, this might not be what you are looking for since your use case more suggest executing sth in response to DOM events. In this case you can write a custom directive, register DOM even listener and call a function in a listener.
Anyway, this is a general support question and as such should be asked elsewhere: https://github.com/angular/angular.js/blob/master/CONTRIBUTING.md#question

Ok thanks


launch_ros: 0.14.0-1 in 'rolling/distribution.yaml' [bloom]

Increasing version of package(s) in repository launch_ros to 0.14.0-1:

upstream repository: https://github.com/ros2/launch_ros.git
release repository: https://github.com/ros2-gbp/launch_ros-release.git
distro file: rolling/distribution.yaml
bloom version: 0.10.3
previous version for package: 0.13.0-1

launch_ros
* Add options extensions to ros2launch and extensibility to the node action (#216 <https://github.com/ros2/launch_ros/issues/216>)
* Contributors: Geoffrey Biggs

launch_testing_ros

No changes

ros2launch
* Add options extensions to ros2launch and extensibility to the node action (#216 <https://github.com/ros2/launch_ros/issues/216>)
* Contributors: Geoffrey Biggs

Please hold for coordinated merge.


ANNA KaRNNA tensorboard notebook does not train successfully

While attempting to train the model in the "ANNA KaRNNa.ipynb" notebook, the following error occurs:
Epoch 1/1  Iteration 1/178 Training loss: 4.4205 4.7214 sec/batch

---------------------------------------------------------------------------
ValueError                                Traceback (most recent call last)
<ipython-input-29-049284c61b0f> in <module>()
     33                     model.initial_state: new_state}
     34             batch_loss, new_state, _ = sess.run([model.cost, model.final_state, model.optimizer],
---> 35                                                  feed_dict=feed)
     36             loss += batch_loss
     37             end = time.time()

/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in run(self, fetches, feed_dict, options, run_metadata)
    765     try:
    766       result = self._run(None, fetches, feed_dict, options_ptr,
--> 767                          run_metadata_ptr)
    768       if run_metadata:
    769         proto_data = tf_session.TF_GetBuffer(run_metadata_ptr)

/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/client/session.py in _run(self, handle, fetches, feed_dict, options, run_metadata)
    912     # Validate and process feed_dict.
    913     if feed_dict:
--> 914       feed_dict = nest.flatten_dict_items(feed_dict)
    915       for feed, feed_val in feed_dict.items():
    916         for subfeed, subfeed_val in _feed_fn(feed, feed_val):

/home/carnd/anaconda3/envs/dl/lib/python3.5/site-packages/tensorflow/python/util/nest.py in flatten_dict_items(dictionary)
    185             "Could not flatten dictionary. Key had %d elements, but value had "
    186             "%d elements. Key: %s, value: %s."
--> 187             % (len(flat_i), len(flat_v), flat_i, flat_v))
    188       for new_i, new_v in zip(flat_i, flat_v):
    189         if new_i in flat_dictionary:

ValueError: Could not flatten dictionary. Key had 4 elements, but value had 1 elements. Key: [<tf.Tensor 'zeros:0' shape=(100, 512) dtype=float32>, <tf.Tensor 'zeros_1:0' shape=(100, 512) dtype=float32>, <tf.Tensor 'zeros_2:0' shape=(100, 512) dtype=float32>, <tf.Tensor 'zeros_3:0' shape=(100, 512) dtype=float32>], value: [array([[[[-0.01657983,  0.01909606, -0.03410228, ...,  0.01559156,
          -0.02688509,  0.0422806 ],
         [-0.05654193,  0.06184309,  0.02283844, ...,  0.01506532,
          -0.02460467,  0.05574171],
         [-0.00022013, -0.00454104, -0.01119577, ..., -0.0139764 ,
          -0.03528586, -0.02026432],
         ------------------------values removed for brevity------------------------------------
         ...,
         [-0.02444562,  0.00272722,  0.00821447, ...,  0.0003518 ,
          -0.00852541, -0.00531745],
         [-0.00063715, -0.00432429,  0.00045606, ..., -0.00780605,
          -0.01090723,  0.00569954],
         [ 0.00280242, -0.0048506 ,  0.00048869, ...,  0.00024749,
          -0.00114548,  0.00407875]]]], dtype=float32)].

I have attempted to run this on my local machine as well as the AWS image provided in the Cloud Computing lesson. The same error occurs under both environments.

After being stuck for a while I found the following:
LSTMCell, BasicLSTMCell, and MultiRNNCell constructors now default to state_is_tuple=True. For a quick fix while transitioning to the new default, simply pass the argument state_is_tuple=False
https://github.com/Russell91/tensorflow-1/blob/master/RELEASE.md
Thus, these changes solved the problem for me:
# Build the RNN layers
lstm = tf.contrib.rnn.BasicLSTMCell(lstm_size, state_is_tuple=False)
drop = tf.contrib.rnn.DropoutWrapper(lstm, output_keep_prob=keep_prob)
cell = tf.contrib.rnn.MultiRNNCell([drop] * num_layers, state_is_tuple=False)

Hey there! It's because on a tf.identity thing in there with final state. For some reason, it converts from a 1D tensor to a 4D tensor. This was fixed in https://github.com/udacity/deep-learning/commit/890427bb7111ea99350c9ff96b270b4623842389


amqtt server not relaying traffic

Platform: Debian GNU/Linux 10 (Buster) on AMD64, also reproduced on Gentoo/AMD64
amqtt installed either from pypi or via git using pip.
A simple test without a configuration file… if I open up three terminal windows:

I run amqtt (no arguments)… the server starts successfully, binds to port 1883, listens for traffic.  So far so good.
Second terminal I run amqtt_sub --url mqtt://localhost -t \# (note the backslash: needed on most shells to escape the #), it starts, connects and waits for traffic.  amqtt on terminal (1) reports a client has connected.
Third terminal, I run amqtt_pub --url mqtt://localhost -t /testing -m 'test message'… it exits without error.

After running that test, no traffic is observed on terminal (2).  If I kill amqtt and amqtt_sub, start up another MQTT server such as Mosquitto in place of amqtt, then repeat steps 2 & 3, I see the traffic relayed.
I have also tried setting up a configuration file with a password list and using authenticated users, it still fails to pass through traffic.
The idea of an embeddable and extensible MQTT server is fantastic, so I'm really hoping I can get this working but I'm starting simple first before I try hacking things.

I can confirm the findings of @sjlongland .
Going into the code.
Volker

@sjlongland  thanks for reporting this issue!
The issue is the TopicAccessControlListPlugin - It should be possible to use amqtt without having any ACLs defined but currently it is not. As there a merge request refactoring that plugin (see #42) - we will deal with that first and ensure to add a test reproducing this issue.
I will see if I can help there this week and take on this one afterwards.

So, if I understand the bug correctly, if I configure an access control list (which ultimately will be my aim), it will work… it just doesn't work without an ACL due to a logic error?

So, others that might want to put the server through its paces… this gets things actually working:
# config.yml
{
    "listeners": {
        "default": {
            "type": "tcp",
            "bind": "<IP_ADDRESS>:1883",
        },
    },
    "sys_interval": 10,
    "auth": {
        "allow-anonymous": True,
        "plugins": ["auth_anonymous"],
    },
    "topic-check": {
        "enabled": True,
        "plugins": ["topic_acl"],
        "acl": {
            # username: [list of allowed topics]
            "anonymous": [
                "#"
            ],
        },
    },
}

amqtt -c config.yml -d

I am still a bit hesitant to change defaults to far away from hbmqtt.
To fix this issue we should do two things:

rework the plugin system
improve documenttion how to use amqtt as a stand alone broker


Add FAQ about TLS and authentication.

@brian-brazil I borrowed some of the wording from your email :)


tests: (re)build test elfs before snapshot tests

not an issue, but a feature request:
currently, the elf files we're using for snapshot tests are pre-compiled. That makes them cumbersome to reproduce, understand or create new ones.
a possible hurdle while implementing this is that the paths printed in backtraces would then vary depending on who's executing the tests– this would have to be either parsed out during test result collection or compiled with --remap-path-prefix

for the record, I've pushed the code I've used to generate the ELFs we're using so far into this repo


Upgrade to proton 0.9.1 and fix the build

#218 broke the build, needed a couple of fixes to the distribution module to account for the reduced offset.
#217 upgraded the main proton-j dependency to 0.9, but left the other at 0.8. There were some issues in 0.9 that we did a 0.9.1 to get fixes out for, so this upgrades both to that.

Can one of the admins verify this patch by saying "ok to test"?

I just rebased since @clebertsuconic fixed the build while I was running the tests and typing my PR comments ;)


I have some questions with the macro QUEUE in the queue.h

In the src :
#define QUEUE_NEXT(q)    (* ( QUEUE  **  )  &(((q))[0]))
Why cast the pointer &(((q))[0]) to the ( QUEUE** ) ?
could i just  #define QUEUE_NEXT(q)   (*(q))[0]) .

See commit 05204648 for the reasons why.  Can you post questions to the mailing list next time?  Thanks.

oh,I am sorry, If i have questions next time,I will use mailing list.I am a newer to use github,sorry to disturb you!!! thanks to solve the problems!!!

No problem. :-)

hi,sorry to distrub you again,
Could you give me the address of mailing list of the libuv? I cannot find it in this project...thanks a lot.

Of course.  It's http://groups.google.com/group/libuv or<EMAIL_ADDRESS>

Thanks very much !!!


Add PR template

We need a PR template to help us decide whether or not PRs can be merged during a 'schema freeze' and helps contributors assign appropriate reviewers.

Would appreciate feedback & suggestions on what should go in / be asked for / check on for the PR template.
@turbomam @naglepuff @eecavanna @shreddd @kheal @corilo @SamuelPurvine @mbthornton-lbl @pkalita-lbl @aclum @sujaypatil96 @brynnz22

One thing to include is specific guidance that walks people through whether or not a PR will need an accompanying migration - and if so, @eecavanna or @brynnz22 should be named to be included in the conversation.  From my experience, here are some changes that would likely need migration support 1) slot or Class name changes 2) slot multiplicity changes (from a single value to a list or vice versa) 3) slot movement from one Class to another 4) Enum value changes.
A separate list of "non-breaking" changes people could choose from is also helpful.  For example changes to descriptions of slots, classes, or enums; removal of unused, commented, or invalid code; updated mappings of terms, classes, or slots to ontologies; adding an additional Enum to accommodate new or future metadata.

Here's the decision tree I use to determine whether a schema change requires a migrator.

If I were to make this change to the schema, is there any chance that data that was valid with respect to the original schema be invalid with respect to the new schema?

If yes: A migrator is required (to keep that data valid)
If no: A migrator is not required (because all data will remain valid)

Eventually, I want every schema change to be accompanied by a migrator, even if that migrator is a "no op" migrator (i.e. it performs no operations). The presence of that "no op"  migrator would serve as documentation that, indeed, no migration was necessary between these schema versions. I don't expect people to be doing this yet, though, as I don't think I've emphasized it sufficiently in communication. So, I'm OK leaving it out of the PR template guidance.

perhaps a section for justification/need for cases where there are downstream consequences

Here's what I'm envisioning for the portion of the template related to migrators.
Schema changes and migrators

Does this PR introduce any changes to the schema?

[ ] Yes
[ ] No

If you answered "Yes" to (1), do those schema changes have the potential to make valid data invalid?

[ ] Yes
[ ] No

If you answered "Yes" to (2), does this PR include a migrator that makes all data remain valid?

[ ] Yes
[ ] No


[ZK filter] Add 'addWatch' opcode support

Commit Message: [ZK filter] Add 'addWatch' opcode support
Additional Description: Add the 'addWatch' opcode support to Envoy ZK filter, based on the ZK opcode list.
Risk Level: Low
Testing: Unit tests
Docs Changes: Update the addWatch-opcode-related metrics in the ZK proxy filter doc.
Release Notes: N/A
Platform Specific Features: N/A
[API Considerations:] Update the ZK proxy proto opcode enum list by adding the 'addWatch' opcode.

Review SLA ping @lizan

Thanks!
/lgtm api
This will need a release note.
@JuniorHsu can you PTAL as codeowner?

Thank you! Just added the release note in the PR description.

implementation lgtm. I'm fine with release note in description but unsure if other people prefer current.yaml

Just updated current.yaml, thanks!


FR: Trigger Popup when hovering link / link under cursor

Nice plugin idea!
I noticed that the popup only shows when you hover the number next to the link. Since those popups are quite small, it's a bit annoying to target them for the popup. I suggest implementing one or both of the following alternative methods for showing the popup:

The popup appears when you hover the link
add a command that shows the popup for the link under the cursor

While solution 2 would only work in Source Mode / LP, it does have the advantage of being a solely -keyboard-driven method for using the plugin, for those of us who detest using the mouse 😉

do you think hovering over link and getting popop could be annoying though as well, especially if text has multiple links?
Also, the little numbers are easily modifiable with CSS. I went to some length to make sure it would be fairly customizable by overwriting CSS selectors from style.css of plugin.

do you think hovering over link and getting popop could be annoying though as well, especially if text has multiple links?

well you could simply add a small delay before the popup appears, so there aren't accidental triggerings. Can be done with a one liner in css with transition-delay. Alternatively, the aforementioned command to trigger the popup for the link under the cursor would also completely prevent accidental triggering.

Also, the little numbers are easily modifiable with CSS. I went to some length to make sure it would be fairly customizable by overwriting CSS selectors from style.css of plugin.

That does not help much imv, since making it easier to hover the numbers essentially means making sufficiently big numbers, which in turn would make the note less readable.


refactor(video-conferencing-service): fix lint issues and run prettier

SFO-81
Description
refactor(video-conferencing-service): fix lint issues and run prettier
Fixes # (issue)
Type of change
Please delete options that are not relevant.

[ ] Bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Intermediate change (work in progress)

How Has This Been Tested?
Please describe the tests that you ran to verify your changes. Provide instructions so we can reproduce. Please also list any relevant details for your test configuration

[ ] Test A
[ ] Test B

Checklist:

[x] Performed a self-review of my own code
[x] npm test passes on your machine
[ ] New tests added or existing tests modified to cover all changes
[ ] Code conforms with the style guide
[ ] API Documentation in code was updated
[ ] Any dependent changes have been merged and published in downstream modules

fix sonar

fix sonar

done


Codepen embeds

What does this PR do?
Closes #8
Adds Codepen as part of the supported services for automatic embed.
It provides an embed using the JS library - which is the recommended way, and provides the flexibility with the following options:

Theme (auto, dark, light)
Default tab (HTML, CSS, JS)
Show result
Click to load
Editable

The embed was tested for theme changes, same functionality provided by Twitter.
Please note that the settings section was adjusted in order to provide a cleaner interface for the user to configure each of the embeds.
Where should the reviewer start?
How should this be manually tested?

Pull the branch and add the repository as a plugin.
Then paste a Codepen, like this one: https://codepen.io/shshaw/pen/eYGPXVr
Finally, in the preview tab, you should be able to see the Codepen embedded

Please note that currently we don't update the embeds when a setting changes. Which I think would be a nice to have.
Any background context you want to provide?
This is my first time using Typescript like this, any feedback is of course welcome. I tried to follow the pattern from the other implementations.
Screenshots (if appropriate)

@samwarnick since this was fun to do, can I do #21, #11, #7?

@kinduff I've already got ready #21 to go. You're welcome to take a look at #11 and #7. I've done a little work on those (see the apple-music branch). The issue I'm running into is that I have not found a way sign into Spotify or Apple Music within Obsidian, so they have pretty limited functionality.


feat!: new outputs for asyncapi generate models command with new modelina major version

Description
This PR bumps Modelina to v2.
The changes introduced are:

Using preferred IDs over anonymous IDs
Accurate array types
Union type for operation message oneOf
then and else now applies to models
Now support constant values
Optional properties in Kotlin
Optional properties in Java
Types now support nullable
Interface for objects in oneOf for Java

Read more here: https://modelina.org/docs/migrations/version-1-to-2

@Souvikns @jonaslagoni I updated the title, since this is a PR that will release 1.0 and is a breaking change, we need to make it clear in the title what command is affected.
@jonaslagoni please also specify in description what exactly is changing with generation output, and provide links for more info

Added link + small description of the improvements @derberg

/rtm


Attributes on implemented interface ignored

I have a simple interface:
public interface IHasId<TId>
{
    [PrimaryKey, MaxLength(36)]
    TId Id { get; set; }
}

My models implement this interface:
public class MyModel : IHasId<string>

But GetMapping shows that the Id column does not become primary key.

This is a C# matter.
Attributes are not inherited from interfaces because classes do not inherit from interfaces, they implement them. GetCustomAttribute reflection methods only browse the inheritance tree of class.


Added Advance Java Course by Telusko

What does this PR do?
Add resource(s)
For resources
Description
Added Advanced Java Course by Telusko.
Why is this valuable (or not)?
Yes, very valuable.
How do we know it's really free?
Available freely on YouTube.
For book lists, is it a book? For course lists, is it a course? etc.
A Course.
Checklist:

[X] Read our contributing guidelines.
[X] Search for duplicates.
[X] Include author(s) and platform where appropriate.
[X] Put lists in alphabetical order, correct spacing.
[X] Add needed indications (PDF, access notes, under construction).
[X] Used an informative name for this pull request.

Follow-up

Check the status of GitHub Actions and resolve any reported warnings!

this is duplicative with the entry just below it


Reduce allocations in query execution

[ ] CHANGELOG.md updated
[x] Rebased/mergable
[x] Tests pass
[x] Sign CLA (if not already signed)

This pull request removes some heap objects by converting them from pointer references to non-pointers or by reusing buffers.
This reduced allocations for simple queries against high cardinality series by about a third.

@jwilder I made some tweaks in tsm1 to pass by value instead of reference and reused some buffers. Can you take a look over it to make sure it looks reasonable?

:+1:

LGTM, but why are the encoders for the other types (other than float) using an interface and pointers instead of just a struct like float is using? Shouldn't there be some parity between the implementations?

Fixed remaining encoders/decoders.


TLS handshake failed when using TLS1.3

Describe the bug
When we upgrade to spring-cloud-gateway 3.0.2, there is something wrong with it. We use nginx as reverse proxy, add TLS1.2 and TLS1.3 support in its confuguration file as below:
proxy_ssl_protocols TLSv1.3;
And also config backend  spring-cloud-gateway service to support TLSv1.2 and TLSv1.3.
server.ssl.enabled-protocols: TLSv1.2,TLSv1.3
And then, bad thing comes. the exception in nginx's error log like below
[error] 47923#0: *199234 SSL_do_handshake() failed (SSL: error:14094438:SSL routines:ssl3_read_bytes:tlsv1 alert internal error:SSL alert number 80) while SSL handshaking to upstream,
sometimes the errors change to this:
peer closed connection in SSL handshake while SSL handshaking to upstream
and in the backend spring-cloud-gateway service's error log, something wrong like
ERROR r.netty.transport.ServerTransport - onUncaughtException(SimpleConnection{channel=[id: 0x5dcfbc0a]})
java.lang.NullPointerException: null
    at sun.security.ssl.HKDF.extract(HKDF.java:93)
    at sun.security.ssl.HKDF.extract(HKDF.java:119)
    at sun.security.ssl.ServerHello.setUpPskKD(ServerHello.java:1193)
    at sun.security.ssl.ServerHello.access$900(ServerHello.java:61)

How to fix
When I modify the nginx's configuration file, change SSL protocols to TLSv1.2, everything is going well.
proxy_ssl_protocols TLSv1.2;
Environment
this is my versions
Nginx：1.19.2
spring-cloud-gateway: 3.0.2

not sure this has anything to do with gateway, nothing in your error report shows gateway except your version. My guess is this can be reproduced with just boot?

If you would like us to look at this issue, please provide the requested information. If the information is not provided within the next 7 days this issue will be closed.


app.flowhub.io links - HTTP/S confusion

I wasn't sure where to file this as it isn't so much an issue with noflo-ui, but the flowhub.io service itself (for which I could not find a standalone git repo).
There appear to be two different contexts for app.flowhub.io: https://app.flowhub.io and http://app.flowhub.io. In the READMEs for both the-graph and noflo-ui, the links switch between the HTTP and HTTPS versions.
Steps to Reproduce:

Navigate to https://app.flowhub.io
Login via GitHub (you will be asked to authorize flowhub as an GitHub application)
Create a new project or register a new runtime
Navigate to http://app.flowhub.io (notice, you are no longer logged in)
Login via GitHub (you will be again asked to authorize flowhub as an GitHub application)

Expected Results:

The new project/runtime created under step 3 should still be present after step 5

Actual Results:

Switching from HTTPS to HTTP does not show all of the user's projects / runtimes that were created under the HTTPS version
This can be very confusing

Possible Mitigation Steps:

http://app.flowhub.io (port 80) could redirect to https://app.flowhub.io (port 443) to prevent this problem

Yes, we'd eventually want to go HTTPS-only and redirect, especially with the upcoming insecure warnings for HTTP.
However, the reason we haven't done so yet is that you can't open unencrypted WebSocket connections from a HTTPS page, and by default both NoFlo and MsgFlo runtimes are unencrypted, meaning that you couldn't connect to them from Flowhub. As soon as they support SSL, we can switch over. See #433 for more details.

Note: noflo-nodejs version 0.10.0 and above now directs users to https if SSL certificate is provided for the runtime.


Quantel: reimplement clearAllWaitWithPort

About the Contributor

This pull request is posted on behalf of the NRK.
Type of Contribution
This is a: Bug/functionality fix
Current Behavior

There currently is a situation where:

Clip A is playing
Clip A is stopped, however it has an outTransition: DELAY set
so the stop command wont be sent until a while later
Clip B starts playing (on same port)

The Quantel device might either

Wait with playing B until the stop-command for A has executed.
Start playing B, then stop it (because of the delayed stop-command)

New Behavior

This PR has multiple fixes.
First, the funcitonality of CommandExecutor has been rewritten to support a mix of SALVO and SEQUENTIAL commands.
Secondly, the Quantel device has now added a CLEARWAITING command (of type SALVO) that is exececuted before any play, stop, clear, ect, command, to ensure that a delayed command is cancelled, whatever it was going to do will be replaced by the new command.
Testing Instructions

This needs testing with Quantel.
This needs testing with all devices.

Other Information

Status

[x] PR is ready to be reviewed.
[ ] The functionality has been tested by the author.
[ ] Relevant unit tests has been added / updated.
[ ] Relevant documentation (code comments, system documentation) has been added / updated.

Codecov Report
Attention: Patch coverage is 73.52941% with 18 lines in your changes missing coverage. Please review.

Project coverage is 57.29%. Comparing base (59f6d37) to head (ff443bb).

Files with missing lines
Patch %
Lines

...ges/timeline-state-resolver/src/service/devices.ts
15.78%
16 Missing :warning:

...te-resolver/src/integrations/quantel/connection.ts
81.81%
2 Missing :warning:

Additional details and impacted files
@@              Coverage Diff              @@
##           release52     #352      +/-   ##
=============================================
+ Coverage      56.60%   57.29%   +0.69%
=============================================
  Files            131      131
  Lines          10265    10307      +42
  Branches        2503     2573      +70
=============================================
+ Hits            5810     5905      +95
+ Misses          4453     4041     -412
- Partials           2      361     +359

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.


Added roulette with randomized pitting functionality and a message upon getting pitted + cowsay

Reviewed OK
Now we gotta do some extensive testing.


[BUG] Panic on partial command

Describe the bug
Botkube v0.12.1 crashes on incomplete commands
To Reproduce
Steps to reproduce the behavior:

Send @botkube explain as an allowed command from discord, with no arguments

Expected behavior
An error message or kubectl help message:
error: You must specify the type of resource to explain. Use "kubectl api-resources" for a complete list of supported resources.
Screenshots
E0821 13:26:24.099247       1 reflector.go:138] pkg/mod/k8s.io/client-go@v0.20.5/tools/cache/reflector.go:167: Failed to watch *unstructured.Unstructured: failed to list *unstructured.Unstructured: the server could not find the requested resource
panic: runtime error: index out of range [1] with length 1

goroutine 872 [running]:
github.com/infracloudio/botkube/pkg/execute.(*DefaultExecutor).Execute(0x4000b63f80, 0x4000b63f80, 0x17)
	/go/src/github.com/infracloudio/botkube/pkg/execute/executor.go:195 +0x898
github.com/infracloudio/botkube/pkg/bot.(*discordMessage).HandleMessage(0x40007dbf40, 0x4000320d80)
	/go/src/github.com/infracloudio/botkube/pkg/bot/discord.go:123 +0x2fc
github.com/infracloudio/botkube/pkg/bot.(*DiscordBot).Start.func1(0x4000227900, 0x400009ad78)
	/go/src/github.com/infracloudio/botkube/pkg/bot/discord.go:82 +0x64
github.com/bwmarrin/discordgo.messageCreateEventHandler.Handle(0x400003a010, 0x4000227900, 0x13ce6a0, 0x400009ad78)
	/go/pkg/mod/github.com/bwmarrin/discordgo@v0.20.3/eventhandlers.go:497 +0x4c
created by github.com/bwmarrin/discordgo.(*Session).handle
	/go/pkg/mod/github.com/bwmarrin/discordgo@v0.20.3/event.go:171 +0xf4

Additional context
Add any other context about the problem here.

Hey @disconn3ct, I think this is already fixed in the v0.12.2 release. Could you please upgrade BotKube and confirm?


Added: zeal 0.6.1

👋 I'm responsible for this one. Hope everything looks okay!

Looks great! thanks for your contribution, just needed to add the repo URL as well to allow automatic updates.


Introduce internal service for max worker count lookups

I've triggered the following builds with parameters: -DenablePredictiveTestSelection=false for you. Click here to see all build failures.

PullRequestFeedback build

@bot-gradle test this

I've triggered the following builds for you. Click here to see all build failures.

PullRequestFeedback build


EDU-1335 Add select-field plugin

Closes https://educandu.atlassian.net/browse/EDU-1335

Looks and works very nicely! 👏


⚠ Samsung has degraded performance

In f172e0d, Samsung (https://samsung.com) experienced degraded performance:

HTTP code: 200
Response time: 2753 ms

Resolved: Samsung performance has improved in aedb9a3.


Add a conditional branch in case a gif already exists

https://github.com/katsuhisa91/just-ffmpeg-actions/commit/b5415684d6b07b455d376b06502319c5cfc97c19


feat: add k1LoW/ndiag

https://github.com/aquaproj/aqua-registry/pull/6390 k1LoW/ndiag: ndiag is a high-level architecture diagramming/documentation tool
$ aqua g -i k1LoW/ndiag

How to confirm if this package works well
Reviewers aren't necessarily familiar with this package, so please describe how to confirm if this package works well.
Please confirm if this package works well yourself as much as possible.
Command and output
$ ndiag --help
ndiag is a "high-level architecture" viewming/documentation tool.

Usage:
  ndiag [command]

Available Commands:
  completion  Output shell completion code
  coverage    measure document coverage
  doc         Generate architecture document
  draw        Draw view
  fetch-icons Fecth icon set from internet
  help        Help about any command
  list        List ndiag resources

Flags:
  -h, --help      help for ndiag
  -v, --version   version for ndiag

Use "ndiag [command] --help" for more information about a command.

If files such as configuration file are needed, please share them.

Create configuration file

$ cat ndiag.yml
---
name: Simple web service
docPath: docs/arch
views:
  -
    name: overview
    layers: ["consul", "vip_group", "service"]
  -
    name: http access
    layers: ["vip_group"]
    labels: ["http"]
  -
    name: app
    layers: ["vip_group", "service"]
    labels: ["app"]
nodes:
  -
    name: lb
    match: lb-*
    components:
      - NGINX?icon=lb-l7
    clusters:
      - 'Consul:dc1'
      - 'vip_group:lb'
  -
    name: app
    match: app-*
    components:
      - NGINX?icon=proxy
      - App?icon=cube4&label=lang:ruby
    clusters:
      - 'Consul:dc1'
  -
    name: db
    match: db-*
    components:
      - PostgreSQL?icon=db
    clusters:
      - 'Consul:dc1'

networks:
  -
    labels:
      - http
    route:
      - "internet?icon=cloud"
      - "vip_group:lb:vip"
  -
    labels:
      - http
    route:
      - "vip_group:lb:vip"
      - "lb:nginx"
  -
    labels:
      - http
      - app
    route:
      - "lb:nginx"
      - "app:nginx"
      - "app:app"
  -
    labels:
      - app
    route:
      - "app:app"
      - "db:postgresql"
  -
    labels:
      - app
    route:
      - "app:app"
      - "Service:Payment:Payment API"

relations:
  -
    labels:
      - http
    components:
      - 'lb:Keepalived?icon=keepalived'
      - "vip_group:lb:vip"

customIcons:
  -
    key: keepalived
    lines:
      - b1 b5 f9 j5 j1 f1 b1
      - d2 d6
      - h2 d4
      - e4 h6

Run ndiag doc

$ ndiag doc -c ndiag.yml

$ ls docs/arch
README.md                              node-db.svg
label-app.md                           node-lb.md
label-app.svg                          node-lb.svg
label-http.md                          relation-app_app-34fd077.svg
label-http.svg                         relation-app_app-fc502aa.svg
label-lang_ruby.md                     relation-internet-4046636.svg
label-lang_ruby.svg                    relation-lb_keepalived-afc5653.svg
layer-consul.md                        relation-lb_nginx-2750eb0.svg
layer-consul.svg                       relation-vip_group_lb_vip-f0e7297.svg
layer-service.md                       view-app.md
layer-service.svg                      view-app.svg
layer-vip_group.md                     view-http_access.md
layer-vip_group.svg                    view-http_access.svg
node-app.md                            view-overview.md
node-app.svg                           view-overview.svg
node-db.md

Reference

Tutorial

https://github.com/k1LoW/ndiag/blob/main/docs/tutorial.md

Thanks!

Thank you for your detailed description!
This is very helpful to confirm this package works well.
https://github.com/aquaproj/aqua-registry/pull/6390#issue-1379430815

Released. https://github.com/aquaproj/aqua-registry/releases/tag/v3.59.0


Difference between START_MODEL and  PROTO_MODEL

Can someone please tell the difference between START_MODEL and PROTO_MODEL. I'm not able to understand this from the README file which simply states the following
START_MODEL        Name of the model to continue from. Default: ''
PROTO_MODEL        Name of the proto model. Default: 'data/foo/foo.traineddata'

I need to fine tune English (eng) model with additional data.  Which option should I be using and how should I be using?
Reading through the wiki I saw the following command
make -r training START_MODEL=Fraktur TESSDATA=/usr/local/share/tessdata/tessdata_best/script MAX_ITERATIONS=5000000 MODEL_NAME=Fraktur_5000000 RATIO_TRAIN=0.99

So to start from base english model can I create data/eng folder and place eng.traineddata and create a new folder eng_mod-ground-truth and place all the images and annotations there and then use the following command
make training START_MODEL=eng MODEL_NAME=eng_mod

Also I dont see a tessdata_best folder after installing tesseract and leptonica through make leptonica tesseract command

@rambalachandran Sorry for answering late! If you want to fine tune the English model eng you set it as start model you do not have to touch the proto model. Also, pls. do not use or create a folder data/eng. Only add data/eng-mod-ground-truth if you want to name your model eng-mod (and put your training data there). All other necessary directories are created automatically!

@wrznr  yes that worked. Thank you


Guidance Section 3.5

This section (at least the first part) seems like it would be more readable as a table or list. As is, it seems like we're trying to cover the different SAR classes.

Which document is this comment for? I am having difficulty finding a section 3.5. Please see https://github.com/CC-in-the-Cloud/General)/Offsite Review/ for this list of documents.

Found it. This is a formatting error. Will correct in 'live version'.


Potential EmbeddedFileLoader Regression

Evaluate EmbeddedFileLoader and FileLoader implementations for regressions; uncertain if working on Mac.
Fix JAR Export first.

Closing this since no issues have been noted when testing recent builds


fix typo for estimate_current_event in fluentd

What this PR does / why we need it:
Which issue(s) this PR fixes:

Fixes #
Does this PR introduced a user-facing change?

None

Additional documentation, usage docs, etc.:

@ksdpmx thanks.
Have you run make generate and make manifests?

done. thanks for reminding.


Refactor product_env_prefix

Lookup value from configuration.
Fallback by inferring prefix from gem_name.

[closes #59]

The output files don't have any changes as CI is passing. The gem name's last node is what is being used right now and it is correct for all the gems. But once we get the garbage proto added to cloud we will use the env_prefix configuration.


Replace/Hide chatters' usernames

There could be an option in chatterino to hide the usernames of chatters and replace it with a random number or maybe a number of some significance, but it shouldn't be able to give away the identity of the chatter. I watch a streamer who would want this option because they could stop worrying about which user is typing the message.

IMO, this is too specific/obscure of a function to ever be added into Chatterino.
There's nickname functionality available in the latest build, but probably not quite what you're after.

I feel like your best bet for this sort of system would be waiting until Nicknames get Regex support, (while I don't have any timeframe for this, I do believe it was discussed during the implementation.)
With proper regex support it would be extremely easy to change all users to a single phrase, or hide them with an invisible character.

Regex Nicknames have been added in #3146.
The update can be obtained by downloading newest nightly found here: https://github.com/Chatterino/chatterino2/releases/tag/nightly-build

From pajlada https://github.com/Chatterino/chatterino2/pull/3146#issuecomment-903242434

Anonymize chat by replacing .+ with User. (New use case)


Bring back py.typed

What do these changes do?
It was initially removed in #1009, because the type annotations had many
flaws, but a number of PRs have improved that situation.
Are there changes in behavior for the user?
mypy will now type-check use of aioredis again.
Related issue number
Closes #1008.
Checklist

[x] I think the code is well written
[ ] Unit tests for the changes exist
[x] Documentation reflects the changes
[x] If you provide code modification, please add yourself to CONTRIBUTORS.txt

The format is <Name> <Surname>.
Please keep alphabetical order, the file is sorted by names.

[ ] Add a new news fragment into the CHANGES/ folder

name it <issue_id>.<type> (e.g. 588.bugfix)
if you don't have an issue_id change it to the pr id after creating the PR
ensure type is one of the following:

.feature: Signifying a new feature.
.bugfix: Signifying a bug fix.
.doc: Signifying a documentation improvement.
.removal: Signifying a deprecation or removal of public API.
.misc: A ticket has been closed, but it is not of interest to users.

Make sure to use full sentences with correct case and punctuation, for example:
Fix issue with non-ascii contents in doctest text files.

No unit tests because aioredis isn't even trying to be internally mypy-clean yet. I removed the CHANGES file for #1009 (which this is reverting) rather than adding a new one,which will probably make the timeline linter a bit unhappy - not sure if that's the right approach.

Thanks again @bmerry ! @seandstewart do you think it's worth adding a mypy CI? I've personally never used mypy extensively, and some of these type annotations look pretty nasty (again personally), but just food for thought.

I’d say it’s worth it, but lower priority for now. First, we need to clean up the 144 mypy errors the repo currently generates. 😂

Thank you once again, @bmerry!


Add Linea mainnet

Hello! Following the addition of our testnet, we now want to add mainnet support for Linea 🙂
Please keep in mind that RPC endpoints will be ready in the upcoming weeks and that multicall contract is not deployed yet (you can monitor this here: https://github.com/mds1/multicall/issues/108)

👍

Side question @joshstevens19, would you be ok if ethereum-multicall was listed as part of Linea's ecosystem on linea.build website? If so, would you have a logotype to provide?

Yes that’s is fine, erm I don’t have a logo for this project haha but you can use my GitHub icon or something if you want - I don’t mind - yep it is all fine to do the above

Yes that’s is fine, erm I don’t have a logo for this project haha but you can use my GitHub icon or something if you want - I don’t mind - yep it is all fine to do the above

That's highly appreciated, thanks a lot!
cc @croll83

Marking as ready while multicall contract as apparently been deployed:

https://github.com/mds1/multicall/issues/108#issuecomment-1633272600
https://explorer.linea.build/tx/0x369305bf856786a160151d3897de2540fc700cf3d6a289b954ca93460f1038b6

2.18.0 it is deployed


Variable 'state' is mandatory but no default provided

With the changes to roles/core/cluster_start.yml (6449a133857be8540d4d3b8f4fd1d47f50ed43ac) we've introduced the possibility to set the 'state' of a node. GPFS will not be started if 'state' is 'maintenance'. However, the changes make 'state' a mandatory variable, GPFS will not be started if it's undefined and subsequent tasks will fail if GPFS is not acitve (e.g. creating filesystem). There are a few problems with that:

The fact that 'state' is a mandatory variable isn't documented
The name of the variable doesn't follow our convention - there are likely going to be name collisions
It is unclear which value should be applied to 'state' for making the roles start GPFS after installation (most common case, I guess)

I will look into this and propose some changes. Will submit a PR when ready.

#295 should address this.

#295 got merged. Closing this issue.

#295 got merged. Closing this issue.


Ambient Mode not working in release mode

AmbientMode worked fine in debug mode,
but when I build apk in release mode, it doesn't work.
The flutter should have rebuilt the screen right before it entered ambient mode, but it seemed that rebuild didn't occur.
The screen just stopped when it entered ambient mode. (I'm using Samsung Galaxy Watch 5)

I tried to get the event log, but nothing was printed. (Other prints were received correctly.)

Same issue. Works 'fine' in debug, but nothing is happening in release.
AmbientMode(builder: (context, mode, child) {
        return mode == WearMode.ambient
            ? AmbientScreen(
                manager: manager,
              )
            : ActiveScreen(
                manager: manager,
                box: box,
              );
      }),

Until that PR gets merged, just add the following to your app's proguard config
-keep class com.mjohnsullivan.flutterwear.wear.** { *; }

Thank you for your work. I appreciate it.


Simulations of the windows

Hi!
After the pulling stage of the molecule through the membrane, I'd like to know if the simulations of the windows are independent. In other words, can I simulate all the windows separately without using the initial conditions (coordinates and velocities) of a previous window? I'm confused in this point.
Sincerely,
Eduardo.

Hi Eduardo, the pulling stage is simply to generate starting structures with the molecule at different depths within the membrane. From here, structures are extracted with the molecule at 0, 2, 4 .. 32 A away from the middle of the bilayer. These are then used for each PMF window, restraining the molecule at each of these depths with a defined force constant. So yes, each window can be run separately (they are independent). This makes the PMF umbrella sampling method "embarrassingly parallel".

Hi Callum Dickson. Thank you for clarifying this question.
Em seg., 17 de out. de 2022 às 11:33, Callum Dickson <
@.***> escreveu:

Hi Eduardo, the pulling stage is simply to generate starting structures
with the molecule at different depths within the membrane. From here,
structures are extracted with the molecule at 0, 2, 4 .. 32 A away from the
middle of the bilayer. These are then used for each PMF window, restraining
the molecule at each of these depths with a defined force constant. So yes,
each window can be run separately (they are independent). This makes the
PMF umbrella sampling method "embarrassingly parallel".
—
Reply to this email directly, view it on GitHub
https://github.com/callumjd/AMBER-Umbrella_COM_restraint_tutorial/issues/6#issuecomment-1280959057,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/ASLKMCI5OKNCKDDMMQD5M4TWDVPTFANCNFSM6AAAAAARGPVOIA
.
You are receiving this because you authored the thread.Message ID:
@.***
.com>

--
Eduardo R. Almeida
Doutorando em química
Núcleo de Estudos em Química Computacional (NEQC)
Universidade Federal de Juiz de Fora (UFJF)
Juiz de Fora - MG - Brasil
e-mail: @.*** , @.***


Remove all occurrences of github.com/pkg/errors.

Title has it all. We don't really need this anymore since go1.13.

/test pull-knative-pkg-unit-tests

AFAIU knative/pkg is not on go 1.13 yet.
https://github.com/knative/test-infra/blob/master/ci/prow/config_knative.yaml

Yeah I asked in Slack why that's the case @adrcunha. Anything blocking the move there?

I remember that test flag parsing was a problem, but there were some PRs flying around to fix that. @chaodaiG and @chizhg probably know better than me.

I remember that test flag parsing was a problem, but there were some PRs flying around to fix that. @chaodaiG and @chizhg probably know better than me.

The test flag parsing problem was fixed by https://github.com/knative/pkg/pull/870.
I have replied on Slack regarding the go1.13, in short all other repos need to be on go1.13 before pkg can move

We are waiting for all downstream systems to migrate.
But I don't know what's left.

@markusthoemmes , Prow job for pkg is now running with Go 1.13 now, can you rebase this PR?

@chizhg rebased!

/approve

/assign @mattmoor
Your superpowers are needed here!

/lgtm


Update understanding-windows-update-automatic-and-optional-rules-for-…

…driver-distribution.md

@tedhudek - please review and approve.
Thanks

Fixed in #2564


fix: error getting partitionQuery from table.partition

SUMMARY

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TEST PLAN

ADDITIONAL INFORMATION

[√] Has associated issue: closes #14368
[x] Changes UI
[x] Includes DB Migration (follow approval process in SIP-59)

[x] Migration is atomic, supports rollback & is backwards-compatible
[x] Confirm DB migration upgrade and downgrade tested
[x] Runtime estimates and downtime expectations provided

[x] Introduces new feature or API
[x] Removes existing feature or API

This regression was introduced in the refactor done in #10867 - I did a quick review of it and didn't find any other similar regressions.


Phys Flows :  bookmarks - new kinds

Tech Spec, Business Spec etc

Perhaps we need to look at interplay/restrictions (i.e. bookmarks for people/data articles should probably not include: BUILD_SYSTEM)


Add dub and sub flags

This PR adds -s/--sub and -d/--dub flags. It should work with any provider using the sort_sources method - tested with animesimple.

PR doesn't break anything as far as I've tested, feel free to merge


[Feature Request] Add TPROXY UDP and TCP listening on local

Right now, wstunnel has socks5, sni, host-headers support, that is great. to make it even greater, is it possible to add tproxy support?  to me wstunnel is a much simplified version of v2ray (the tcp+tls+ws mode), which is the only thing i am interested to bypass the great fire wall.
with tproxy, we can :

setup iptables rules to do traffic dispatch based on dest ip addr via ipset
setup iptables rules to specify which dest ports to go through wstunnel
all transparent to users, so we don't need to use curl -x socks5://... just curl

tproxy docs , from kernel.org
tproxy use case, tproxy is already supported by shadowsocks-libev, v2ray and trojan-go.
tproxy to socks5 convert tools, this can be used with current version of wstunnel, but if wstunnel has native tproxy support, it would be great.
note, that the UDP is a little bit special, to make FULL CONE UDP work, there may also need some changes on wstunnel server, some kind of map, i don't know, i am not a programmer.
thank you.

Hello,
Wasn't aware of tproxy protocol, going to look into it :)
But I have little free time to spend on this project at the moment so, don't be hyped too much ^^

So I had a look regarding how to implement it.
For tcp tproxy, it should be rather easy to add, mostly glue.
For udp, it would require more much more work because at the moment wstunnel udp server is cross-platform, and sadly there is no way to retrieve udp destination address from a packet in an OS agnostic way.
I will start by adding transparent tcp tproxy, I will see after for the udp version.

Would you mind trying this release https://github.com/erebe/wstunnel/releases/tag/v8.1.0 and let me know if it is ok for you ?
(it only supports TCP transparent proxy for now)
client -L  'tproxy+tcp://[::1]:1212' ....

Would you mind retrying https://github.com/erebe/wstunnel/releases/tag/v8.1.0, I have added support for transparent proxy for UDP.
./wstunnel client -L 'tproxy+udp://<IP_ADDRESS>:1999'  -L 'tproxy+tcp://<IP_ADDRESS>:1999'

P.s: I will look into the ECC format

Perfect :fireworks: :partying_face:
I made a final release here https://github.com/erebe/wstunnel/releases/tag/v8.1.1
Regarding the debug=1, it is on purpose. Without it, it is impossible to troubleshoot the crash a user may encounter, as there will be no stack trace. Feel free to strip the binary to remove them if needed.

You should be able to load your EC private key now with release https://github.com/erebe/wstunnel/releases/tag/v8.2.1

@cattyhouse could you please provide some more information about your setup?
I'm struggling to make it work in tproxy+tcp mode for a local application. The problem with the kernel docs is that it relies on adding rules to PREROUTING in mangle, which is only evaluated for non-local traffic.
I was able to redirect local traffic into the tunnel, running on the same machine originating the traffic, by adding this rule:
iptables -t nat -A OUTPUT -p tcp -m tcp --dport 12345 -j REDIRECT

and indeed I see the traffic entering the tunnel correctly:

src IP: the WAN address of the machine running the client
dst IP: the public IP address of the remote host running in server mode

On the client I see a full TCP handshake.
The problem is that on the server I see the traffic exiting from the tunnel already with <IP_ADDRESS> as source IP.
I assume you don't, disregarding the fact that you tunnel routed, non-local, traffic. Could you please confirm? And if not so, next question would be to @erebe: do you think it would be possible, and would you accept a pull request to allow also the server mode to (optionally) fully deal with tproxied traffic, by ensuring exiting packets have the same src ip as the had when they entered?
thanks in advance


Allow automatic schema generation for 'bundle' types like tuples, anonymous objects etc.

Is your feature request related to a problem? Please describe.
It's not much as much of a problem as it would be an improvement to the overall workflow.
The feature would reduce code and simplify abstraction greatly.
Describe the solution you'd like
I would like to be able to return tuples and anonymous objects through my queries, subscriptions, and mutations.
Being able to have a mutation called BanUser(int userId, string reason, long length) and be able for it to return UserType and BanType without having to create UserBanType would greatly reduce the amount of code that has to be written
Describe alternatives you've considered
Creating ObjectTypes for every return type.

@JTinkers  Can you elaborate on this one. You usually do not need to create ObjectTypes  unless you have Implicit Binding activated.

@JTinkers Can you elaborate on this one. You usually do not need to create ObjectTypes unless you have Implicit Binding activated.

I think you mean Explicit Binding, but in fact - in both cases, I can't use tuples because it would pop an error about being unable to define the type for ValueTuple<User, string>


Ignoring system out and error from test

The current version of Flacoco executes the test cases on the same JVM and process that Flacoco does.
This produces that all output from the tests is also printed and/or logger by Flacoco.
I am not sure if we want to have this output in our log. I would be nice to have it in a separate file

For example,
bug /Bugs.jar/Logging-Log4J2/3f41ff48
continuously print " DEBUG FilterPerformanceComparison:129 - SEE IF THIS IS LOGGED 2."
Similar with 3cee912e , 4b77622b etc..

Actually this problem is related to issue #7 .
it seems there are an infinite loop:
[DEBUG] fr.spoonlabs.flacoco.core.CoverageRunner.getCoverageMatrix(CoverageRunner.java:54) - testClassesDirectory/private/tmp/PR_Bugs.jar_Logging-Log4J2_3f41ff48/./log4j-core/target/test-classes
[DEBUG] fr.spoonlabs.flacoco.core.CoverageRunner.getCoverageMatrix(CoverageRunner.java:55) - test class to run : org.apache.logging.log4j.FilterPerformanceComparison
[DEBUG] fr.spoonlabs.flacoco.core.CoverageRunner.getCoverageMatrix(CoverageRunner.java:56) - test method to run : testPerformance
20-10-23 05:01:08 DEBUG FilterPerformanceComparison:129 - SEE IF THIS IS LOGGED 2.
20-10-23 05:01:08 DEBUG FilterPerformanceComparison:129 - SEE IF THIS IS LOGGED 2.
20-10-23 05:01:08 DEBUG FilterPerformanceComparison:129 - SEE IF THIS IS LOGGED 2.
20-10-23 05:01:08 DEBUG FilterPerformanceComparison:129 - SEE IF THIS IS LOGGED 2.
20-10-23 05:01:08 DEBUG FilterPerformanceComparison:129 - SEE IF THIS IS LOGGED 2.
.....

Well, the infinite loop is caused by the dependencies: if the project that uses Flacoco also depends on Coming, it produces the inf loop. Otherwise it works......
Thus, the solution would be to run in a separate JVM which classpath only include those from the program under repair


Bugfix/update owner ref behavior 4.0

Description of the change:

Ansible operator would create resources with owner references that were incorrect.
This uses a new mechanism to dynamically watch resources that cross the namespace boundaries.

Motivation for the change:

This was a very bad assumption on our part and is causing issues.

Typo in first commit message: accross
Typo in PR title: bahavior

@jmrodri Can you take another look

/lgtm


Feature Request: Notification component

I'm rusty with python and have just started using home assistant a couple days ago, but I needed a notification component so I made this hackish custom component.
I'll be setting up the rest of my systems before I might come back to clean this up. Posting this just in case someone need something similar.
It might be easier for someone w/ more experience to clean it up.
There are some unnecessary imports, should probably confirm that the echo devices exist in hass, renamed to echo tts, have media_player.alexa dependencies set, and allow setting volume in config file too?
configurations:
notify:
  - id: alexa_tts
    name: Alexa TTS
    platform: alexa_tts
    alexa_devices:
      - echo_dot

notify/alexa_tts.py
"""
Support for the Alexa media player Alex as a notification service.
"""
import logging
import json

from homeassistant.components import media_player
from homeassistant.components.notify import (
    BaseNotificationService, ATTR_TITLE)
from homeassistant.const import (
    CONF_API_KEY, CONF_DOMAIN, CONF_RECIPIENT, CONF_SENDER)

_LOGGER = logging.getLogger(__name__)

DEPENDENCIES = ['media_player','logger']

ALEXA_DEVICES = 'alexa_devices'
SERVICE_NAME = "Alexa TTS Notification"
ERROR_PREFIX = SERVICE_NAME + " Service Error"

def get_service(hass, config, discovery_info=None):
    """Get the Alexa TTS notification service."""
    alexa_devices = config[ALEXA_DEVICES]

    alexa_service = AlexaNotificationService(alexa_devices, hass)
    if (alexa_service.devices_are_valid):
      return alexa_service
    else:
      _LOGGER.error(ERROR_PREFIX+"alexa tts notification service devices are invalid")

    return alexa_service

class AlexaNotificationService(BaseNotificationService):
    """Implement a notification service for the Alexa TTS notifier service."""

    def __init__(self, alexa_devices, hass):
      """Initialize the service."""
      _LOGGER.info(SERVICE_NAME + " is initializing")
      self.alexa_devices = alexa_devices
      self.hass = hass

    def devices_are_valid(self):
      _LOGGER.info(SERVICE_NAME + " is checking if devices are valid")
      """Check whether device exist."""
      if not self.alexa_devices:
        _LOGGER.error(ERROR_PREFIX + "alexa_devices parameter is empty or missing.")
        return False

      devices_are_valid = True
      for device in self.alexa_devices:
        if not device:
          _LOGGER.error(ERROR_PREFIX+"An empty device is passed.")
          devices_are_valid = False
          continue
        if (device not in hass.media_player):
          _LOGGER.error(("{}: Device {} is invalid.").format(ERROR_PREFIX,
            str(device)))
          devices_are_valid = False
      return devices_are_valid

    def send_message(self, message="", **kwargs):
      title = kwargs.get(ATTR_TITLE)
      data = '. '.join(filter(None, [title, message]))

      _LOGGER.info(SERVICE_NAME + " is sending message to alexa devices with data: " + data)

      for alexa_device in self.alexa_devices:
        _LOGGER.info(SERVICE_NAME + " TTS Service call on :" + alexa_device)
        self.hass.services.call('media_player', 'alexa_tts',
          {'entity_id':"media_player." + alexa_device,'message':data})

Thanks for this.
While I understand this is hackish for now and just in case someone could use it, if you do come back can you do this in the form of a pull request so we have an option to merge it in?  Our eventual goal is to submit this as an official component so it'd be great if you made sure the code you provided conforms to the home-assistant developer guide. You'll note we have outstanding issue to address that (e.g., #14, #16)
Even if you can't, I'll flag this as a first contribution item so someone else with time can help.

I've been very busy recently, but I plan to if I get the time to! :)


Investigate ValueError warning coming from tiffile

Is your feature request related to a problem? Please describe.
When running the pipeline, tiffile.imread raises a warning regarding a reshaping tentative failed.
Describe the solution you'd like
Understand if it comes from a misuse of the package and in that way remove the warning
Describe alternatives you've considered
Leaving it as it is - tiffile seams to handle whatever problem there is and returns me the correct file
Additional context
Logs:
2024-07-25 16:28:26 PM INFO     2024-07-25 16:28:26 PM - INFO - MainProcess       fancylog.py:326
                                fancylog.py:326 - Starting logging
                       INFO     2024-07-25 16:28:26 PM - INFO - MainProcess       fancylog.py:327
                                fancylog.py:327 - Not logging multiple processes
                       INFO     2024-07-25 16:28:26 PM - INFO -     full_rotation_pipeline.py:122
                                MainProcess
                                full_rotation_pipeline.py:122 -
                                Loading data...
2024-07-25 16:28:29 PM WARNING  2024-07-25 16:28:29 PM - WARNING - MainProcess   tifffile.py:4539
                                tifffile.py:4539 - <tifffile.TiffFile
                                'rotation_00001.tif'> <asarray> failed to
                                reshape (8258, 256, 256) to (8500, 256, 256),
                                raised ValueError('cannot reshape array of size
                                541196288 into shape (8500,256,256)')

It kills my process on the cluster 😭


Regression in v3.2.1: no longer finds -ldeflate on FreeBSD, breaks build

FreeBSD builds, which install libdeflate as .so in /usr/local/lib, and use the system libdeflate (not the embedding approach), fail to build as of v3.2.1. The cmake configure phase completes successfully:
-- Found PkgConfig: /usr/local/bin/pkgconf (found version "2.0.3")
-- Checking for module 'libdeflate'
--   Found libdeflate, version 1.19
-- Using libdeflate from /usr/local/lib/libdeflate.so
-- Using Imath from /usr/local/lib/cmake/Imath

But the build then barfs:
FAILED: src/lib/OpenEXRCore/libOpenEXRCore-3_2.so.<IP_ADDRESS>
: && /usr/local/libexec/ccache/cc -fPIC -O2 -pipe -march=znver1  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=znver1  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG  -lpthread -fstack-protector-strong -shared -Wl,-soname,libOpenEXRCore-3_2.so.31 -o src/lib/OpenEXRCore/libOpenEXRCore-3_2.so.<IP_ADDRESS> src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_rle.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_zip.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_pxr24.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_b44.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_b44_table.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_piz.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_dwa.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_huf.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/attributes.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/string.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/string_vector.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/float_vector.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/channel_list.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/opaque.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/preview.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/base.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/context.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/memory.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_structs.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/part.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/part_attr.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/std_attr.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/parse_header.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/write_header.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/chunk.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/coding.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/compression.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/decoding.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/encoding.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/pack.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/unpack.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/validation.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/debug.c.o  -Wl,-rpath,/usr/local/lib:  /usr/local/lib/libImath-3_1.so.29.8.0  /usr/lib/libm.so  -ldeflate  -lm && :
ld: error: unable to find library -ldeflate
cc: error: linker command failed with exit code 1 (use -v to see invocation)
ninja: build stopped: subcommand failed.

FreeBSD requires some -L/usr/local/lib for -ldeflate, and pkgconf also emits it.
This issue appears to be caused by the second hunk of this patch:
https://github.com/AcademySoftwareFoundation/openexr/pull/1561/files#diff-d20456c2960f2c3e9dbea28785de9afbf98e37a3ccef8043a4848bce979535c3
Reverting this hunk changes the above to (note we have the absolute /usr/local/lib/libdeflate.so instead of -ldeflate), which succeeds:
[  0% 1/252] : && /usr/local/libexec/ccache/cc -fPIC -O2 -pipe -march=znver1  -fstack-protector-strong -fno-strict-aliasing -O2 -pipe -march=znver1  -fstack-protector-strong -fno-strict-aliasing  -DNDEBUG  -lpthread -fstack-protector-strong -shared -Wl,-soname,libOpenEXRCore-3_2.so.31 -o src/lib/OpenEXRCore/libOpenEXRCore-3_2.so.<IP_ADDRESS> src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_rle.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_zip.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_pxr24.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_b44.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_b44_table.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_piz.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_dwa.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_huf.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/attributes.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/string.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/string_vector.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/float_vector.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/channel_list.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/opaque.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/preview.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/base.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/context.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/memory.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/internal_structs.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/part.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/part_attr.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/std_attr.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/parse_header.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/write_header.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/chunk.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/coding.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/compression.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/decoding.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/encoding.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/pack.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/unpack.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/validation.c.o src/lib/OpenEXRCore/CMakeFiles/OpenEXRCore.dir/debug.c.o  -Wl,-rpath,/usr/local/lib:  /usr/local/lib/libImath-3_1.so.29.8.0  /usr/lib/libm.so  -lm  /usr/local/lib/libdeflate.so && :

One small workaround for FreeBSD 13.2 is to patch cmake/OpenEXRSetup.cmake on line 218 like this:
-  set(EXR_DEFLATE_LIB ${deflate_LIBRARIES})
+  set(EXR_DEFLATE_LIB ${deflate_LINK_LIBRARIES})

Thanks for the catch and the suggested fix, that does seem correct to me. Our CI doesn't currently validate all these cases as it should. Let's give this another day or so and I'll push out another release.

Cary, I am sorry to say I appear to have misled you, reading https://github.com/AcademySoftwareFoundation/openexr/pull/1572#issue-1916654793 - my apologies for being unclear about what FreeBSD usually does, and what deflate_LINK_LIBRARIES contains.
deflate_LINK_LIBRARIES, after cmake's configure run, on FreeBSD ports, will contain the absolute path of libdeflate.so (by default, /usr/local/lib/libdeflate.so) but NOT the -L flag. The latter is part of deflate_LDFLAGS, see below.  This is what I get in CMakeCache.txt on FreeBSD 13.2 with the workaround shown above (I think it should not influence CMakeCache.txt):
$ grep deflate work/.build/CMakeCache.txt  | grep -v ^//
OPENEXR_DEFLATE_REPO:STRING=https://github.com/ebiggers/libdeflate.git
pkgcfg_lib_deflate_deflate:FILEPATH=/usr/local/lib/libdeflate.so
__pkg_config_arguments_deflate:INTERNAL=IMPORTED_TARGET;GLOBAL;libdeflate
__pkg_config_checked_deflate:INTERNAL=1
deflate_CFLAGS:INTERNAL=-I/usr/local/include
deflate_CFLAGS_I:INTERNAL=
deflate_CFLAGS_OTHER:INTERNAL=
deflate_FOUND:INTERNAL=1
deflate_INCLUDEDIR:INTERNAL=/usr/local/include
deflate_INCLUDE_DIRS:INTERNAL=/usr/local/include
deflate_LDFLAGS:INTERNAL=-L/usr/local/lib;-ldeflate
deflate_LDFLAGS_OTHER:INTERNAL=
deflate_LIBDIR:INTERNAL=/usr/local/lib
deflate_LIBRARIES:INTERNAL=deflate
deflate_LIBRARY_DIRS:INTERNAL=/usr/local/lib
deflate_LIBS:INTERNAL=
deflate_LIBS_L:INTERNAL=
deflate_LIBS_OTHER:INTERNAL=
deflate_LIBS_PATHS:INTERNAL=
deflate_MODULE_NAME:INTERNAL=libdeflate
deflate_PREFIX:INTERNAL=/usr/local
deflate_STATIC_CFLAGS:INTERNAL=-I/usr/local/include
deflate_STATIC_CFLAGS_I:INTERNAL=
deflate_STATIC_CFLAGS_OTHER:INTERNAL=
deflate_STATIC_INCLUDE_DIRS:INTERNAL=/usr/local/include
deflate_STATIC_LDFLAGS:INTERNAL=-L/usr/local/lib;-ldeflate
deflate_STATIC_LDFLAGS_OTHER:INTERNAL=
deflate_STATIC_LIBDIR:INTERNAL=
deflate_STATIC_LIBRARIES:INTERNAL=deflate
deflate_STATIC_LIBRARY_DIRS:INTERNAL=/usr/local/lib
deflate_STATIC_LIBS:INTERNAL=
deflate_STATIC_LIBS_L:INTERNAL=
deflate_STATIC_LIBS_OTHER:INTERNAL=
deflate_STATIC_LIBS_PATHS:INTERNAL=
deflate_VERSION:INTERNAL=1.19
deflate_libdeflate_INCLUDEDIR:INTERNAL=
deflate_libdeflate_LIBDIR:INTERNAL=
deflate_libdeflate_PREFIX:INTERNAL=
deflate_libdeflate_VERSION:INTERNAL=
pkgcfg_lib_deflate_deflate-ADVANCED:INTERNAL=1

I'm unfortunately not going to have any further time to look into this in the next few days. If anyone out there can contribute a fix, I'd appreciate it so much I'll buy you a milkshake.
The fix in #1572 doesn't resolve the issue and presumably shouldn't be merged, although the discussion there makes some good suggestions, I just don't have the time now to turn that into a workable PR.

If anyone out there can contribute a fix, I'd appreciate it so much I'll buy you a milkshake

We've also had the same issue internally here at Weta using Ubuntu with an existing libdelflate install (provided via CMAKE_PREFIX_PATH/PKG_CONFIG_PATH).
Will be pushing up a patch soon, and looking forward to that milkshake!


fix : handle error for registry application in argocd

I can't wait to test this, I'll try it tomorrow.


Implement caching & configurable download directory in fetchOS helper

Fix this and let's cache it out soon enough.
https://github.com/balena-os/leviathan/blob/7875e672d936dee0ef5117e9ea2da093a56c9318/core/lib/components/balena/sdk.js#L565-L596
Reference: #439

@robertgzr since you were interested as well.

Also @vipulgupta2048  do something about hard-coded download paths used in fetchOS, make them configurable. Check https://github.com/balena-os/leviathan/pull/439#discussion_r656911000

In #433, we have implemented the Downloads directory which gets purged on every test run. This is the folder where fetchOS helper will be downloading the balenaOS image. Also, with the recent thread to investigate download sizes of balenaOS, we were able to narrow down that we in fact don't download 900+ MB big balenaOS image instead node somehow is extracting the gzip image on the fly to give balena.img (~900 Mb) in the end but the data usage only being around 145-160 Mb
Thread: https://www.flowdock.com/app/rulemotion/r-beginners/threads/nFpqGUwLNhVUJnPlSTfNU-ixwkN

// Step 1: Find previously download balenaOS images in the Downlaods directory
		glob(config.get('leviathan.downloads') + "balenaOs-*.img", (err, files) => {
			if (err) {
				throw err
			}
			files.forEach(async (file) => {
				try {
					// Step 2: For each balenaOS image, we check and extract semver version using readOsRelease method
					// There is a step missing here with os class not being initialised for the image being checked.
					// Create an object of the os helpers class and use the readOsRelease() method to extract balenaOS version
					let versionAvailable = await this.context.get().os.readOsRelease(file)
					console.log(`verion found in the file is ${versionAvailable}`)
					/**
					 * Using balena-semver, we compare versions and figure out if we need to download a new image or we already have one available in cache.
					 * The if condition returns 0 if versionA == versionB, or
					 * 1 if versionA is greater, or
					 * -1 if versionB is greater.
					 * https://github.com/balena-io-modules/balena-semver#compareversiona-versionb--number
					 */
					if (semver.compare(versionAvailable, version) === 0) {
						this.log(`[Cache used]`);
						return path
					} else {
						console.log(`Deleting the file: ${file}`)
						fse.unlinkSync(file)
					}
				} catch (err) {
					// Image present might be corrupted, deleting...
					fse.unlinkSync(file)
				}
			})
		})


VotableThing inheritance / naming conventions.

for #48
Methods moved to VotableThing

public void Approve()
public void Remove()
public void Del()
public void IgnoreReports()
public void UnIgnoreReports()

Properties moved to VotableThing

public string ApprovedBy
public string AuthorName
public string AuthorFlairCssClass
public string AuthorFlairText
public string BannedBy
public bool Edited
public int Gilded
public bool IsArchived
public bool IsStickied

Properties marked obsolete

public string Author   * Comment only*
public int? NumReports

New properties

public string AuthorName
public int? ReportCount
public bool? IsRemoved
public bool? IsApproved

Internal methods / properties moved to Thing or VotableThing

private void SimpleAction()
private void RemoveImpl(bool spam)
private Reddit Reddit
private IWebAgent WebAgent

also fixes #51


Position Reader on a specific message within a batch

Motivation
Allow the Topic reader to position on a particular message within a batch.

retest this please

retest this please

retest this please

retest this please


Update example POST payload

temporaryTracingKeys -> temporaryExposureKeys
diagnosisStatus is not described. Disappeared? Deprecated?

/assign @llatif

/assign

This will be obsoleted by
https://github.com/google/exposure-notifications-server/pull/299
we're changing the structure to make transmission risk pre-key.
I'm going to close this PR out
/hold
/close


Add missing Goerli deployment

Add missing Goerli deployment address to the compatibility_fallback_handler.json

Closing this PR. The Goerli deployment is there.


Unable to deploy DACPAC file using utility Deploy using: DACPAC

Hi @RupaliGarg09 , can you send the complete debug log for the task to<EMAIL_ADDRESS>You can generate the debug logs by setting the system.debug variable to true in the variables tab

Hi @RupaliGarg09 , I am closing the issue as we have resolved your issue offline. The issue was with WinRM configuration on the target machine. Please feel free to reopen if you are still block on this


[FEAT] Support parameters in clvm instance ls

Rationalle: what if I want to know status only of my instance, e.g. clvm instance ls caios-dev-asher-desktop? Ideally, should work with wildcards as well, like linux ls. See similar request for ssm session ls.

Closing. Implemented.


Hide bottom Tab issue

function HomeTabs() {
  return (
    <Tab.Navigator>
      <Tab.Screen name="Home" component={Home} />
      <Tab.Screen name="Feed" component={Feed} />
      <Tab.Screen name="Notifications" component={Notifications} />
    </Tab.Navigator>
  );
}

function App() {
  return (
    <Stack.Navigator>
      <Stack.Screen name="Home" component={HomeTabs} />
      <Stack.Screen name="Profile" component={Profile} />
      <Stack.Screen name="Settings" component={Settings} />
    </Stack.Navigator>
  );
}

in this abouve example Only home have stack ..if i hade STACK for Profile and settings ..what should i do ??. also i dont want see the tab in side the Stack.

Whenever you want to hide the tab navigator under the stack, try to reorganize your navigation by putting the tab inside the stack navigator.
The above example is great when you don't want to display Tab's when you are either in the Profile or Settings screens.

you probably want to nest stack navigators inside your tab navigators, you are currently doing the opposite.
so in your tab navigator, every screen could be its own stack navigator. then you would have tabs shown on every screen.
if you dont need multiple screens for profile and settings, they dont necessarily need to be an entire stack navigator.


docs: Add user guide for Add a custom linkification filter feature

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

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

@synicalsyntax, lgtm. @trueskawka, ready for a final review.

Looks good, merging.


Add CI scripts that SemaphoreCI will use in its project settings

Currently, we hardcoded the commands that SemaphoreCI will
execute for building and testing the project, but any change
requires modification via its web page and we cannot track
any change there.
Therefore, this three scripts will be called in the SemaphoreCI
settings and any change should be done to the scripts instead
of changing the settings.
setup.sh will be called in the Setup
run.sh will be called on Job 1
teardown.sh will be called on After Job
fixes #168
Signed-off-by: Salvador Fuentes<EMAIL_ADDRESS>

After this is merged, I will change the semaphoreCI settings to start using these scripts.
To verify that these scripts work correctly, I built this PR using semaphoreCI on my branch.
See: https://semaphoreci.com/fuentes/runtime/branches/master/builds/7

Coverage remained the same at 39.171% when pulling c78da8d1bc098352c3e918869bec68c5cac41702 on chavafg:master into 66b54638c5125167fe852dce4a45c2a1d01c9e27 on clearcontainers:master.

Coverage remained the same at 39.171% when pulling ffd945443b2ae5619fee2477c2e4791e09cefb66 on chavafg:master into 66b54638c5125167fe852dce4a45c2a1d01c9e27 on clearcontainers:master.

Coverage remained the same at 39.171% when pulling ffd945443b2ae5619fee2477c2e4791e09cefb66 on chavafg:master into 66b54638c5125167fe852dce4a45c2a1d01c9e27 on clearcontainers:master.

@chavafg did you test these changes on a CI?

@devimc yes, I ran this changes in my fork https://semaphoreci.com/fuentes/runtime/branches/master/builds/7

@chavafg ouch! I'm sorry I didn't read your first message
lgmt

LGTM

Coverage remained the same at 37.964% when pulling 903ea1fb71546a09a2344d7367c6169526d4047a on chavafg:master into 946820d426c0566c2bd8362d366c2cfa40c191dd on clearcontainers:master.

Coverage remained the same at 37.964% when pulling 63a63ec8ec7debad8e688cd121bd9a121ad16a01 on chavafg:master into 946820d426c0566c2bd8362d366c2cfa40c191dd on clearcontainers:master.

Coverage remained the same at 38.214% when pulling e68295730c84ae51f36a5b9079b4fc5251ee6be5 on chavafg:master into af51d34c5269acd4a3c226b463911def6cb3271f on clearcontainers:master.

This is now ready to go, can someone please check?
@jodh-intel I already addressed your comments.

lgtm


Accelerate smoke_test workflow

It seems with the recently added tests, the completion of the smoke_test workflow is taking particularly more time compared to the other workflow.
It could be beneficial to investigate ways to accelerate the workflow:

Use parallelization
Separate some tests into another workflow
Remove tests for the default smoke tests, for example, particular scoped actions not related to end-users like admin functions.

Completed in https://github.com/zeta-chain/node/pull/1438


Give access to full file path in the modify callback

Hey there!
It would be great if you could add an option to pass the full path instead just the basename as value for the filename argument in the modify callback.
WDYT? :)

Hi man.
It's a good idea, I think we can add new argument path and leave filename as exists. It's will be more handy, because you will don't need to pass an extra option.
module.exports = {
  plugins: [
    new ModifySourcePlugin({
      rules: [
        {
          test: /my-file\.js$/,
          modify: (src, filename, path) => src + `...`
        }
      ]
    })
  ]
};

What do you think?

If it was my lib then I'd replace the filename with path and simply bump to a new major version to signal breaking API changes.
Because having both path AND filename is unnecessary as one can be derived easily from the other.
But I'd be absolutely fine with going the route of adding a third argument as well, since from a usage perspective it does not make a big difference 👍 :)

Yeah it's a better idea. And bumping new major version it's a good point. I just don't know how to deal with version for webpack 4 because we have two versions - 1.1.0-beta.3 for webpack 4 and 2.0.0-beta.7 for webpack 5. If we planned to support two versions we should update 1.1.0-beta.3 too and it's will be failed semver (already, lol).
Probably we can move support for webpack 4 and webpack 5 in a single version (3.0.0, for example). But there was a problem why I changed to 2 separated versions - we cannot hold two webpack versions in one package.json. So tests also will be only for one version. And working TypeScript types too.
I'm ready to ship this breaking improvement if we will solve this issue with versions. Let me know if you have ideas, it's will be great help for this project 😉👍

@epegzz Should be fixed in #55. You can test before it's got released by installing modify-source-webpack-plugin@next. Version 3.0.0-rc.0.
Now we will have single version of plugin for webpack 5 and 4 🥳

Thank you!! Works like a charm 👏 😃


Button cuts the content at some scaling levels

Describe the bug
I noticed that at different scaling levels the content of a button gets cut-off. It happens both with text and icons which makes the content difficult to read.
Steps to reproduce the bug
For a button with text, the easiest way to reproduce this is the following sample where we manually setting the button's height with the default value for buttons, 32 pixels:
<Button Content="Good night" Height="32"></Button>

Expected behavior
I would expect the entire content to be displayed if the height is the same as the default.
Screenshots

the button at 150% scaling on a 4K screen:

the button at 125% scaling on a 4K screen:

The letter g is the one being cut-off.

Here is an example of an icon being cut-off.
NuGet package version
WinUI 3 - Windows App SDK 1.5.2: 1.5.240404000
Windows version
Windows 11 (22H2): Build 22621
Additional context
No response

This might also be related to #7836


Onboarding multiple hotspots at once causes issues

From @ap#7446 on discord...
When onboarding several hotspots one thing I have noticed in app is that when multiple hotspots have their Bluetooth going the onboarding process can pick up another hotspot instead of the selected one. Also only 1 hotspot shows.
Just to add .. it can show the correct MAC address when searching for the hotspot but when you go through the onboarding it can say that it’s already onboarded as the nearby hotspot must have been picked up. Happened a couple of times until I noticed when the other HS were not offering Bluetooth it was no longer an issue.

LOE to fix the issue is higher than asking the user to change behavior and not onboard multiple hotspots at once. going to have to close this as won't fix. sorry!


Jinja 2.11 broken against markupsafe==2.1.0

Environment:

Python version: 3.9
Jinja version: 2.11.3

Hi,
Yesterday, markupsafe was bumped to 2.1.0 but it breaks jinja 2.11.3 because of the use of soft_unicode which was just removed...
Is there a plan to continue supporting the 2.11 branch for a while still? In which case it would be nice to either:

limit the version of markupsafe to be used to pre-2.1.0
or on the contrary, fix the use of that function toward soft_str?

I've seen this on some of our legacy code, but I'm pretty sure many people have legacy code and would rather not update in a rush 😅
$ python
Python 3.9.5 (default, May 25 2021, 18:01:27)
[Clang 12.0.0 (clang-1<IP_ADDRESS>)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from jinja2 import Environment
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/Users/jmartin/workspace/nidar-apps/apps/nidar-l3-proxy/venv/lib/python3.9/site-packages/jinja2/__init__.py", line 12, in <module>
    from .environment import Environment
  File "/Users/jmartin/workspace/nidar-apps/apps/nidar-l3-proxy/venv/lib/python3.9/site-packages/jinja2/environment.py", line 25, in <module>
    from .defaults import BLOCK_END_STRING
  File "/Users/jmartin/workspace/nidar-apps/apps/nidar-l3-proxy/venv/lib/python3.9/site-packages/jinja2/defaults.py", line 3, in <module>
    from .filters import FILTERS as DEFAULT_FILTERS  # noqa: F401
  File "/Users/jmartin/workspace/nidar-apps/apps/nidar-l3-proxy/venv/lib/python3.9/site-packages/jinja2/filters.py", line 13, in <module>
    from markupsafe import soft_unicode
ImportError: cannot import name 'soft_unicode' from 'markupsafe' (/Users/jmartin/workspace/nidar-apps/apps/nidar-l3-proxy/venv/lib/python3.9/site-packages/markupsafe/__init__.py)

Thanks

You may want to look at the pinned issue (or large amount of closed issues) before opening your own in the future ;)
https://github.com/pallets/jinja/issues/1585
TL;DR: Don't use an outdated Jinja version...

oops sorry

Duplicate of #1585
You are using an unsupported version of Jinja, please update to the latest version if possible. Additionally, please read https://hynek.me/articles/semver-will-not-save-you/, then use a tool like pip-tools to pin your dependencies and control when you get updates. Be sure to run your tests with deprecation warnings treated as errors so that you get notified of these types of changes early.


browser not display“[root@appserver ~]# timed out waiting for input: auto-logout”

browser not display“[root@appserver ~]# timed out waiting for input: auto-logout”

Exactly.

don't know what to tell you brother... try adding a debug function to the .connect event


bug-fix/FS-3808-assessment-tracker-export-is-empty

https://dluhcdigital.atlassian.net/jira/software/c/projects/FS/boards/50?selectedIssue=FS-3808

@ramsharma-prog Send a screenshot of it working with COF sir?

Added sir 😃 @rayhan15243


Add az list install versions

Which issue this PR addresses:
ADO Card: https://msazure.visualstudio.com/AzureRedHatOpenShift/_workitems/edit/14177970
What this PR does / why we need it:
Extended az command to accept a new command: az aro list-install-versions --location <LOCATION> -o table
Test plan for issue:
Manually tested new command against development RP with and without location string as well as with and without table output.
Is there any documentation that needs to be updated for this PR?
No, documentation is a part of the command --help flag.

+1 for consistency with AKS. The command should be az aro get-versions


changed content typeshift to resolve issue when checking for error st…

…rings

offered up to main project


Update ROEngines.netkan

Move .netkan information into here, instead of maintaining in external ROMods repos.
Be more consistent in where ROMods (ROCapsules, etc) stores the netkan info.
Attempt to be more nuanced in depends/recommends/suggests choices.  The hard dependency on RealismOverhaul is very blunt, but many patches here depend on RO's own patching sequence and it's not worth the effort to get away from that.

You can see the previous actual contents of the .netkan file at https://github.com/KSP-RO/ROEngines/blob/master/ROEngines.netkan.

This is the first change that applies to https://github.com/KSP-CKAN/NetKAN/issues/7818
The 1.8-supporting release that needs the new metadata is now available on GH.

Looks good, merging...

Good news, the bot did try to index the new version with the old metadata, but it failed with an error due to the change in the folder structure. So it's only going to be indexed with the new metadata once the current bot pass finishes.
http://status.ksp-ckan.space/


How to use soft delete in role_user and persmision_role?

I used soft delete in role model, and when i code $role->delete();, it updated the deleted_at, however it delete data in role_user, i have added deleted_at in role_user.
Need i add a role_user model and use use SoftDeletes;? Or any other solutions?

I'm working on the same thing, it's appear in the EntrustUserTrait trait this method :
    /**
     * Boot the user model
     * Attach event listener to remove the many-to-many records when trying to delete
     * Will NOT delete any records if the user model uses soft deletes.
     *
     * @return void|bool
     */
    public static function boot()
    {
        parent::boot();

        static::deleting(function($user) {
            if (!method_exists(Config::get('auth.model'), 'bootSoftDeletes')) {
                $user->roles()->sync([]);
            }

            return true;
        });
    }

The following line remove the role_user pivot row when soft deletion happen.
 $user->roles()->sync([]);

see also : "Syncing For Convenience" part

@yaoshanliang Did you solve that?


Map CHIP_ERROR_FABRIC_EXISTS into a dedicated Darwin error code.

This allows detection of this case without having to examine the
"underlyingError" of the NSError's userInfo.
Fixes https://github.com/project-chip/connectedhomeip/issues/22214
Problem
See #22214
Change overview
Add a new Objective C error code constant for the "fabric exists" case.

Accepted into master: platform specific change


Add an OpenShift Template with S2I build

[ ] Create an OpenShift Template with S2I build
[ ] Update the README to explain how to use it : oc start-build generator-backend
[ ] Automate the build process using Travis (if possible)

Seems to be done. Closing for now


Micro gateway will not build if API has special characters in the name

My API name was "markets-Lob-API", once I create this api from the publisher and use the micro-gw tool to generate the micro-gw it will not build. It will throw B7a exceptions at compile time.
The name "marketsLobAPI" works fine.

I’m closing this issue because it has been inactive for more than two years. Please reopen if you still encounter this issue with the latest version.


Global Accounting Tracking (executable model)

In the Haskell executable model, add tracking to the ledger state for: treasury, reward pool, fee pool, reserves.  This will involve adding some epoch boundary transitions.

completed long ago :)


Domain disabled with no reason

Before opening, please confirm:

[X] I have checked to see if my question is addressed in the FAQ.
[X] I have searched for duplicate or closed issues.
[X] I have read the guide for submitting bug reports.
[X] I have done my best to include a minimal, self-contained set of instructions for consistently reproducing the issue.
[X] I have removed any sensitive information from my code snippets and submission.

App Id
https://us-east-1.console.aws.amazon.com/amplify/home?region=us-east-1#/d643zn3exdmsl
AWS Region
us-east-1
Amplify Hosting feature
Custom domain
Frontend framework
React
Next.js version
N/A
Next.js router
N/A
Describe the bug

After setup de project envs and connection with github I set up the domain configs. I choose my domain, amplify show me DNS address. I add the DNS config on cloudflare and CNAME starts do work correctly as you can see App Link
After some days, week or sometimes hours, the CNAME stops do work  and it doesn't redirect to de application. I open amplify page and I see "Error connecting with domain." But the fun fact is that we have a load of applications using the same domain and just this one happens it.
So I have to remove the domain and add it again.
Expected behavior
I should not accours this error connecting to the domain.
Reproduction steps
N/A
Build Settings
No response
Log output

# Put your logs below this line

Additional information
No response

@itsMeBruno Apologies for the delay! I see that your app and domain is rendering fine on the link. Are you still experiencing problems with the domain?


Feature Request: Unlisted drafts

It would be great if there was an option to hide drafts from the index page if they were built. That way I could set buildDrafts: true for Hugo and unlistedDrafts: true for Anubis in the config file so that drafts can only be accessed with direct links and not through the home page.
Currently, I've come up with my own custom unlisted scheme. That is /unlisted/test with draft: false. When I'm ready to list the post, I move the file under /posts and add aliases: ["unlisted/test"] for backwards compatibility.
Not sure if this is a feature worth pursuing for you as I've come up with my own hackish work around.

Is the use of drafts really necessary? Would you be okay with a hidden = true page parameter solution?

Either or to be honest. I just wanted a way for the post to be unlisted.

Done!
Add hidden: true to post front matter. Post also is not available in RSS feed and by search engines.
As example: https://hugo-theme-anubis.netlify.app/post/hidden-post/

Oh and btw, can you document the rss page on the readme? It took me too long to find the first time. I think you should allow rss as a social icon. Right now what I've done is use rss as a custom social icon with a custom rss svg icon.
See https://elibroftw.github.io/ for how it looks.
Source code
https://github.com/elibroftw/elibroftw.github.io

Good idea. Created issue for this #128


Mastering other fields

Currently in-progress... (been long)

:+1:

a bit similar to https://github.com/WindowsGeekPro/workaholic-meow/issues/76


Hide second marquee from screen readers

Add aria-hidden="true" to second content div element to effectively hide it from screen readers.

It now also needs a disabled attribute or tabindex="-1" because it still has focusable content


cmake: remove jsoncpp dependency

jsoncpp is no longer used and is not present on some build systems,
causing the configure step to fail. Removes dependency on jsoncpp in
favor of json-c.

We should probably remove jsoncpp from .travis.yml while we're at it 😄

@r-rojo Removed it from .travis.yml.


Crash on auto-refill to Mine&Blade slots

When InventoryTweaks attempts to auto-refill a tool to one of Mine&Blade's sword or shield slots, the game crashes with the following crash: http://pastebin.com/kpaPw06U

I and one other on my modpack have been able to replicate this.
http://openeye.openmods.info/crashes/f8d2be57af8179e403a6cb7636e07012


fix deprecation on jsonSerialize

Fix #705

I rather add the real return-type instead of the attribute, so: : string for Currency and : array for Money.

Oh, now I see, this is for Money v3. No, there will not be support for PHP8+ in Money v3. Please use Money v4.


MSSQL: Database backup feature

Hello,
Is the feature to take Database Backup available for MSSQL Server?

There is no such feature yet. Thanks for your request.


LinkingSetRelation Not Display Properly when in Detail form of a MasterDetailRelation

The LinkingSetRelation items are not displaying when it's within the detail windows of a MasterDetailRelation.  The items get added and deleted but the previous addition does not show up.
Main Form>Detail Form>LinkingSetRelation in Detail form = items does not show.
When I view the Detail form directly, the items appears correctly but not when it was added within a master detail relation.
Has anyone else run into this issue?

Does anyone know if linkingset relation supports multilevels like masterdetail relation as stated in  #562

I thought I searched earlier for LinkingSetRelation issues but found this finally #498.  Its also in the manual, search for MinSelectLevel.
I'm succesfully adding details but later when open an existing record, some view fields are empty: Please put [MinSelectLevel(SelectLevel.List)] on your view fields in YourDetailRow.cs. By default, List handlers and MasterDetailBehavior only loads table fields (not view fields) of detail rows.


[INLONG-5217][Sort] Add connector-base component for common code

Prepare a Pull Request

Fixes #5217

Motivation
Add connector-base component for common code
Modifications
add SinkMetricData and SourceMetricData
Verifying this change
(Please pick either of the following options)

[x] This change is a trivial rework/code cleanup without any test coverage.

[ ] This change is already covered by existing tests, such as:
(please describe tests)

[ ] This change added tests and can be verified as follows:

Maybe DebeziumSourceFunction.java move to new  module connector-base