Check in block authoring that we can author with current authoring version

We need to make sure that we can still author with the current block authoring implementation, because there could have been a runtime update in between that made the current implementation incompatible.

@arkpar : didn't already implement this 18 months ago? :-)

I did here: https://github.com/paritytech/substrate/pull/256/files#diff-76964ec8de481638ce29d022262cfc53R454
But it seems it was lost in one of many refactorings.

CI fails.

@bkchr will need a polkadot PR...

Yeah, just waiting for https://github.com/paritytech/substrate/pull/4236 and than will open a pr for both :)


Inconsistent xt/aspell results

45b66a1 causes 62 new test failures when I run make xtest on Pop_OS (basically Ubuntu 20.04). The following words cause failures for me: runtime, enque, enqueues, deque, unary, incrementing, decrementing, falses.
After talking with @coke, it seems like this has to do with different words in system dictionaries, or some other aspell oddity.

I looked into this a bit more: after updating to the most recent availibe aspell dictionary, aspell6-en-2019.10.06-0, I get only 1 test failure (rather than 62).  The failure I still get is caused by "Falses" in Junction.pod6.
However, to do that I had to update the aspell dictionary outside of my package manager.  Using the latest dictionary from the Ubuntu archives did not solve the problem.
Given all that, maybe we should add a note contributors about all this?

Yes, please add your setup instructions somewhere and I’ll add my Mac instructions.

Yes, please.


feature-project-structure-documentation

Description
Added further description of project structure
Fixes #114
Type of change
Please delete options that are not relevant.

[X] New feature (non-breaking change which adds functionality)

How Has This Been Tested?
No testing required
Checklist:

[X] My code follows the style guidelines of this project
[X] I have performed a self-review of my own code
[X] I have commented my code, particularly in hard-to-understand areas
[X] I have made corresponding changes to the documentation
[X] My changes generate no new warnings
[X] I have added tests that prove my fix is effective or that my feature works
[X] New and existing unit tests pass locally with my changes
[X] Any dependent changes have been merged and published in downstream modules

Great. You are going right!

@imabp - what else would you like described? As I have covered all the main directories. Is it necessary to describe every component or every asset?

Thats all fine. We do need to maintain some abstraction levels. So no need to describe each and every asset

@TomerPacific shall I merge it or are you still working on it ?

We are merging this now, because we got some comments regarding codebase understanding.
Send us a new PR, if you modify any changes to it
Thankyou @TomerPacific . Its great to have you contributing here.


Add option to skip generation

An option like -Ddgs.codegen.skip would be useful for build pipelines, to avoid repeating earlier work in later stages.

Here it is PR, know we're waiting for @deweyjose to merge it.

Hi @seanf I'd like to learn a little more about this use-case first.
Why invoke the codegen plugin at all in this case? Have you taken a look at ways to achieve this with maven profiles - different plugins enabled for different profiles?
Another option could be to use environment variables:
<plugin>
  <groupId>io.github.deweyjose</groupId>
  <artifactId>graphqlcodegen-maven-plugin</artifactId>
  <version>1.15</version>
  <executions>
    <execution>
      <goals>
        <goal>generate</goal>
      </goals>
      <phase>${env.DGSPHASE}</phase>
    </execution>
  </executions>
</plugin>

The plugin will run:
export DGSPHASE=generate-sources; mvn clean install

The plugin will not run:
export DGSPHASE=none; mvn clean install

@deweyjose definitly the solution you purposed work to enable/disable codegen. However, I have a preference for the -Ddgs.codegen.skip=true option.
That's my point of view.

@deweyjose Juggling Maven profiles can be a pain in the neck. Most popular Maven plugins seem to end up with a skip option eventually, probably because it's such a pain otherwise.
skip is just generally useful, but two cases have come up recently:

Configure the plugin at the top level of a multi-module project, but configure it to skip in all the modules except one. This allows invoking the plugin from the top level (and using the short invocation which omits the groupId) without running it against modules where it makes no sense.
In a CI situation, I may need to run parts of the Maven lifecycle again in a different stage of the pipeline. If the code has already been generated, it's nice to have the option to skip unnecessary code generation easily. With this feature, adding -Ddgs.codegen.skip is a small change which doesn't affect the pom. Without a built-in skip feature, achieving the same thing with a Maven profile (activated by the absence of a command line property) will require changes to at least one pom, and several lines of XML. This could also be achieved with the environment variable you suggest, but I think -Ddgs.codegen.skip is more readable than DGSPHASE=none, especially if you need to skip multiple plugins.

Thanks @deweyjose and @zorglube!


Write a Ruby program to convert seconds to weeks

Description
Write a Ruby program to convert seconds to weeks
1 week = 7 days = 168 hours = 10080 minutes = 604800 seconds
Input  : 3024000
Output : 5

How to contribute

Save the solution in program/ConvertSecondsToWeeks.rb file
Add ConvertSecondsToWeeks.rb file in convert-seconds-to-weeks folder

!assign


wrong recipe tree/ wrong prodtuction tree

i was using the calculator when i decided to add explosive charges to my factory. The calculator says i need to turn crude olumite into low density olumite and use ignium powder and the actual game uses none of those things. Maybe the data set is out of date?

just realized that this is because there are different recipes available but the first recipe you use to make explosives does not use olumite (which is unlocked by science 3). After unlocking science 3 the option to use olumite becomes available. Maybe have a recipe selection in these cases, or have something to dictate which recipe is more likely to be used (maybe by saying which science tier you have fully researched)


Mods for lan proxy

I would like to use packs for lan proxy as well. For ps4 it would be a matter of custom mods.

LAN proxy is simply a redirection tool, so anything we send to the client to apply won't stay for the target server so this would be a pointless addition.
You would need to apply the pack on the target server.


How to create new username?

In order to excess data from https://thor.robots.ox.ac.uk/~vgg/data/voxceleb/vox1a/vox1_test_wav.zip , username and a password are required. How to create this?
Similarly in this github guide also.
Thanks.

See this issue https://github.com/clovaai/voxceleb_trainer/issues/184, which describes getting the data from HuggingFace.


Flow can't find my lib's flow-typed dir

Hello, I'm using flow with a third-party libraries called jss, It provied a flow-typed dir, but when I run yarn flow after installed flow-bin, it throw this:

It does have a flow-typed dir here and declared CSSStyleRule in it, why can't flow find it?
Now I have to made it manually like this:

Is it a right way or it's a bug?

I think the most common way to deal with the jss package and flow is to put this in your .flowconfig:
[ignore]
.*node_modules/jss/.*

@awestroke I don't think so. If you want to use the CSSStyleRule like this:

You will find it can't work.


Fixed DWI counter for verbose

Fix a counter for DWI files which reads bvec/bval files.
When I run:
sct_dmri_concat_b0_and_dwi -i dwi_b0.nii.gz dwi_b1000.nii.gz -bval dwi_b0.bval dwi_b1000.bval -bvec dwi_b0.bvec dwi_b1000.bvec -order b0 dwi -o dwi_b0_b1000.nii.gz -obval dwi_b0_b1000.bval -obvec dwi_b0_b1000.bvec
I got on output dwi_b0_b1000.bval containing only b-values from dwi_b0.bval, but two times.
So, I fixed indentation in loop.

I see. I understood sct_dmri_concat_b0_and_dwi  usage in little bit different way, I thought it is necessary to pass bval file for both b0 and DWI volumes but how I can see from integrity test it is not.
I fixed code in https://github.com/valosekj/spinalcordtoolbox/commit/a2bdc5e7fd85bbd6b74f6958a533e9a5065f005f, now it is possible to run sct_dmri_concat_b0_and_dwi  in both ways (with and without bval/bvec files for b0):
sct_dmri_concat_b0_and_dwi -i dwi_b0.nii.gz dwi_b1000.nii.gz -bval dwi_b0.bval dwi_b1000.bval -bvec dwi_b0.bvec dwi_b1000.bvec -order b0 dwi -o dwi_b0_b1000.nii.gz -obval dwi_b0_b1000.bval -obvec dwi_b0_b1000.bvec
or
sct_dmri_concat_b0_and_dwi -i dwi_b0.nii.gz dwi_b1000.nii.gz -bval dwi_b1000.bval -bvec dwi_b1000.bvec -order b0 dwi -o dwi_b0_b1000.nii.gz -obval dwi_b0_b1000.bval -obvec dwi_b0_b1000.bvec


Use a type alias in the function signature of leading_transpose

I am seeing a warning when attempting to use a gpflow model inside a function which has been decorated with @tf.function.
WARNING:tensorflow:AutoGraph could not transform <function leading_transpose at 0x7f976ca75e60> and will run it as-is.
Please report this to the TensorFlow team. When filing the bug, set the verbosity to 10 (on Linux, export AUTOGRAPH_VERBOSITY=10) and attach the full output.
Cause: name 'fscope' is not defined
I think this means that the function leading_transpose will not be compiled into a static graph.
That will impact performance for code paths which use that function (granted, it seems to be used primarily to do sampling with a full covariance matrix, so it is expected to be a slower approach). I don't know nearly enough about @tf.function to know if this would have a performance impact for the whole graph.
This is caused by the type signature including type(...), which is mis-interpreted by @tf.function'. This PR replaces that function call with a type alias, and adds a unit test for this failure mode.

@johnamcleod could you please make sure to open an issue against tensorflow on this? Please link the issue in here once you've opened it. Thanks for reporting, investigating & fixing. :)

@johnamcleod could you please make sure to open an issue against tensorflow on this?

I have been testing this behaviour against different versions on tensorflow. As far as I can see, this is still a problem in 2.2.0rc3, but it has been fixed in the latest nightly build tf-nightly==2.2.0.dev20200422. As such it may not be necessary to raise an issue against tensorflow.


Fix extension name format

ref: https://docs.microsoft.com/ja-jp/previous-versions/azure/ad/graph/howto/azure-ad-graph-api-directory-schema-extensions

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


Add GOBLIN MODE API (Feedback wanted)

This is an experimental API for allowing ANY HTML element to make AJAX requests via attributes. This API would add a lot of flexibility to how you go about building UIs, but at the cost of the strong progressive enhancement story Alpine AJAX currently has.
The GOBLIN MODE API adds 5 new attributes for configuring an AJAX request:

x-get
x-post
x-put
x-patch
x-delete

and one new magic for triggering the AJAX request:

$send()

Here's an example:
<div x-data="{ parent: 'GOBLIN' }">
  <button type="button" id="contacts" x-data="{ child: 'MODE' }" x-post="/contacts" x-on:click="$send()">Click Me</button>
</div>

