opentelemetry/proto/collector/trace/v1/trace_service.proto File not Found

What happened?
Steps to Reproduce
Use Rollup to build the project
Expected Result
Runs as expected
Actual Result
opentelemetry/proto/collector/trace/v1/trace_service.proto File not found.
Additional Details
OpenTelemetry Setup Code
// import { AwsLambdaInstrumentation } from '@opentelemetry/instrumentation-aws-lambda';
import {
  diag,
  DiagConsoleLogger,
  DiagLogLevel,
  trace,
} from '@opentelemetry/api';

import {
  BatchSpanProcessor,
  ConsoleSpanExporter,
} from '@opentelemetry/sdk-trace-base';
import { OTLPTraceExporter } from '@opentelemetry/exporter-trace-otlp-grpc';

import { NodeTracerProvider } from '@opentelemetry/sdk-trace-node';
import { registerInstrumentations } from '@opentelemetry/instrumentation';
import { getNodeAutoInstrumentations } from '@opentelemetry/auto-instrumentations-node';
import grpc from '@grpc/grpc-js';
import { Resource } from '@opentelemetry/resources';
import { SemanticResourceAttributes } from '@opentelemetry/semantic-conventions';

diag.setLogger(new DiagConsoleLogger(), DiagLogLevel.INFO);
const apikey = 'API_KEY';
const serviceName = 'test-service';
const provider = new NodeTracerProvider({
  resource: new Resource({
    [SemanticResourceAttributes.SERVICE_NAME]: serviceName,
  }),
});
const metadata = new grpc.Metadata();
metadata.set('x-honeycomb-team', apikey);
metadata.set('x-honeycomb-dataset', 'spr-fi-en-idam');
const creds = grpc.credentials.createSsl();
const collectorOptions = {
  credentials: creds,
  url: 'http://api.honeycomb.io:443/',
  metadata,
};

const exporter = new OTLPTraceExporter(collectorOptions);

const spanProcessor = new BatchSpanProcessor(exporter);

provider.addSpanProcessor(spanProcessor);
console.log('Starting OpenTelemetry');

// // uncomment this to see traces in stdout
// provider.addSpanProcessor(new BatchSpanProcessor(new ConsoleSpanExporter()));

provider.register();
// trace.getTracer(
//     'my-service-tracer'
// );
// const activeSpan = tracer.startActiveSpan(api.context.active());
// console.log('Critical Error', {
//   traceId: activeSpan.spanContext().traceId,
// });
registerInstrumentations({
  instrumentations: [
    getNodeAutoInstrumentations({
      '@opentelemetry/instrumentation-aws-lambda': {
        disableAwsContextPropagation: true,
      },
    }),
  ],
});
// registerInstrumentations({
//   instrumentations: [
//     new AwsLambdaInstrumentation({
//       requestHook: (span, { event, context }) => {
//         span.setAttribute('faas.name', context.functionName);
//       },
//       responseHook: (span, { err, res }) => {
//         if (err instanceof Error) span.setAttribute('faas.error', err.message);
//         if (res) span.setAttribute('faas.res', res);
//       },
//     }),
//   ],
// });
const registerProvider = () => {
  console.log('Started');
};
export default registerProvider;

package.json

  "dependencies": {
    "@babel/core": "^7.14.2",
    "@babel/plugin-transform-runtime": "^7.14.2",
    "@babel/preset-env": "^7.14.2",
    "@babel/runtime": "^7.10.2",
    "@grpc/grpc-js": "^1.8.9",
    "@opentelemetry/api": "^1.4.0",
    "@opentelemetry/auto-instrumentations-node": "^0.31.2",
    "@opentelemetry/exporter-trace-otlp-grpc": "^0.35.1",
    "@opentelemetry/instrumentation": "^0.35.1",
    "@opentelemetry/instrumentation-aws-lambda": "^0.35.0",
    "@opentelemetry/instrumentation-aws-sdk": "^0.34.0",
    "@opentelemetry/instrumentation-http": "^0.35.1",
    "@opentelemetry/resources": "^1.9.1",
    "@opentelemetry/sdk-trace-base": "^1.9.1",
    "@opentelemetry/sdk-trace-node": "^1.9.1",
    "@opentelemetry/semantic-conventions": "^1.9.1",
    "@rollup/plugin-commonjs": "24.0.1",
    "@rollup/plugin-json": "^4.1.0",
    "@rollup/plugin-node-resolve": "^13.0.0",
    "@testing-library/jest-dom": "^5.10.1",
    "@testing-library/react": "^11.2.6",
    "aws-sdk": "^2.906.0",
    "indent-string": "^5.0.0",
    "js-yaml": "^4.1.0",
    "lodash": "^4.17.15",
    "nock": "^13.0.11",
    "rollup": "^2.17.1",
    "rollup-plugin-babel": "^4.3.3",
    "rollup-plugin-gproto": "^1.0.1",
    "rollup-plugin-grpc-proto": "^1.1.0",
    "rollup-plugin-proto": "^1.1.2",
    "rollup-plugin-re": "^1.0.7",
    "rollup-plugin-terser": "^7.0.2"
  },
  "devDependencies": {
    "auto-changelog": "^2.1.0",
    "eslint": "^7.2.0",
    "husky": "^6.0.0",
    "jest": "^26.0.1",
    "jest-haste-map": "^26.0.1",
    "jest-junit": "^12.0.0",
    "jest-resolve": "^26.0.1",
    "prettier": "^2.0.5"
  },
  "scripts": {
    "build:all": "yarn build:lambda:resolvers && yarn build:lambda:registration && yarn"
  }
}

Relevant log output
Starting OpenTelemetry
@opentelemetry/instrumentation-aws-sdk Module aws-sdk has been loaded before @opentelemetry/instrumentation-aws-sdk so it might not work, please initialize it before requiring aws-sdk
Started
(node:25880) NOTE: The AWS SDK for JavaScript (v2) will be put into maintenance mode in 2023.

Please migrate your code to use AWS SDK for JavaScript (v3).
For more information, check the migration guide at https://a.co/7PzMCcy
(Use `node --trace-warnings ...` to show where the warning was created)
(node:25880) Warning: opentelemetry/proto/collector/trace/v1/trace_service.proto not found in any of the include paths C:\Users\Admin\Desktop\Sci-fi\projects\SAM\lambdas\idam-resolvers\protos
{"stack":"Error: ENOENT: no such file or directory, open 'C:\\Users\\Admin\\Desktop\\Sci-fi\\projects\\SAM\\opentelemetry\\proto\\collector\\trace\\v1\\trace_service.proto'","message":"ENOENT: no such file or directory, open 'C:\\Users\\Admin\\Desktop\\Sci-fi\\projects\\SAM\\opentelemetry\\proto\\collector\\trace\\v1\\trace_service.proto'","errno":"-4058","code":"ENOENT","syscall":"open","path":"C:\\Users\\Admin\\Desktop\\Sci-fi\\projects\\SAM\\opentelemetry\\proto\\collector\\trace\\v1\\trace_service.proto","name":"Error"}

@MSNev I'm not a rollup expert is there some missing config?

What version are you upgrading from ?
The grpc trace exporter was updated in v0.3.5 (v1.9.0) to support web and it added @opentelemetry/exporter-trace-otlp-proto as a dependency. This error  seems to be caused by either

SAM\lambdas\idam-resolvers\protos is expecting the opentelemetry\\proto\\collector\\trace\\v1\\trace_service.proto to exist but it doesn't (in the expected path)
@dyladan - Wasn't there some talk about removing the proto files in favor of JS generated code?
Just a missing config / expected / new dependency...

There does appear to be a version mismatch
"@opentelemetry/instrumentation-aws-lambda": "^0.35.0",
"@opentelemetry/instrumentation-aws-sdk": "^0.34.0",
"@opentelemetry/instrumentation-http": "^0.35.1",

What version are you upgrading from ?
The grpc trace exporter was updated in v0.3.5 (v1.9.0) to support web and it added @opentelemetry/exporter-trace-otlp-proto as a dependency. This error seems to be caused by either

SAM\lambdas\idam-resolvers\protos is expecting the opentelemetry\\proto\\collector\\trace\\v1\\trace_service.proto to exist but it doesn't (in the expected path)
@dyladan - Wasn't there some talk about removing the proto files in favor of JS generated code?
Just a missing config / expected / new dependency...

There does appear to be a version mismatch "@opentelemetry/instrumentation-aws-lambda": "^0.35.0", "@opentelemetry/instrumentation-aws-sdk": "^0.34.0", "@opentelemetry/instrumentation-http": "^0.35.1",

Using node 16
Not updating any deps just freshly installed them.
I will check on the version mismatch and update you if it works for me.
Thanks for the quick response.

@dyladan - Wasn't there some talk about removing the proto files in favor of JS generated code?

Yes but so far that's only done in the protobuf/http exporter not the gRPC exporter.

Are you running in a browser? or are you using rollup for a node deployment? this exporter is not supported in browser and if you're using rollup you may not be including the .proto files. I'm not a rollup expert but the files are loaded at runtime not compile time so they still need to be available.

Are you running in a browser? or are you using rollup for a node deployment? this exporter is not supported in browser and if you're using rollup you may not be including the .proto files. I'm not a rollup expert but the files are loaded at runtime not compile time so they still need to be available.

Using them for node deployments.
For lambda functions

This looks very similar to #2786.
AFAIK the gRPC exporter has not been updated yet, only @opentelemetry/exporter-trace-otlp-proto was. Would using @opentelemetry/exporter-trace-otlp-proto be an acceptable workaround until #2786 is implemented? :thinking:

I'm changing this to enhancement as we have not supported bundling with the gRPC exporters until now. However, I have a PR for that in the pipleline that should address this problem #3705 :slightly_smiling_face:


Replace factory.fuzzy calss in favor of factory.Faker

This issue was created after @ewjoachim comment on replacing factory.fuzzy by fatory.Faker. The reason is that the fuzzy method is deprecated in favor of faker.
So, the goal of this issue is to update all factories class under tests/common/db/ to replace the methods as commented above. Since this will only touch test code, the acceptance criteria for a possible PR would be its CI status.

Good First Issue: This issue is good for first time contributors. If you've already contributed to Warehouse, work on another issue without this label instead. If there is not a corresponding pull request for this issue, it is up for grabs. For directions for getting set up, see our Getting Started Guide.
If you are working on this issue and have questions, feel free to ask them here, in the #pypa-dev chat channel on Libera, or on the distutils-sig.python.org mailing list.
Screenshot Required: If your pull request makes a visual change, include a screenshot of your update. This helps our team give you feedback faster.

@ewdurbin or @ewjoachim can you flag this as a Good first issue? I don't have the permission to do so. Thanks =)

Hi, I would like to work on this issue.
And I have a question :
Should I change factory.fuzzy.FuzzyNaiveDateTime to  factory.Faker("date") here?

Here is a PR with an attempt to address the issue #9980


Push to elastic

lint is :0
coverage is :85

update to latest version - https://mvnrepository.com/artifact/com.techsophy/awgment-commons

pls deploy


Sizing for Pie Chart related to closed issue #179 not working

After following issue #179 I expected a container around the pie chart to re-size the chart.  However, a small container cuts it and I cannot size it larger with a larger container.  Is there any way to set the outer radius of the pie chart?

Code for screenshots:
child: Container(           height: 100.0,           width: 100.0,           child: PieChart(             PieChartData(                 centerSpaceRadius: 50.0,                 centerSpaceColor: Colors.transparent,                 sectionsSpace: 0.0,                 startDegreeOffset: 0.0,                 sections: [                   PieChartSectionData(                     value: 35.0,                     color: Colors.transparent,                     showTitle: false,                   ),                   PieChartSectionData(                     value: 5.0,                     color: Colors.lightGreen,                     showTitle: false,                   ),                   PieChartSectionData(                     value: 10.0,                     color: Colors.blueGrey,                     showTitle: false,                   ),                   PieChartSectionData(                     value: 20.0,                     color: Colors.cyan,                     showTitle: false,                   ),                 ]             ),           ),         ),
child: Container(           height: 370.0,           width: 370.0,           child: PieChart(             PieChartData(                 centerSpaceRadius: 50.0,                 centerSpaceColor: Colors.transparent,                 sectionsSpace: 0.0,                 startDegreeOffset: 0.0,                 sections: [                   PieChartSectionData(                     value: 35.0,                     color: Colors.transparent,                     showTitle: false,                   ),                   PieChartSectionData(                     value: 5.0,                     color: Colors.lightGreen,                     showTitle: false,                   ),                   PieChartSectionData(                     value: 10.0,                     color: Colors.blueGrey,                     showTitle: false,                   ),                   PieChartSectionData(                     value: 20.0,                     color: Colors.cyan,                     showTitle: false,                   ),                 ]             ),           ),         ),

try to change centerSpaceRadius value that's why it is not fit with SizeBox or Container, if you want to change pie size dynamic by parent widget just add centerSpaceRadius: double.infinity,  it works with me

Hi, sorry for the late answer,
I think it has been fixed in 0.10.1, check the changelog.
and let me know if it is still exists.

Did you check it?
Please let me know whether it is fixed or not.
Thanks!

Did you check it?
Please let me know whether it is fixed or not.
Thanks!

@imaNNeoFighT
Hi, unfortunately, it's not fixed for me: Container() with predefined width and height is not forcing the chart to fit inside of it.
Fl_chart: 0.30.0
Flutter: 2.0.5

Give me reproducible code.

Give me reproducible code.
@imaNNeoFighT
Here you go:

Looks like it's related to final double radius = isTouched ? 60 : 50; Radius overrides constraints from Container().
int touchedIndex;

  child: Container(
    color: Colors.green,
    width: 150,
    height: 100,
    child: PieChart(
      PieChartData(
          pieTouchData: PieTouchData(
        touchCallback: (pieTouchResponse) {
                setState(() {
                  final desiredTouch =
                      pieTouchResponse.touchInput
                              is! PointerExitEvent &&
                          pieTouchResponse.touchInput
                              is! PointerUpEvent;
                  if (desiredTouch &&
                      pieTouchResponse
                              .touchedSection !=
                          null) {
                    touchedIndex = pieTouchResponse
                        .touchedSection
                        .touchedSectionIndex;
                  } else {
                    touchedIndex = -1;
                  }
                });
              },
              ),
          borderData: FlBorderData(
            show: false,
          ),
          sectionsSpace: 5,
          centerSpaceRadius: 25,
          sections: sectionsData(
              touchedIndex)),
    ),
  ),

List<PieChartSectionData> sectionsData (int touchedIndex) {
  return List.generate(2, (i) {
    final isTouched = i == touchedIndex;
    final double fontSize = isTouched ? 25 : 16;
    final double radius = isTouched ? 60 : 50;
    switch (i) {
      case 0:
        return PieChartSectionData(
          color: const Color(0xff845bef),
          value: 20.0,
          title: '20',
          radius: radius,
          titleStyle: TextStyle(
              fontSize: fontSize,
              fontWeight: FontWeight.bold,
              color: const Color(0xffffffff)),
        );
      case 1:
        return PieChartSectionData(
          color: const Color(0xff13d38e),
          value: 30.0,
          title: '30',
          radius: radius,
          titleStyle: TextStyle(
              fontSize: fontSize,
              fontWeight: FontWeight.bold,
              color: const Color(0xffffffff)),
        );
      default:
        return null;
    }
  });
}

Please put it in a main.dart file, then I can run it directly.

Unfortunately, I have the same issue

@yasaman93 please provide a reproducible code (a main.dart file)

@hamdi-99 There is no reproducible code yet to check.

Hi @imaNNeoFighT does this get you want you need?
main.dart
import 'package:fl_chart/fl_chart.dart';
import 'package:flutter/material.dart';

void main() {
  runApp(const MyApp());
}

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

  @override
  Widget build(BuildContext context) {
    return MaterialApp(
      title: 'fl_chart Pie Chart Sizing Bug',
      home: Scaffold(
          appBar: AppBar(
            title: Text('fl_chart Pie Chart Sizing Bug'),
          ),
          body: Container(
            width: 300.0,
            height: 300.0,
            color: Colors.blue,
            child: PieChart(
              PieChartData(
                sections: [
                  PieChartSectionData(
                    value: 60.0,
                    color: Colors.green,
                  ),
                  PieChartSectionData(
                    value: 40.0,
                    color: Colors.purple,
                  ),
                ],
                centerSpaceRadius: 0,
              ),
            ),
          )),
    );
  }
}

I hope this is reflective of the same issue everyone else is experiencing. I would expect my pie chart to fill the size of its parent container, but it does not.

Each PieChartSectionData has a radius value (which the default is 40).
It determines how much radius each section should have.
In your example. You didn't provide anything. It draws based on the default value.
You need to set 150 (half of 300) to fill the area (keep in mind that it is a hard-coded value).
Otherwise, wrap your PieChart with a LayoutBuilder to get the current size of the parent and set the radius dynamically.
Check the below sample (source code is here):
https://user-images.githubusercontent.com/7009300/144674885-fb777413-d631-4314-a284-11237cec86f1.mp4


Add method to get hook output

Add a private hooks method to execute a hook and get its output. This can be used by any hook, and will be used by the list additional info hook.
Relates to uptech/git-ps-rs#123
ps-id: 9887904b-ee8e-4229-a0a7-ef02725fe0fd

@drewdeponte sorry I integrated by accident! What do you think? needs any tweaks?

@drewdeponte https://github.com/uptech/git-ps-rs/pull/169

@drewdeponte https://github.com/uptech/git-ps-rs/pull/168


chore: ensure all tests clear cmd args

Ensures all tests execute with initially clear args
Minor refactor/cleanup to make this reset more obvious

/lgtm


Error when making new module

Hello,
There is an error when making module on fresh install of the package.
"php": "^7.4.4",
"laravel/framework": "^7.0",
"nwidart/laravel-modules": "^7.1"
Return value of Nwidart\Modules\Activators\FileActivator::readJson() must be of the type array, null returned
at vendor/nwidart/laravel-modules/src/Activators/FileActivator.php:171
167|         if (!$this->files->exists($this->statusesFile)) {
168|             return [];
169|         }
170|
> 171|         return json_decode($this->files->get($this->statusesFile), true);
172|     }
173|
174|     /**
175|      * Get modules statuses, either from the cache or from
\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))

adding empty brackets to module_stutuses.json fixed the error

Thank for reporting this, I can't seem to be able to reproduce this.
Let's see if it's reported in the future 😄

I have the same problem.
php 7.4.2
laravel/framework 7.27.0
nwidart/laravel-modules"7.2.0
@rebaz88 Did you find a workaround?

Okay. Nvm. I found the problem. The modules_statusus.json was not valid.

Okay. Nvm. I found the problem. The modules_statusus.json was not valid.

yes,that right solution.

whats the solution?


Custom GIF FPS export

Is your feature request related to a problem? Please describe.
I think i'm confused by the word framerate used in the recorder settings. If i'm right, the framerate settings has control on which frame from the canvas framerate are added in the recorder for creating a gif.
Describe the solution you'd like
What i need is to be able to control also the framerate of the gif itself, when we open it in a browser.
Additional context
The context is that, i don't use the p5 framerate to render the canvas, i add manually each frame i want to be processed as part of the animated gif. When i then trigger download, i want the gif to set a delay between frame, customized by the user (4, 8, 12 or 24)
Thanks for your help

@fffiloni You are right about the framerate. Now you can set the framerate as you want!
Be sure to use the latest version which is 1.0.6
<EMAIL_ADDRESS>Fix by e11f4026c604b90dfa2aecc2c71b505993faad5c


The openwhisk/actionloop-v2 includes the dynamic executable

The build.gradle uses the "-static" but the image published on Docker Hub as "actionloop-v2" is still dymanically linked
docker run --entrypoint=ldd openwhisk/actionloop-v2  /bin/proxy
	linux-vdso.so.1 =>  (0x00007ffc35f65000)
	libpthread.so.0 => /lib/x86_64-linux-gnu/libpthread.so.0 (0x00007f8e4aee2000)
	libc.so.6 => /lib/x86_64-linux-gnu/libc.so.6 (0x00007f8e4ab18000)
	/lib64/ld-linux-x86-64.so.2 (0x00007f8e4b0ff000)

Note that if I rebuild the runtime locally it is statically linked:
docker run --entrypoint=ldd whisk/actionloop-v2  /bin/proxy
	not a dynamic executable

Current version (tag from docker hub taken now) is still a DLL
docker run --entrypoint=ldd openwhisk/actionloop-v2:ddd3299  /bin/proxy

Note in build.gradle there is:
go """build -o common/proxy -ldflags '-extldflags "-static"'  main/proxy.go"""

What if you build with go? If the gradle built disappeared I’m not sure who’d miss it.

First it is still built with go, just wrapped by grade, and second there are the scala tests so gradle or something similar is still built. I think the problem is only in the configuration of Travis/DockerHub because it builds properly with gradle it is just the right image does not reach docker hub
--
Michele Sciabarra
<EMAIL_ADDRESS>----- Original message -----
From: rodric rabbah<EMAIL_ADDRESS>To: apache/incubator-openwhisk-runtime-go<EMAIL_ADDRESS>Cc: Michele Sciabarra<EMAIL_ADDRESS>Author<EMAIL_ADDRESS>Subject: Re: [apache/incubator-openwhisk-runtime-go] The openwhisk/actionloop-v2 includes the dynamic executable (#80)
Date: Monday, April 08, 2019 6:57 AM
What if you build with go? If the gradle built disappeared I’m not sure who’d miss it.
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub https://github.com/apache/incubator-openwhisk-runtime-go/issues/80#issuecomment-480683460, or mute the thread https://github.com/notifications/unsubscribe-auth/AdPB7y0Dwfcbyo3y0jNVfmrudD1UQ6Giks5vesw1gaJpZM4cgwOM.

The issue seems to remain unsolved. /bin/proxy is dynamically linked in openwhisk/actionloop-v2:latest on docker hub.

Can you please point to the docker image you are talking about? All the newer version of the docker images are build straight from the sources so it is no more an issue.

This is the image i'm running: https://hub.docker.com/layers/openwhisk/actionloop-v2/latest/images/sha256-d4b6cd4b434a59d6850d068c7511b977fa2d0404be62e1edc4cfdfe1ab800cc5

The docker image is the "standalone" actionloop-v2 that is now obsolete. You are supposed to be using one of the runtime images like golang, python, ruby etc that now builds the proxy from sources (after the de-incubation)

Yes, I was trying to build a runtime for Scala Native.
So I will follow the same steps done by the other runtimes to build the proxy from sources.
Thank you for your answers :)

I tried right now with the openwhisk/actionloop-v2:nightly and it has /bin/proxy statically linked 👍

I think the issue really is: update the sample in the toolkit to use sources.... We are now tagging sources in order to use a released version.

As a side note, yes actually there was a change to use the tag nightly instead of latest... so also this can be confusing.


Case sensitive

Hi, Thanks to your code.
I'm install to my notepad++
select id from TableName

this will change
SELECT id
FROM   TABLENAME

but I got error.
Table 'TABLENAME ' doesn't exist

windows is OK but in linux i got error.
i think that talbe name has 'case sensitive' in linux

Could you provide a snapshot?


Implement Big UInt Bitwise Or for modexp

Context: modexp.yul
Description:
/// @notice Performs the big unsigned integer bit or operation.
/// @dev The result is stored from `resPtr` to `resPtr + (WORD_SIZE * nLimbs)`.
bigUIntBitOr(lhsPtr, rhsPtr, nLimbs, resPtr)

lhsPtr: The pointer to the MSB of the left operand.
rhsPtr: The pointer to the MSB of the right operand.
nLimbs: The number of limbs needed to represent the operands.
resPtr: The pointer to where you want the result to be stored.
Recommendation:
Follow this implementation.

Solved in https://github.com/lambdaclass/zksync_era_precompiles/pull/135


InvalidStateError (DOM Exception 11): The object is in an invalid state.

An error occurred on http://lba2remake.xesf.net/ [v0.0.9]]
Stacktrace:
stop@[native code]
stop@http://lba2remake.xesf.net/bundle.js:51:15551
value@http://lba2remake.xesf.net/bundle.js:29:4870
value@[native code]
value@http://lba2remake.xesf.net/bundle.js:29:5466
value@[native code]

UserAgent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_3) AppleWebKit/604.5.6 (KHTML, like Gecko) Version/11.0.3 Safari/604.5.6
Details: https://www.lba2remake.net/crash/crash_report_1522545169.json

Tried to reproduce that, using safari on Mac OS, picking the darts as seen in crash report.
Didn't manage to reproduce. Closing until it pops up again.


Broken Link

In this update I fix the broken link on pages/index.js according to #19.

Happy to see you back!
If you have any suggestions regarding improvement, feel free to use this PR!

Happy to see you back!
If you have any suggestions regarding improvement, feel free to use this PR!

I have no idea yet... Maybe next time.

Happy to see you back!
If you have any suggestions regarding improvement, feel free to use this PR!

I have no idea yet... Maybe next time.

Noted


Toast style floating message

Hi does the framework support "toast" style messages which are fixed sticky etc.
I have been experimenting with class="ui negative message sticky fixed top".
Is there a way to center such messages based on their content without specifying addtional non-semantic-ui css ? And make them responsive... Angular example: http://tamerayd.in/ngToast
thanks

Duplicate #1430

5 years later - no toast. That's a bit upsetting, but I'll just use another framework.

@JakenHerman Take a look at Fomantic-UI


[FLOC-3806] More reliable way to find always-present process name

The current code for testing the cputime benchmark requires knowledge of an always present process name, and assumes that Ubuntu uses init and CentOS uses systemd. However, Ubuntu 15.10 uses systemd.  Rather than update the current distribution detection, make it more robust by getting the name of process 1, and using that.
This has been tested on Ubuntu 14.04, 15.10, and OS X (where it skips the tests that use _standard_process).

This looks good to me. I'll ask jml for a mentor review.
Thanks,
James

@jongiddy What a good idea! I wish I'd thought of it.
@james-w Review all good.


Update release notes link on dotnet.microsoft.com for correct branch

In https://dotnet.microsoft.com/download/dotnet/5.0, the link there is master (it redirects automatically to main with a message saying "Branch master was renamed to main.").
It could be better to have the links point to main directly.
cc: @mairaw

This would be fixed by #5997.

The Release Notes from the Releases here on github still point to master

@mairaw @terrajobst


terraform_lint doesn't correctly parse args

I've added the following to my pre-commit config:
repos:
  - repo: git://github.com/antonbabenko/pre-commit-terraform
    rev: v1.25.0
    hooks:
      - id: terraform_fmt
      - id: terraform_validate
      - id: terraform_tflint
        args: ['--deep']

but:
$ pre-commit run -a
Terraform fmt............................................................Passed
Terraform validate without variables.....................................Passed
Terraform validate with tflint...........................................Failed
- hook id: terraform_tflint
- exit code: 1

getopt: unrecognized option '--deep'
getopt: unrecognized option '--deep'
getopt: unrecognized option '--deep'
getopt: unrecognized option '--deep'
getopt: unrecognized option '--deep'
getopt: unrecognized option '--deep'
getopt: unrecognized option '--deep'
getopt: unrecognized option '--deep'

Did you try something like this :
      - id: terraform_tflint
        args: ['args=--deep']

      - id: terraform_tflint
        args: ['args=--deep']

works. In order to pass multiple args I had do add args= to every arg like:
      - id: terraform_tflint
        args:
          - 'args=--deep'
          - 'args=--enable-rule=terraform_documented_variables'

Great. @pietro or @grabcocque will you please update the doc ?

I've opened a PR: https://github.com/antonbabenko/pre-commit-terraform/pull/95

v1.27.0 has been just released.
Thanks @grabcocque !


Add travis template

See #15.
This PR adds a template for Travis CI configuration to attempt to have a central location for templates and communication about possible future changes.
Currently when updating a project the way to have an up-to-date .travis.yml file is looking it up in the latest released package and copy the changes from there. This makes the example config available in a central place.

Maybe we should include in that template also variables and commands to deploy documentation.

I'm working on having zfbot build the docs. Since the bot gets triggered for build status events, it can trigger doc builds when it detects a successful build on the master branch. Doing this means we can remove such integration out of the Travis config - which has a nice side effect of preventing token exposure (our previous token was exposed a couple months ago; github revoked it for us when it was detected). It will also make triggering new builds when templates change far easier.

I'm working on having zfbot build the docs. Since the bot gets triggered for build status events, it can trigger doc builds when it detects a successful build on the master branch.

Exactly why I didn't include it. And more reason to have a centralized template as others didn't know about this yet.

Exactly why I didn't include it.

Exactly why these boilerplates so important, because all others didn't know this!

I'm not so happy with these 2 lines:
env:
  global:
    - LEGACY_DEPS="phpunit/phpunit"

install:
  - if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi

They are not reusable. Can't we right it like this:
matrix:
  include:
    - php: 5.6
      env:
        - DEPS=lowest
        - LEGACY_DEPS="phpunit/phpunit"

install:
  - if [[ $LEGACY_DEPS != "" ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi

This way we can reuse it for any php version where needed.

@xtreamwayz

This way we can reuse it for any php version where needed.

Makes sense.

I think we will need to set then LEGACY_DEPS only on locked build.

[x] COLUMNS=120 composer show -> only shows package names
[x] export COLUMNS=120 composer show -> doesn't show anything
[x] export COLUMNS=120 && composer show -> only shows package names
[x] stty cols 120 - > works
[x] stty cols 120 && composer show -> works

For tests and travis composer show output see xtreamwayz/xtreamwayz.com#20

Thanks, @xtreamwayz!


Shopify API not showing all the orders

My customer gave me list of orders that were created on shopify store.but when i try to fetch orders using  ShopifyAPI::Order.find(:all) its showing only one order.  My system keep track of all the orders that Shopify sent us via webhook on fetching this order via ShopifyAPI::Order.find(822852649017) it show error ActiveResource::ResourceNotFound (Failed.  Response code = 404.  Response message = Not Found.)

Hey @ayazahmadtarar-pikessoft,
Does your app have read_all_orders scope? Without this scope you would be limited to viewing only the past 60 days worth of orders. Orders outside 60 days would return a 404, like with this order. Read about the change here: https://www.shopify.ca/partners/blog/shopify-order-api.
Feel free to reopen this issue if you continue having trouble.

Hey @Busfox ,
thank you!


[Feature Request] Round images

I don't know if it is possible, but I would like to add an image as a background to a circle shape or a shape with rounded corners in a non-destructive way, just as I can with a rectangular shape. The image shouldn't bleed outside of the shape border.

For images with a data URI (ie those you drop into the diagram from your local file system), you can right click > Edit Image > Crop and tick "Circle".

I know I can do that, but I need it to work non-destructive via URL. Also I cannot set a border color for images resaved with the crop to circle functionality.


Call for new devs

If you want to participate in this project, inform us.

I would like to. I hate using apple devices but am forced for my phone (thanks dad :P)
I would probably try to add functionality between ios and pc streaming over airplay (a new feature afaik) and would love to try to do something with this

@DevBennyturtle I hope you will. I’m not a python person myself, but this looks really useful. For sharing to a pc, you might look at https://github.com/FD-/RPiPlay . I use it to share my iPad screen on Linux zoom.

@robobenklein: ^

I don’t have any Apple TV’s atm but might try to see if I can get one cheap. I wouldn’t mind dev’ing this but may have to do it from the ground up and reference back to this project. I would also not have much time to dev because work and school.
I have never done any official python projects so this would be a first but I definitely want to try.

I would love to help out. My school uses apple tvs on their smartboards, so whenever I need to present a slideshow, I always need to ask my friend or the teacher to airplay for me. I don't have much experience in the airplay standard, but I will try to contribute something to the table.

@WayneSeng do you have a discord? If so dm me and I’ll show you what I am doing so far.
My discount is Bennyturtle#2468

@DevBennyturtle Yes as soon as I get home I will dm.


"set_foveation_level" function doesn't seem to work

Wasn't able to get it to work, no matter if ran before or after initialize in my root node script. The FFR won't change.
(i'm using GLES3 if that matters)

false alert, it works. i just didn't set it to a high-enough level to be noticable (which is kind of a good thing)

Good to hear that it works :-); During development it is also a good idea to use the OVR metrics tool from oculus; It will show not only performance but also what foveation level is set:
https://developer.oculus.com/blog/ovr-metrics-tool-vrapi-what-do-these-metrics-mean/
https://developer.oculus.com/documentation/tools/tools-ovrmetricstool/
For monitoring rendering performance and impact of changes this is a very valuable tool.

Ah; and in general using GLES3 is not reccomended as there are several problems with performance in the GLES3 pipeline; if possible you should switch to GLES2 to get the best performance.

Thank you for your advice! I'll check out the OVR Metrics tool when I can.
Also, I was using GLES3 because shaders worked better with it (i had intense visual artifacts in the Quest with GLES2) but in retrospect I might want to cut back on that


Fixes #1

Brief description
Fixes #1
Developer Certificate of Origin

[x] I certify that these changes according to the Developer Certificate of Origin 1.1 as described at https://developercertificate.org/.

Further details
The trick is to url encode the whole SVG and remove charset. Tested in Chrome, FF, IE9-10-11.

Two beautiful lines of code. Thank you so much for the fix!


How to validate an array of objects in wizard step

I am not sure how should I go about validating my data that I am passing as array of objects to my field. I can't make those fields individually because fields are generated dynamically. It's in a questionairre format where I am sending questions from database to front end and sending array of responses with questions id back to Field::make('responses'). Any help will be appreciated

I solved it by using this pull request. So far its working perfectly and does the job well. https://github.com/laravel-arcanist/arcanist/pull/33.


Vector Store: UnsupportedOperationException: Can't handle Symbol [ParameterSymbol: $1]] when using JOINs and parameters to an aliased and sorted vector_similarity() together

CrateDB version
5.9.2 / nightly / any
CrateDB setup information
Docker standard.
docker run --rm -it --publish=4200:4200 crate/crate:nightly -Cdiscovery.type=single-node

Problem description
The data model of the LangChain framework resembles two tables, collection and embedding. At query time, both are joined together.
When applying the new vector_similarity() function in the way how LangChain queries the tables, CrateDB trips, but only in this constellation when using query parameters, when aliasing the computed vector_similarity() column, and when sorting on it.
SELECT vector_similarity(embedding, ?) AS "similarity"
FROM embedding JOIN collection ON embedding.collection = collection.name
ORDER BY "similarity" DESC;

parameters=[[0.1, 0.2, 0.3]]

When omitting each individual feature, the query works as expected. It works when formulating a literal query without using parameters, and it works even with parameters when omitting either joining or sorting. The aliasing itself is apparently not the culprit, only when paired with sorting.
Steps to Reproduce
pip install crate sqlparse

from pprint import pprint

import crate.client
import sqlparse

def vector_join():

    connection = crate.client.connect("http://localhost:4200/?schema=testdrive")

    # Insert.
    cursor = connection.cursor()
    for statement in sqlparse.parse("""
        DROP TABLE IF EXISTS collection;
        DROP TABLE IF EXISTS embedding;
        CREATE TABLE collection (
            name STRING,
            PRIMARY KEY (name)
        );
        CREATE TABLE embedding (
            collection STRING,
            embedding FLOAT_VECTOR(3)
        );

        INSERT INTO collection (name) VALUES ('test');
        INSERT INTO embedding (collection, embedding) VALUES ('test', [1.0, 0.8, 0.3]);

        REFRESH TABLE collection;
        REFRESH TABLE embedding;
        """):
        cursor.execute(str(statement))

    # Select.
    cursor.execute("""
    SELECT vector_similarity(embedding.embedding, ?) AS "similarity"
    FROM embedding JOIN collection ON embedding.collection = collection.name
    ORDER BY "similarity";
    """, parameters=[[0.1, 0.2, 0.3]])

    results = cursor.fetchall()
    pprint(results)
    cursor.close()

    connection.close()

if __name__ == "__main__":
    vector_join()

Actual Result
crate.client.exceptions.ProgrammingError: SQLParseException[Couldn't create executionContexts from
NodeOperations: [1=>NodeOp{ phase{id=1/collect, nodes=[KiIL2a7XSjK3zgTmXHqMew], dist=SAME_NODE}, downstreamNodes=[KiIL2a7XSjK3zgTmXHqMew], downstreamPhase=2, downstreamInputId=1}, 0=>NodeOp{ phase{id=0/collect, nodes=[KiIL2a7XSjK3zgTmXHqMew], dist=SAME_NODE}, downstreamNodes=[KiIL2a7XSjK3zgTmXHqMew], downstreamPhase=2, downstreamInputId=0}]
Leafs: [JoinPhase{executionNodes=[KiIL2a7XSjK3zgTmXHqMew], executionPhaseId=2, name=hash-join, joinType=INNER, joinCondition=(INPUT(1) = INPUT(2)), outputTypes=[real], jobId=8be01dfd-e5c1-8f11-f7c7-9674a68541a1, executionNodes=[KiIL2a7XSjK3zgTmXHqMew]}]
target-sources: [2=>[0, 1]]
original-error: UnsupportedOperationException: Can't handle Symbol [ParameterSymbol: $1]]

Expected Result
[[0.46082947]]

References

https://github.com/langchain-ai/langchain/pull/27710
https://github.com/crate-workbench/langchain/issues/30

Was able to reproduce, InputColumnVisitor does not handle parameterSymbol.

Thx @jeeminso, that's indeed the issue, we don't bind params in OrderedLimitAndOffsetProjection.
The issue is present for simpler cases like the following:
cr> create table t1(a int);
CREATE OK, 1 row affected (0.467 sec)
cr> create table t2(b int);
CREATE OK, 1 row affected (0.462 sec)
cr> insert into t1 values(1),(2);
INSERT OK, 2 rows affected (1.142 sec)
cr> insert into t2 values(1),(2);
INSERT OK, 2 rows affected (0.013 sec)
cr> refresh table t1, t2;
REFRESH OK, 2 rows affected (0.022 sec)

$ curl -sS -H 'Content-Type: application/json' -X POST 'localhost:4200/_sql' -d '
{
 "stmt": "SELECT abs(?) FROM t1 JOIN t2 ON t1.a = t2.b ORDER BY 1 DESC",
 "args":
    [-1]
}'
{"error":{"message":"SQLParseException[Couldn't create executionContexts from\nNodeOperations: [1=>NodeOp{ phase{id=1/collect, nodes=[6iqMg5VXRBCoFEtqSwwCew], dist=SAME_NODE}, downstreamNodes=[6iqMg5VXRBCoFEtqSwwCew], downstreamPhase=2, downstreamInputId=1}, 0=>NodeOp{ phase{id=0/collect, nodes=[6iqMg5VXRBCoFEtqSwwCew], dist=SAME_NODE}, downstreamNodes=[6iqMg5VXRBCoFEtqSwwCew], downstreamPhase=2, downstreamInputId=0}]\nLeafs: [JoinPhase{executionNodes=[6iqMg5VXRBCoFEtqSwwCew], executionPhaseId=2, name=hash-join, joinType=INNER, joinCondition=(INPUT(0) = INPUT(1)), outputTypes=[byte], jobId=20b5edc5-5e35-9dae-a181-7f4573fd441c, executionNodes=[6iqMg5VXRBCoFEtqSwwCew]}]\ntarget-sources: [2=>[0, 1]]\noriginal-error: UnsupportedOperationException: Can't handle Symbol [ParameterSymbol: $1]]","code":4000}}%


*: disable transferRegion and offline warning when enable placement rules

Signed-off-by: disksing<EMAIL_ADDRESS>What problem does this PR solve?
Some feature cannot work as expected when enable placement rules.
What is changed and how it works?
disable them.
Check List
Tests

Unit test

/merge

Codecov Report

:exclamation: No coverage uploaded for pull request base (master@5633158). Click here to learn what that means.
The diff coverage is 66.66%.

@@           Coverage Diff            @@
##             master   #2055   +/-   ##
========================================
  Coverage          ?   76.8%
========================================
  Files             ?     186
  Lines             ?   19049
  Branches          ?       0
========================================
  Hits              ?   14631
  Misses            ?    3299
  Partials          ?    1119

Impacted Files
Coverage Δ

server/cluster/cluster.go
81.28% <0%> (ø)

server/handler.go
49.78% <100%> (ø)

Continue to review full report at Codecov.

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


how to remove body from world

how to remove body from world

Matter.Composites.remove(world, body)

ok  thanks

this  shuld be Matter.Composite.remove(world, body)

Oops, it should thanks!


ReadTheDocs and pre-commit fix

https://candle-lib.readthedocs.io/en/latest/index.html
This is a Draft.
Modac utils was causing some issues, several other pages also need changes.

Checked, no errors detected.


2022.4 | Kubeenforcer | Fix issue with starboard rolebinding not following custom namespace

Starboard can't deploy to custom namespaces due to issue with hardcode "aqua" namespace in rolebinding, making it impossible for starboard to create secrets.

 Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.You have signed the CLA already but the status is still pending? Let us recheck it.


Merge pool incentives proposals into one

Tests are failing

This is going into the pool-incentives PR, which also has failing tests, not master

Oh ok

@antstalepresh feel free to merge whenever you're ready


fix: 调整分割线的颜色绘制逻辑, 优化和单元格边框颜色不一致的问题

👀 PR includes

🎨 Enhance

[ ] Code style optimization
[ ] Refactoring
[x] Change the UI
[ ] Improve the performance
[ ] Type optimization

🐛 Bugfix

[x] Solve the issue and close #0

📝 Description

🖼 Screenshot

Before
After

🔗 Related issue link

🔍 Self-Check before the merge

[ ] Add or update relevant docs.
[ ] Add or update relevant demos.
[ ] Add or update test case.
[ ] Add or update relevant TypeScript definitions.

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 80.80%. Comparing base (ecdc9c8) to head (6bfcce2).
Report is 443 commits behind head on next.

Additional details and impacted files
@@            Coverage Diff             @@
##             next    #2919      +/-   ##
==========================================
+ Coverage   75.77%   80.80%   +5.03%
==========================================
  Files         257      180      -77
  Lines       11994    10415    -1579
  Branches     2464     2361     -103
==========================================
- Hits         9088     8416     -672
+ Misses       1398      554     -844
+ Partials     1508     1445      -63

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

:tada: This PR is included in version @antv/s2-v2.0.0-next.29 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-v2.0.0-next.28 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:

:tada: This PR is included in version @antv/s2-react-components-v1.0.1-next.1 :tada:
The release is available on:

npm package (@next dist-tag)
GitHub release

Your semantic-release bot :package::rocket:


[SUPPORT]When I write HUDI with Flink use  asynchronous compaction, I use the --service parameter, but I run into a problem

Tips before filing an issue

Have you gone through our FAQs?

Join the mailing list to engage in conversations and get faster support at<EMAIL_ADDRESS>

If you have triaged this as a bug, then file an issue directly.

Describe the problem you faced
A clear and concise description of the problem.
To Reproduce
Steps to reproduce the behavior:

Expected behavior
A clear and concise description of what you expected to happen.
Environment Description

Hudi version :

Spark version :

Hive version :

Hadoop version :

Storage (HDFS/S3/GCS..) :

Running on Docker? (yes/no) :

Additional context
Add any other context about the problem here.
Stacktrace
Add the stacktrace of the error.

mething went wrong.


Generalise updater.go and move into its own package

This is so it can be re-used by IPAM

Coverage increased (+0.27%) to 33.46% when pulling 629b26a0b35a2972142bc054f5e7419d94e03226 on bboreham:master into b5c82584073eae68ec264700cff5b9e5fcbc322b on zettio:master.

Coverage increased (+0.27%) to 33.46% when pulling c676907c7fe61636de368e11c18590f5ef286d6e on bboreham:master into b5c82584073eae68ec264700cff5b9e5fcbc322b on zettio:master.

Moved to #511 because I needed to change branch


Fix load props

[888] - https://transfer.sh/10qzfD/jdi-dark-tests.tar.gz

[888] - Allure report on Netlify: https://5e79f420f33ec7c289646ea8--jdi-dark.netlify.com


Update _index.html

Updating meeting location and times, and the age of rotaractors
hey! I’m the current secretary of Monash Rotaract, and I’m trying to update the website so that it has our latest details

Added as part of https://github.com/mitchelloharawild/monashrotaract/commit/038a6e5543d1b149cde785d3f5b27076ae07c513, thanks!


Added ability to validate the code when arming or disarming Simplisafe alarm

Description:
This patch added the ability for when using the  component alarm_control_panel/Simplisafe to only proceed on the frontend when the code specified via fronted matches with the code on the yaml conf.
note: documentation has already a PR as https://github.com/home-assistant/home-assistant.io/pull/613/
Example entry for configuration.yaml (if applicable):
alarm_control_panel:
    platform: simplisafe
    name: "HA Alarm"
    code: PASSCODE
    username: YOUR_USERNAME
    password: YOUR_PASSWORD

Checklist:
If code communicates with devices, web services, or a:

[x] Local tests with tox run successfully. Your PR cannot be merged unless tests pass

Cool, thanks!

Looks good! :dolphin:


Scanning a dir using HTTP backend outputs an error

Description
Scanning an empty dir with an HTTP backend should output something clean and meaningful to the user, as we do for other errors!
Environment

OS: fedora 34
driftctl version: 0.8.0 (pre)

How to reproduce

Inside an HTTP served directory, create some folder:
mkdir bogus-dir

Then request this folder with driftctl
  LOG_LEVEL=error driftctl-0.8.0 scan --from tfstate+https://***.com/bogus-dir/
Scanned states (1)
2 problems:

- Unsupported state file format: The state file could not be parsed as JSON: syntax error at byte offset 1.
- Unsupported state file format: The state file does not have a "version" attribute, which is required to identify the format version.

Possible Solution

Additional context

Suggestion also for this, add a --skips-if-no-state type of flag. As I'm waiting for other devs to create statefiles but the buckets may exist so I can code in parallel.
(Work around for this is an empty .tfstate, however I believe that still leads to a fail)

confirmed ok in 0.9.1 and 0.10.0-pre
❯  DCTL_TF_PROVIDER_VERSION="3.44.0" AWS_REGION="eu-west-3" AWS_PROFILE="cloudskiff-demo" driftctl-0.10.0 scan --from tfstate+https://driftctl.com/bogus/
Scanned states (1)
Failed to read state file: The state file could not be read: error requesting HTTP(s) backend state: status code: 404

@AzySir I referenced your initial suggestion in the issue that is more likely to solve your use-case https://github.com/cloudskiff/driftctl/issues/623#issuecomment-864073056


Added CakePHP-BsHelpers plugin

Please use the correct name BsHelpers plugin as outlined in the contribution section.
And there is a missing . at the end of your sentence.

Fixed the name and the end of the sentence.
Is it correct ?

:+1:

Do you happen to know the main differences between yours and the existing bs3 plugin in the awesome list?

Our plugin helps to write easier and faster the code. We have a more "developer-friendly" approach to gain a lot of time during developements repeatedly.
Contrary to Bootscake, we have new helpers (BsHelper and BsFormHelper)  but we keep the CakePHP process to write forms without changing default configuration every time.
Finally, we added too some other librairies to improve the UX. We already used those librairies during our previous projects and they are handpicked to respond to client needs.


Disabled to access to a link without attaching http protocol

Describe the bug
Inserting a link in editor without http protocol, I cannot move to a link attached in Viewer.
(instead move to www.mydomain.com/${link})
(ex. google.com is not working but https://google.com is working)
To Reproduce
Steps to reproduce the behavior:

Go to the viewer
Click on insert link
paste a link (test 2 links. the former is with https and the latter is without one.) and see it with viewer
click the link you attached.

Expected behavior
expect to move to attached link
Desktop (please complete the following information):

OS: ios
Browser chrome
Version:  114.0.5735.198

This is due to ToastUI editor treating links as relative if they don't explicitly include http(s)://. Workarounds are either a) offer some type of UI/UX to hint that a fully qualified domain is required or b) override the query event to handle link popups and insert http(s):// if not present.
Inspired by the comment https://github.com/nhn/tui.editor/issues/1256#issuecomment-1614408477, you can implement this like so:
const editor = new Editor(...);

editor.eventEmitter.removeEventHandlerWithTypeInfo('query');
editor.eventEmitter.listen('query', (query, payload = {}) => {
    if (query === 'getPopupInitialValues' && payload.popupName === 'link') {
        const range = instance.getSelection();
        const info = instance.getRangeInfoOfNode(Math.floor((range[0] + range[1]) / 2));
        if (info.type === 'link') {
            instance.setSelection(...info.range);
            let link = window.getSelection().getRangeAt(0)
                .commonAncestorContainer.parentElement;
            link = link.closest('a') || link.querySelector('a') || link;
            const linkUrl = link.getAttribute('href');
            return {
                linkUrl:
                    linkUrl.startsWith('https://') ||
                    linkUrl.startsWith('http://')
                        ? linkUrl
                        : 'https://' + link.getAttribute('href'),
                linkText: link.innerText,
            };
        } else {
            return {
                linkText: instance.getSelectedText(),
            };
        }
    }
});

Demo
https://github.com/nhn/tui.editor/assets/6005240/9e9cd142-081a-4868-a77f-e398ee08aa6e


2567 path app launch

Pull Request Checklist:

[x] Positive Test Case Written by Dev

[ ] Automated Testing

[ ] Sufficient User and Developer Documentation

[ ] Passing Jenkins Build

[ ] Peer Code review and approval

Positive Test Case
1.Create a web app resource.  Navigate to the edit page and open the resource specific tab.
Note the yellow banner at the top with the words App Home Page URL or an App-launching URL Pattern.
Add an invalid url in the textbox under App-launching Aggregation Level URL Pattern and click save.  Ensure a Red box notifies you that the url is invalid and the url is not saved.  Do the same for App-launching File Level URL Pattern and App-launching URL Pattern
Add a valid url using key HS_AGG_PATH, such as http://www.my-app-website.org/app_1/?agg=${HS_AGG_PATH} under App-launching Aggregation Level URL Pattern.  Click save and ensure the url is saved.  Go Back to view mode, navigate to the resource specific tab and verify the url is listed.  Verify the yellow banner at the top no longer has the words App Home Page URL or an App-launching URL Pattern in the required message.  Delete the url by saving the textbox when empty.  Verify the yellow banner again has the message  App Home Page URL or an App-launching URL Pattern
Repeat these steps for App-launching File Level URL Pattern and App-launching URL Pattern

Open the web app and enter an invalid File Extension in the textbox Supported File Extensions (Something like 'garbage').  Save and Validate an error is reported and that the message makes sense.  Now enter a valid comma separated entry for the file extensions which includes .tif files and click save.

Enter a url in the App-launching File Level URL Pattern that includes the keyword HS_FILE_PATH i.e. http://www.my-app-website.org/app_1/?res_id=${HS_FILE_PATH}.  Click save.  Select Composite Resource under Supported Resource Types and click save.  Go back to view mode and add the webapp to your open with list.
Create a composite resource and add a valid .tif file.  Ensure the composite resource auto-aggregates a Geographic Raster Aggregation. Drill down to the .tif file in the file browser, right click on it and validate the webapp shows up on the menu.  Select the webapp and ensure the url resolves to the url pattern with the path of the .tif file in place of the HS_FILE_PATH key.

Open the web app and choose Geographic Raster Aggregation under Supported Aggregation Types, then click Save.

Enter a url in the App-launching Aggregation Level URL Pattern that includes the keyword HS_AGG_PATH i.e. http://www.my-app-website.org/app_1/?res_id=${HS_AGG_PATH}.  Click save.  Select Composite Resource under Supported Resource Types and click save.  Go back to view mode and add the webapp to your open with list.
Create a composite resource and add a valid .tif file.  Ensure the composite resource auto-aggregates a Geographic Raster Aggregation.  Right click the aggregation and ensure the webapp shows up on the dropdown list.  Select the webapp and ensure the url resolves to the url pattern with the path of the aggregation in place of the HS_AGG_PATH key.

Within the composite resource validate the web app does not show up in the open with drop down (if it's the only web app, there will be no open with drop down).  Go to the web app tab, click the web app and validate it opens up the web app resource.

Within the webapp go to edit mode and click the resource specific tab.  Enter a valid App-Launching URL Pattern (http://www.my-app-website.org/app_1/?res_id=${HS_RES_ID}) and click save.  Go back to the composite resource (don't forget to refresh the page).  Ensure the Open with button appears.  Click on the button and select your webapp, then validate the url opens as expected.

Build finished.

Build finished.

Build finished.

Build finished.

@pkdash, this is ready for you to review when you have some time.

Build finished.

Build finished.

Build finished.

Build finished.

Build finished.

Build finished.

Build finished.


usbutils: switch to pname + version

Motivation for this change
Things done

[ ] Tested using sandboxing (nix.useSandbox on NixOS, or option sandbox in nix.conf on non-NixOS linux)
Built on platform(s)

[ ] NixOS
[ ] macOS
[ ] other Linux distributions

[ ] Tested via one or more NixOS test(s) if existing and applicable for the change (look inside nixos/tests)
[ ] Tested compilation of all packages that depend on this change using nix-shell -p nixpkgs-review --run "nixpkgs-review wip"
[ ] Tested execution of all binary files (usually in ./result/bin/)
21.11 Release Notes (or backporting 21.05 Release notes)

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

[ ] Fits CONTRIBUTING.md.

Result of nixpkgs-review pr 134554 run on x86_64-linux 1

4 packages marked as broken and skipped:

libsForQt512.discover
libsForQt512.plasma-thunderbolt
libsForQt514.discover
libsForQt514.plasma-thunderbolt

7 packages failed to build:

bolt
discover (libsForQt5.discover)
fwupd
gnome-firmware-updater
gnome.gnome-software
plasma-thunderbolt (libsForQt5.plasma-thunderbolt)
umockdev

22 packages built:

aircrackng (aircrack-ng)
bottles
fusionInventory
gnome.gnome-boxes
hplip
hplipWithPlugin
kodiPackages.steam-launcher
lutris
playonlinux
protontricks
remmina
spice-gtk (spice_gtk)
steam
steam-run
steam-run-native
steam-tui
steamcmd
usbutils
virtmanager (virt-manager)
virtmanager-qt (virt-manager-qt)
virtviewer (virt-viewer)
wifite2


controllers fetch latest job by client but the status was stale in case of etcd slow watch

We found an data-consistency anomaly between local informer cache and etcd in case of etcd slow watch, we can reproduce this in a kubernetes cluster with unstable networking, for example:

one master pod of pytorchjob job-1 failed;
pytorch controller  update job-1 as Failed and apiserver response with success;
another reconciling starts but latest fetched job status is still Running, which is unexpected;

the reason is that READ requests(get/list resources) hits local informer cache by default, but the cached object will only be updated after update event broadcasted from etcd, however, if slow watch happened and event broadcasting delayed, the local cache will be stale.
   Controller               Local-Informer      ApiServer
     failed                    running           running

1.   |-------------------------------------->   failed
2.   | <------------------->  running            |
3.   |                        failed  <--------  |
4.   | <------------------>   failed             |

fixed #108


Example data does not work with demo server

Hi there,
Panache looks great -- thanks for offering this to the community!
I tried to get the demo server to work with your example data provided on the Wiki. I saved the data in the example table on the Wiki into a TSV file and tried to upload it to the demo server. The genotype tracks change from the default to B and C (what happens to A?), so this bit seems to work, but it doesn't appear to be picking up the chromosome numbers and consequently the dropdown chromosome selector is not populated with any values to choose from.
I have attached the file I used so you can reproduce this.
Many thanks
Micha
panache_test.txt

Hi @mb47 / Micha!
Thanks for your interest and for rising this issue. The wiki is currently undergoing a lot of changes to be clearer and the table introduced in there is meant to be used as an example; it is not a real file that you could try as such with Panache. If you wish to find toy dataset to try our tool, you can find some in the 'public' folder. miniFakeDataWithAllBlocks.tsv for instance could be a good choice for you: it is the smallest dataset available for now and should allow you to see how Panache works with these fake data!
For a bit more detailed answer, Panache needs very specific header names, and the table in the wiki does not follow these (yet). You may be interested in the Files & Formats section of the wiki if you wish to see more about how the files work.
I hope this helps, please do not hesitate to tell us if it works better with the files from the public folder :)
I will take this opportunity to enhance the wiki section with better explanation in general and about the usable dataset, thank you for your reaching out!
Cheers
Eloi
PS: I have a little companion script to create fake files that could be used with Panache in the companionScripts folder. You could use it to try various dataset of various sizes. It is a bit old, but it is the one script I used to create my 'Fake' files originally. Headers might need to be corrected post-creation.

Hi Eloi,
brilliant -- that's exactly what I needed. I hadn't seen the Files & Formats link. Many thanks!
Micha

Hi Micha,
Awesome! I will close this issue then, do not hesitate to reach out again if needed!
Eloi


[MISC]  More resilient topology observer

Issue
A bug was reported in the public MM that the legacy relation for VM doesn't fire the hook to update the primary. It seems to me that the topology observer has crashed at some point and changes in the topology are no longer passed on to relations.
Solution
Check that the observer is still alive in  _on_update_status and restart it if it os not. This is more of a POC fix to see if it will resolve the bug. If it is indeed the issue at hand, we can revisit with a better solution.

MM bugreport: https://chat.charmhub.io/charmhub/pl/bxb6wpoyn7bii8wikmoc8i73eo

Do we have a log file for observer?

Should be writing to /var/log/cluster_topology_observer.log but I didn't think to ask for a copy.


CURRENCY is a valid function name

Calling the function CURRENCY() in a measure raises an exception.
We have to include such a name in the grammar to validate it (if possible - issues in having it as a keyword for the format??)

Give a simple example, please

You can try this:
CREATE MEASURE Table[test] =
CURRENCY ( 1234 );

Check, please

Released in build 1703.2601


AndroidTextInputNativeComponent: Make event properties ReadOnly

Summary
This pull request makes properties of events' Flow types in AndroidTextInputNativeComponent be $ReadOnly.
This will make them more compatible with the callback types in TextInput.
Changelog
[Internal] [Changed] - Made properties of events' Flow types in AndroidTextInputNativeComponent readonly
Test Plan
yarn flow-check-ios and yarn flow-check-android both pass.

Thanks! Can you run the codegen script as part of your test plan? Just checking that flow passes isn’t sufficient to know that the codegen supports these readonlys.

That script needs some modification to work (missing the positional argument "module spec name" to generate-tests.js) but I notice no difference in behaviour before or after this modification to AndroidTextInputNativeComponent.


luci-app-dhcp: 'addresses' helptext improvement with info from manpage.

Placeholder hint also reflects syntax.
Signed-off-by: Paul Dee<EMAIL_ADDRESS>Tested on 22.03.2

Merged via 45f02d94b2c06599fa0d0ab75b7c5cf485ffc2a8


Fix error when ResetsPasswords expecting JSON

Without this PR, when we try to resets password expecting a json response, the follow error appears:
{
	"message": "Class \"Ellaisys\\Cognito\\Auth\\JsonResponse\" not found",
	"exception": "Error",
	"file": "/app/vendor/ellaisys/aws-cognito/src/Auth/ResetsPasswords.php",
	"line": 89,
        (...)

This PR fixes this error.

Thank you for sharing the fix.


As a user I want to see where the air sensors are on a map

so that I can decide whether or not a sensor should be used or not.
The ECharts site has examples of maps, including an air pollution one (but other libraries could be used).
ECharts seems to only support Baidu maps out of the box, a promising alternative could be React Leaflet (https://react-leaflet.js.org) with easy open street map support and nice .flyTo method.
Acceptance Criteria

City view includes a top-down map and the sensor locations are indicated (all sensors in the database for that city)
Ideally with open source mapping (e.g. Open Streetmap)

Snapshot testing has been added as part of this PR : https://github.com/ECMWFCode4Earth/vAirify/pull/302


[WFLY-10665] enable xts .net async registration by system property

https://issues.jboss.org/browse/WFLY-10665
https://issues.jboss.org/browse/JBEAP-14291
JBoss EAP 7.1.z will be enhanced for the .NET async integration with XTS. Enabling the feature is via system property. As this will be part of the 7.1 update it should be possible to enable the feature via system property in WFLY/7.2 too.

Adding hold label, and discussing further on mail


Handle Mouse button differentiation, handle button release & only send one event

@faide, my laptop just died. I might take a bit to review this.

Nice PR :smile:. I have reviewed all commits, and commented on the code.
Feel free to ask any questions you may have, and I will do my best to answer them.

@faide I've given your code a review and left some small comments. Once we have those resolved, I'll be happy to merge it in.
Thanks for your persistence!

Paked I agree we could move the value affectation into each file (js & glfw) but this would create many duplicates because only a small subset is redefined in glfw... Would this be acceptable?

@faide Ah ha. Now I see the problem. OK, I'd leave it as it is then.
Make any final changes, then I'm happy to merge this in.

I think I finished what I could in this PR, let's see what will be the next one :)

@faide Thanks for the PR. It is awesome to see other people contributing!


/newInvoice command doenst works on Telegram desktop

Moved from https://github.com/airalab/aira/issues/40:
So how can I create a new invoice with Aira bot? Can I test it on Test network like ropsten?

Currently is no way to create invoice with bot cause invoice command is deprecated. Source code of AiraEthBot is open and you cat build & run instance for ropsten network.


Make docs strict, add API

This PR

Makes the docs strict
Adds an API page that includes several doc strings

bors r+

bors ping

bors r+


Guard vs. string flag conversions to llvm::Twine [phab:D612]

Created by zarko at 2015-11-19 19:02:41:

schroederc accepted this revision at 2015-11-20 19:28:01

zarko closed via commit a45c61fcaef13468526b021228cd1e08cf7eec2b at 2015-11-20 21:42:25


[Joker.OData] - UseAuthorization throws InvalidOperationException (SignalR hub)

UseAuthorization should be called between UseRouting and UseEndpoints:
An unhandled exception has occurred while executing the request.
System.InvalidOperationException: Endpoint /dataChangesHub/negotiate contains authorization metadata, but a middleware was not found that supports authorization.
Configure your application startup by adding app.UseAuthorization() inside the call to Configure(..) in the application startup code. The call to app.UseAuthorization() must appear between app.UseRouting() and app.UseEndpoints(...).
at Microsoft.AspNetCore.Routing.EndpointMiddleware.ThrowMissingAuthMiddlewareException(Endpoint endpoint)
at Microsoft.AspNetCore.Routing.EndpointMiddleware.Invoke(HttpContext httpContext)
at Microsoft.AspNetCore.Routing.EndpointRoutingMiddleware.Invoke(HttpContext httpContext)
at Joker.OData.Middleware.Logging.ErrorLoggerMiddleware.Invoke(HttpContext context) in C:\Github\SqlTableDependency.Extensions\Joker.OData\Middleware\Logging\ErrorLoggerMiddleware.cs:line 23
at Microsoft.AspNet.OData.Batch.ODataBatchMiddleware.Invoke(HttpContext context)
at Microsoft.AspNetCore.Diagnostics.DeveloperExceptionPageMiddleware.Invoke(HttpContext context)

Fixed in version Joker.OData 1.4.1


Turn state not transient across turns?

Describe the bug
A common scenario for bot developers is that of providing a menu to users, when a conversation starts a menu of options is provided to guide the user. Once an option is chosen a child dialog is "begun" and when this terminates you repeat the parent (menu dialog)
Given the turn nature of this, leveraging turn state for the menu choice (ChoiceInput) makes sense as this to my mind is transient across turns and we don't run the risk of it being present in future turns or repeats of the same dialog. However, in this scenario turn state is maintained beyond the choice turn and into child dialog invocation back to the parent dialog being repeated.
Default prompt behaviour is to have _always prompt set to false meaning that if the turn state variable used for the prompt has data it will skip and carry on. This triggers a recursive loop.
Using dialog state instead of turn state resolves the issue, set always prompt to true also resolves the issues as does manually clearing out the turn state manually.
Version
4.10.0
Browser

[x] Electron distribution
[ ] Chrome
[ ] Safari
[ ] Firefox
[ ] Edge

OS

[ ] macOS
[x] Windows
[ ] Ubuntu

To Reproduce
Attached ZIP file, type menu to repro and choose an option - eg. 1
Expected behavior

Turn state to be transient across turns
Likely need an aka.ms link on the recursion detection error pointing to documentation highlighting common mistakes/debugging tips as it can be very hard to figure out what is going wrong.

Screenshots

@mrivera-ms Can you either update this issue or close it?

We will not be addressing at the moment.


Cannot use SCREENSHOT=30 with Squeak-Trunk

Known issue? Any way here's the error

Weird.
Probably @fniephaus can say something?

No worries. I will have a look into this this weekend.

Looks like it's working again for some reason:
https://travis-ci.org/dalehenrich/builderCI/jobs/46493714
I'm actually having troubles to reproduce the problem. But please let me know if it ever happens again!

@fniephaus the screenshot code is failing for squeak4.5:
STARTING xvfb
+export DISPLAY=:99.0
+DISPLAY=:99.0
+sh -e /etc/init.d/xvfb start
Starting virtual X frame buffer: Xvfb+[[ 1 != 0 ]]
+exit 1
+[[ 1 != 0 ]]
++basename ./testBuilderCI.sh
+echo 'ERROR: testBuilderCI.sh'
ERROR: testBuilderCI.sh

I added a set -e to several of the scripts, because I noticed that random expression failures were not triggering a test failure, which is not right ... the net of that is that ST=Squeak-4.5 SCREENSHOT=30 gets the above error ... I'm going to remove the SCREENSHOT from the .travis.yml file until this is fixed...
Not a critical issue now that Squeak builds are green ... but if we do hit Squeak issues, we might want this to work again:)
I appreciate your help!

No worries. I still need to find out what's causing the problem with xvfb...
Interestingly, this build works just fine:
https://travis-ci.org/fniephaus/SwtDemo/jobs/49666267
It's not using your repo, but a fork which is just 12 commits behind dalehenrich:master:
https://github.com/HPI-SWA-Teaching/builderCI/

And it even works with your master:
https://travis-ci.org/fniephaus/SwtDemo/jobs/50169521

I'm getting a 'cannot open display' error message randomly for Squeak-4.5 ... if the error isn't related to screenshot mode then I'll open a separate bug ...

@fniephaus
Note that there are two Squeak4.5 builds here ... the first one fails with 'cannot open display'  and the second one runs cleanly, so it presumably got past the display opening?
I kiled the jobs before any other squeak builds were done, so I don't know how far this failure goes...

Hey @dalehenrich,
Since screenshot mode is disabled in those builds, I'm afraid it's rather a problem related to #85.
I will have a look into this tomorrow...

Okay submitted a new issue #86 ... closing this one


[Enhancement][backport][branch-2.3] Optimize scheduling related logic

This is a backport from pr #24252
What type of PR is this:

[ ] BugFix
[ ] Feature
[x] Enhancement
[ ] Refactor
[ ] UT
[ ] Doc
[ ] Tool

Checklist:

[x] I have added test cases for my bug fix or my new feature
[ ] This pr will affect users' behaviors
[ ] This pr needs user documentation (for new or modified features or behaviors)

[ ] I have added documentation for my new feature or new function

Bugfix cherry-pick branch check:

[x] I have checked the version labels which the pr will be auto-backported to the target branch

[ ] 3.1
[ ] 3.0
[ ] 2.5
[ ] 2.4

[FE PR Coverage Check]
:disappointed: fail : 0 / 1 (00.00%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/clone/TabletSchedCtx.java
0
1
00.00%
[568]

[FE PR Coverage Check]
:disappointed: fail : 129 / 175 (73.71%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/common/proc/PriorityRepairProcNode.java
0
1
00.00%
[44]

:large_blue_circle:
com/starrocks/clone/TabletSchedCtx.java
0
1
00.00%
[568]

:large_blue_circle:
com/starrocks/clone/TabletChecker.java
35
56
62.50%
[166, 167, 300, 359, 384, 399, 401, 436, 463, 467, 475, 487, 500, 512, 519, 520, 529, 530, 531, 533, 534]

:large_blue_circle:
com/starrocks/clone/ColocateTableBalancer.java
90
113
79.65%
[295, 300, 314, 332, 334, 335, 336, 337, 338, 340, 341, 343, 351, 374, 375, 408, 410, 413, 416, 417, 437, 438, 439]

:large_blue_circle:
com/starrocks/clone/TabletScheduler.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
2
2
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 177 / 262 (67.56%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/Table.java
0
1
00.00%
[313]

:large_blue_circle:
com/starrocks/common/proc/PriorityRepairProcNode.java
0
1
00.00%
[44]

:large_blue_circle:
com/starrocks/clone/TabletSchedCtx.java
0
1
00.00%
[568]

:large_blue_circle:
com/starrocks/catalog/TabletInvertedIndex.java
29
58
50.00%
[335, 338, 341, 343, 346, 348, 350, 351, 352, 354, 357, 365, 373, 376, 378, 381, 382, 384, 387, 391, 395, 396, 399, 405, 425, 427, 428, 430, 432]

:large_blue_circle:
com/starrocks/clone/TabletChecker.java
35
56
62.50%
[166, 167, 300, 359, 384, 399, 401, 436, 463, 467, 475, 487, 500, 512, 519, 520, 529, 530, 531, 533, 534]

:large_blue_circle:
com/starrocks/consistency/ConsistencyChecker.java
9
14
64.29%
[62, 116, 117, 120, 250]

:large_blue_circle:
com/starrocks/alter/SystemHandler.java
8
12
66.67%
[107, 120, 121, 126]

:large_blue_circle:
com/starrocks/clone/ColocateTableBalancer.java
90
113
79.65%
[295, 300, 314, 332, 334, 335, 336, 337, 338, 340, 341, 343, 351, 374, 375, 408, 410, 413, 416, 417, 437, 438, 439]

:large_blue_circle:
com/starrocks/clone/TabletScheduler.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
2
2
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 234 / 304 (76.97%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/Table.java
0
1
00.00%
[313]

:large_blue_circle:
com/starrocks/common/proc/PriorityRepairProcNode.java
0
1
00.00%
[44]

:large_blue_circle:
com/starrocks/alter/SystemHandler.java
0
12
00.00%
[100, 101, 102, 104, 105, 106, 120, 121, 122, 125, 126, 127]

:large_blue_circle:
com/starrocks/clone/TabletSchedCtx.java
0
1
00.00%
[546]

:large_blue_circle:
com/starrocks/clone/TabletChecker.java
35
56
62.50%
[166, 167, 300, 359, 384, 399, 401, 436, 463, 467, 475, 487, 500, 512, 519, 520, 529, 530, 531, 533, 534]

:large_blue_circle:
com/starrocks/clone/ColocateTableBalancer.java
90
113
79.65%
[295, 300, 314, 332, 334, 335, 336, 337, 338, 340, 341, 343, 351, 374, 375, 408, 410, 413, 416, 417, 437, 438, 439]

:large_blue_circle:
com/starrocks/consistency/ConsistencyChecker.java
11
13
84.62%
[182, 342]

:large_blue_circle:
com/starrocks/catalog/TabletInvertedIndex.java
89
98
90.82%
[373, 375, 390, 413, 434, 513, 514, 553, 813]

:large_blue_circle:
com/starrocks/clone/TabletScheduler.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/catalog/TabletMeta.java
4
4
100.00%
[]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
1
1
100.00%
[]

[FE PR Coverage Check]
:disappointed: fail : 222 / 305 (72.79%)
file detail

path
covered_line
new_line
coverage
not_covered_line_detail

:large_blue_circle:
com/starrocks/catalog/Table.java
0
1
00.00%
[313]

:large_blue_circle:
com/starrocks/common/proc/PriorityRepairProcNode.java
0
1
00.00%
[44]

:large_blue_circle:
com/starrocks/alter/SystemHandler.java
0
12
00.00%
[100, 101, 102, 104, 105, 106, 120, 121, 122, 125, 126, 127]

:large_blue_circle:
com/starrocks/clone/TabletSchedCtx.java
0
1
00.00%
[546]

:large_blue_circle:
com/starrocks/catalog/TabletMeta.java
1
4
25.00%
[147, 151, 152]

:large_blue_circle:
com/starrocks/clone/TabletChecker.java
35
56
62.50%
[166, 167, 300, 359, 384, 399, 401, 436, 463, 467, 475, 487, 500, 512, 519, 520, 529, 530, 531, 533, 534]

:large_blue_circle:
com/starrocks/clone/ColocateTableBalancer.java
90
113
79.65%
[295, 300, 314, 332, 334, 335, 336, 337, 338, 340, 341, 343, 351, 374, 375, 408, 410, 413, 416, 417, 437, 438, 439]

:large_blue_circle:
com/starrocks/catalog/TabletInvertedIndex.java
79
98
80.61%
[309, 310, 312, 314, 315, 316, 373, 375, 390, 410, 411, 412, 414, 425, 435, 514, 515, 554, 814]

:large_blue_circle:
com/starrocks/consistency/ConsistencyChecker.java
11
13
84.62%
[179, 339]

:large_blue_circle:
com/starrocks/clone/TabletScheduler.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/common/Config.java
1
1
100.00%
[]

:large_blue_circle:
com/starrocks/server/LocalMetastore.java
2
2
100.00%
[]

:large_blue_circle:
com/starrocks/server/GlobalStateMgr.java
1
1
100.00%
[]


[Feature] Flink Doris Connector (#5372)

Proposed changes
Refer to Spark connector Doris and make an example of Flink Connector Doris
1.Customize DorisSource to implement interface org.apache.flink.streaming.api.functions.source.RichSourceFunction
2.Get dorisPartitions by calling the FE execution plan Api during initialization
3.Traverse dorisPartitions, read Doris data through scalaValueReader.class
Types of changes
What types of changes does your code introduce to Doris?
Put an x in the boxes that apply

[ ] Bugfix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
[ ] Documentation Update (if none of the other choices apply)
[ ] Code refactor (Modify the code structure, format the code, etc...)

Checklist
Put an x in the boxes that apply. You can also fill these out after creating the PR. If you're unsure about any of them, don't hesitate to ask. We're here to help! This is simply a reminder of what we are going to look for before merging your code.

[ ]  I have created an issue on (Fix #5371) and described the bug/feature there in detail

[ ]  Compiling and unit tests pass locally with my changes

[ ]  I have added tests that prove my fix is effective or that my feature works

[ ]  If these changes need document changes, I have updated the document

[ ]  Any dependent changes have been merged

Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

Modification, submitted soon, and added flink SQL to create doris table

Refer to User-defined Sources & Sinks And flink-connector-jdbc， add flink sql to create doris table, and write doris table through streamload。
eg:
         EnvironmentSettings settings = EnvironmentSettings.newInstance()
                .useBlinkPlanner()
                .inStreamingMode()
                .build();
        TableEnvironment tEnv = TableEnvironment.create(settings);
        tEnv.getConfig().getConfiguration().setString("job.name","test");

        tEnv.executeSql(
                "CREATE TABLE doris_test (" +
                        "name STRING," +
                        "age INT," +
                        "price DECIMAL(5,2)," +
                        "sale DOUBLE" +
                        ") " +
                        "WITH (\n" +
                        "  'connector' = 'doris',\n" +
                        "  'fenodes' = '<IP_ADDRESS>:8030',\n" +
                        "  'table.identifier' = 'demo.doris_test_source_2',\n" +
                        "  'username' = 'root',\n" +
                        "  'password' = ''" +
                        ")");
        tEnv.executeSql(
                "CREATE TABLE doris_test_sink (" +
                        "name STRING," +
                        "age INT," +
                        "price DECIMAL(5,2)," +
                        "sale DOUBLE" +
                        ") " +
                        "WITH (\n" +
                        "  'connector' = 'doris',\n" +
                        "  'fenodes' = '<IP_ADDRESS>:8030',\n" +
                        "  'table.identifier' = 'demo.doris_test_sink_2',\n" +
                        "  'username' = 'root',\n" +
                        "  'password' = ''\n" +
                        ")");

        tEnv.executeSql("INSERT INTO doris_test_sink select name,age,price,sale from doris_test");

Added batch.size and max-retries configuration items,  can set the batch size and the number of retries

add build script

It is recommended that you add usage methods and usage examples to the document later.

It is recommended that you add usage methods and usage examples to the document later.

already add.

1.Merge DorisOptions and Settings configuration ;
2.Streamload is modified to BE, and retry other alive BE nodes after failure
3.add more options reference spark-connector

add pom profile patch

Failed to get response from Doris  http://<IP_ADDRESS>:8030/rest/v1/system?path=//backends, http code is 404

Failed to get response from Doris http://<IP_ADDRESS>:8030/rest/v1/system?path=//backends, http code is 404

enable http v2

enable_http_server_v2 ？

enable_http_server_v2 ？

yes，enable_http_server_v2= true

my doris version 0.15.0 rc02，enable_http_server_v2 is true default？but failed to get response from doris http://<IP_ADDRESS>:8030/api/backends?is_alive=true


🐾 Add migration hints and actions to provider view

Add migration hints and actions to provider view
A user can now create a migration plan directly from the provider details view, we need to add hints and actions to help users use this new flow.

[x] add a migrate action
[x] add a how to create a migration plan from the details page details tab
[x] add a how to create a migration plan from the details page virtual machines tab

Addressed by #872


musl-obstack: new package at 1.1

Description of package
The musl-obstack package is a copy + paste of the obstack functions and macros found in GNU gcc libiberty library for use with musl libc.
Installed manifest of package
/var/db/kiss/installed/musl-obstack/version
/var/db/kiss/installed/musl-obstack/sources
/var/db/kiss/installed/musl-obstack/manifest
/var/db/kiss/installed/musl-obstack/depends
/var/db/kiss/installed/musl-obstack/checksums
/var/db/kiss/installed/musl-obstack/build
/var/db/kiss/installed/musl-obstack/
/var/db/kiss/installed/
/var/db/kiss/
/var/db/
/var/
/usr/lib/pkgconfig/musl-obstack.pc
/usr/lib/pkgconfig/
/usr/lib/libobstack.la
/usr/lib/libobstack.a
/usr/lib/
/usr/include/obstack.h
/usr/include/
/usr/

New package

[x] Latest upstream version.
[x] I agree to maintain this package.
[x] I agree to notify @dylanaraps if I can no longer maintain this package.

See: https://github.com/kisslinux/community/pull/1080#issuecomment-663375636


Add ability to set prices for different classes of storage in my on prem environment.

What problem are you trying to solve?
The ability to assign different prices for different classes of storage for the PVs in my on-prem environment.
Describe the solution you'd like
To be able to assign different prices for storage classes based on names and/or labels.
Describe alternatives you've considered
None.
How would users interact with this feature?
Using the custom CSV provider pipeline to build a price list for storage classes.

This has yet to be prioritized, @srpomeroy please let me know if this is pressing or blocking.

+1 to this issue. It blocks from using opencost in on-prem or non-GCP/AWS/Azure clusters with different storage classes.

@philimonoff, Thanks for the up vote. This is a very helpful signal to what is important to the Opencost community.

The ability to configure complex discounts or tiered pricing like this is accessible Free/Community Kubecost. It's a fair amount amount of configuration/integration code, docs, etc that would need to be brought to OpenCost.
Early community discussion felt this was beyond the needs of most teams, so I think we need to revisit this decsion.


Transport audio data with stream

Profile: Previous creation of audio sample iterator

Profile: Modified creation of audio sample iterator


🐛 [Bug] Failed building docker image based on nvcr.io/nvidia/pytorch:21.08-py3

Bug Description
I'd like to setup torch_tensorrt in the container nvcr.io/nvidia/pytorch:21.08-py3. Installing from wheels does not work. I tried
building a Docker image but the build fails:
>>> docker build --build-arg BASE_IMG=nvcr.io/nvidia/pytorch:21.08-py3 -f docker/Dockerfile -t torch_tensorrt:latest .
Sending build context to Docker daemon  29.66MB
Step 1/34 : ARG BASE=21.10
Step 2/34 : ARG BASE_IMG=nvcr.io/nvidia/pytorch:${BASE}-py3
Step 3/34 : FROM ${BASE_IMG} as base
 ---> 9f34357dd551
Step 4/34 : FROM base as torch-tensorrt-builder-base
 ---> 9f34357dd551
Step 5/34 : RUN rm -rf /opt/pytorch/torch_tensorrt /usr/bin/bazel
 ---> Running in 27c1c3177d0f
Removing intermediate container 27c1c3177d0f
 ---> 3f880b42c794
Step 6/34 : ARG ARCH="x86_64"
 ---> Running in f00993dcca95
Removing intermediate container f00993dcca95
 ---> 36f8734ea4fd
Step 7/34 : ARG TARGETARCH="amd64"
 ---> Running in 8b58e0831846
Removing intermediate container 8b58e0831846
 ---> 8e4c635f2daa
Step 8/34 : ARG BAZEL_VERSION=4.2.1
 ---> Running in 433ba10b9d13
Removing intermediate container 433ba10b9d13
 ---> 63b39610e14a
Step 9/34 : RUN [[ "$TARGETARCH" == "amd64" ]] && ARCH="x86_64" || ARCH="${TARGETARCH}"  && wget -q https://github.com/bazelbuild/bazel/releases/download/${BAZEL_VERSION}/bazel-${BAZEL_VERSION}-linux-${ARCH} -O /usr/bin/bazel  && chmod a+x /usr/bin/bazel
 ---> Running in 2f6b28f2eeb9
Removing intermediate container 2f6b28f2eeb9
 ---> 56b575f976c7
Step 10/34 : RUN touch /usr/lib/$HOSTTYPE-linux-gnu/libnvinfer_static.a
 ---> Running in e59aac982823
Removing intermediate container e59aac982823
 ---> 0ce903eacac4
Step 11/34 : RUN rm -rf /usr/local/cuda/lib* /usr/local/cuda/include   && ln -sf /usr/local/cuda/targets/$HOSTTYPE-linux/lib /usr/local/cuda/lib64   && ln -sf /usr/local/cuda/targets/$HOSTTYPE-linux/include /usr/local/cuda/include
 ---> Running in 6034cdc46587
Removing intermediate container 6034cdc46587
 ---> 45344a3558fc
Step 12/34 : RUN apt-get update && apt-get install -y --no-install-recommends locales ninja-build && rm -rf /var/lib/apt/lists/* && locale-gen en_US.UTF-8
 ---> Running in f10d666477eb
Get:1 http://archive.ubuntu.com/ubuntu focal InRelease [265 kB]
Get:2 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security/restricted amd64 Packages [960 kB]
Get:5 http://archive.ubuntu.com/ubuntu focal-backports InRelease [108 kB]
Get:6 http://archive.ubuntu.com/ubuntu focal/multiverse amd64 Packages [177 kB]
Get:7 http://archive.ubuntu.com/ubuntu focal/main amd64 Packages [1275 kB]
Get:8 http://security.ubuntu.com/ubuntu focal-security/universe amd64 Packages [839 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal/universe amd64 Packages [11.3 MB]
Get:10 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 Packages [25.8 kB]
Get:11 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [1532 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal/restricted amd64 Packages [33.4 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [1027 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [1962 kB]
Get:15 http://archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 Packages [29.4 kB]
Get:16 http://archive.ubuntu.com/ubuntu focal-updates/universe amd64 Packages [1123 kB]
Get:17 http://archive.ubuntu.com/ubuntu focal-backports/universe amd64 Packages [24.8 kB]
Get:18 http://archive.ubuntu.com/ubuntu focal-backports/main amd64 Packages [50.8 kB]
Fetched 21.0 MB in 2s (8891 kB/s)
Reading package lists...
Reading package lists...
Building dependency tree...
Reading state information...
Suggested packages:
  python3
The following NEW packages will be installed:
  locales ninja-build
0 upgraded, 2 newly installed, 0 to remove and 43 not upgraded.
Need to get 3979 kB of archives.
After this operation, 17.9 MB of additional disk space will be used.
Get:1 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 locales all 2.31-0ubuntu9.2 [3872 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 ninja-build amd64 1.10.0-1build1 [107 kB]
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
debconf: unable to initialize frontend: Readline
debconf: (This frontend requires a controlling tty.)
debconf: falling back to frontend: Teletype
dpkg-preconfigure: unable to re-open stdin:
Fetched 3979 kB in 1s (4678 kB/s)
Selecting previously unselected package locales.
(Reading database ... 34831 files and directories currently installed.)
Preparing to unpack .../locales_2.31-0ubuntu9.2_all.deb ...
Unpacking locales (2.31-0ubuntu9.2) ...
Selecting previously unselected package ninja-build.
Preparing to unpack .../ninja-build_1.10.0-1build1_amd64.deb ...
Unpacking ninja-build (1.10.0-1build1) ...
Setting up locales (2.31-0ubuntu9.2) ...
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
Generating locales (this might take a while)...
Generation complete.
Setting up ninja-build (1.10.0-1build1) ...
Generating locales (this might take a while)...
  en_US.UTF-8... done
Generation complete.
Removing intermediate container f10d666477eb
 ---> 60a8588309ba
Step 13/34 : FROM torch-tensorrt-builder-base as torch-tensorrt-builder
 ---> 60a8588309ba
Step 14/34 : RUN rm -rf /opt/pytorch/torch_tensorrt
 ---> Running in 4a11389be68a
Removing intermediate container 4a11389be68a
 ---> 72252f6f4ccc
Step 15/34 : COPY . /workspace/torch_tensorrt/src
 ---> 08025bc8c0e1
Step 16/34 : WORKDIR /workspace/torch_tensorrt/src
 ---> Running in 49d8b3dd0628
Removing intermediate container 49d8b3dd0628
 ---> 3c4d334ebaac
Step 17/34 : RUN cp ./docker/WORKSPACE.docker WORKSPACE
 ---> Running in 26a220aacd1e
Removing intermediate container 26a220aacd1e
 ---> 009469ca75f4
Step 18/34 : RUN ./docker/dist-build.sh
 ---> Running in 174fcb692c39
No CUDA runtime is found, using CUDA_HOME='/usr/local/cuda'
running bdist_wheel
Extracting Bazel installation...
Starting local Bazel server and connecting to it...
Loading:
Loading: 0 packages loaded
Loading: 0 packages loaded
Analyzing: target //:libtorchtrt (1 packages loaded, 0 targets configured)
Analyzing: target //:libtorchtrt (35 packages loaded, 75 targets configured)
INFO: Analyzed target //:libtorchtrt (43 packages loaded, 2910 targets configured).
INFO: Found 1 target...
[0 / 42] [Prepa] Writing file libtorchtrt.args
[618 / 829] Compiling core/util/logging/TorchTRTLogger.cpp; 0s processwrapper-sandbox ... (12 actions, 11 running)
[627 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 1s processwrapper-sandbox ... (13 actions, 10 running)
[638 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 2s processwrapper-sandbox ... (14 actions running)
[638 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 3s processwrapper-sandbox ... (15 actions running)
[638 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 6s processwrapper-sandbox ... (16 actions, 15 running)
[639 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 10s processwrapper-sandbox ... (16 actions, 14 running)
[642 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 12s processwrapper-sandbox ... (16 actions, 14 running)
[647 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 16s processwrapper-sandbox ... (16 actions running)
[649 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 19s processwrapper-sandbox ... (16 actions running)
[652 / 829] Compiling core/plugins/impl/normalize_plugin.cpp; 22s processwrapper-sandbox ... (16 actions running)
ERROR: /workspace/torch_tensorrt/src/core/lowering/BUILD:10:11: Compiling core/lowering/register_trt_placeholder_ops.cpp failed: (Exit 1): gcc failed: error executing command /usr/bin/gcc -U_FORTIFY_SOURCE -fstack-protector -Wall -Wunused-but-set-parameter -Wno-free-nonheap-object -fno-omit-frame-pointer -g0 -O2 '-D_FORTIFY_SOURCE=1' -DNDEBUG -ffunction-sections ... (remaining 61 argument(s) skipped)

Use --sandbox_debug to see verbose messages from the sandbox
core/lowering/register_trt_placeholder_ops.cpp:16:34: error: invalid user-defined conversion from 'torch::jit::<lambda(torch::jit::Stack&)>' to 'torch::jit::OperationCreator' {aka 'std::function<void(std::vector<c10::IValue>*)> (*)(const torch::jit::Node*)'} [-fpermissive]
   16 |         aliasAnalysisFromSchema()),
      |                                  ^
core/lowering/register_trt_placeholder_ops.cpp:15:9: note: candidate is: 'torch::jit::<lambda(torch::jit::Stack&)>::operator void (*)(torch::jit::Stack&)() const' <near match>
   15 |         [](Stack& stack) { /*noop*/ },
      |         ^
core/lowering/register_trt_placeholder_ops.cpp:15:9: note:   no known conversion from 'void (*)(torch::jit::Stack&)' {aka 'void (*)(std::vector<c10::IValue>&)'} to 'torch::jit::OperationCreator' {aka 'std::function<void(std::vector<c10::IValue>*)> (*)(const torch::jit::Node*)'}
In file included from external/libtorch/include/torch/csrc/jit/runtime/custom_operator.h:5,
                 from core/lowering/register_trt_placeholder_ops.cpp:1:
external/libtorch/include/torch/csrc/jit/runtime/operator.h:91:24: note:   initializing argument 2 of 'torch::jit::Operator::Operator(std::string, torch::jit::OperationCreator, c10::AliasAnalysisKind)'
   91 |       OperationCreator op_creator,
      |       ~~~~~~~~~~~~~~~~~^~~~~~~~~~
Target //:libtorchtrt failed to build
Use --verbose_failures to see the command lines of failed build steps.
INFO: Elapsed time: 33.160s, Critical Path: 25.29s
INFO: 671 processes: 636 internal, 35 processwrapper-sandbox.

Expected behavior
The build succeeds.
Additional context
I need to deploy the models into the Nvidia container nvcr.io/nvidia/deepstream:6.0-triton therefore I need to build the model for TensorRT 8.0.1-1+cuda11.3.

