Appstudio update test-component-pac-dsqh

Pipelines as Code configuration proposal
To start the PipelineRun, add a new comment with content /ok-to-test
For more detailed information about running a PipelineRun, please refer to Pipelines as Code documentation Running the PipelineRun
To customize the proposed PipelineRuns after merge, please refer to Build Pipeline customization

Pipelines as Code CI/test-component-pac-dsqh-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
15 seconds
clone-repository

✅ Succeeded
44 seconds
build-container

✅ Succeeded
7 seconds
sast-snyk-check

✅ Succeeded
35 seconds
clamav-scan

✅ Succeeded
26 seconds
deprecated-base-image-check

✅ Succeeded
7 seconds
sbom-json-check

✅ Succeeded
25 seconds
inspect-image

✅ Succeeded
7 seconds
clair-scan

✅ Succeeded
7 seconds
show-sbom

✅ Succeeded
7 seconds
show-summary

Pipelines as Code CI/test-component-pac-dsqh-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
5 seconds
init

✅ Succeeded
15 seconds
clone-repository

✅ Succeeded
44 seconds
build-container

✅ Succeeded
7 seconds
sast-snyk-check

✅ Succeeded
25 seconds
inspect-image

✅ Succeeded
26 seconds
deprecated-base-image-check

✅ Succeeded
35 seconds
clamav-scan

✅ Succeeded
7 seconds
sbom-json-check

✅ Succeeded
7 seconds
clair-scan

✅ Succeeded
7 seconds
show-summary

✅ Succeeded
7 seconds
show-sbom

Pipelines as Code CI/test-component-pac-dsqh-on-pull-request has successfully validated your commit.

StatusDurationName

✅ Succeeded
8 seconds
init

✅ Succeeded
16 seconds
clone-repository

✅ Succeeded
27 seconds
sast-snyk-check

✅ Succeeded
40 seconds
build-container

✅ Succeeded
57 seconds
inspect-image

✅ Succeeded
28 seconds
deprecated-base-image-check

✅ Succeeded
14 seconds
clair-scan

✅ Succeeded
39 seconds
clamav-scan

✅ Succeeded
13 seconds
sbom-json-check

✅ Succeeded
6 seconds
show-sbom

✅ Succeeded
5 seconds
show-summary


HTML5 validations

placeholder...

Closing, as browser support for this is a LONG way from being ready. It'll come back when it matters.


Koa

Is it possible to use this with Koa instead of Express?

Using the options, I was able to get this plugin at least partially running with:
createPrometheusExporterPlugin({ metricsEndpoint: false, defaultMetrics: false })

What I'm seeing on my endpoint now contains this:
# HELP apollo_server_starting The last timestamp when Apollo Server was starting.
# TYPE apollo_server_starting gauge
apollo_server_starting{version="v2.21.0",hostname="RROSS-XPS15"}<PHONE_NUMBER>.831

# HELP apollo_server_closing The amount timestamp when Apollo Server was closing.
# TYPE apollo_server_closing gauge

# HELP apollo_query_started The amount of received queries.
# TYPE apollo_query_started counter

# HELP apollo_query_parse_started The amount of queries for which parsing has started.
# TYPE apollo_query_parse_started counter

# HELP apollo_query_parse_failed The amount of queries for which parsing has failed.
# TYPE apollo_query_parse_failed counter

# HELP apollo_query_validation_started The amount of queries for which validation has started.
# TYPE apollo_query_validation_started counter

# HELP apollo_query_validation_failed The amount of queries for which validation has failed.
# TYPE apollo_query_validation_failed counter

# HELP apollo_query_resolved The amount of queries which could be resolved.
# TYPE apollo_query_resolved counter

# HELP apollo_query_execution_started The amount of queries for which execution has started.
# TYPE apollo_query_execution_started counter

# HELP apollo_query_execution_failed The amount of queries for which execution has failed.
# TYPE apollo_query_execution_failed counter

# HELP apollo_query_failed The amount of queries that failed.
# TYPE apollo_query_failed counter

# HELP apollo_query_duration The total duration of a query.
# TYPE apollo_query_duration histogram

# HELP apollo_query_field_resolution_duration The total duration for resolving fields.
# TYPE apollo_query_field_resolution_duration histogram

However, I'm not seeing any actual statistics being gathered when I make Apollo queries.

Hello!
Yep, express is used only for exposing the metrics. What you can do:
import { register } from 'prom-client';

const app = new koa();
const router = new koaRouter();

const prometheusExporterPlugin = createPrometheusExporterPlugin({
  register, // this may not be needed but it ensures that the correct prom-client register is used
  metricsEndpoint: false // this will disable the integration between the plugin and express
});

// ... continue with the usual implementation of Apollo

router.get('/metrics', async (ctx) => {
  ctx.type = register.contentType; // set the correct content type from the prom-client register
  ctx.body = await actualRegister.metrics(); // set the body of the response to the data exposed by prom-client
});

Also, can you please post an example using StackBlitz or a GitHub repo to look over? It would help a lot.
Thanks!

I'm going to close this for no activity. Please feel free to reopen it if needed.

Finally had a chance to circle back on this.  I does look like it is working now:
# HELP apollo_server_starting The last timestamp when Apollo Server was starting.
# TYPE apollo_server_starting gauge
apollo_server_starting{version="v2.22.2",hostname="RROSS-XPS15"}<PHONE_NUMBER>.125

# HELP apollo_server_closing The amount timestamp when Apollo Server was closing.
# TYPE apollo_server_closing gauge

# HELP apollo_query_started The amount of received queries.
# TYPE apollo_query_started counter
apollo_query_started{operationName="IntrospectionQuery",hostname="RROSS-XPS15"} 2
apollo_query_started{hostname="RROSS-XPS15"} 9

# HELP apollo_query_parse_started The amount of queries for which parsing has started.
# TYPE apollo_query_parse_started counter
apollo_query_parse_started{operationName="IntrospectionQuery",hostname="RROSS-XPS15"} 1
apollo_query_parse_started{hostname="RROSS-XPS15"} 2

# HELP apollo_query_parse_failed The amount of queries for which parsing has failed.
# TYPE apollo_query_parse_failed counter

# HELP apollo_query_validation_started The amount of queries for which validation has started.
# TYPE apollo_query_validation_started counter
apollo_query_validation_started{operationName="IntrospectionQuery",hostname="RROSS-XPS15"} 1
apollo_query_validation_started{hostname="RROSS-XPS15"} 2

# HELP apollo_query_validation_failed The amount of queries for which validation has failed.
# TYPE apollo_query_validation_failed counter

# HELP apollo_query_resolved The amount of queries which could be resolved.
# TYPE apollo_query_resolved counter
apollo_query_resolved{operationName="IntrospectionQuery",operation="query",hostname="RROSS-XPS15"} 2
apollo_query_resolved{operation="query",hostname="RROSS-XPS15"} 9

# HELP apollo_query_execution_started The amount of queries for which execution has started.
# TYPE apollo_query_execution_started counter
apollo_query_execution_started{operationName="IntrospectionQuery",operation="query",hostname="RROSS-XPS15"} 2
apollo_query_execution_started{operation="query",hostname="RROSS-XPS15"} 9

# HELP apollo_query_execution_failed The amount of queries for which execution has failed.
# TYPE apollo_query_execution_failed counter

# HELP apollo_query_failed The amount of queries that failed.
# TYPE apollo_query_failed counter