Clicking the button will issue a POST request to /contacts with data { parent: 'GOBLIN', child: 'MODE' } to the server.
You can play with the API now by installing the GOBLIN MODE build, as of right now it is 100% backwards compatible:
npm install "https://github.com/imacrayon/alpine-ajax.git#goblin-mode" --save

import Alpine from 'alpinejs';
import ajax from<EMAIL_ADDRESS>
Alpine.plugin(ajax)

window.Alpine = Alpine
Alpine.start();

https://github.com/delaneyj/datastar was spun off from this PR. That project is worth checking out if this kind of API appeals to you.
For now I want to keep building on the progressive enhancement story that I think makes Alpine AJAX really shine.


test: fix bad route entry test cases on Windows

Signed-off-by: Nick Grifka<EMAIL_ADDRESS>Commit Message: test: fix bad route entry test cases on Windows
Additional Description:
Risk Level: Low
Testing: Ran test cases locally on Windows
Docs Changes: NA
Release Notes: NA

@lizan  it seems ef7d81d637dac8134ef5de33de29296794bc40cd change regarding yaml->protobuf conversion changed the expected exception message slightly for BadRouteEntryConfigPrefixAndPath and a few other test cases. On Windows, these test cases still seem to be producing the old exception message. Is this at all expected? Is it important that the exception message check be as specific as it is today? BadRouteEntryConfigPrefixAndPathAndRegex is an example of a more relaxed check that passes on both platforms.
For completeness, here is the expected vs. actual exception messages on Windows:
BadHttpRouteConfigurationsTest.BadRouteEntryConfigPrefixAndPath
expected: "invalid value oneof field 'path_specifier' is already set. Cannot set '(prefix|path)' for type oneof"
actual:   "invalid value oneof field 'path_specifier' is already set. Cannot set 'prefix' for type oneof"
BadHttpRouteConfigurationsTest.BadRouteEntryConfigPrefixAndRegex
expected: "invalid value oneof field 'path_specifier' is already set. Cannot set '(prefix|regex)' for type oneof"
actual:   "invalid value oneof field 'path_specifier' is already set. Cannot set 'prefix' for type oneof"
BadHttpRouteConfigurationsTest.BadRouteEntryConfigPathAndRegex
expected: "invalid value oneof field 'path_specifier' is already set. Cannot set '(path|regex)' for type oneof"
actual:   "invalid value oneof field 'path_specifier' is already set. Cannot set 'path' for type oneof"
BadHttpRouteConfigurationsTest.BadRouteEntryConfigPrefixAndPathAndRegex
expected: "invalid value oneof field 'path_specifier' is already set."
actual:   "invalid value oneof field 'path_specifier' is already set." (matches)

@davinci26 @sunjayBhatia @wrowe

@nigriMSFT I think you need to merge master.

@nigriMSFT Sorry, I know this is annoying, but you need to fix DCO https://github.com/envoyproxy/envoy/blob/master/CONTRIBUTING.md#fixing-dco 🙏🏽.

Looks good. Running tools/code_format/code_format.py test/common/router/config_impl_test.cc should fix the formatting issue.
Format check failed, try apply following patch to fix:
diff --git a/test/common/router/config_impl_test.cc b/test/common/router/config_impl_test.cc
index 2eab7fc6e..a0796a9f6 100644
--- a/test/common/router/config_impl_test.cc
+++ b/test/common/router/config_impl_test.cc
@@ -5109,12 +5109,12 @@ virtual_hosts:
   EXPECT_THAT_THROWS_MESSAGE(
       TestConfigImpl(parseRouteConfigurationFromYaml(yaml), factory_context_, true), EnvoyException,
       ::testing::AnyOf(
-        ::testing::ContainsRegex(
-          "invalid value oneof field 'path_specifier' is already set. Cannot set 'prefix' for "
-          "type oneof"),
-        ::testing::ContainsRegex(
-          "invalid value oneof field 'path_specifier' is already set. Cannot set 'path' for "
-          "type oneof")));
+          ::testing::ContainsRegex(
+              "invalid value oneof field 'path_specifier' is already set. Cannot set 'prefix' for "
+              "type oneof"),
+          ::testing::ContainsRegex(
+              "invalid value oneof field 'path_specifier' is already set. Cannot set 'path' for "
+              "type oneof")));
 #endif
 }

@@ -5157,12 +5157,12 @@ virtual_hosts:
   EXPECT_THAT_THROWS_MESSAGE(
       TestConfigImpl(parseRouteConfigurationFromYaml(yaml), factory_context_, true), EnvoyException,
       ::testing::AnyOf(
-        ::testing::ContainsRegex(
-          "invalid value oneof field 'path_specifier' is already set. Cannot set 'prefix' for "
-          "type oneof"),
-        ::testing::ContainsRegex(
-          "invalid value oneof field 'path_specifier' is already set. Cannot set 'regex' for "
-          "type oneof")));
+          ::testing::ContainsRegex(
+              "invalid value oneof field 'path_specifier' is already set. Cannot set 'prefix' for "
+              "type oneof"),
+          ::testing::ContainsRegex(
+              "invalid value oneof field 'path_specifier' is already set. Cannot set 'regex' for "
+              "type oneof")));
 #endif
 }

@@ -5205,12 +5205,12 @@ virtual_hosts:
   EXPECT_THAT_THROWS_MESSAGE(
       TestConfigImpl(parseRouteConfigurationFromYaml(yaml), factory_context_, true), EnvoyException,
       ::testing::AnyOf(
-        ::testing::ContainsRegex(
-          "invalid value oneof field 'path_specifier' is already set. Cannot set 'path' for "
-          "type oneof"),
-        ::testing::ContainsRegex(
-          "invalid value oneof field 'path_specifier' is already set. Cannot set 'regex' for "
-          "type oneof")));
+          ::testing::ContainsRegex(
+              "invalid value oneof field 'path_specifier' is already set. Cannot set 'path' for "
+              "type oneof"),
+          ::testing::ContainsRegex(
+              "invalid value oneof field 'path_specifier' is already set. Cannot set 'regex' for "
+              "type oneof")));
 #endif
 }

/azp run envoy-presubmit

/azp run envoy-presubmit

@nigriMSFT sorry. Seems like you need to sync with head to pick some CI fixes.

@dio Linux-x64 clang_tidy CI job seemed to have hung on "cCmakeMakeRule external/envoy/bazel/foreign_cc/event/include;" but none of the other jobs did. I'm not sure what else I can do here but retry? Is this a known issue?

/azp run envoy-presubmit


Non-Userfriendly error message when using non-allowed characters in profile username

Steps to recreate:

Edit your profile username to "Flying_Pig"

Error message:
"{"detail":[{"loc":["body","name"],"msg":"'Flying_Pig' is not restricted to 'QWERTYUIOPASDFGHJKLZXCVBNMqwertyuiopasdfghjklzxcvbnm1234567890'","type":"value_error"}]}"
Removing the _ enables the name to be saved.

Bounty: improve error messages and form validation visualization

@esot321c assign me please


Escape inlay diagnostics that contain double quotes

Commit 155b21f (Inlay diagnostics support) copies an eval which is used
to interpret %opt[] tags in line_flags.  It's not necessary here;
diagnostic_ranges is a range-specs which we feed the literal position, some
markup and the diagnostic message from the language server. Clarify that in
the comment. No test, but reproducible with gopls:
printf 'package main\nimport "encoding/json"' > test.go
kak -e 'lsp-inlay-diagnostics-enable global; lsp-enable' test.go

Fixes #352
@ul I don't think I have write access yet, otherwise I'd push directly to master if I'm confident in a change.

Sorry for that, I thought org members get write access to repos automatically. I updated the base role in the org to Admin now.


Probable n00b question: install errors and failure to upload

Following some emergency fixes for heartbleed, I'm having some problems I'm guessing have to do with a newer express-cdn version.  When I build the package for our (hitherto working) code, I get several errors to this effect:
npm WARN unmet dependency /home/ubuntu/sumazi/front/node_modules/express-cdn/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/bin-check requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /home/ubuntu/sumazi/front/node_modules/express-cdn/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/executable,
npm WARN unmet dependency which is version 0.1.1
npm WARN unmet dependency /home/ubuntu/sumazi/front/node_modules/express-cdn/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/bin-check requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /home/ubuntu/sumazi/front/node_modules/express-cdn/node_modules/optipng-bin/node_modules/win-spawn,
npm WARN unmet dependency which is version 2.0.0
npm WARN unmet dependency /home/ubuntu/sumazi/front/node_modules/express-cdn/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download/node_modules/decompress requires<EMAIL_ADDRESS>but will load
npm WARN unmet dependency /home/ubuntu/sumazi/front/node_modules/express-cdn/node_modules/optipng-bin/node_modules/bin-wrapper/node_modules/download/node_modules/mkdirp

Followed by a bunch of these:
 task: 'express-cdn',
  message: '"scripts/dashboard.models.js" was not found on S3 or was modified recently' }
{ task: 'express-cdn',
  message: '"scripts/dashboard.views.js" was not found on S3 or was modified recently' }
{ task: 'express-cdn',
  message: '"scripts/jquery.textsearch.js" was not found on S3 or was modified recently' }
{ task: 'express-cdn',

and then a bunch of these
unsuccessful upload of script "scripts/jquery.ui.js" to S3
unsuccessful upload of script "scripts/less.js" to S3
unsuccessful upload of script "scripts/jquery.waypoints.js" to S3
unsuccessful upload of script "scripts/jquery.validity.js" to S3
unsuccessful upload of script "scripts/sumazi.validation.js" to S3
unsuccessful upload of script "scripts/bootstrap-switch.js" to S3

It appears clear that I'm not able to get to the S3 bucket for some reason.  The secret and key are correct.
This is inherited code that I don't know very well; guidance would be very helpful.

Okay, so I'm no longer working for the company I did this for; they had their node server instance retired, and helping them out, I got it restarted. I'm having the same issue about being unable to load scripts to the CDN. I've checked and the API keys are current, and match.
Frankly, their use case no longer requires a CDN and I think the long term fix might be to just get rid of it. Does anyone have any honts on how to do that with the least damage?

Having the same problem:
Error: CDN: unsuccessful upload of script "images/nyan.gif" to S3
    at throwError (/home/atis/WS/node-3tier-app/node_modules/express-cdn/lib/main.js:34:9)
    at /home/atis/WS/node-3tier-app/node_modules/express-cdn/lib/main.js:183:9
    at f (/home/atis/WS/node-3tier-app/node_modules/once/once.js:25:25)
    at ClientRequest.<anonymous> (/home/atis/WS/node-3tier-app/node_modules/knox/lib/client.js:51:5)
    at ClientRequest.emit (events.js:189:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
    at TLSSocket.socketOnData (_http_client.js:442:20)
    at TLSSocket.emit (events.js:189:13)
    at addChunk (_stream_readable.js:284:12)

How did you guys resolve it? Manual upload of files with aws s3 cp works just fine.

Having the same problem:
Error: CDN: unsuccessful upload of script "images/company.png" to S3
    at throwError (/home/atis/WS/node-3tier-app/node_modules/express-cdn/lib/main.js:34:9)
    at /home/atis/WS/node-3tier-app/node_modules/express-cdn/lib/main.js:183:9
    at f (/home/atis/WS/node-3tier-app/node_modules/once/once.js:25:25)
    at ClientRequest.<anonymous> (/home/atis/WS/node-3tier-app/node_modules/knox/lib/client.js:51:5)
    at ClientRequest.emit (events.js:189:13)
    at HTTPParser.parserOnIncomingClient [as onIncoming] (_http_client.js:556:21)
    at HTTPParser.parserOnHeadersComplete (_http_common.js:109:17)
    at TLSSocket.socketOnData (_http_client.js:442:20)
    at TLSSocket.emit (events.js:189:13)
    at addChunk (_stream_readable.js:284:12)

How did you guys resolve it? Manual upload of files with aws s3 cp works just fine.

Hi
For me problems was related to retry library and s3 bucket limitations (response 503)
Fixed that with this
node_modules/express-cdn/lib/main.js
    var operation = retry.operation({
      forever: true,
    });
      var req = S3.putBuffer(buffer, fileName, headers, function(err, response) {
// here is the problem that operation.retry returns false cuz no error provided
        if (operation.retry(err ?  err : response.statusCode === 503 ? {error:'503'}: null)) { return; }
        if (response.statusCode === 200) {
          return finishUpload();
        }
        if (err) {
          return throwError(operation.mainError());
        }
        throwError('unsuccessful upload of script "' + fileName + '" to S3');
      });


New Rule (Attachment): Archive contains DLL-loading macro

Some work to be done:

[x] Detect other archives, such as .iso
[x] Detect the specific DLL-loading command in the macro script

@morriscode when you have a moment, could you review my syntax?
ISO https://analyzer.sublime.security?id=b8a5cdd7-8776-450a-872d-00bd82ae607f
ZIP: https://analyzer.sublime.security?id=81b0d441-9002-44f9-b60c-aa0aa1dacaf3
ZIP (encrypted): https://analyzer.sublime.security?id=f39d2b9d-71c3-490c-8940-e50073c03854

/update-test-rules

Been running in test rules for 2 weeks with no hits. 🚢  it


Vector.interpolate doc should mention it is linear

Reported by pierre.haessig on 22 Sep 2016 14:35 UTC
I believe that the docstring of Vector.interpolate doesn't mention the fact it's linear. Looking at the source, it is!
Here is a minimalistic proposition: https://github.com/modelica/Modelica/pull/6
First sentence becomes:
The function call Vectors.interpolate(x,y,xi) interpolates linearly in vectors ....
(I didn't put bold in the actual code, although an italic formatting may be appropriate)

Migrated-From: https://trac.modelica.org/Modelica/ticket/2068

Modified by beutlich on 30 Sep 2016 10:37 UTC

@pierre-haessig Resolved in branches master and maint/3.2.2.

thanks!


Typo in loadbalancer.rst

Resolving spelling error, no new feature is introduced
Proposed Changes
Document update for spelling

Hi Tanmay!
Thanks for pointing to the typo! ✋
Regarding the word algorythm... Who knows, maybe it is an ancient British word. We need to ask Tom...🤣
Usually micro PRs cannot be considered as a real features or bugfixes...
You need to:

find other typos in docs, a lot of typos
choose open issue, assign, work on it, make a PR and additionally you can fix this typo 😉

Which way do you prefer to go?

Closing this PR, cause this is micro PR, will do with above methods. Thanks Raman

😂

haha! I wanted this as my first PR but still need to find different way @raman-m

Issue has fixed in main, and released: loadbalancer.rst


ERROR in [default] node_modules/angular2-highcharts/dist/ChartComponent.d.ts

Cannot find name 'HighchartsChartObject'.
Getting this when attempting to use the module as described with an angular-cli project

Have same problem, after reinstall node modules with same package.json, that work fine before.

Was there a fix for this? why was it closed?

@SamD i think issue was closed, because new version available<EMAIL_ADDRESS>But in new version i have same problem on compilation.
I find very simple solution - just change HighchartsOptions to Object type. Against readme.md that method used in this example.
@gevgeny it is right? And this method must use for System JS only or it is misprint in README.md or in angular2-quickstart-and-angular2-highcharts?

Yes, sorry I have not fixed README.md examples with HighchartsOptions. New highcharts typings has no any HighchartsOptions. Look at these examples https://github.com/gevgeny/angular2-highcharts/blob/master/README.md#installation. And let me know if it works

@gevgeny angular/quickstart (SystemJS) work fine, thank you!


Project proposals should be able to be added

@kmcnellis found this while looking for a new issue to work on. Should we mark this as duplicate? Since it seems to be similar to with Write Proposals #541?


Interpolations v0.13.0+ compat StaticArrays 0.12+

Interpolations v0.13.0 introduced code that depends on StaticArrays 0.12 or later. https://github.com/JuliaMath/Interpolations.jl/blob/e8165ec2d1859a2e67ba89e8a17b4e321c004410/src/lanczos/lanczos.jl#L115

Looks like CI is failing.

Looks like a problem with the compression.

Instead of doing this PR, here is what I would recommend:

Make a new patch release of Interpolations.jl (e.g. Interpolations 0.13.2) that has a correct compat entry for StaticArrays.
Yank old versions of Interpolations (e.g. Interpolations 0.13.0 and Interpolations 0.13.1) that do not have the compat entry for StaticArrays.


Include basic commands about how to fetch exercises

This PR improves a little bit the documentation about how to run tests by including a couple of basic commands about how to fetch exercises as it was discussed on https://github.com/exercism/xjavascript/pull/297#issuecomment-237935748
Adds some changes related to #289

Let's see if #289 can be closed

Fixed typos, rebased and squashed 🎆

:1st_place_medal: Thanks @rchavarria !

Wow! Lots of activity recently :rofl:


Create a subscription for a customer returns an empty object

POST https://management.azure.com/providers/Microsoft.Billing/billingAccounts/<ID>/customers/<ID>/providers/Microsoft.Subscription/createSubscription?api-version=2018-11-01-preview
returns {} instead of a subscriptionCreationResult

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

ID: 371189c2-154f-2716-bbc0-8496a76c5ac9
Version Independent ID: bb5cd103-ff51-1753-f269-e2c1aa49a8c8
Content: Programmatically create Azure subscriptions - Azure Resource Manager
Content Source: articles/azure-resource-manager/programmatically-create-subscription.md
Service: azure-resource-manager
GitHub Login: @AmberB
Microsoft Alias: banders

@MaxHogervorst, Thanks for the feedback! We are currently investigating and will update you shortly.

@MaxHogervorst, to rule out RBAC as the root-cause, can you confirm you have the appropriate access level per guidance here?

@femsulu  I'm creating a sub for MPA. The re prerequisites are admin agent or global admin, I'm a global admin.
It's been created successfully, I'm just not getting the correct response:
Cache-Control: no-cache
Pragma: no-cache
Content-Length: 2
Content-Type: application/json; charset=utf-8
Expires: -1
Location: https://management.azure.com/providers/Microsoft.Subscription/subscriptionOperations/NWM4MTY1ZTEtOTBiNi00YWNkLWFmY2YtYWVmZTVkNjUzMzQx?api-version=2018-03-01-preview
Retry-After: 4
api-supported-versions: 2018-11-01-preview
X-Content-Type-Options: nosniff
Strict-Transport-Security: max-age=31536000; includeSubDomains
Server: Microsoft-IIS/10.0
X-AspNet-Version: 4.0.30319
X-Powered-By: ASP.NET
x-ms-ratelimit-remaining-tenant-resource-requests: 499
x-ms-request-id: b80b9d03-7ba0-4c8f-8f6d-bfebe60f6d2c
x-ms-correlation-request-id: b80b9d03-7ba0-4c8f-8f6d-bfebe60f6d2c
x-ms-routing-request-id: BRAZILSOUTH:20191125T180650Z:b80b9d03-7ba0-4c8f-8f6d-bfebe60f6d2c
Date: Mon, 25 Nov 2019 18:06:49 GMT
{}

Hi Max, sorry for the delay here. Was able to reproduce your issue. This will need deeper investigation  from the Azure technical support channel as I don't have the permissions to debug this from the backend. Kindly raise a support request using these steps.  If you do not have a support plan, send mail to<EMAIL_ADDRESS>include your subscription ID and a link to this thread (for context) and we will gladly assist with connecting you with the support channel.
We will now close this request but look forward to connecting with you.


feat: migrate playground

Drop the GET /graphql route.
On start open https://tailcall.run/playground/?u={{http://localhost:PORT}} instead of the /graphql route.

But this requires internet connection to simply test.

@webbdays Yeah, I think that's ok. We can provide a much better experience this way to our users.


refactor(client): remove extra blank and not delete record in profile

Pull Request Test Coverage Report for Build<PHONE_NUMBER>

0 of 1 (0.0%)  changed or added relevant line in 1 file are covered.
No unchanged relevant lines lost coverage.
Overall coverage increased (+0.01%) to 85.748%

Changes Missing Coverage
Covered Lines
Changed/Added Lines
%

tensorbay/client/profile.py
0
1
0.0%

Totals

Change from base Build<PHONE_NUMBER>:
0.01%

Covered Lines:
6143

Relevant Lines:
7164

💛  - Coveralls


feature: Handle searches with no match

Did you check the docs?

[X] I have read all the flash.nvim docs

Is your feature request related to a problem? Please describe.
The FR is concerned with using flash via the search /.
Commonly, search is used for two scenarios:

You search for all occurrences of a string, e.g. you search for "foo" in the entire buffer. In this case you type /foo, followed by one of flash's hints or by <CR>nn…
You already know the exact location you want to go to and use / as quickest method of getting there. You search for a unique term and instinctively type /foobarbaz<CR> knowing you will get to your desired location.

Now the issue is, for scenario 2 I sometimes misremember what the unique string was, e.g. it was actually "foobangbaz", not "foobarbaz". Normally, this is not a big deal, since I get the "no search match found" message, and repeat the search with a shorter search term:  /<up><BS><BS>….
However, with flash's modification of the search, misremembering a string can cause some trouble: After typing fooba, no further matches are found, so the next character r is interpreted as a hint character, and jumps you to a location in your buffer with fooba and leaves the command line. The remaining keystrokes baz<CR> are then interpreted as normal mode commands, resulting in jump word backwards, append 'z' and a line break.
By the time I notice that "foobarbaz" actually does not occur in my buffer, I have effectively already jumped to random location and made some unintended changes. In the regular search, when typing /foobarbaz<CR> with no match in the buffer, I'd just get a "no match found" message without jumping to a different location or modifying the buffer.
All in all, the combination of using search for jumping to specific locations, typing quickly,  and misremembering the string results in somewhat undesired results when using flash. To prevent that, I kinda have to force myself to slow down when searching, to prevent that I unintentionally type a hint character.
Describe the solution you'd like
One solution could be to introduce a new option for having to press the hint character twice before jumping, i.e. requiring rr to jump instead of a single r. This would make unintended jumps much less likely, wouldn't slow down flash too much, and still require only one letter r as hint character.
But yeah, I could not really think of a good solution for this problem that does not introduce any drawbacks, maybe you or someone else has a better idea? 😕
Describe alternatives you've considered
The only alternatives I can think of is disabling flash for / search or forcing myself to type much more slowly when searching for a string.
The first would be a bummer, since I quickly grew to love flash for /, the latter would be kinda annoying and defeating the purpose of jumping around more quickly.
Additional context
No response

I think trigger is what you're looking for

Hmm, I haven't though of that one, yeah. It's a bit inconvenient though, the double-keypress I suggested would at least reduce the issue a bit.
However, I also tried setting this, but I think it might not be working for the / search anyway? 🤔  Tried both, .search.trigger and modes.search.search.trigger

@chrisgrieser I only added that feature half an hour ago. Did you update the plugin?

Oh, I actually haven't. Oh boy, by the time I have written this lengthy issue, there have been a dozen new commits already, you are just too quick :D
Yeah, after updating, it works. It's an okay-ish solution, but the extra key press does feel a bit cumbersome. I think my double-keypress suggestion could be a smoother solution, though I am not sure without having tried it out.
Guess the accidental jump problem is tricky to prevent and might not have a perfect solution 😕

@chrisgrieser what do you think of trigger being CR? In that case it might work more like regular search, where you press CR and but then use a jump label to select the actual search item.

@theol0403 it does not accept <CR> as trigger. And I think even if it would, it would not be desirable, since it would result in having to press <CR> two times and stuff? 🤔


prevent rustic from checking lsp setup, enable lsp

Hi there!
First of all, thank you for this wonderful project! I guess I'm a stubborn martian vimmer after all!
After a fresh install with lsp and (rust +lsp) in init.el, I had problems getting lsp-mode to start properly when opening a .rs file. I had a message complaining about package not being loaded...
I found a block that seems to address this problem, but for some reason the it was still here on my machine. Maybe it's because rustic had some changes breaking this. Pardon my elisp ignorance.
I found a way to disable rustic-lsp-setup call just setting a custom var, then enabling lsp-mode via a hook.
Hope that helps!

I already had a fix for this in the pipeline (in 99cd52e), so I couldn't accept it, but thank you for the PR!


Types of panoramas?

I'm really noob on this topic so sorry in advance for the nonsense I can say.
I still don't know very well which are the differences between: equirectangular, cubemap and multires images.
I don't know either if it is related with the differences between those pictures for example:
http://rauljimenez.info/dev/nerja-tour/examples/nerja-tour/R0010004.jpg (taken using Ricoh Theta camera)
http://rauljimenez.info/dev/nerja-tour/examples/examplepano.jpg
Is it possible to transform a panorama like the first one (taken with Ricoh = ¿fish eye?) to a rectilinear panorama?, something like this?
http://photo.net/learn/fisheye/

They're different projections, ways of representing the surface of a sphere in an image (like map projections). The equirectangular projection is probably the most common way to represent a panorama; it's what the Ricoh Theta outputs. A fisheye projection, on the other hand, can't show more than a 180 degree field of view (half a sphere). A cube map projects a sphere onto a cube, with one image for each of the six cube faces; when the cube is then rendered using perspective, this distortion is undone, and the original view is recovered. A multires image is Pannellum specific, although very similar to what other panorama viewers use for multires images. It is a cube map, but each face has an image pyramid instead of a single image. This allows for high resolution images to be displayed, as the high resolution part only needs to be loaded for the region being viewed, instead of for the entire image.
Each projection has its advantages and disadvantages. Equirectangular is the easiest, since it requires only one image (which can be hosted on sites such as Google Drive), and most panoramas are already in this format, but the maximum image resolution is limited (I wouldn't recommend using an image wider than 4096px), and it is poorly supported on mobile devices. Cube maps support somewhat higher resolutions (although this increases load times) and work on most mobile devices using Pannellum's CSS 3D transform based fallback renderer, but the cube map images need to first be created from the equirectangular source image, and six images are required. Multiresolution images, like regular cube maps, work on mobile devices, and have the added advantage of supporting arbitrarily high resolution images; however, they require hundreds to thousands of files.
Panoramas can be reprojected into a new format. The easiest way to create a cube map is to use Bruno Postle's erect2cubic script. To create a multires image, use Pannellum's utils/multires/generate.py script.

Thanks Matthew!, great explanation :D
Now I have it much more clear :).
I'll take a look to the erect2cubic too then because the Ricoh Theta resolution is quite poor and probably it is more than enough for those pictures.
Thanks one more time ^_^


Fix link to list stake keys in swagger

Issue Number

Overview

6e5bab93ac9fe161216489e3c2235caf3dad6f36
Fix link to list stake keys in swagger

Comments

Looking now, maybe "list stake keys" should be in the "Shelley wallets" section? 🤔
Instead of here

Looking now, maybe "list stake keys" should be in the "Shelley wallets" section?

Could be... I kind of like it in Stake Pools cause it is related to delegation in the end. Similarly delegation fees could be also in the "Shelley wallets" section... Perhaps in future it'll deserve a separate section, like Multi-delegation when more eps arrive.

bors r+


Creating a Nested CaConfig with MockContextAwareConfig.writeConfiguration together with the PagePersistenceStrategy needs additional information (jcr:content/) in the sub configuration name

In https://issues.apache.org/jira/browse/SLING-11839 creating Nested CaConfigs via MockContextAwareConfig.writeConfiguration was added to https://github.com/apache/sling-org-apache-sling-testing-caconfig-mock-plugin.
This works fine, but there is an issue with storing the configurations via io.wcm.caconfig.extensions.persistence.impl.PagePersistenceStrategy (from https://wcm.io/caconfig/extensions/).
I've added an example in https://github.com/wcm-io/io.wcm.samples/commit/49d2f8420c11e02660ca599f9789f39f191c7ca4, with a broken test.
By default the nested configuration gets stored in the wrong place:
at /conf/wcm-io-samples/en/sling:configs/io.wcm.samples.core.example.NestedConfig/sub
instead of /conf/wcm-io-samples/en/sling:configs/io.wcm.samples.core.example.NestedConfig/jcr:content/sub.
There is a workaround currently possible by prefixing the nested configuration name with jcr:content/, see the following example:
MockContextAwareConfig.writeConfiguration(context, context.currentPage().getPath(), NestedConfig.class,
        "stringParam", "value1",
        "jcr:content/sub", ImmutableList.of(
                ImmutableValueMap.of("subStringParam", "v1", "intParam", 5,
                        "stringArrayParam", new String[] {"v1a","v1b"}),
                ImmutableValueMap.of("subStringParam", "v2")
        )
);

I am not 100% sure if this is intended behavior or a bug in the combination of AEM Mocks / CaConfig Extensions / Sling Testing CaConfig Mock Plugin.
At least it is caused by the concatenation within https://github.com/apache/sling-org-apache-sling-testing-caconfig-mock-plugin/blob/master/src/main/java/org/apache/sling/testing/mock/caconfig/ConfigurationPersistHelper.java#L111.
What do you think @stefanseifert, do we need to update the documentation for this specific case or does this need to be fixed?

i personally never bother about actually activating the PagePersistenceStrategy also in the unit tests, as it does not make any difference for the tests if they interact only with the caconfig APIs. but you are right, it seems to clash here.
the workaround is ugly and should not be required. i have to think about a solution to support both ways with and without such a custom strategy.

Maybe it is an idea to move the logic for determining a nested config / nested config collection name to org.apache.sling.caconfig.spi.ConfigurationPersistenceStrategy2 so it always needs to be implemented and handled by the PersistenceStrategy implementations.
So these methods https://github.com/apache/sling-org-apache-sling-testing-caconfig-mock-plugin/blob/master/src/main/java/org/apache/sling/testing/mock/caconfig/ConfigurationPersistHelper.java#L110C3-L126C6 will be replaced by retrieving the nested configuration name from the persistence strategy itself?

i've fixes the root cause in https://issues.apache.org/jira/browse/SLING-12192, and added a test case with the page persistence strategy in https://github.com/wcm-io/io.wcm.testing.wcm-io-mock.caconfig/pull/2
please cross-check with Context-Aware Configuration Mock Plugin 1.5.3-SNAPSHOT

Thanks @stefanseifert,
I just double checked it with the sample test from the issue description and it succeeds.
[INFO] Running io.wcm.samples.core.example.NestedConfigModelTest
[INFO] Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.053 s -- in io.wcm.samples.core.example.NestedConfigModelTest

I've closed the ticket as it is resolved :)


The host name should not be based on already owned domain

The sample code (https://github.com/OfficeDev/office-js-docs-pr/blob/master/docs/develop/create-sso-office-add-ins-aspnet.md)  is work correct. thank you
But the add-in should be deploy to production environment, not always localhost,. how to change the App Registration information? when I try to change the api registration info to "api://excelwebaddinsample.azurewebsites.net/f7e0154d-1258-42ef-9e89-9857889f4e01" , i got an error with message "The host name should not be based on already owned domain." and can not save this change.
what can i do ? thank you

@Rick-Kirkham
I have the same problem registering app in https://apps.dev.microsoft.com. When i register the app with localhost it works, but when add the url to be in azure - it does not work: "The host name should not be based on already owned domain." I am also using SSO.
How could I change the app not to be multitenant? I have found this article https://docs.microsoft.com/en-us/azure/active-directory/develop/active-directory-devhowto-multi-tenant-overview but in Azure I don't the apps registered in https://apps.dev.microsoft.com. How are they related? Could you give more information regarding this subject.
Thank you

@iliev-ilian  and @chenxizhang
It looks like this setting is not surfaced in the UI on https://apps.dev.microsoft.com.
Go to the registration page for your add-in's web application.
Scroll down to the botton and click the button to edit the manifest.
Near the bottom of the manifest there is a "tags" property. One subproperty is "availableToOtherTenants". I think (but I'm not sure) that this is the relevant setting. It looks like it defaults to "true", which does no harm when you are working on localhost; but causes the error about "already owned domain" on any other domain.
Please try setting this value to "false" and then save the manifest.
See if that fixes the issue.
PLEASE REPORT BACK HERE THE OUTCOME. If it works, I will add this to the documentation.

@Rick-Kirkham
It still does not work.
I am changing this property in tags to false, saving the manifest - the manifest is saved. And then I change the Application ID URI of the Web API to app in azure, but still get this error.
Do you have any other suggestions?

I'm trying to get some help from the product team.

AzureWebsites.net addresses cannot be used in Azure AD today, since you cannot prove ownership. You will need to host your add-in on a different domain.

I got the same problem and I resolved by adding a custom domain pointing to your AzureWebiste.

@Rick-Kirkham  @TimMcMSFT
Hi team
I found this issue still there. I've add a custom domain name to my app service site,but it looks not work for me.

@chenxizhang This seems to be a problem with the AAD registration system, not a problem with the documentation. Please create this issue on the repo office-js.

Finally I got the solution and resolved this problem。it must use the office 365 tenant administartor to register this app.


Asp .Net Core App throws exception after the namespace of a model class was changed

Description of the problem:
I changed the namespace of my model from Host.Model.ModelName to Host.ViewModel.ModelName and now the project throws an exception when trying to access any API.
Upon examining the build output in Visual Studio, I found that when the output assembly name of the host project is OriginalHostName.dll, a companion DLL of OriginalHostName.Views.dll is generated. This second *.Views.dll somehow holds on to the old class. If I remove the *.Views.dll from the bin, the exception is not seen.

Additionally, if I change the name of the project assembly from OriginalHostName.dll to NewHostName.dll, the *.Views.dll is not generated.

Steps to reproduce
Change the namespace of a model used in your project.
Observe that the bin directory has a *.Views.dll
An exception stack trace is seen:

fail: Microsoft.AspNetCore.Server.Kestrel[13]
      Connection id "0HLH6ROIJO2EG", Request id "0HLH6ROIJO2EG:00000008": An unhandled exception was thrown by the application.
System.TypeLoadException: Could not load type 'Passphrase.Host.Model.GenerationOptions' from assembly 'Passphrase.Host, Version=<IP_ADDRESS>, Culture=neutral, PublicKeyToken=null'.
   at System.Reflection.CustomAttribute._CreateCaObject(RuntimeModule pModule, IRuntimeMethodInfo pCtor, Byte** ppBlob, Byte* pEndBlob, Int32* pcNamedArgs)
   at System.Reflection.CustomAttribute.CreateCaObject(RuntimeModule module, IRuntimeMethodInfo ctor, IntPtr& blob, IntPtr blobEnd, Int32& namedArgs)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, Int32 pcaCount, RuntimeType attributeFilterType, Boolean mustBeInheritable, IList derivedAttributes)
   at System.Reflection.CustomAttribute.GetCustomAttributes(RuntimeAssembly assembly, RuntimeType caType)
   at System.Attribute.GetCustomAttributes(Assembly element, Type attributeType, Boolean inherit)
   at System.Reflection.CustomAttributeExtensions.GetCustomAttributes[T](Assembly element)
   at Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemLoader.LoadAttributes(Assembly assembly)
   at Microsoft.AspNetCore.Razor.Hosting.RazorCompiledItemLoader.LoadItems(Assembly assembly)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.CompiledRazorAssemblyPart.Microsoft.AspNetCore.Mvc.ApplicationParts.IRazorCompiledItemProvider.get_CompiledItems()
   at Microsoft.AspNetCore.Mvc.ApplicationParts.RazorCompiledItemFeatureProvider.PopulateFeature(IEnumerable`1 parts, ViewsFeature feature)
   at Microsoft.AspNetCore.Mvc.ApplicationParts.ApplicationPartManager.PopulateFeature[TFeature](TFeature feature)
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.CompiledPageRouteModelProvider.GetViewFeature(ApplicationPartManager applicationManager)
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.CompiledPageRouteModelProvider.GetViewDescriptors(ApplicationPartManager applicationManager)+MoveNext()
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.CompiledPageRouteModelProvider.CreateModels(PageRouteModelProviderContext context)
   at Microsoft.AspNetCore.Mvc.RazorPages.Internal.CompiledPageRouteModelProvider.OnProvidersExecuting(PageRouteModelProviderContext context)
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider.BuildModel()
   at Microsoft.AspNetCore.Mvc.RazorPages.Infrastructure.PageActionDescriptorProvider.OnProvidersExecuting(ActionDescriptorProviderContext context)
   at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.UpdateCollection()
   at Microsoft.AspNetCore.Mvc.Internal.ActionDescriptorCollectionProvider.get_ActionDescriptors()
   at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.GetTreeRouter()
   at Microsoft.AspNetCore.Mvc.Internal.AttributeRoute.RouteAsync(RouteContext context)
   at Microsoft.AspNetCore.Routing.RouteCollection.RouteAsync(RouteContext context)
   at Microsoft.AspNetCore.Builder.RouterMiddleware.Invoke(HttpContext httpContext)
   at Microsoft.AspNetCore.StaticFiles.StaticFileMiddleware.Invoke(HttpContext context)
   at Microsoft.AspNetCore.Server.Kestrel.Core.Internal.Http.HttpProtocol.ProcessRequests[TContext](IHttpApplication`1 application)

The version of Microsoft.AspNetCore.App
The version used is 2.1.4

The output of dotnet --info

.NET Core SDK (reflecting any global.json):
 Version:   2.1.402
 Commit:    3599f217f4

Runtime Environment:
 OS Name:     Windows
 OS Version:  10.0.17134
 OS Platform: Windows
 RID:         win10-x64
 Base Path:   c:\program files\dotnet\sdk\2.1.402\

Host (useful for support):
  Version: 2.1.4
  Commit:  85255dde3e

.NET Core SDKs installed:
  2.1.402 [c:\program files\dotnet\sdk]
  2.1.402 [C:\Program Files\dotnet\sdk]

.NET Core runtimes installed:
  Microsoft.AspNetCore.All 2.1.0 [c:\program files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [c:\program files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.3 [c:\program files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [c:\program files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.All 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.All]
  Microsoft.AspNetCore.App 2.1.0 [c:\program files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [c:\program files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.3 [c:\program files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [c:\program files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.AspNetCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.AspNetCore.App]
  Microsoft.NETCore.App 2.0.0 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.5 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.5 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.7 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.7 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.0.9 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.0 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.0 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.2 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.3 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [c:\program files\dotnet\shared\Microsoft.NETCore.App]
  Microsoft.NETCore.App 2.1.4 [C:\Program Files\dotnet\shared\Microsoft.NETCore.App]

Update: The problem seems to be triggered with the use of a ModelBinder class for which the namespace wasn't changed after changing the namespace of the related model.
I have updated the namespace of the ModelBinder implementation class, but when I search for the old namespace string in Visual Studio, I see that a temp file is generated which continues to have the older namespace. I have cleared out all the temp files, restarted Visual Studio, but the problem still remains.
C:\Users\<username>\AppData\Local\Temp\TFSTemp\vctmp12240_695380.GenerationOptionsModelBinder.bfffd2b4.cs(1):namespace Passphrase.Host.Model


How do you solve motion blurring in CausalVideoVAE?

Thanks for your released code. I want to ask how do you solve the motion blurring in CausalVideoVAE? add more parameters in time downsample/upsample?
And according to my training results, the gan loss can reduce gridding effect and reconstruct more realistic image,

well, I find the answer in your latest released code.

Could you please tell me how to solve the motion blurring problem ? I just notice the author fixes some bugs in the v1.0.0 code. However, I use the current version of causalVAE code but the motion blurring problem still exists.

Do you mean this commit? I think the released weight stills has this problem.


add refresh_interval to source.containers.conf

add refresh_interval to containers.conf https://docs.fluentd.org/input/tail
to allow quick capture of new containers and prevent loss of logging on short-lived containers

Added a PR with the suggested change  #390

merged as part of #390


Add Show instances via Generic

Description of the change

Closes #10

I added Show instances for each typeclasses.

Hello maintainer,
Is this looking good?
Thank you.

This looks good, yes!

Published as v6.1.0


Deconstruct for sequences (🎬 take 2)

This is a second take on issue #538 and possibly supersedes #586 pending discussion and review.
PR #586 implements a strict version that throws an exception unless the sequence contains the exact number elements being deconstructed. The version proposed here is simpler. It extends IEnumerable<> directly with Deconstruct that outputs, in addition to elements, a count of the elements actually read. This in turn lets the caller decide what to do. The background, thought-process and benefits were laid out in my following comment on issue #538:

I'd like to give the choice of strict or non-struct deconstruction semantics another crack. If we provide a count of how many items were actually deconstructed, like so:
public static void Deconstruct<T>(this IEnumerable<T> source, out T item1, out T item2, out int count)
{
    count = 0;
    using var e = source.GetEnumerator();
    (count, item1) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
    (count, item2) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
}

public static void Deconstruct<T>(this IEnumerable<T> source, out T item1, out T item2, out T item3, out int count)
{
    count = 0;
    using var e = source.GetEnumerator();
    (count, item1) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
    (count, item2) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
    (count, item3) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
}

public static void Deconstruct<T>(this IEnumerable<T> source, out T item1, out T item2, out T item3, out T item4, out int count)
{
    count = 0;
    using var e = source.GetEnumerator();
    (count, item1) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
    (count, item2) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
    (count, item3) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
    (count, item4) = e.MoveNext() ? (count + 1, e.Current) : (count, default);
}

then the caller has all the information and flexibility to decide what to do without having to worry about exceptions (and then also throwing an exception becomes a choice of the caller):
var result =
    from s in new[]
    {
        "12",
        "12,34",
        "12,34,56",
        "12,34,56,78",
    }
    select new
    {
        Input = s,
        Result = s.Split(',').Select(int.Parse) switch
        {
            var (x, y, _, rc)    when rc == 2 => $"Point2D({x}, {y})",
            var (x, y, z, _, rc) when rc == 3 => $"Point3D({x}, {y}, {z})",
            _ => "?"
        }
    };

result.ForEach(Console.WriteLine);

/* prints:
{ Input = 12, Result = ? }
{ Input = 12,34, Result = Point2D(12, 34) }
{ Input = 12,34,56, Result = Point3D(12, 34, 56) }
{ Input = 12,34,56,78, Result = ? }
*/

Notice the use of discard (_) to probe an extra element so as to capture the case when there are more elements than desired.
With this approach, we don't need to hop over an additional method like AsDeconstructible, as proposed earlier, just for sake of communicating the potential surprise of an exception due strict semantics.
I only see benefits:

Back to simple Deconstruct extensions for sequences (that can be optimised for other collection types)
No semantic hop method like AsDeconstructible
No new superficial type like DeconstructibleEnumerable (as we have in PR #586 at this time) is needed
No exceptions
Caller has all control

Moreover:

the…example can be written with a constant pattern for the (read) count (rc) instead of using when:
var result =
    from s in new[]
    {
        "12",
        "12,34",
        "12,34,56",
        "12,34,56,78",
    }
    select new
    {
        Input = s,
        Result = s.Split(',').Select(int.Parse) switch
        {
            (var x, var y, _, 2)        => $"Point2D({x}, {y})",
            (var x, var y, var z, _, 3) => $"Point3D({x}, {y}, {z})",
            _ => "?"
        }
    };

result.ForEach(Console.WriteLine);

While it may not be clear what 2 and 3 mean, one can use comments, as in (var x, var y, _, /* count = */ 2), or revert to the when form and use a more meaningful variable name like count. Where immaterial, the count can be discarded. Whichever way you cut it, the choice is up to the developer. 🙌

810ebc0b08fcaf8a7934cb171d66fe15f2d6a73a is designed to pick up additional testing added with d2e2d6defa0e1f6598d1e902056ae85f017b3c2b (“Assert no iteration past end in sequence test wrapper”).

Where immaterial, the count can be discarded.

I'm still thinking about this, but I'm not convinced that the "unknown count, but I can handle many options" case is common enough to warrant being the default. It smells to me that this would lead to "unchecked return"-type errors from when I used C. Users will just ignore the count and (un)happily use a default (very likely null) value.

Where immaterial, the count can be discarded.

I'm still thinking about this, but I'm not convinced that the "unknown count, but I can handle many options" case is common enough to warrant being the default. It smells to me that this would lead to "unchecked return"-type errors from when I used C. Users will just ignore the count and (un)happily use a default (very likely null) value.

You can't prevent people from being sloppy. The fact that you are forced to deconstruct with the count should make someone think twice and if they still choose to discard it then they deserve the bugs that'll bite them. 😇 In C, your intention to discard or ignore a returned value wasn't required to be explicitly expressed or captured in code whereas here you would be forced to discard (like ignore in F#).
The trickier bit here is not so much discarding the count but not deconstructing & discarding an extra element, an in the 3rd tuple element in (var x, var y, _, 2), to ensure that the sequence is not longer than expected (if that's important). The count is the actual count of elements deconstructed out of those requested by the pattern. I'll agree it's trickier to write the correct pattern here but throwing an exception feels too prescriptive and takes away a whole slew of choices. It's fair to throw an exception if deconstruction cannot be fulfilled or behaviour would be undefined under some conditions but deconstruction as defined here will always succeed. The caller then gets to decide what success actually means for the application based on the results of deconstruction.

I'm still thinking about this

Do you think we can wrap this up soon?

@leandromoh Would you still like to remain on board as a reviewer? I'm assuming you're very busy and won't have a chance to review since I haven't heard from you at all so far?

Sorry for the delay.

You can't prevent people from being sloppy

Ah, but you can, by removing the possibility of sloppiness :wink: . I'm a big fan of Pit of Success interfaces.

It's fair to throw an exception if deconstruction cannot be fulfilled or behaviour would be undefined under some conditions but deconstruction as defined here will always succeed.

But this would make it super easy to fall into NullReferenceException.

throwing an exception feels too prescriptive and takes away a whole slew of choices

Not so:
var (a,b,c,d) = source.Take(4).Pad(myDefaultValue).AsDeconstructible();

Although a bit more verbose, it allows unpacking unknown lengths. Perhaps we can even ship an overload that does that automatically:
public static DeconstructibleEnumerable AsDeconstructible<T>(this IEnumerable<T> source, T defaultValue) =>
     source.Take(4).Pad(defaultValue).AsDeconstructible();

Closing because of decision to not move forward with #538.
@fsateler Thanks for all your help to review this.


Feature request - highlight selected block only

Is there a possibility to add a toggle that lets you highlight only the last block you are working on?
Personally, I think that the rest of the lines are distracting. I would like to focus only on what I am working on without extra visuals. What would be perfect is to have a feature for negative depth.
The last block and two blocks before for example.

You can hide all non-focused blocks. Go to Blockman settings and type "none" in all 11 depth-color fields from 0 to 10. Also type "none" in N19 (Custom Color Of Block Border) and N20 (Custom Color Of Depth0 Border).
depth 0 block is the ground block.
And then maybe you'd like to enable Editor: Render Indent Guides.
And negative depth (two/three... blocks before) is interesting idea, but it's not yet implemented in Blockman. I'll think about it.

This is pretty close to what the Qt Creator IDE is doing
Having used Qt Creator for a while, I really liked that model: highlight blocks from inside out (the most visible is the current scope, then the parent one, and so on until the top scope). The rest of the blocks are not highlighted.

Also there is BlueJ editor, but the highlighting features are very limited.

Right. I just want to add my +1 to the original request: I think it would be great to have an option to highlight only the nesting of the current scope (including the parents up to the root)

@tlemo, You mean to highlight only the blocks on the path: from the root to the focused scope? Like this:

@tlemo, You mean to highlight only the blocks on the path: from the root to the focused scope? Like this:

Exactly!
PS. if I understand it correctly, #28 is also describing the same request

Yeah, I guess it's the same request. I did not understand the request first time, but now I understand. I'll think about implementing it. If it's not a huge brain pain, then maybe I'll be able to do it in several days.

@tlemo, Huge Thanks for the donation, super enthusiastic people like you give me so much motivation to make my open source software as cool as possible.

This would be very useful and increases focus.

Guys, good news, I almost implemented the focus tree coloring logic. This is just info about my progress, yeah, it took me many days, and maybe I need more days, but I want you to know that I'm working on your feature requests and I want to release them as soon as possible.

Fantastic! Can't wait to try it!

It's practically finished. I just need to test before releasing. What do you think about it? The advanced coloring settings are very customizable. There are 10 advanced coloring fields (5 for backgrounds and 5 for borders). Is the instruction easy to understand?

Great news!
The advanced coloring scheme seems powerful, although it's independent from the "selected-block-only" functionality, am I wrong?

it's independent from the "selected-block-only" functionality, am I wrong?
Mm.. what do you mean?

With this update, Blockman now has it all:

What would be perfect is to have a feature for negative depth. The last block and two blocks before for example.

This one is the N33 A02 or N33 A04. As you can see, there are many choices of how the advanced coloring would behave based on block selection logic.
selected-block means focused block, right? The advanced coloring fields are very flexible with the focused block.

@ghost, @tlemo, @curiobeing,
Blockman 1.4.0 is now released. Here is the video instruction for the advanced coloring settings:
https://www.youtube.com/watch?v=UsET6-kPu90
If you find it difficult to adjust the settings exactly for your needs, please let me know and I will help you with the instructions specifically for your cases.

Thank you @leodevbro! I finally got a chance to give it a try, and I was able to configure it pretty close to what I had in mind: my goal is a simple (clean?) setup, with no borders and a subtle gradient for the background - here's an example:

While the settings seem to allow for finely grained customization, I think most users (myself included) would like a simplified model with fewer settings to tweak.
Finally, here are a few ideas and a bug I discovered while trying these new settings:

https://github.com/leodevbro/vscode-blockman/issues/58
https://github.com/leodevbro/vscode-blockman/issues/59
https://github.com/leodevbro/vscode-blockman/issues/60

Cheers!

Thank you @leodevbro! I finally got a chance to give it a try, and I was able to configure it pretty close to what I had in mind: my goal is a simple (clean?) setup, with no borders and a subtle gradient for the background - here's an example:

While the settings seem to allow for finely grained customization, I think most users (myself included) would like a simplified model with fewer settings to tweak.
Finally, here are a few ideas and a bug I discovered while trying these new settings:

https://github.com/leodevbro/vscode-blockman/issues/58
https://github.com/leodevbro/vscode-blockman/issues/59
https://github.com/leodevbro/vscode-blockman/issues/60

Cheers!

Thanks, I'll check them out.

Thanks, I'll check them out.


Update package.json

Hey there,
I had a little issue getting webpack to work because of a trailing comma... npm can be silly sometimes.

Thanks!


implement threads for suggestions

Adds the option to use threads for suggestions made with the suggest command.

Closing pr as branch has fallen too far behind to salvage, will create another pr with the new branch later.


explain how to use comments

and that # cannot be used in variable names

Thanks for the pull request. It might be worth noting that # can be used in a string if it is wrapped in quotes (I think, we'll want to verify that):
FOO="String with # in the middle"


Fix SqlTyper

The SqlType type should be returning a driver.Value instead of driver.Valuer
https://github.com/go-gorp/gorp/blob/659d466222f6a201e44cfeff05813fa6be8409cd/db.go#L326
The way to get it working now is to do something like this
type IntValuer int

func (IntValue) Value() (driver.Value, error) {
  return nil, nil
}

type CustomType int

func (CustomType) SqlType() driver.Valuer {
  return IntValuer(0)
}

This will continue working with the proposed change.

One last request: can we do log.Printf("Deprecation Warning:  update your SqlType methods to return a driver.Value") in the logic for legacySqlTyper?

@nelsam done and squashed.

awesome! I'll merge on the morrow.
On Oct 20, 2017 22:20, "Ilia Choly"<EMAIL_ADDRESS>wrote:

@nelsam https://github.com/nelsam done and squashed.
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
https://github.com/go-gorp/gorp/pull/355#issuecomment-338362768, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA-QBFV6z9fYdDpKb6-2mYXlkDYeNon0ks5suXEMgaJpZM4P-DCw
.

Messed up the rebase, fixed now.

In regards to changing the null types, I think that will break compatibility with sql.Null<Name> types.

Yeah.  We can maybe update our code to be more aware of how those types usually work, make our code more generic instead of checking the type name for everything, but we have no guarantee that it'll work for all use cases.
Back when we were more active, we had plans to separate the database setup logic and make it a bit more explicit, but it's become difficult to put that much time in to gorp for most of us.


Question: create a schema with polymorphism?

I'm trying to model jira software and jira service management projects in a schema. I have read https://authzed.com/blog/user-defined-roles
My simplified schema is something like this:
definition user {}

definition jira_project {
  relation viewer: user
  relation editor: user

  permission create_issue: editor
  permission view_issue: viewer + editor
}

definition jsm_project {
  relation viewer: user
  relation editor: user

  permission create_issue: editor
  permission view_issue: viewer + editor
  permission approve_issue: editor
}

I'm wondering if it's possible to do something like this?
definition user {}

definition project {
  relation viewer: user
  relation editor: user

  permission create_issue: editor
  permission view_issue: viewer + editor
}

definition jira_project extends project {}

definition jsm_project extends project {
  permission approve_issue: editor
}

or if there's any easier way to do this? Thanks in advance 😄

@marlenekoh 👋🏻 there is no support for composition or inheritance at the moment, unfortunately, so I'm afraid for now you'll have to go the verbose route of copy/pasting. Feel free to open a feature request!


[security] fix fastjson security issues.

Proposed changes
Issue Number: close #xxx
FastJson's official team has released several important vulnerability fixes, but without issuing security advisories, posing significant security risks to users. When users submit carefully crafted malicious data to the server, FastJson triggers a vulnerability while deserializing and parsing this data, leading to remote arbitrary code execution on the server.
Further comments
If this is a relatively large or complex change, kick off the discussion at<EMAIL_ADDRESS>by explaining why you chose the solution you did and what alternatives you considered, etc...

run buildall


[ROCm] Unit tests are fixed in ROCm 5.2

two unit tests ( testSphHarmOrderZeroDegreeOne and test_custom_linear_solve_cholesky) have already been fixed in ROCm 5.2, no need to skip in the unit test.
@hawkinsp

@hawkinsp Can you please review this? Thanks!

@hawkinsp Could you review this, please. Thanks!


Function intersect_with takes very large amounts of memory (several GigaBytes)

When I call this function it takes amounts of memory that quickly amount to several Gigabytes and the computer ends up freezing/crashing.
Notes:
This doesn't always happen.
Changing the value of tolerance may solve the problem for a particular pair meshes but may not work for another pair of meshes.
The problem can be reproduced using the file at:
https://github.com/goncalo-pt/goncalo_moniz_public

Hi, It seems to me that the mesh must have some strange problem.. it's for sure non-manifold but I don't manage to fix it neither with non_manifold_faces(remove=True) nor with pymeshfix...
import numpy as np
import vedo

my_mesh = vedo.Mesh('data/my_vedo_mesh.obj')

print(my_mesh.is_manifold())
my_mesh.non_manifold_faces(remove=False)
my_mesh.cmap("Spectral_r", "NonManifoldCell", on="cells")
print(my_mesh.is_manifold())

my_mesh.compute_normals()

# import pymeshfix
# meshfix = pymeshfix.MeshFix(my_mesh.points(), my_mesh.faces())
# meshfix.repair()
# my_mesh = vedo.Mesh(meshfix.mesh)

pt = np.array([2.43196056, 2.        , 0.57248911])
sphere = vedo.Sphere(pt, r=1.1, res=12).alpha(0.2)
inter = None #sphere.intersect_with(my_mesh, tol=0.005)
vedo.show(my_mesh, sphere, inter)

(notice the white faces on the left)


feat: Timestamp convert tool

Description
Convert between unix timestamp and human readable time string.
Screencast

Checklist

[x] I read the extension guidelines
[x] I read the documentation about publishing
[x] I ran npm run build and tested this distribution build in Raycast
[x] I checked that files in the assets folder are used by the extension itself
[x] I checked that assets used by the README are placed outside of the metadata folder

Hi @DarthPestilane
It seems that an extensions with the same functionality already exist in the store.
Kaalam
Unix Timestamp
PRs for time-related extensions are also under review: [New Extension] Now #1496

Hi @DarthPestilane 👋
We also have most of this functionality with Raycast already:

Although I think there's a little bug (that were going to fix) it's also possible to do it the other way around:

Could that be something instead?

@DarthPestilane ping here, let me know if we should close this PR


Add a favicon

The demo site is currently missing a favicon.
A custom icon could be designed or a fitting free icon could be used. Twemoji is 100% free for use, so an emoji can be taken from there.

hi, can you assign me to work on this one? thanks.

@irahrosete That would be great, if you have any questions feel free to ask

any update on the issue?

@irahrosete Do you plan on continuing with this?
If I don't hear anything within a week I'll assume I can assign someone else

Might give this one a crack 😌


removed demo

Issue #, if available:
resolves #36
Description of changes:
Removed the demo, so it can be moved to the
https://github.com/aws/aws-app-mesh-examples
By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

I added a link. @stefanprodan still needs to be merged into that repo.
https://github.com/aws/aws-app-mesh-examples/pull/122


Capture an audio-reactive application

I have a Three.js program that uses the Web Audio API.
From previous issues, it seems there is currently no way to manipulate Web Audio as needed for capture:

[T]here's no way to "throttle" the internal workings of Web Audio, so the AnalyserNode will run in real time, desyncing from the canvas capture.

The meshes in my program "react" to the audio, so it is not possible to add the audio afterwards.
How was the Obsidian example in this project's README captured? The demo looks to be audio-reactive...

usually just capture the video, and merge with the audio file afterwards. Obsidian is not audio reactive, it's scripted
I have a branch that experiments with throttling the whole web audio graph, but it's not practical, yet.
for now, unfortunately, there's no way to capture anything that reacts in real-time

Ah ok, thank you. Will try pre-generating the FFT data as suggested in this issue.

I'd like to be able to add audio to the video files rendered in the browser. Non-real-time is fine for my use case. I can render audio using an OfflineAudioContext but so far I haven't managed to accomplish the "merge" step inside the browser. I see that some peeps have ported ffmpeg to the browser using web assembly so I might try to get my head around that at some point, though it seems a bit over kill for such a simple task, but I really want my application's users to be able to download one completed file. If I go the ffmpeg route, then another issue is that ccapture's API doesn't allow accessing a BLOB for the video without triggering a download to disk. Sometimes it would be handy to be able to do the video rendering without triggering a download, e.g. to perform post processing tasks (such as adding audio), or to grab the video and send it to a server, over WebRTC, etc. I imagine this would be simple to do. If I get around to having a go at the ffmepg route then I'll have a stab at making the necessary addition. I did some experiments with the browser's Media Encoder API, but my machine wasn't fast enough to transcode 50fps without audio glitches in real-time even just loading a WebM and an MP3 from disk.
Thanks for the cool library.


Create migration file to migrate export countries from Company table

Description of change
Create migration file to migrate export countries from Company table to CompanyExportCountry one
BLOCKED: Depending on PR https://github.com/uktrade/data-hub-api/pull/2375 to be merged and task executed
Checklist

[ ] Has a new newsfragment been created? Check changelog/README.md for instructions
[ ] Do any added or updated endpoints appear in the API documentation? See docs/Maintaining the API documentation.md for more details
[ ] Have any relevant search models been updated?
[ ] Have any relevant fixtures (fixtures/test_data.yaml) been updated?
[ ] Have any relevant select-/prefetch-related field lists in the views and search apps been updated?
[ ] Has the admin site been updated (for new models, fields etc.)?
[ ] Has the README been updated (if needed)?

we decided to not use this file anymore and rely solely on the task runner developed here: https://github.com/uktrade/data-hub-api/pull/2375


feature: add logging

Add a logging feature to save conversations for later and give users the ability to share
Closes #1

Looks great Lucas, LGTM!


PowerShell parameters preceded by double quotation marks

There is currently no comment section for this article.
Link to article:
https://docs.microsoft.com/en-us/system-center/sma/manage-runbooks?view=sc-sma-1807
Problem:
What's wrong with the article?
In the last 4 PowerShell examples, almost all of the parameters are preceded by double quotation mark characters instead of hyphens. The first 2 PowerShell examples are OK.

@georgewallace Can you take a look at this issue?

#reassign @JYOTHIRMAISURI can you take a look at this feedback for the System center content?


login popup doesnt always open

Most of the time login pop works and ccp panel gets mounted.
But sometimes, I encounter this issue where login pop doesn't open
. In console, errors are shown that iframe can't be mounted due x frame options, even though it's added in approved origins.
Sometime , I clear cookies then it works and sometime it doesnt.
Not sure why it happens

This is most likely due to the browser getting refreshed before the agent has logged in, which is explained here: https://github.com/amazon-connect/amazon-connect-streams/issues/858.
We are actively working on a fix for this.

Hello, this issue is resolved with the latest version of Streams (2.14.1).


Update block gasLimit to be equal to Homestead

Is there a reason this hasn't been done before I haven't run across? Without it, then there are contracts that work just fine on Morden/the actual network that can't be tested with testrpc...

No reason, just lots of work.
Merging. I'm going to change the gas limit on line 389 as well (I know, it shouldn't be in two places). Will push a new version after and make a comment here.

v2.0.7 pushed to npm.


Too many requests when trying to connect ByBit

Describe the bug
429 error when trying doing connect bybit
Steps to reproduce

connect bybit
enter api and secret key
Error executing request https://api.bybit.com/spot/v1/account. HTTP status is 429

Release version
1.23.0
Type of installation
Source
Attach required files
No response

Bybit connector has not been updated to latest version causing this issues when connecting API keys. Please be advised that a community dev is working on the fix and we are waiting for the PR to be created https://github.com/hummingbot/hummingbot/issues/6585

Error executing request GET https://api.bybit.com/spot/v1/account. HTTP status is 429. Error:
what are the options for connecting to the baybit?


Update scalafmt-core to 3.0.5

Updates org.scalameta:scalafmt-core from 2.7.5 to 3.0.5.
GitHub Release Notes - Version Diff
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

Files still referring to the old version number
The following files still refer to the old version number (2.7.5).
You might want to review and update them manually.
.github/workflows/format.yml

Ignore future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scalameta", artifactId = "scalafmt-core" } ]

labels: library-update, semver-major, old-version-remains

Coverage decreased (-2.7%) to 92.073% when pulling 257ba590fba8970e6705e37a0f295e89388b94af on scala-steward:update/scalafmt-core-3.0.5 into ca10c64b98af9973d1b830d6a180d8b2c8898d98 on iheartradio:master.

Superseded by #172.


Mostly working demo with more client model code

The client code still needs to be moved around till it fits clean but it is mostly working.

Codecov Report

Merging #6 into master will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff           @@
##           master       #6   +/-   ##
=======================================
  Coverage   98.57%   98.57%
=======================================
  Files           5        5
  Lines          70       70
=======================================
  Hits           69       69
  Misses          1        1

Continue to review full report at Codecov.

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


⚠ ClamAV has degraded performance

In 8825702, ClamAV (https://spamassassin.apache.org/) experienced degraded performance:

HTTP code: 200
Response time: 70 ms

Resolved: ClamAV performance has improved in b3cac94.


Remove extra commas.

@jakubpawlowicz: how about distributing cleancss-browser.js too? I find it very useful instead of me having to check out the source and do it myself.

:+1:

Regarding cleancss-browser.js I'd rather avoid it as it's going to add some extra noise to the repo.
However I've been thinking recently about pulling out browserify support into a separate repo, where, in theory, cleancss-browser.js could be bundled and updated as necessary out of clean-css release cycle. Thoughts?

I don't consider it bloat to be honest; it's just one file after all.
Your suggestion wouldn't solve the issue I describe either. We could just
have it run in the prepublish step for us or something similar.
On Mar 1, 2015 4:14 PM, "Jakub Pawlowicz"<EMAIL_ADDRESS>wrote:

Regarding cleancss-browser.js I'd rather avoid it as it's going to add
some extra noise to the repo.
However I've been thinking recently about pulling out browserify support
into a separate repo, where, in theory, cleancss-browser.js could be
bundled and updated as necessary out of clean-css release cycle. Thoughts?
—
Reply to this email directly or view it on GitHub
https://github.com/jakubpawlowicz/clean-css/pull/473#issuecomment-76598397
.

Well, it's a just an overlay over clean-css and it's dependency tree is sth like a half of npm ;-) https://github.com/substack/node-browserify/blob/master/package.json#L22
What'd be the outcome of running it in prepublish step? I don''t see a point there.

Well it would be sort of automated I guess.
Anyway, the key here is for the end user like myself not having to do the
whole process myself, especially when it's supported out of the box in this
repo. It's just one file (the npm dependencies isn't something I have to
care; I simply want the browser file)
On Mar 1, 2015 5:55 PM, "Jakub Pawlowicz"<EMAIL_ADDRESS>wrote:

Well, it's a just an overlay over clean-css and it's dependency tree is
sth like a half of npm ;-)
https://github.com/substack/node-browserify/blob/master/package.json#L22
What'd be the outcome of running it in prepublish step? I don''t see a
point there.
—
Reply to this email directly or view it on GitHub
https://github.com/jakubpawlowicz/clean-css/pull/473#issuecomment-76603495
.

I see the point but at the same time I don't want to pollute the repo with multiple browser builds. The easiest way would be to move it out to a dedicated repo.

What multiple browsers builds? Just build it when you release a new version as part of bumping the version.
Your suggestion beats the point and is useless if the user has to check out yet another repo to get the file.

The repo should contain source files only, that's my point of view.


Fix typos

Affected Language Features
--
Additional Info
Fixes some typos in the readme

Thanks for this @karlhorky

Hey @karlhorky since you are a collaborator in this project, if you don't mind feel free to open PRs directly on to main (without fork)
I can't seem to know why the actions won't trigger on PRs from forks do you have any idea ?

If you rebase it should run the checks.
@karlhorky you might have to update the version number to publish a new version to market place it can be a minor one

Oh sorry rebased now!
I just did this during a lecture to show how to fork and do a pull request - sorry for not following the process from the same repo! I will try to remember this for next time.

Oh sorry rebased now!
I just did this during a lecture to show how to fork and do a pull request - sorry for not following the process from the same repo! I will try to remember this for next time.

No worries at all , now the PR checks works , if you don't mind could you update the version number in package.json so that a new release is published to market place

Bumped patch version 👍

Thanks @karlhorky Appreciate it

Glad to help, thanks for the review and merge!


Add SqsHealthIndicator

Add health indicator for SQS listeners that checks if:

SimpleMessageListenerContainer is in running state for all queues mapped with SqsListener - even those who do not exist at startup
all configured queues exist and are reachable.

Fixes: #317

I am not convinced about keeping all health indicators in separate module. Would it be better to keep them close to classes they use to check health? In that case we could limit a bit the public API exposed by these classes - in this case perhaps getMappedQueueNames would not need to be public.

Hi, is there any update on this PR?

Spring Cloud GCP keeps all health indicators in autoconfigure module. I am thinking if in case of Spring Cloud AWS wouldn't it make more sense to also keep health indicators there and turn current module into spring-cloud-starter-aws-cloudwatch. What do you think @eddumelendez?

Yes, agree. IMHO, health indicators should be at the autoconfigure module since spring-boot-starter-actuator is the one that provides the initial infrastructure. So, features can be enabled just adding starters for a specific service.
Regarding to the new module spring-cloud-starter-aws-cloudwatch, I think make sense but something that was thinking in spring-cloud-gcp is that if the implementation relies on micrometer may  using the namespring-cloud-starter-aws-metrics make more sense since the cloudwatch configuration will be at the autoconfigure using mostly micrometer. It's not a big deal the final name though. WDYT?
btw, I just noticed there is no implementation in spring-boot but found this comment pointing to this repo.

The only reason I think naming it after cloudwatch can be safer than metrics is that AWS may come up with another metrics related service and it wont be clear what we are referencing to anymore. Similar to what happened with SQS/SNS and our current messaging module.
Since this will be a breaking change we would either do it in 3.0 or in 2.3 (considering there will be 2.3).

Closing for now, we will revisit this topic for 3.x


Improve HTML form integration

Closes #1690, closes #2825
This improves HTML form integration across all of our field components. It allows you to implement custom UI for native browser validation rather than implementing custom validation in JS. This is often a lot easier than dealing with controlled form state. It also improves integration with upcoming React features like server actions.

Adds support for native form reset, e.g. <Button type="reset">. This is implemented by subscribing to the reset event on the input's parent form, and triggering an onChange with the initially rendered value. Works with both uncontrolled and controlled inputs.
Adds support for submitting the numeric value in NumberField rather than the formatted text. Previously the name prop wasn't passed through at all, so this is not a breaking change. It is implemented by rendering an extra <input type="hidden">.
Adds support for name prop to slider and color components.
Adds support for submitting a stringified version of the date value in all date picker components, using an <input type="hidden">.
Adds support for submitting the key rather than the text value of a ComboBox, also using an <input type="hidden">. This can be controlled by setting the formValue prop. When allowsCustomValue is true, we always submit the text value.
Adds a validationBehavior prop, which can be set to either "aria" or "native". When set to "native", we use the HTML required prop rather than aria-required, which blocks form submission.
Adds validationState, errorMessage, and validationDetails as returned properties from all field aria hooks. When validationBehavior="native", we handle the native input "invalid" event and prevent default on it so that the browser's default form validation UI does not appear. Then we return the validation state and native error message from the hook so it can be rendered in a custom UI. In Spectrum, this is implemented as help text.
When validationBehavior="native", and an explicit validationState="invalid" prop is set, this state is also set on the underlying native input element (via setCustomValidity) so that form submission is blocked.
The onValidationChange event is also added to allow implementing more custom behavior when fields become valid or invalid.
In RAC, the <FormError> component is added, which allows you to use render props to render a custom form error message based on validation details from the input. We also set validationBehavior="native" there by default. In our hooks and spectrum this would be a breaking change so you must opt-in.

To do

[ ] Add docs
[ ] Discuss API

Apologies if this is rude of me, but can I ask why this PR is still in draft? Is there any work missing to get this merged? And if so, could I maybe help with anything?

@romansndlr it is sorta experimental at the moment, and needs a bunch more API refinement. For example I was working on a way to also support server side validation errors along with client side ones. After we figure that out the docs need to be written and we need to test everything out in real scenarios. I'd say it's a little ways off unfortunately. Glad it's interesting to you though!

@devongovett That's awesome man and the work y'all are doing here is unbelievable! I was wondering if maybe there is a way to move forward with just the native HTML form integration part? We are working on a Remix app and I currently manage the "name" prop myself for the combo-box and other components as well. I worry that our own implementation would behave differently than the one y'all would rollout eventually.

@romansndlr I extracted the name and form reset stuff from this in #4795 so it can be released separately. Will continue working on the validation stuff separately.

@romansndlr I extracted the name and form reset stuff from this in #4795 so it can be released separately. Will continue working on the validation stuff separately.

Thatt is amazing dude!! Thank you so much 🙏🏻

@devongovett Thank you for the amazing work y'all doing, I love react-spectrum! I'm using useNumberField and I need the name prop, you mentioned  here: https://github.com/adobe/react-spectrum/pull/4640#:~:text=Previously the name prop wasn't passed through at all%2C so this is not a breaking change. It is implemented by rendering an extra <input type%3D"hidden">. that ->

It is implemented by rendering an extra <input type="hidden">.

Do you mind showing me a very simple example of how and where do I put this extra hidden input and what props or properties should have to make the name property work?
Thank you :)

A good place to go for examples is our React Aria Components
Here is that line https://github.com/adobe/react-spectrum/blob/main/packages/react-aria-components/src/NumberField.tsx#L115
If you can, we suggest using RAC because we'll handle putting all the requisite hooks together for you but still leave the dom up to you.

A good place to go for examples is our React Aria Components Here is that line https://github.com/adobe/react-spectrum/blob/main/packages/react-aria-components/src/NumberField.tsx#L115
If you can, we suggest using RAC because we'll handle putting all the requisite hooks together for you but still leave the dom up to you.

Thank you so much Robert for the quick reply! Really appreciate the example, I'll incorporate the RAC later on :)


messed up year in spec file changelog

Reviewer: trivial

Refer to this link for build results (access rights to CI server needed):
https://jenkins.bigswitch.com/job/openstack_horizon_bsn_pull_req/141/


Proper documentation

Actually write down how to use mktoc.

Documentation has improved a lot since 2019 so I'm closing this issue now.


fix: memery recycel in Http1 protocl

Issues associated with this PR
#1948
Solutions
You should show your solutions about the issues in your PR, including the overall solutions, details and the changes. At this time, Chinese is allowed to describe these.
UT result
Unit Test is needed if the code is changed, your unit test should cover boundary cases, corner cases, and some exceptional cases. And you need to show the UT result.
Benchmark
If your code involves the processing of every request, you should give the Benchmark Result.
Code Style

Make sure Goimports has run
Show Golint result

Good catch!~


[MISC] Fix Kafka spelling

I have noticed that we have some spelling checks that do not follow the convention we have for databases.

I have reverted the OS modification. If you'll want to implement that, you can easily one the commit in this PR

The LIBPATCH wasn't bumped.

Yes, we are aware! https://github.com/canonical/data-platform-libs/pull/165


add block size test

It makes sense, but we don't need size test because there are no transaction stucture


Test results are not displayed

when reviewing the execution report, the step by step of the tests is not displayed

Could you help me please @wakaleo

I am encountering the same issue while using gradle, but using maven this issue does not happen. Note that gradle does not aggregate the same page name, it expects a hashed name vs a natural language name.
While I have altered the starter tests in the below, the base starter template has the same issues and results.
gradle results

mvn results

I am facing the same issue. Any news on this? @wakaleo