21.08 is early PyTorch 1.10 or there abouts I believe. This API changed by the time 1.10 was released: https://github.com/NVIDIA/Torch-TensorRT/commit/90946aee7b74446d6a1fe4f32c07f5fbca4d4e69. I would say if you need this specific version of the PyTorch container, create a diff which reverses this change and apply it as a patch as part of the container build process. Otherwise you could use a past version of Torch-TensorRT.


Add process interface

This PR adds a ProcessInterface with a minimum API to interact with the process. Process creation is not detailed, as it's an implementation detail. A ProcessLauncher which can utilize different implementations would be a better method here.
Minimal documentation added to the readme, feel free to suggest extensions and changes.

@clue Thanks for your input and your interesting idea of using member variables, however member variables are implementation details and can not be defined in interfaces.
The thought that different implementations can contain different types of objects makes sense, however we can't get any interoperability if there's not a minimal common interface we can bind against (the point of an interface). Defining that these methods need to return a specific interface does not mean, the implementation can not have additional methods & features, it just means that it needs to have these methods to guarantee interoperability.
Going away from that concept means we can't have a factory that makes use of different implementations, which would be required for advanced Windows support (builds upon libuv).
I don't see any value in having different child process implementations in a single library when they are all very different (no interface to type against). Adding an interoperability layer here through an interface only adds values here, however it requires certain sacrifices in form of methods and type declarations.

@clue @WyriHaximus @jsor What's the way to go here?

@clue ping, I'd still be interested in this