# HELP apollo_query_duration The total duration of a query.
# TYPE apollo_query_duration histogram
apollo_query_duration_bucket{le="0.001",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 0
apollo_query_duration_bucket{le="0.005",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 0
apollo_query_duration_bucket{le="0.015",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 0
apollo_query_duration_bucket{le="0.05",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="0.1",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="0.2",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="0.3",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="0.4",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="0.5",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="1",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="5",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="10",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="+Inf",operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_sum{operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 0.082
apollo_query_duration_count{operationName="IntrospectionQuery",operation="query",success="true",hostname="RROSS-XPS15"} 3
apollo_query_duration_bucket{le="0.001",operation="query",success="true",hostname="RROSS-XPS15"} 8
apollo_query_duration_bucket{le="0.005",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="0.015",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="0.05",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="0.1",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="0.2",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="0.3",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="0.4",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="0.5",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="1",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="5",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="10",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_bucket{le="+Inf",operation="query",success="true",hostname="RROSS-XPS15"} 10
apollo_query_duration_sum{operation="query",success="true",hostname="RROSS-XPS15"} 0.008
apollo_query_duration_count{operation="query",success="true",hostname="RROSS-XPS15"} 10

# HELP apollo_query_field_resolution_duration The total duration for resolving fields.
# TYPE apollo_query_field_resolution_duration histogram
apollo_query_field_resolution_duration_bucket{le="0.001",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.005",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.015",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.05",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.1",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.2",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.3",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.4",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.5",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="1",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="5",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="10",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="+Inf",operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_sum{operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 0
apollo_query_field_resolution_duration_count{operation="query",fieldName="pingStudyDesignService",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 8
apollo_query_field_resolution_duration_bucket{le="0.001",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.005",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.015",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.05",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.1",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.2",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.3",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.4",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.5",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="1",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="5",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="10",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="+Inf",operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_sum{operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 0
apollo_query_field_resolution_duration_count{operation="query",fieldName="features",parentType="Query",pathLength="1",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.001",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.005",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.015",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.05",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.1",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.2",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.3",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.4",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="0.5",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="1",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="5",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="10",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_bucket{le="+Inf",operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2
apollo_query_field_resolution_duration_sum{operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 0
apollo_query_field_resolution_duration_count{operation="query",fieldName="studyActivityReorderingAllowed",parentType="FeatureResponse",pathLength="2",hostname="RROSS-XPS15"} 2


Fix bug when running behave, add SPARQL tests and add Dockerfile

Commands to build and run in the README.md

Files sparql-ncats-red-kg.feature and steps-sparql.rq have been added to set test to SPARQL endpoints. With one working test for the ncats-red-kg triplestore
Example commands to run a single feature file (-i file.feature) and to see print() in the console output have been added to the README


Integrating XCDYoutubeKit in XCode 6 to support IOS8

HI,
I had integrated previous version "XCDYoutubeVideoPlayerViewController " which works fine when after running it on IOS8 it crashes. So want to integrate this latest version for IOS 8 support.
But facing issues. Following are the warning which i get while integrating XCDYoutubeKIt in Xcode6.
ld: warning: directory not found for option '-F/Applications/Xcode 3.app/Contents/Developer/Platforms/iPhoneSimulator.platform/Developer/Library/Frameworks'
Undefined symbols for architecture i386:
"_JSContextGetGlobalObject", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
"_JSEvaluateScript", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
"_JSGlobalContextCreate", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
"_JSGlobalContextRelease", referenced from:
-[XCDYouTubePlayerScript dealloc] in XCDYouTubePlayerScript.o
"_JSObjectCallAsFunction", referenced from:
-[XCDYouTubePlayerScript unscrambleSignature:] in XCDYouTubePlayerScript.o
"_JSObjectIsFunction", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
"_JSObjectSetProperty", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
"_JSStringCopyCFString", referenced from:
-[XCDYouTubePlayerScript unscrambleSignature:] in XCDYouTubePlayerScript.o
"_JSStringCreateWithCFString", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
-[XCDYouTubePlayerScript unscrambleSignature:] in XCDYouTubePlayerScript.o
"_JSStringRelease", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
-[XCDYouTubePlayerScript unscrambleSignature:] in XCDYouTubePlayerScript.o
"_JSValueIsObject", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
"_JSValueIsString", referenced from:
-[XCDYouTubePlayerScript unscrambleSignature:] in XCDYouTubePlayerScript.o
"_JSValueMakeString", referenced from:
-[XCDYouTubePlayerScript initWithString:] in XCDYouTubePlayerScript.o
-[XCDYouTubePlayerScript unscrambleSignature:] in XCDYouTubePlayerScript.o
"_JSValueToStringCopy", referenced from:
-[XCDYouTubePlayerScript unscrambleSignature:] in XCDYouTubePlayerScript.o
ld: symbol(s) not found for architecture i386
clang: error: linker command failed with exit code 1 (use -v to see invocation)
Please advice.
Thanks in advance.

Hi... i am also new to github... Guys can u please share the link for  XCDYouTubeKit 2.0.2.


Progress on manual focus?

Thank you for this wonderful project. I'm wondering if there are particular challenges with enabling manual focus. It should consist of sending a command via i2c to the proper register right? Are there registers for setting the position of the lens that are known?

Looking a little more closely at this, I see you are using the 0x3022 register to get the autofocus started, which is what the arducam ov5640 lists as the register for starting autofocus
However, I found this: https://cdn.sparkfun.com/datasheets/Sensors/LightImaging/OV5640_datasheet.pdf
And in they suggested in section 7-11 that 0x3602 is a register with default value of 0x50 that controls the VCM position. Do you think this could work to allow manual control of the vcm position?

@leoshmu As I mentioned in my channel comment, I tried to create firmware for manual focus control, but I couldn't produce the desired result. No updates have been made since then. If you modify and test my code and make a pull request, I will test it myself.


Create init

You need that file, so python can use the files.

Hi, actually, it's not mandatory, you just need to run the program from main


Node 5 generator support incomplete

see https://github.com/jbach/babel-preset-es2015-node4/issues/1 , same issue persists in Node 5

Hm... this is really odd issue.
Personally, I use ES6 generators natively since node 0.11 and before this day, I thought it has no problem and it's one of the nicest features implemented natively.
I don't like the fact of compiling generators with regenerator and including special runtime, because of return bug. Also node's official documentation mentions generators as supported https://nodejs.org/en/docs/es6/.
Compact-table says node@5 covers 19/25 tests and babel+regenerator 22/25, and checks are a bit different, if we compile with regenerator, what's about generator.constructor for example?
For this preset, I want to use an official node documentation as a reference, and don't go too much in specification details. If they claim, that generators support is not full or should not be used natively, I will add it.
If you rely on .return and don't need native support, you can do:
{
  "presets": [
    "es2015-node5"
  ],
  "plugins": [
     "babel-plugin-transform-regenerator"
  ]
}

I think it's possible to write a special transformer which only patch return for current V8 generators implementation, but I'm not sure I have enough time to do it now.

Agreed with @hax, special transformer similar to function-name would be a good solution.

Initial implementation: https://github.com/hax/babel-plugin-transform-es2015-generator-return
I will test and publish it soon. :smiley:

Tested and published!
You could add it to the preset :horse_racing:

Awesome! I've just tested this module, and it wraps every generator to try/catch block and patches GeneratorPrototype. I still think, it should not be in a preset, since it may impact performance and make compiled code more verbose.
Maybe we should add a note to Readme instead?

Try-catch will impact performance to normal function, but generators in V8 are not fully optimized anyway.
Check https://github.com/petkaantonov/bluebird/wiki/Optimization-killers you will see let/const also stop the function optimization. Consider this preset do not use transform-block-scope either, I think it's ok to add this plugin to preset :santa:

Node 5 also doesn't support yield *, iterator closing. Which I believe is responsible for this issue: https://github.com/yelouafi/redux-saga/issues/197


about tokens

May I ask if it is possible to add the number of tokens returned by chatGPT, which can facilitate the counting of the number of tokens I have already used and avoid exceeding the token length and causing errors

I am using OpenAiService. streamChatCompletion(), which returns ChatCompletionChunk without statistics on tokens

@Crow9527
Currently the streaming OpenAi API does not return any statistics on tokens.

(CompletionResult) completion.getUsage().getTotalTokens()


Support bcrypt as a modern algorithm

Love this provider, thank you for your work!
I'd like to see bcrypt implemented as a hashing algorithm, if possible (at least the original Go module would suggest it is supported). Some of the more modern htpasswd applications (case and point: Docker Distribution) require algos like bcrypt instead of the weaker ones like md5 or sha1.
Thanks!

Will definitely look into adding it. BTW bcrypt is available as a method in Terraform core so you might use that for the time being?

Totally, yes, but unfortunately (as the documentation notes) it produces "spurious" diffs (meaning, the value changes with each apply, although the underlying password will not change) due to the nature of bcrypt's hashing algorithm, i.e. it'll be a little noisy and potentially require re-provisioning of resources that haven't actually changed. I trust in this provider to basically be a remedy for that problem :slightly_smiling_face:

Haha, if bcrypt has a seed that can be controlled, sure. This is how the provider currently gets around preventing spurious diffs for apr1. I'll have a look shortly.

Allright, I figured out a way to support this, but this will introduce a very hard breaking change, namely that the data source will become a resource 😆
I will do some testing and bump the provider to the 1.0.0 release to signal breakage

@moritzheiber please try the v0.9.0 release which includes bcrypt support! Note that you'll have to switch from the data source element to the resource one to get bcrypt.

@loafoe Can confirm that this does both, add bcrypt as an algorithm and avoid spurious diffs during apply runs. Fantastic work, thank you! :heart: :tada:


Failed to compile example!

I have succesfully installed phpcpp on Ubuntu 15.04, and downloaded the example files. But when I run make command I have the following output:
g++ -Wall -c -O2 -std=c++11 -lphpcpp -fpic -o main.o main.cpp
fatal error: phpccp.h: No such file or directory
Am i missing something?

It seems the PHP-CPP library is not successfully installed, since it cannot find phpcpp.h
Are you sure you have not forgotten to execute 'make install'?

Ops, my mistake. I was writing #include "<phpccp.h>". Lol.


Support for system native scroll hiding

On OS X (and propably other systems that allow it) there is an option to show scrolls only when scrolling, react-custom-scrollbars do not cover this case (just native scroll shows up, component doesnt seem to work at all).
Is there a workaround for that?
Is it even possible to make component work?

This is not possible for various reasons. See #53 #21


Upgrade to 'create-react-app' v3.2.0

Description of what you did:
Upgraded template to latest create-react-app version.
See Create React App Release for more info.

My PR is a:

[ ] 💥 Breaking change
[x] 🐛 Bug fix
[x] 💅 Enhancement
[x] 🚀 New feature

Main update on the:

[ ] lib
[x] template

Thanks @panz3r


Feature/dev8

Now it prompts you for all the inputs before running all the actions sequentially. This is done to prevent user from having to wait and respond back to a prompt once an action is done when manually having to enter response to prompt.
DELETE_AUDIO set to y now deletes audio even if DOWNLOAD_AUDIO is set to y.
Added AUTO_LOAD_ENV to automatically load .env file, preventing user from having to answer y to loading .env file every time.

Approved.


2.0.3 (2021-05-16)

New: [Update-T2TPostMigration] Add a new param called -KeepPrimarySMTPAddress
New: [Update-T2TPostMigration] Add a new param called -UseMOERATargetAddress
Fix: [Update-Source] Missing $PreferredDC on Set-ADUser cmdlet
Fix: [Update-Source] Set-ADUser : Cannot validate argument on parameter 'Replace'. The argument is null, empty, or an element of the argument collection contains a null value

Issues with workflow validation.


Text-based snapshots break across platforms due to line ending differences

Describe the bug
When generating snapshots for text-based snapshots they are encoded with whatever the recording platform's line ending format is. When attempting to reuse these snapshots on a different platform that uses a different line-ending format the snapshots will fail to validate.
To Reproduce
Zip up a project that reproduces the behavior and attach it by dragging it here.
// And/or enter code that reproduces the behavior here.

Expected behavior
I would expect to have these line endings somehow ignored across platforms, or otherwise adaptable across multiple platforms in which Swift run on.
Screenshots
If applicable, add screenshots to help explain your problem.
Environment

swift-snapshot-testing: 1.8.1
Xcode N/A
Swift: 5.11-dev
OS: Windows 11 Pro

Additional context
Add any more context about the problem here.

Actually, this looks like text snapshots are written with LF endings even on Windows so I think my issue is elsewhere!

Looking into this more, this does seem like an actual problem. Here's a sample repo with a basic text snapshot that I generated on macOS and I have CI running on Windows & macOS. You can see that the Windows run fails by saying the whole file is different when the text looks the same, this is due to different line endings. https://github.com/brianmichel/swift-snapshot-line-endings/actions/runs/7241742160/job/19726194879
I believe this is he correct toolchain behavior (using crlf on Windows), I wonder if some kind of additional ignoreLineEndings flag could be useful to allow some slack in comparing these tests.
This will mean that projects which use this snapshot testing tool in their cross platform library/app will have to have two complete sets of saved snapshots; one set with lf line endings, one set with crlf line endings. Which is the approach I've taken here https://github.com/supabase-community/supabase-swift/pull/184 which works, but is a bit annoying to keep in sync.


Failing MPB tests

ERROR: `updatemodel!` has no method matching updatemodel!(::CplexMathProgModel)
 in linprogsolvertest at /home/mlubin/.julia/v0.3/MathProgBase/test/linproginterface.jl:34

What was the resolution on this?

I'd like to just get rid of updatemodel! and make it the responsibility of Gurobi.jl to do the intelligent thing. Does anyone else implement this?

Would be nice to not have this failing. I'm okay with removing updatemodel!.

Pkg.test("CPLEX") is finally working


Allow passing an error message to SerializationError::InvalidData enum variant

To make it more user friendly, perhaps we could allow passing an error message to SerializationError::InvalidData enum variant, to be more verbose when a serialisation error is encountered.
https://github.com/arkworks-rs/algebra/blob/5ee7e23d59bfc3ab964a033eccdcc74f335af24f/serialize/src/error.rs#L9

Yeah, sounds like a good idea!


Feature/iasystems evaluation completion

Coverage decreased (-0.06%) to 84.38% when pulling e599a42fda64ae956b48dc2d1156c642148eb983 on feature/iasystems_evaluation_completion into 0fceb83a12139c17c2437449d757346dd96545c2 on develop.


Update unit tests websocket

Updates unit tests to use the mocked websocket that is now used for subtensor instantiation.

I've tested this changes and them are solving the real-chain-call problem partially. We still have 39 unit-tests broken without the connection.

But I believe those tests are old one and doesn't related with websockt update.
Anyway we need to create the issue for to fix this behavior.


v 4+ (URGENT) We are unable to 'Validate' data on the 'Explore' map

ToDO:
Maybe this is related to the DependBot notifications...like this one from async?
This is a biggie...hope we can diagnose and fix before 6/7.
Tested on v 4.1.3 (Build 80) in testflight.
Currently looks like we CANNOT update an 'Unknown' data entry with a species (though I noticed I could at least close the dialog button by saying 'No').
What is suppose to happen is a user should be able to change a species name on a 'NEEDS VALIDATION' entry. After they select from the dropdown of species the correct species - they should be able to hit 'Yes' and then the iTreeAPI is run (saving the data in the backend per this fix #454 ).
https://github.com/TreeMama/iSeaTree-React-Prototype/assets/62637055/7e0f9e37-7e4b-49d1-a324-8122a5a001c4

Looks fixed in version 4.1.4 (82)


Assert Query execution result in BlackBoxBoundedContext

This PR adds an assertQueryResult(Query) method to the BlackBoxBoundedContext.
The method runs a query within the context and then provides a Subject for assessing its results.
The provided subject (QueryResultSubject) by itself is an IterableOfProtosSubject where the object being tested is an Iterable of received entity states (in the form of Messages).
The subject thus can do the checks as follows:
context.assertQueryResult(query)
       .comparingExpectedFieldsOnly()
       .containsExactly(expectedState1, expectedState2)

The QueryResultSubject also provides some number of convenience methods for checking response status, received entity versions, etc.

@armiol PTAL.


ISPN-12690 Support per-cache marshaller in Spring caches

https://issues.redhat.com/browse/ISPN-12690

Register a ProtoStreamMarshaller if necessary
Test null values with per-cache marshaller

Should be working now.
I made RemoteCacheManager always register a ProtoStreamMarshaller and register the serialization context initializers even if
ProtoStreamMarshaller is not the default marshaller.


Can't load viewer by following direct URL

Description
If you try to load the viewer directly by going to https://simularium.allencell.org/viewer there's an error, but if you follow the link to the viewer from https://simularium.allencell.org it works fine.
Expected Behavior
The viewer should load at the direct URL
Reproduction
Go to https://simularium.allencell.org/viewer
Environment
Production, Firefox, Mac OS

This is an issue on AWS, we need the 404 to redirect to our index page

this fix was implemented before, I wonder if something got reset:
https://via.studio/journal/hosting-a-reactjs-app-with-routing-on-aws-s3
@anl

Fixed:


Update list command in AddressBookParser.java

Coverage decreased (-0.07%) to 72.022% when pulling 6b2a7833bf68f0c665d91f90290ed851fff521fb on Kratious:event-management into 679fa42f28d8bef1a259c81244ca65f704475231 on CS2103-AY1819S1-W16-2:master.


Did you mean the "main"branch?

Hi, I think there is some issue with the Binder.
Launching Binder reports error -
Could not resolve ref for gh:sktime/sktime-workshops/master. Double check your URL. GitHub recently changed default branches from "master" to "main". Did you mean the "main"branch?
Pankaj

The link from the README: https://mybinder.org/v2/gh/sktime/sktime-workshops/main works for me. Which link are you using?


Bsweger/fix docker incantation

Fixes to the README that were flagged in this prior (prematurely merged) PR.

@matthewcornell added you as a reviewer, since Evan is swamped right now.
This hopefully addresses the incorrect README code that you and Evan pointed out in the earlier PR.


Update open_clip.md

Hi, I added import requests line required to correctly run the OpenCLIP model examples.

The docs for this PR live here. All of your documentation changes will be reflected on that endpoint. The docs are available until 30 days after the last update.


Feature request: Blood pressure tracking

Hello all,
Garmin now has a blood pressure monitoring cuff, and I'm wondering if someone with API access could check if an endpoint is exposed for pressure data.
Thanks!

Would love to have the Garmin Index BPM added to this integration

Asking again on this one, the integration is amazing, allows me to integrate my miscale to Garmin. Would be even better if we also could push blood pressure in to Connect through the integration.


Bugfix java 17 support per atlassian upstream

See https://jira.atlassian.com/browse/JRASERVER-76224 for details on this. This snippet was taken directly from the setenv.sh script from JIRA 9.11.1.
Pull Request (PR) description
This PR updates setenv.sh with the fix from atlassian's upstream setenv.sh script. It simply checks if java 17 is in use, and if so, then it includes the JVM_OPENS parameters.
This Pull Request (PR) fixes the following issues
Fixes #412

@valentino-aguiar-gsa could you please rebase your branch?

Hi, rebased. Didn't notice, thanks!

Will adjust to only include the 1 commit shortly

@valentino-aguiar-gsa can you please rebase against our master branch to get rid of the merge commit?

Sorry about that, all sorted. Note to self, dont use the 'sync' option in github web ui.


A wf_pandoc:convert(…) call with diacritics into the text fails

Hi Jesse,
I may not use wf_pandoc:convert/2 the right way (?), but if I call it from inside the inner_body() -> Fn, it fails, saying it can't find the temporary file.

It took me "some" time to find why and finally, not erasing the temporary file was the solution, as I found it was written with iso-8859-1 encoding instead of UTF-8.

My first fix was to modify my call, adding a conversion to unicode:
, wf_pandoc:convert(
    unicode:characters_to_binary(
        "bla bla"
    )
    , [ {from, creole}, {to, html5} ]
)

But in order to avoid to be obliged to do so within each and every call to wf_pandoc:convert/2, there is much simpler, modify lib/nitrogen_core/src/lib/wf_pandoc.erl as of this diff:
7a8,9
> % =============================================================================
>
11c13,16
<     file:write_file(RandFile, Contents),
---
>     %%% To avoid to add: unicode:characters_to_binary("mardown string") in the page call to: wf_pandoc(…), do it here
>     Utf8Contents = unicode:characters_to_binary(Contents),
>     %%%file:write_file(RandFile, Contents),
>     file:write_file(RandFile, Utf8Contents),

Jean-Yves

Thanks for your change, I've added it to the rebar3 branch of nitrogen_core


Add built-in client template for Java

Conceptually straightforward. We've got Go and JS clients as possible outputs, I'm going to go down the list of languages I'm fairly comfortable with and add those. I should add Java soon, but a few thoughts:

What java version to target?

6/7 would give the widest audience, but no lambdas
8 is oldest version still w/ LTS support
11 has the revamped HTTP client in the standard library that would probably make this much easier/resilient

What to use for the package name since convention is "com.organization.project.a.b.c". Can probably get org and project by stripping "github.com" (or whatever the address is) from the Go module name. Subpackages can probably default to the directory path segments of the service.

Put this on the backburner for a bit while I worked on the Dart/Flutter client. I ran into some issues having the client marshal/unmarshal request/response values because I forgot that Java still does not have a JSON package in the standard library... WHY JAVA, WHY?!?!?!
Anyways, I have a branch where the template is "mostly" done, but I'm going to come back to this one later.


Migration from own gitlab not working

Description
gitea:
OS: Linux Debian 12, up-to-date
Installed as binary
Configuration added to app.ini:
[migration]
ALLOWED_DOMAINS = my-gitlab
BLOCKED_DOMAINS =
ALLOW_LOCALNETWORKS = true
SKIP_TLS_VERIFY = true

(restarted gitea service after each app.ini change)

Tested also with IP, with empty ALLOWED_DOMAINS and with missing [migration] block.
Tested without BLOCKED_DOMAINS
With and without token (which is valid)
With http and https

Always the message "migrate.permission_denied_blocked":
German "Du kannst von keinen nicht erlaubten Hosts importieren.
I also tried it with "git" migration (one of the other options in gitea), bit the result is the same.

The log file is not very helpful in the case:
2024/02/17 17:49:25 .../context_response.go:68:HTML() [D] Template: repo/migrate/gitlab
2024/02/17 17:49:25 ...eb/routing/logger.go:102:func1() [I] router: completed POST /repo/migrate for <IP_ADDRESS>:51000, 200 OK in 16.4ms @ repo/migrate.go:151(repo.MigratePost)

Of course i tried to clone my gitlab repo again (to ensure, it is working): yes, working like always and cloned the repository to my computer.
Gitea Version
1.21.4 built with GNU Make 4.3, go1.21.5 : bindata, sqlite, sqlite_unlock_notify
Operating System
Linux Debian 12
How are you running Gitea?
Downloaded from gitea.io two hours ago
Database
MySQL/MariaDB

https://docs.gitea.com/administration/config-cheat-sheet#migrations-migrations

I used that URL to add the migration block to my app.ini.

It's [migrations] not [migration].

Many thanks to lunny !
You know the feeling, when you try to find the error the whole day ... then a collegue looks over your should, pointing to a typo and that is the solution ?! Hmpf !!
Why is that block not automatically (by default) written in the app.ini ?
Can this ticket pls. can be switched into "enhancement" ?
 I think we can add a workaround label here and close it.

as per @lunny


规范forin写法

https://stackoverflow.com/questions/1963102/what-does-the-jslint-error-body-of-a-for-in-should-be-wrapped-in-an-if-statemen


Fix read of response body for curl-client and add tests. #57

This PR also adds tests adapted from Surf

Thanks for catching this.
This will fix https://github.com/http-rs/http-client/issues/57 once released.


[test] Add s390x support for test/IRGen/big_types_corner_cases.swift

Add s390x support for test/IRGen/big_types_corner_cases.swift

@levivic Let's get this moving again.  Have you had time to look into this issue?

Can one of the admins verify this patch?

Alright, I'm going to close this out due to age and inactivity. I think this change is still good to have for big-endian targets but I don't have time to shepherd this through. Please consider reopening this pull request when you have the time.


Work with multiple templateUrl's

If someone is a bad developer, they'll have multiple directives/components in a single file. This should probably handle that case.
The reduce in the util.js file could instead start with an empty array and fill it with line numbers.
You could then alter the if (lineNumber === -1) to if (!lineNumbers.length) for a similar functionality and then loop through those to add the requires as needed.

#4 closes this.


expose Series.concat/2

Pretty straightforward. As usual looking for naming feedback and any gotchas.
I've got two specific questions:

Should we downcast to float if we have a mix of integer and float series (as in #77)?
Perhaps the API should be closer to DataFrame.concat_rows and permit a list?

I'm mulling those over at the minute. I think the answer is yes to both.
Closes #75

Agreed on yes to both. :)

I think downcasting is going to require implementing Series.cast/2, which I've been meaning to add for a bit.


Added django logo on Technical 404 page

Thanks for this patch, however IMO we don't need a logo on a debug pages.


Ingest all licensed, catalogued images into Catalogue API

Closing as dupe of https://github.com/wellcometrust/platform/issues/517


ARIMAX.predict error

Hi,
I faced with some error when using the ARIMAX.predict().
The ARIMAX example in documentation seems to train the whole model on OOS data. My problem is I need to predict future value based on current exogenous variables. Below is my dummy code:
# train the model
data = pd.DataFrame(dict(x=[45, 50, 55, 60, 70, 80, 90]))
data['y'] = 0.5 + data['x'] + scipy.stats.norm.rvs(scale=2, size=data.shape[0])
model = pf.ARIMAX(data=data, formula='y~1+x',ar=1, ma=0, family=pf.Normal())
model.fit("MLE")

data_new = pd.DataFrame(dict(x=[100, 120], y=[np.nan, np.nan]))
model.predict(h=2, oos_data=data_new)

The model was trained successfully, but when it came to predict, it just raised the Exception,
IndexError: index 0 is out of bounds for axis 0 with size 0.
Can anyone help me to find the correct way to use predict()? Do I need to assign the index of the oos_data?

Thanks, I am looking at this now.

The issue is with the nans in the oos_data column. I am pushing a fix for this tonight.


chore(main): release 1.5.0

:robot: I have created a release beep boop
1.5.0 (2023-05-19)
Features

add solidity_ls_nomicfoundation (#226) (55cd1eb)

This PR was generated with Release Please. See documentation.

:robot: Release is at https://github.com/williamboman/mason-lspconfig.nvim/releases/tag/v1.5.0 :sunflower:


Add logic for ICD-10 MS-DRGs V41

@yubin-park, any chance you will be incorporating ICD-10 MS-DRGs V41 soon?

Was wondering the same! This library and model is fantastic.


Unstained glass cannot be dyed

Feels weird that you can dye (and obtain the uncolored iota from) plain terracotta, but not plain glass. You can dye glass that's already stained, so why not?

Ah that's an oversight. Will be fixed in the next version

👍


Moved encoding filter to the top

Fixes #1008
Should be ported over to 4.0.3

Heads up. Merging by Wednesday morning, unless there are comments.

I'm not sure that we need to make the encoding filter customizable, but yes, we can move it to the top (even if it doesn't change anything here).

It's declaration hasn't changed, only its placement. I did only add a few properties "just in case" someone didn't want to enforce utf-8 for whatever reason.

I see your point. I'm not against it, but not really convinced by it.
+1


Help and Support

Help and Support

Purpose: Ensure the user has access to help if they encounter issues or need guidance.

Design: Include a clearly visible Help or Support button, either in the navigation or footer.
Provide a FAQ, chat support, or a link to customer support channels.

Example: A small question mark icon at the bottom right corner that opens up a help center or live chat.

assign me this issue

assign me this issue

The problem has been assigned to you. Good luck.


TypeError: Cannot read properties of undefined (reading 'trim')

When creating a test report, I get this error
Error: Processing test results from app/build/outputs/androidTest-results/connected/debug/TEST-test(AVD) - 10-_app-.xml failed
Error: TypeError: Cannot read properties of undefined (reading 'trim')

My config
      - name: Generate android test results
        uses: dorny/test-reporter@v1
        if: success() || failure()
        with:
          name: Android test results
          path: '**/build/outputs/androidTest-results/connected/debug/TEST-*.xml'
          reporter: java-junit
          fail-on-error: false

Hi @LouisFn, can you provide a sample test result file which produces this error?

Hi @LouisFn , can you reproduce the issue on the latest @main action? If so, please include a sample output file which causes the problem.


TsTypeRef in generics doesn't pick the right type

Given an "enum" type
@JsType
@JsTypeDef(tsType = "string")
public class MyEnum {
  public static final String FOO = "foo";
  public static final String BAR = "bar";
}

it will emit ts output with an extra type for the string:
type MyEnumType = string;
export class MyEnum {
  static readonly FOO:MyEnumType;
  static readonly BAR:MyEnumType;
}

It should be possible to annotate various usages of String throughout the project with @TsTypeRef(MyEnum.class) to get them to instead point to this synthetic type MyEnumType. For example, this String field will correctly appear to be an "enum" in ts:
@TsTypeRef(MyEnum.class)
public MyEnum value;

value:MyEnumType;

However, when using the annotation inside of generics, the "wrapper" class is picked instead
public JsPropertyMap<JsArray<@TsTypeRef(MyEnum.class) JsString>> values;

Expected:
values:{[key:string]:Array<MyEnumType>};

Actual:
values:{[key:string]:Array<MyEnum>};

See JsTotalsTableConfig.operationsMap and JsRollupConfig.aggregations in my d.ts branch for deephaven-core.

I believe this was fixed by #33?


Possible name of renaming

So per discussion in #42 I think most people do not comfortable with class. I'm not OK to ship Number.range without hinting it is an iterator in the name so I'm going to rename this proposal.
Requirements:

Must hint to the developers it is an iterator.

Example:

✅ Number.rangeIterator or Iterator.numericRange (unify all kinds of numbers, bigints, ...etc) or Iterator.numberIterator+Iterator.bigintIterator.
🚫 Number.range

Must have "number", "bigint" or "numeric" in the name.

To avoid the embarrassment if we want to add things like String ranges, Temporal ranges (maybe we do have it?), or other kinds of ranges, the name must include number, bigint or numeric (if merge number and bigint into one API).

✅ Iterator.numericRange
🚫 Iterator.range

=======================================
Though I strongly want to hint at both "iterator", "range", and "number" in the API name, I'm worrying if it will hurt the egenomics because the name is too long. Maybe it is not a problem because all modern IDEs and debuggers will provide completion for the API so it is not a problem? I don't know.

Please, no. It's like moving Array#keys to Iterator.arrayIndexNumberIterator.

Please, no. It's like moving Array#keys to Iterator.arrayIndexNumberIterator.

Interesting point, let me consider this

Why would it need "iterator" in the name? keys/values/entries/matchAll are all functions in the language that provide an iterator, and nobody's seemed confused by those.

Why would it need "iterator" in the name? keys/values/entries/matchAll are all functions in the language that provide an iterator, and nobody's seemed confused by those.

So I have heard a point (maybe from @hax) that most of the built-in methods that return an iterator are not configurable via option bags. But this one is different. (Oh so matchAll is the same case as range)

I also don't know why an options bag would make a difference, unless you're suggesting that an option would be able to change the return type of the function, which I'd find very confusing and problematic.

Another difference is keys/values/entries/matchAll are prototype methods and range is not. 🤔

Why would the placement of a method create confusion about the return type? Reflect.enumerate, before it was removed (due to not being a proxy trap), was a static method that returned an iterator.

Hmm, that makes sense to me. I need to consider more about this. Let me close this for now.
Another question. Are people here (and in #42) are good with the status quo?

I don't think any modern languages put the types in method names 😬


Cannot resolve React.JavaScriptEngineFactory

I'm currently trying to use React.NET Core to enable my minimal webserver implementation to deliver a react app. I don't use ASP or any other web framework.
I initialized everything as recommended in #178, but the container is unable to resolve the ReactEnvironment when accessing ReactEnvironment.Current, because React.JavaScriptEngineFactory can't be resolved, either. Exception is:

System.IO.FileLoadException: Could not load file or assembly 'JavaScriptEngineSwitcher.Core, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=c608b2a8cc9e4472' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

My packages.config:
<packages>
  <package id="JavaScriptEngineSwitcher.ChakraCore" version="2.4.8" targetFramework="net461" />
  <package id="JavaScriptEngineSwitcher.Core" version="2.4.9" targetFramework="net461" />
  <package id="JavaScriptEngineSwitcher.Msie" version="2.4.9" targetFramework="net461" />
  <package id="JavaScriptEngineSwitcher.V8" version="2.4.2" targetFramework="net461" />
  <package id="JSPool" version="3.0.1" targetFramework="net461" />
  <package id="MsieJavaScriptEngine" version="2.2.2" targetFramework="net461" />
  <package id="Newtonsoft.Json" version="9.0.1" targetFramework="net461" />
  <package id="React.Core" version="3.3.0" targetFramework="net461" />
  <package id="System.Dynamic.Runtime" version="4.0.0" targetFramework="net461" />
  <package id="VroomJs" version="1.2.3" targetFramework="net461" />
</packages>

The project is compiled as dll and dynamically loaded by another service. However, there aren't any other libraries loaded that depend on any of the NuGets I use.
What am I doing wrong?

Do you have any assembly binding redirects in your config file? If not, you
could try adding one to work around the problem.
On Wed, Mar 14, 2018 at 07:28, Florian Koch<EMAIL_ADDRESS>wrote:

I'm currently trying to use React.NET Core to enable my minimal webserver
implementation to deliver a react app. I don't use ASP or any other web
framework.
I initialized everything as recommended in #178
https://github.com/reactjs/React.NET/issues/178, but the container is
unable to resolve the ReactEnvironment when accessing
ReactEnvironment.Current, because React.JavaScriptEngineFactory can't be
resolved, either. Exception is:
System.IO.FileLoadException: Could not load file or assembly
'JavaScriptEngineSwitcher.Core, Version=<IP_ADDRESS>, Culture=neutral,
PublicKeyToken=c608b2a8cc9e4472' or one of its dependencies. The located
assembly's manifest definition does not match the assembly reference.
(Exception from HRESULT: 0x80131040)
My packages.config:

The project is compiled as dll and dynamically loaded by another service.
However, there aren't any other libraries loaded that depend on any of the
NuGets I use.
What am I doing wrong?
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/517, or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFlDwT_-P30e3RRDw_6ImM6qlvcJMks5teSkmgaJpZM4SqiI0
.

No I don't have any, the problem is I could only add them to the App.config of my ServiceLoader. However, I don't want this Loader to know about the library that's using react. I already tried to look into providing BindingRedirects from inside my lib, but didn't find anything suitable yet.

I don't really get how the dependencies of these libs work. I checked the dependencies of all the NuGets that got installed with React.Core and they all list "JavaScriptEngineSwitcher.Core (>= 2.4.10)", except for JSPool which has "JavaScriptEngineSwitcher.Core (>= 2.4.9)".The installed version of JavaScriptEngineSwitcher.Core is 2.4.9, too. My guess was, that i just have to update it to 2.4.10, but when I do this, I can't even load my DLL anymore (ReflectionTypLoadException)

A breaking change may have been made in a later version. On my phone so
can’t look right now. Try adding a binding redirect for the version that
react.net wants just to see if it works.
On Wed, Mar 14, 2018 at 07:43, Florian Koch<EMAIL_ADDRESS>wrote:

I don't really get how the dependencies of these libs work. I checked the
dependencies of all the NuGets that got installed with React.Core and they
all list "JavaScriptEngineSwitcher.Core (>= 2.4.10)", except for JSPool
which has "JavaScriptEngineSwitcher.Core (>= 2.4.9)".The installed version
of JavaScriptEngineSwitcher.Core is 2.4.9, too. My guess was, that i just
have to update it to 2.4.10, but when I do this, I can't even load my DLL
anymore (ReflectionTypLoadException)
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
https://github.com/reactjs/React.NET/issues/517#issuecomment-373046076,
or mute the thread
https://github.com/notifications/unsubscribe-auth/AA5hFtFfC-SpA27uRuwFj_AILEMTq2_8ks5teSySgaJpZM4SqiI0
.

I enabled Automatic Binding Redirection and it solved the problem. Thanks for your quick help!


TagBot trigger issue

This issue is used to trigger TagBot; feel free to unsubscribe.
If you haven't already, you should update your TagBot.yml to include issue comment triggers.
Please see this post on Discourse for instructions and more details.
If you'd like for me to do this for you, comment TagBot fix on this issue.
I'll open a PR within a few hours, please be patient!

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/91629

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/91891

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/95439

Triggering TagBot for merged registry pull request: https://github.com/JuliaRegistries/General/pull/118982


Can we get a full huggingface package as a 7z, post install?

Living in a place with rural internet means that having to batch script install things has an extremely high probability of just breaking due to speed randomly :(

The models can be downloaded from https://huggingface.co/suno/bark/tree/main. Just use a download manager and put them into the models directory.
For cloning/swapping voice you also need the Hubert Model from https://dl.fbaipublicfiles.com/hubert/hubert_base_ls960.pt. This goes into the models/hubert folder. Hope this helps...


Support for StepRanges using ZonedDateTimes

Added guess(::ZonedDateTime, ::ZonedDateTime, ::Any), which allows a StepRange to be constructed with ZonedDateTimes. Also added appropriate test cases and documentation. Closes #20.

@spurll your PR looks good. I am going to try to fix the 0.5 issues prior to merging this.

@spurll could you rebase your changes onto the latest master? The pre-existing 0.5 issues have been mitigated.


Installation fails - For pushgateway v0.9.1: no matching manifest for linux/arm/v7 in the manifest list entries

Hi,
I am trying to install dockprom on a raspberry pi, and after cloning the repo and running, I get the following error. It does pull a number of other images, but seems to be failing on this one.
pi@pi-server2:~/docker/dockprom $ sudo ADMIN_USER=admin ADMIN_PASSWORD=mypwd docker-compose up -d
Pulling pushgateway (prom/pushgateway:v0.9.1)...
ERROR: no matching manifest for linux/arm/v7 in the manifest list entries

When I search on the docker hub I do see a linux arm v7 listed - is there a typo in the docker compose yaml file? Any ideas?
Thanks.

It's not a typo, dockprom is intended and supported for amd64 architecture.
You're welcome to change the container it references to the pushgateway one for ARM, though I would probably suggest lodging an upstream issue asking them to create a proper docker manifest so the same container can be pulled by different architectures.


Address the grabber area detection in scroll tracking

Related to #401
Reproduction steps.

Apply this patch for Samples.app

diff --git a/Examples/Samples/Sources/ViewController.swift b/Examples/Samples/Sources/ViewController.swift
index dc66359..508a1c3 100644
--- a/Examples/Samples/Sources/ViewController.swift
+++ b/Examples/Samples/Sources/ViewController.swift
@@ -474,7 +474,7 @@ extension SampleListViewController: FloatingPanelLayout {
     var initialState: FloatingPanelState { .half }
     var anchors: [FloatingPanelState: FloatingPanelLayoutAnchoring] {
         return [
-            .full: FloatingPanelLayoutAnchor(absoluteInset: UIScreen.main.bounds.height == 667.0 ? 18.0 : 16.0, edge: .top, referenceGuide: .safeArea),
+//            .full: FloatingPanelLayoutAnchor(absoluteInset: UIScreen.main.bounds.height == 667.0 ? 18.0 : 16.0, edge: .top, referenceGuide: .safeArea),
             .half: FloatingPanelLayoutAnchor(absoluteInset: 262.0, edge: .bottom, referenceGuide: .safeArea),
             .tip: FloatingPanelLayoutAnchor(absoluteInset: 69.0, edge: .bottom, referenceGuide: .safeArea)
         ]

Run Samples.app and pull up the panel for "Scroll tracking(TableView)" if touching in the grabber area.

I figured out the detection issue while investigating #401. I'm not sure it helps #401 but this patch should be useful so I merged this to master.

I figured out the detection issue while investigating #401. I'm not sure it helps #401 but this patch should be useful so I merged this to master.


Can the size of the setting page change?

As My monitor bought like 10 years ago,My screen ratio is 4:3.Therefore,when i open the setting pages, the interface is too large to my screen,so is there any way to zoom the interface to fit to my screen?
Btw, Thx for making this useful tool for us.

Hi, thanks for creating an issue. There is a zoom settings:

Unfortunately the settings width can't be adjusted and is not responsive yet.


Different types for matrix columns

Could you please consider specifying different representation types for matrix columns? It would address a lot of engineering needs. For example, together with the physical units library, we could implement matrices as described here: https://www.kalmanfilter.net/default.aspx.

Commenting because I'm not quite sure what @mpusz means and would like to learn more.

I would like to create a matrix like below where T, U, V are values of distinct types:
| T U V |
| T U V |
| T U V |

For example, T could be length, U a velocity, V an acceleration and together they could be parameters of a quadratic equation:
x = x0 + v0 Δt + 12 a Δt^2

I got a lot of requests like the above recently to be supported by my physical units library (https://github.com/mpusz/units), but it actually is a requirement for the LA library as my library will work with such a library just fine.

@mpusz thanks for explaining!  Would you object to the type information being stored separately from a matrix of unitless quantities?  For instance, one could treat the matrix in your example as a 3x3 matrix of unitless quantities, times a diagonal matrix diag(1.0 * L, 1.0 * V, 1.0 * A) (sorry for the Matlab-ish notation; could really use math LaTeX here).

I think it would work but we still need to be able to create this diagonal matrix/vector storing 3 different types, right? If we do it, I think that it could be easily extended to regular matrices?

I don't want to hijack Bob's issue tracking system ; - ) .  The idea I had in mind is that there's a performance and build size/time cost to instantiating operations like matrix-matrix multiply with arbitrary types, so I'd rather try to "algebra out" the units and just feed unitless quantities into a low-level "math kernels" library.
What I'm trying to say is that I don't object to your idea; I just might choose to implement it by storing the quantities separately from the units (sorry if I'm getting the terminology wrong).  On the other hand, I've spent a nontrivial part of the last 10 years of my career reducing build sizes and times by controlling instantiations, so I'm probably a bit biased against pushing the type information into the lowest-level representations.

Hi Mat and Mark.  I'll have to think about this.  At first glance Mark's diagonal matrix idea seems plausible.
However, one barrier is the underlying assumption in the design that all elements of a matrix/vector are of the same type.  No thought has been given to rows/columns of different types.
It may be achievable with custom engines and custom arithmetic traits, but would require some dedicated time to thinking about it.

@BobSteagall Hi Bob! :-D  My feeling is that this is something you would want to lift above the level of "element type," because the kinds of things people like to do with matrices would constrain the units of the elements of a matrix in ways that might be hard to check at compile time.  For example, would I need to "solve for the units" when solving the linear system Ax=b ?  Do I need to do that at compile time, if my interface looks like x = solve(A,b)?  I haven't thought about what that would look like, but it's pretty much unprecedented in our world of large sparse matrices to encode units in the types of the matrix elements at the lowest level of representation.

Mark, I agree.  One can imagine a kind of "shadow matrix" that carries the extra type information (beyond unitless element type, that is).

it's unprecedented (as far as I know) in our world of large sparse matrices to encode units in the types of the matrix elements

Yeah, I agree, this is a current state. However, it is like that only because until now we did not have a good modern C++ LA library and standardized physical units library. It might change with C++23 (or C++26) and this is why the first requirements for such use cases are raised to me by the users and I pass them to you as they require a modern C++ LA library ;-)

Hold on, let's not talk about "modern C++ LA libraries" quite just yet.  Doing this efficiently will take some thought; it's not just a "multidimensional tuple."
Our users use our C++ linear algebra library (not P1673; a much more complicated one) to solve linear systems with dimensions too big to fit in 32-bit integers.  It has millions of lines of code, and implements a variety of algorithms, from algebraic multigrid to complete and incomplete sparse factorizations to Krylov subspace methods.  Our users care about units, but they can and need to control them at run time.  They will not accept a library that needs to be reinstantiated for every possible permutation of units.  This means that some level of the implementation will need to strip away units-related compile-time type information.
I welcome thoughts about how to do that correctly, but I don't like the implication that "modern" necessarily means "done at compile time" or "pushed down to the lowest level of abstraction."  Hardware exists that implements linear algebra operations directly as machine instructions, and this idea is becoming more popular with all the cycles that companies spend on machine learning.  If we aim for "zero-overhead abstractions," then we need to design libraries that can get matrices, vectors, etc. down into the hardware as bulk homogeneous data.  Our C++ libraries need to be able to call optimized low-level functions that vendors have already implemented or will implement.
I want units too, don't worry! : - )  We just need to think about how to do this right.

Our users care about units, but they can and need to control them at run time. They will not accept a library that needs to be reinstantiated for every possible permutation of units. This means that some level of the implementation will need to strip away units-related compile-time type information.

I never said that your users are wrong ;-) If this is their use case than fine. They should be allowed to do it. However, there are other users having different requirements and use cases. One of them is to create small and simple 3-dimensional vectors and matrices of different quantities.
I do think that both use cases can easily coexist without any performance hit on any of them. In the worst case, a partial class template specialization will be needed which is not a huge problem.

I wholeheartedly agree with what @mhoemmen suggested, keeping the linear algebra in the low-Level and only enriching it with unit information in a higher level (a wrapper class around the linalg types) makes a lot of sense and for more complex cases than uniform units in a vector / matrix it is the only feasible way.
@mpusz in your example with different column types, it helps to ask what an access like mat.column(idx) should return: idx can be a run-time value which means there is no single return value for such a method, it would have to return a variant to be able to store the different possible column types.
Only when a column access would be done with mat.column() where Idx is a constexpr integer would it be possible to return the concrete column type depending on the given idx.
Units for a Matrix are always determined by an outer product of row and column units of the matrix (I‘ll Post a link to a paper with proof in the next post) => it is sufficient to store these row and column units (e.g. 8 units for a 4x4 Matrix) which can be stored as template arguments, so no need for an additional Matrix for the units.
I already answered a similar issue in @mpusz    Unit repo, I‘ll add that in the next post as reference.

Here is the post from @mpusz unit library Repo:
Not sure if that was clear from my earlier comment: I have written a comprehensive library that can handle vectors and matrices with mixed units. The library is used in production (unfortunately not open source at the moment).
It is also able to completely handle the Kalman filter for tracking and perception systems example @jml1795 mentioned (that was actually the use-case I developed it for). A state can e.g. contain x- and y position, velocity, acceleration and orientation, the same holds for a covariance matrix.
Design-wise I decided to make both the underlying units library as well as the underlying linalg library exchangeable.
It is possible to get the simple case of a vector / matrix with uniform units to work by customizing the value type of a linalg library (as @mpusz @hatcat and showed). If the general heterogeneous units case should be solved, I found it better to seperate the concerns of
providing a units library for scalars
providing an efficient linalg library
providing a library that annotates vector and matrix rows and columns with units (this is sufficient as all unit-correct matrices are an outer product of a list of row units and column units, see the pretty old book http://www.georgehart.com/research/multanal.html and the short paper www.georgehart.com/research/tdm.ps); this library then uses the libraries from 1. and 2. for its implementation
which also makes each of the parts exchangeable.

Here is the post from @mpusz unit library Repo:
Not sure if that was clear from my earlier comment: I have written a comprehensive library that can handle vectors and matrices with mixed units. The library is used in production (unfortunately not open source at the moment).
It is also able to completely handle the Kalman filter for tracking and perception systems example @jml1795 mentioned (that was actually the use-case I developed it for). A state can e.g. contain x- and y position, velocity, acceleration and orientation, the same holds for a covariance matrix.
Design-wise I decided to make both the underlying units library as well as the underlying linalg library exchangeable.
It is possible to get the simple case of a vector / matrix with uniform units to work by customizing the value type of a linalg library (as @mpusz @hatcat and showed). If the general heterogeneous units case should be solved, I found it better to seperate the concerns of

providing a units library for scalars
providing an efficient linalg library
providing a library that annotates vector and matrix rows and columns with units (this is sufficient as all unit-correct matrices are an outer product of a list of row units and column units, see the pretty old book http://www.georgehart.com/research/multanal.html and the short paper www.georgehart.com/research/tdm.ps);

this library then uses the libraries from 1. and 2. for its implementation
which also makes each of the parts exchangeable.

For your information: I just submitted a presentation about “Physical Units for Matrices” to CppCon2021. If this will be accepted for the conference, I am going to explain in detail how I did the implementation.
As I already explained, the big advantage is that it also works for the case of non-uniform units (i. e. each element can have a different unit)

FYI: I am going to present most of my submitted CppCon talk at MUC++ next week https://www.meetup.com/de-DE/MUCplusplus/events/279334186/ , you can join after signing up.
Hope to see you there!

The talk from MUC++ can be viewed online and there is also a more recent one from Meeting C++ https://m.youtube.com/watch?v=4LmMwhM8ODI

Should this issue be closed as "won't fix"?
It feels as though there is consensus on the idea that the units should "sit on top" of the linear algebra, and that the latter should deal with plain, uniform types.  Besides the theoretical aspects, I think @dwith-ts has provided ample evidence that this strategy also works very well in practice.
Is there another use case for supporting different types in matrix columns that I've missed?


Control route styling from setting of Truck Mode, not Follow truck route

Currently, when you select Truck Mode and enter a height, weight, length, or width restriction, the resulting route is not partitioned into truck/non-truck route segments. Only when you select follow truck route does the resulting route get partitioned. Its useful to see truck/non-truck route partitioning when you are fiddling with any truck setting, not just follow truck route.

Done. Live on refractions dev site.

Verified in test


Profiles entry does not appear in gear menu anymore

This is a fresh user data dir without profiles:

Should be fixed - https://github.com/microsoft/vscode/pull/214490/files


Added Infrareddy.First() to get the first connected device

 Add support for First() from Infrareddy device list


Option to enable self-signed certificates

"Can't connect to the Amon API on Post
 https:/amon/api/system/v2/<api key removed>: x509: certificate signed by unknown authority"

This could be done with the following Http config
var tr = &http.Transport{
	ResponseHeaderTimeout: time.Duration(3 * time.Second),
	TLSClientConfig:       &tls.Config{InsecureSkipVerify: true},
}

Fixed in 0.4


Method Spacing Fixer

Could we have a symfony level fixer to ensure we have a single blank line between methods?

@GrahamCampbell are you happy enough with the fixer to close this or are there still things open?

:)

^-^  :+1:


Enable pip-audit

Signed-off-by: Ry Jones<EMAIL_ADDRESS>

Codecov Report

Merging #1831 (584256d) into main (aefd95a) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##             main    #1831   +/-   ##
=======================================
  Coverage   93.71%   93.71%
=======================================
  Files         534      534
  Lines       33890    33890
=======================================
  Hits        31761    31761
  Misses       2129     2129

@ryjones -- what does this do?  I'm sure it is useful :-)

@swcurran it generates a list of dependencies that need attention. https://gist.github.com/ryjones/91632d7a638b35ada0f4547cb30da455 if you want to see


connect go-elasticsearch

Can I connect to es by encrypting the key file？
It's not too safe to connect directly through user name & password, after all, it's clear text

Hey, I think I need more information about what are you asking about? What is "encrypting a key file". If you want to use TLS, there's an example in the documentation how to do that, using the Go standard library packages.

Hey, I think I need more information about what are you asking about? What is "encrypting a key file". If you want to use TLS, there's an example in the documentation how to do that, using the Go standard library packages.

hi @karmi
Thanks your review, Now I connect to elasticsearch only to use username&password to authenticate，but username&password usually in plain text, exposed to the outside, very unsafe.
so I want to know is there a way to use the key file for authentication.

Is go-elasticsearch working with RestApi?  Or other ？

Hey, I'm afraid I still don't understand your question. When you connect to Elasticsearch over TLS (https://), you're not sending the credentials "exposed".
Apart from username/password authentication, Elasticsearch supports the API key authentication, which the Go client supports.

Hey, I think I need more information about what are you asking about? What is "encrypting a key file". If you want to use TLS, there's an example in the documentation how to do that, using the Go standard library packages.

hi @karmi
Thanks your review, Now I connect to elasticsearch only to use username&password to authenticate，but username&password usually in plain text, exposed to the outside, very unsafe.
so I want to know is there a way to use the key file for authentication.

ssh is not，ssl/tls is yes

I'm afraid I can't be of much help with the limited information. Can you please rephrase your question?


enable docker-machine to create remote virtualbox machines

Currently the virtualbox driver for docker-machine allows users to create local virtualbox machines.
It would be useful to be able to also create remote virtualbox machines. The driver would need to be able
to call virtualbox webservice to create machines on remote host. This is useful for the following scenarios:

being able to create docker machines on remote headless virtualbox manager (poor mans micro cloud)
being able to create docker machines on virtualbox host from python scripts running on docker container

Would probably make a good driver plugin.  The current virtualbox driver is pretty focused on local machines.

@docker/machine-maintainers With the introduction of driver plugins, we should close this ticket, shouldn't we?


Update release-notes.md

Correcting the version.
AB#43665230

#sign-off

confirmed the pattern is per this PR


nixpkgs: force patchelf to always use rpath

This effectively makes nix only use rpath rather than runpath. It's not perfect, since it doesn't change things that don't use patchelf (and just link), but it seems to fix the important cases.

NICE!


Improving About section

As I see About section is not good I can make good by using Background,Font-style and animation.

please assign this task, I'm eager to make a valuable contribution to this issue as part of the GSSOC 2023.


add CNCF Code of Conduct

As a CNCF project, we need to follow CNCF Code of Conduct.

/lgtm

/approve


feat: gRPC handlers for x/leverage

Description
Implement some gRPC service handlers for the x/leverage module.

Author Checklist
All items are required. Please add a note to the item if the item is not applicable and
please add links to any relevant follow up issues.
I have...

[ ] included the correct type prefix in the PR title
[ ] added ! to the type prefix if API or client breaking change
[ ] targeted the correct branch (see PR Targeting)
[ ] provided a link to the relevant issue or specification
[ ] added a changelog entry to CHANGELOG.md
[ ] included comments for documenting Go code
[ ] updated the relevant documentation or specification
[ ] reviewed "Files changed" and left comments if necessary
[ ] confirmed all CI checks have passed

Reviewers Checklist
All items are required. Please add a note if the item is not applicable and please add
your handle next to the items reviewed if you only reviewed selected items.
I have...

[ ] confirmed the correct type prefix in the PR title
[ ] confirmed ! in the type prefix if API or client breaking change
[ ] confirmed all author checklist items have been addressed
[ ] reviewed state machine logic
[ ] reviewed API design and naming
[ ] reviewed documentation is accurate
[ ] reviewed tests and test coverage
[ ] manually tested (if applicable)

Codecov Report

Merging #236 (f53f53f) into main (3561e83) will increase coverage by 0.00%.
The diff coverage is 15.78%.

@@           Coverage Diff           @@
##             main     #236   +/-   ##
=======================================
  Coverage   27.91%   27.91%
=======================================
  Files          56       57    +1
  Lines        8056     8138   +82
=======================================
+ Hits         2249     2272   +23
- Misses       5604     5660   +56
- Partials      203      206    +3

Impacted Files
Coverage Δ

x/leverage/types/query.pb.gw.go
0.00% <0.00%> (ø)

x/leverage/module.go
52.38% <25.00%> (-3.36%)
:arrow_down:

x/leverage/keeper/grpc_query.go
70.00% <70.00%> (ø)

x/leverage/keeper/token.go
66.39% <0.00%> (+9.01%)
:arrow_up:


Exclude now required full path or throws an error

Closes #106

@JulienPalard how can I clear tox cache ? When I run black --check --diff tests/ potodo/ locally it succeeds, but not in tox (locally or github actions)

@JulienPalard how can I clear tox cache ? When I run black --check --diff tests/ potodo/ locally it succeeds, but not in tox (locally or github actions)

tox -r

You can clear a specific env by running tox -r black for example.

@JulienPalard how can I clear tox cache ? When I run black --check --diff tests/ potodo/ locally it succeeds, but not in tox (locally or github actions)

tox -r

You can clear a specific env by running tox -r black for example.

And so how do I fix that for github actions ?

And so how do I fix that for github actions ?

You should not have to: the cache key contains a hash of requirements-dev.txt, so if we bump the version of black in requirements-dev.txt the cache key change.
Issue is: we do not use requirements-dev.txt in tox.ini, so there's two possible fixes:

pin the black version in tox.ini (more manual maintenance)
use requirements-dev.in in tox.ini (install useless dependencies in some tox jobs)

And so how do I fix that for github actions ?

You should not have to: the cache key contains a hash of requirements-dev.txt, so if we bump the version of black in requirements-dev.txt the cache key change.
Issue is: we do not use requirements-dev.txt in tox.ini, so there's two possible fixes:
* pin the black version in tox.ini (more manual maintenance)

* use requirements-dev.in in tox.ini (install useless dependencies in some tox jobs)

Errr as you prefer :)

As I'm not for manual things, I'd go for adding -r requirements-dev.txt in the [testenv].deps section, and drop the deps section from flake8, black, and mypy.

Should --exclude work for sub-directories? We don't have them, but I think the code would be simplier by handling them: we could use fnmatch.

As I'm not for manual things, I'd go for adding -r requirements-dev.txt in the [testenv].deps section, and drop the deps section from flake8, black, and mypy.

Could you do it ? I'd mess it up 30 times before I get it

Should --exclude work for sub-directories? We don't have them, but I think the code would be simplier by handling them: we could use fnmatch.

Well if you mean --exclude FULL/PATH/TO/python-docs-fr/c-api/sub then it would exclude everything inside sub even folders I think

Could you do it ? I'd mess it up 30 times before I get it

Done.

Well if you mean --exclude FULL/PATH/TO/python-docs-fr/c-api/sub then it would exclude everything inside sub even folders I think

I mean --exclude sub to exclude c-api/sub, howto/sub, tutorial/sub, and so on.

Damned, it hardcoded my /home/mdk/... :(

Well if you mean --exclude FULL/PATH/TO/python-docs-fr/c-api/sub then it would exclude everything inside sub even folders I think

I mean --exclude sub to exclude c-api/sub, howto/sub, tutorial/sub, and so on.

That most likely would imply rewriting how it works :/

Well if you mean --exclude FULL/PATH/TO/python-docs-fr/c-api/sub then it would exclude everything inside sub even folders I think

I mean --exclude sub to exclude c-api/sub, howto/sub, tutorial/sub, and so on.

That most likely would imply rewriting how it works :/

That most likely would imply rewriting how it works :/ like the whole thing

No, in fact it needs less code: https://github.com/AFPy/Potodo/pull/113
And allows for wildcards like --exclude '*api'.

That most likely would imply rewriting how it works :/ like the whole thing

No, in fact it needs less code: https://github.com/AFPy/Potodo/pull/113
And allows for wildcards like --exclude '*api'.

@JulienPalard I hate it when you're right 😉

@JulienPalard I hate it when you're right 😉

I'm closing this PR in favor of yours because it's clearly a better option AND it avoids dealing with the conflicts

I'm closing this PR in favor of yours because it's clearly a better option AND it avoids dealing with the conflicts


Bug: Date is coming as epoch format in pivot table not in regular date format ("YYYY-MM-DD")

Make sure these boxes are checked before submitting your issue - thank you!

[ Y] I have checked the superset logs for python stacktraces and included it here as text if any
[ Y] I have reproduced the issue with at least the latest released version of superset
[ Y] I have checked the issue tracker for the same issue and I haven't found one similar

Superset version
0.21.1
Expected results
Date should be in regular format which is readable by any user.
Actual results
Data is coming in epoch format.
Steps to reproduce
Create pivot table and put date in group by for any metric. Date is coming in epoch format which is not the desired format  as user can't understand it.

Same issue in 0.22 versions also.

Is there any update on it?
As it is proving to be prod blocker for us and we are not able to upgrade our SuperSet.

do you guys has an update for this?


Maintainer

Who wants to be maintainer?

I'm fine with whoever being maintainer. If one of you would rather be maintainer then go for it. If not I wouldn't mind being it either.

I have no issue if you want to be a maintainer

I'm fine with whoever being maintainer. If one of you would rather be maintainer then go for it. If not I wouldn't mind being it either.

ok sure.


Rotate axis labels in to avoid overlap when viewing log axis

Tick rotation done, creating a separate issue for a future release that will hide some labels when there is overlap.


Add Hello World in Malbolge

Description

Added "Hello World!" implementation in the Malbolge programming language.
Types of changes

[ ] Bug fix or improving code quality
[x] New language
[ ] New feature

Checklist:

[x] My code follows the code style of this project.
[x] I have updated the documentation accordingly.

I would like to note that I do not know how to program in Malbolge but was intrigued to find out how to write a simple "Hello World" in this language that I just had to put it in the list. I do not know how to run this code and I am not sure how it entirely works to be able to display "Hello World".


Sample data for "Get inspired" section on the homepage

I will prepare a set of data for the section, it bases on photos, usernames and links from Instagram.

For this section I used the sample data from Magento2, the design is shared in the open source Figma file here - https://www.figma.com/file/VKyqbHFI55TKIKcQlFLiVpVF/Vue-Storefront---Open-Source.

Please use "@Instagram" as a sample name for an account on Instagram and link it directly to the website https://www.instagram.com/.

Here you can find images exported from Figma:

@patrykpiston please fix this PR and let's close this one!

Padding and alignment in this section need to be improved after changes in the RWD.
@patrykpiston please fix this according to the desired stage from the design.
Current stage:

Desired stage from the design:


Do not throw error in Big Number Calculator when the base of the exponent is 1

EDIT:
After some investigation I ended up adding back in the old check and altering it further.

If the exponent is 1 or 2 digits long the calculation terminates in reasonable time no matter how long the base is.
If the exponent is 3 or more digits long then the x length + y length restriction is applied. I decided to test the highest base numbers possible for each digit length (999, 9999, 9999, ... etc) and find the highest exponent that could be entered with the calculation still terminating in ~5 seconds. Remembering that if the base has 3 digits then the exponent is limited to 6 digits because of the first restriction etc. I then used the results of that test to set a maximum value for the exponent depending on the number of digits in the base. This is in no way an optimal solution - for instance 2^150000 would terminate in reasonable time, but because 9^150000 doesn't the limit is set to 50000, so 2^150000 "can't" be calculated and so on... definitely open to suggestions for a better solution!

This issue was raised to us by a user.
If the base is 1 then the calculator still throws an error.

This can happen because:

The pow function in Big.js can not handle calculations where the exponent is greater than 1 million.
We check if the combined digit length of x and y is greater or equal to 10, if it is we throw an error.

We now check if the base (x) is equal to 1, if it is we just set the result to 1.
I removed the check for the combined digit length of x and y being greater or equal to 10 because:
1. If the exponent was 1 and the base had 10 or more digits an error would be thrown.
2. We display the error message if the number can't be calculated anyway. This means that if the number can be calculated it will be, else it will display the error message. I also didn't see a reason to have this restriction? Let me know if it's there for a reason.
Also included a word change requested by Tim.

I removed the check for the combined digit length of x and y being greater or equal to 10 because:
1   If the exponent was 1 and the base had 10 or more digits an error would be thrown.
2   We display the error message if the number can't be calculated anyway. This means that if the number can be calculated it will be, else it will display the error message. I also didn't see a reason to have this restriction? Let me know if it's there for a reason.

The automatic restriction doesn't appear to work all that well, ie 9^999999 is allowed (both live and in this pr) yet I had to stop my browser after 5 minutes of it trying. Similarly 9999^999999 is rejected on the old BNC (due to 10 chars) but is allowed (and doesn't finish) in your PR with the manual restriction removed.

I removed the check for the combined digit length of x and y being greater or equal to 10 because:
1   If the exponent was 1 and the base had 10 or more digits an error would be thrown.
2   We display the error message if the number can't be calculated anyway. This means that if the number can be calculated it will be, else it will display the error message. I also didn't see a reason to have this restriction? Let me know if it's there for a reason.

The automatic restriction doesn't appear to work all that well, ie 9^999999 is allowed (both live and in this pr) yet I had to stop my browser after 5 minutes of it trying. Similarly 9999^999999 is rejected on the old BNC (due to 10 chars) but is allowed (and doesn't finish) in your PR with the manual restriction removed.

Added an edit to my PR description to describe the changes I made!

Also don't let it queue more button presses! Disable the buttons or something

Also don't let it queue more button presses! Disable the buttons or something


Colors issue on macOS 10.13.6

💻 Environment
Platform: macOS
OS Version:  10.13.6
Toggl Version: 7.4.330 and 7.4.365 beta
🐞 Actual behavior
The colors are wrong (see the screenshot). I guess it has something to to with the newly introduced dark mode feature. The dock icon is also broken.
💯 Expected behavior
Correct colors ;)
🔨 Steps to reproduce

There's nothing special to do. The app looks wrong all the time. The only thing that helps is to re-install the app, then it's fine only after it's run for the first time. After I close it and re-open again the colors are broken again.
📦 Additional info

Thank for reporting it 💯
Before we released the DEV and BETA 7.4.365, we tested carefully on OS 10.14 as well as 10.11.
Both works well. I'm not sure what wrong with 10.3.6 OS 🤔 .
We will install it on our virtual machine and investigate further. Will let you know when we have any news 👍

Hey @wujekbogdan,
I setup and tried on Toggl 7.4.330 and 7.4.365 BETA on OS 10.13.6, but everything works well without any issue about color. Additionally, I also tested to quit and re-open the app many times, but there is no problems here (See the screenshots)
Do you have any strange configuration on System -> General or install any 3rd-parties app? because 10.13.6 hasn't officially supported dark-mode yet.
Screenshots

@NghiaTranUIT
I forgot to mention that It used to be OK for a long time. It started to happen suddenly. I didn't update my system or Toggle or change any settings. One day Toggl colours started to look odd.

Do you have any strange configuration on System -> General or install any 3rd-parties app?

The only non-standard setting there is "Use dark menu bar and Dock" which has been set for a while and everything was OK.

It's unusual, we will keep investigating it
Thank for your answer 👍

@NghiaTranUIT
I'm not sure if testing on Virtual machine is reliable. From what I know Virtualbox doesn't support graphics acceleration (that's why transparencies don't work there and the interface is laggy). I don't know how other VM handle this issue.

I'm using the lasted version of Parallels and it's capable of providing virtual 3D graphics acceleration pretty well.
I installed Windows 10, Ubuntu, macOS 10.11 and 10.13.6, and they works pretty well without issues for a long time. Thus, I believe that it's reliable for development.
I will borrow my friends's macbook, let see if I could reproduce it 👍
Btw, thank for reaching to us 🥇
Ref: https://kb.parallels.com/en/122807

Here to report the same issue. As the OP mentioned, turning off dark menu bar + dock in system preferences > General and restarting the app fixes the issue...and the issue stays resolved even if I switch dark menu bar mode back on as long as I don't restart the app.

Thank for the report @iansltx .
Sorry for this inconvenience. We just fixed this issue in #2853. You can try it out in DEV version 👍
cc @wujekbogdan

Not seeing a .dmg on the latest release quite yet. I'll pull down and confirm as soon as I don't have to compile this myself :)

@iansltx
use brew
→ brew search toggl
==> Casks
toggl ✔                                  toggl-beta                               toggl-dev

Latest dev build with the fix https://github.com/toggl/toggldesktop/releases/download/v7.4.371/TogglDesktop-7_4_371.dmg


<EMAIL_ADDRESS>

This is the initial release of rules_pkl, which are rules to make using Pkl a pleasure with Bazel.

Hello @bazelbuild/bcr-maintainers, modules without existing maintainers (rules_pkl) have been updated in this PR. Please review the changes.

@fmeum I think this is ready for review now.


[grpc-php] php8 compatability

fix compatability with php8
@yashykt

Hi @Alexander1000 , thanks for the contributions. But is there already a PHP 8 development version out that we can try compiling this against?

Hi, @stanley-cheung
I compiled with master branch of php.
It is already positioned as an early version 8.
In doc say about this changes for php8:
https://github.com/php/php-src/blob/master/UPGRADING.INTERNALS
php -v PHP 8.0.0-dev (cli) (built: Oct 22 2019 09:34:37) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.0-dev, Copyright (c) Zend Technologies

@Alexander1000 I see. Let me check that out.
Is there anything else we need to do for PHP 8? There seems to be quite a list in the "upgrading internals" doc you linked. Or is this PR the minimal to bring the extension to at least compiling?

Yes. This is enough for this extension to compile and work.

If you want to use the composer, then most likely even openssl.
I  build for home projects:
./configure   --with-openssl   --enable-pcntl   --enable-bcmath   --with-pcre-jit   --with-curl   --enable-soap   --with-pdo-pgsql

Hello! PHP 8 in this time already have release candidates.

Would be nice to have the GRPC  module in our PHP 8.0.0 RC2 tests


Added some introductory markdown docs for HTM applications

As a data scientist, I felt the need to have an introductory document which would give us the summary of HTM applications. In the PR, i have added a couple of summarized markdown documents which would give us brief idea behinds the project. I have also added the _config.yml and _toc.yml files in order to view the repository as a jupyterbook.
Please feel free to provide any feedback.
Feedback are highly appreciated. :)

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by:
To complete the pull request process, please assign tumido after the PR has been reviewed.
You can assign the PR to them by writing /assign @tumido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@suppathak: The following test failed, say /retest to rerun all failed tests or /retest-required to rerun all mandatory failed tests:

Test name
Commit
Details
Required
Rerun command

aicoe-ci/prow/pre-commit
c979df3a50166fbd17468cfbfc0c6788cc5e6ef4
link
true
/test pre-commit

Full PR test history. Your PR dashboard. Please help us and open an issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here.  If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

/approve

[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: MichaelClifford
To complete the pull request process, please assign tumido after the PR has been reviewed.
You can assign the PR to them by writing /assign @tumido in a comment when ready.
The full list of commands accepted by this bot can be found here.

Needs approval from an approver in each of these files:

OWNERS

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment