RecoveryService fatal error

I have three containers, one for postgres and two for mongo, mongo1 and mongo2 replica sets:
CONTAINER ID        IMAGE               COMMAND                  CREATED             STATUS                     PORTS                      NAMES
00aa057a85c5        mongo               "/entrypoint.sh mongo"   13 minutes ago      Up 13 minutes              <IP_ADDRESS>:27018->27017/tcp   mongo2
735ed126f61e        mongo               "/entrypoint.sh mongo"   13 minutes ago      Up 13 minutes              <IP_ADDRESS>:27017->27017/tcp   mongo1
e4ec4ea1dd1d        postgres:9.5        "/docker-entrypoint.s"   50 minutes ago      Up 50 minutes              <IP_ADDRESS>:5432->5432/tcp     postgres_test

Also, I already have postgres database configured with the requirements: torodb and torod databases and torodb user.
I start mongo containers like:
# create a custom network
docker network create my-mongo-cluster

# start first replica using this network
docker run -d \
-p 27017:27017 \
--name mongo1 \
--net my-mongo-cluster \
mongo mongod --replSet rs1

# start second replica using same network
docker run -d \
-p 27018:27017 \
--name mongo2 \
--net my-mongo-cluster \
mongo mongod --replSet rs1

I start stampede container like:
docker run -ti -v ~/.toropass:/root/.toropass --net my-mongo-cluster torodb/stampede

So when stampede container is starting, everything seams fine, all service connected, but then I receive an error message, and container is shutdown:
2016-12-22T04:01:25.114 INFO 'StampedeService STARTING' c.t.s.StampedeService Starting up ToroDB Stampede
2016-12-22T04:01:25.127 INFO 'StampedeService STARTING' c.t.b.p.PostgreSqlDbBackend Configured PostgreSQL backend at <IP_ADDRESS>:5432
2016-12-22T04:01:25.701 INFO 'PostgreSqlDbBackend STARTING' c.t.b.AbstractDbBackendService Created pool session with size 28 and level TRANSACTION_REPEATABLE_READ
2016-12-22T04:01:25.743 INFO 'PostgreSqlDbBackend STARTING' c.t.b.AbstractDbBackendService Created pool system with size 1 and level TRANSACTION_REPEATABLE_READ
2016-12-22T04:01:25.756 INFO 'PostgreSqlDbBackend STARTING' c.t.b.AbstractDbBackendService Created pool cursors with size 1 and level TRANSACTION_REPEATABLE_READ
2016-12-22T04:01:26.329 INFO 'BackendBundleImpl STARTING' c.t.b.m.AbstractSchemaUpdater Schema 'torodb' found. Checking it...
2016-12-22T04:01:26.400 INFO 'BackendBundleImpl STARTING' c.t.b.m.AbstractSchemaUpdater Schema 'torodb' checked
2016-12-22T04:01:26.563 INFO 'StampedeService STARTING' c.t.s.StampedeService Database is not consistent. Cleaning it up
2016-12-22T04:01:26.646 INFO 'StampedeService STARTING' c.t.s.StampedeService Replicating from seeds: <IP_ADDRESS>:27017
2016-12-22T04:01:27.039 INFO 'MongodbReplBundle STARTING' c.t.m.r.MongodbReplBundle Starting replication service
2016-12-22T04:01:27.271 INFO 'topology-executor-0' c.t.m.r.t.TopologyCoordinator Waiting for 4  pings from other members before syncing
2016-12-22T04:01:27.295 INFO 'topology-executor-0' c.t.m.c.p.MemberHeartbeatData Member mongo2:27017 is now in state RS_SECONDARY
2016-12-22T04:01:27.297 INFO 'topology-executor-0' c.t.m.c.p.MemberHeartbeatData Member mongo1:27017 is now in state RS_PRIMARY
2016-12-22T04:01:28.273 INFO 'topology-executor-0' c.t.m.r.t.TopologyCoordinator Waiting for 2  pings from other members before syncing
2016-12-22T04:01:29.274 INFO 'topology-executor-0' c.t.m.r.t.TopologyCoordinator Waiting for 2  pings from other members before syncing
2016-12-22T04:01:30.282 INFO 'topology-executor-0' c.t.m.r.t.TopologyCoordinator syncing from: mongo2:27017
2016-12-22T04:01:30.283 INFO 'TopologyService STARTING' c.t.m.r.t.TopologyService Topology service started
2016-12-22T04:01:30.331 WARN 'ReplCoordinator STARTING' c.t.m.r.ReplCoordinator loadStoredConfig() is not implemented yet
2016-12-22T04:01:30.331 INFO 'ReplCoordinator STARTING' c.t.m.r.ReplCoordinator Database is not consistent.
2016-12-22T04:01:30.334 INFO 'MongodbReplBundle STARTING' c.t.m.r.MongodbReplBundle Replication service started
2016-12-22T04:01:30.334 INFO 'StampedeService STARTING' c.t.s.StampedeService ToroDB Stampede is now running
2016-12-22T04:01:30.336 INFO 'repl-coord-starting-recovery' c.t.m.r.ReplCoordinatorStateMachine Starting RECOVERY mode
2016-12-22T04:01:30.364 INFO 'RecoveryService' c.t.m.r.RecoveryService Starting RECOVERY service
2016-12-22T04:01:30.364 INFO 'RecoveryService' c.t.m.r.RecoveryService Starting initial sync
2016-12-22T04:01:30.400 INFO 'RecoveryService' c.t.s.DefaultConsistencyHandler Consistent state has been set to 'false'
2016-12-22T04:01:30.405 INFO 'RecoveryService' c.t.m.r.RecoveryService Using node mongo2:27017 to replicate from
2016-12-22T04:01:30.434 INFO 'RecoveryService' c.t.m.r.RecoveryService Remote database cloning started
2016-12-22T04:01:30.591 INFO 'RecoveryService' c.t.b.SharedWriteBackendTransactionImpl Created internal index did_pkey for table oplog_replication
2016-12-22T04:01:30.635 INFO 'RecoveryService' c.t.b.SharedWriteBackendTransactionImpl Created internal index rid_pkey for table oplog_replication_lastappliedoplogentry
2016-12-22T04:01:30.668 INFO 'RecoveryService' c.t.b.SharedWriteBackendTransactionImpl Created internal index did_idx for table oplog_replication_lastappliedoplogentry
2016-12-22T04:01:30.698 INFO 'RecoveryService' c.t.b.SharedWriteBackendTransactionImpl Created internal index did_seq_idx for table oplog_replication_lastappliedoplogentry
2016-12-22T04:01:30.730 INFO 'RecoveryService' c.t.m.r.RecoveryService Local databases dropping started
2016-12-22T04:01:30.756 INFO 'RecoveryService' c.t.m.r.RecoveryService Local databases dropping finished
2016-12-22T04:01:30.756 INFO 'RecoveryService' c.t.m.r.RecoveryService Remote database cloning started
2016-12-22T04:01:30.851 ERROR 'RecoveryService' c.t.m.r.ReplCoordinator Fatal error while starting recovery mode: Not supported yet
2016-12-22T04:01:30.854 ERROR 'RecoveryService' c.t.m.r.MongodbReplBundle Catched an error on the replication layer. Escalating it
2016-12-22T04:01:30.855 ERROR 'RecoveryService' c.t.s.StampedeService Error reported by replication supervisor. Stopping ToroDB Stampede
2016-12-22T04:01:30.858 INFO 'StampedeService STOPPING' c.t.s.StampedeService Shutting down ToroDB Stampede
2016-12-22T04:01:30.858 INFO 'RecoveryService' c.t.m.r.RecoveryService Recived a request to stop the recovering service
2016-12-22T04:01:30.906 INFO 'MongodbReplBundle STOPPING' c.t.m.r.MongodbReplBundle Shutting down replication service
2016-12-22T04:01:30.924 INFO 'TopologyService STOPPING' c.t.m.r.t.TopologyService Topology service shutted down
2016-12-22T04:01:30.937 INFO 'MongodbReplBundle STOPPING' c.t.m.r.MongodbReplBundle Replication service shutted down
2016-12-22T04:01:31.357 INFO 'StampedeService STOPPING' c.t.s.StampedeService ToroDB Stampede has been shutted down

Where the specific errors seams related to RecoveryService:
2016-12-22T04:01:30.851 ERROR 'RecoveryService' c.t.m.r.ReplCoordinator Fatal error while starting recovery mode: Not supported yet
2016-12-22T04:01:30.854 ERROR 'RecoveryService' c.t.m.r.MongodbReplBundle Catched an error on the replication layer. Escalating it
2016-12-22T04:01:30.855 ERROR 'RecoveryService' c.t.s.StampedeService Error reported by replication supervisor. Stopping ToroDB Stampede

Hi @p1nox,
You should specify mongo:3.2 as the mongo image since right now we only support that version. Hopefully, support for 3.4 will be out anytime soon.

Great! Thanks @teoincontatto, that was the problem indeed 💯


fix(fab): Allow any child of a fab to align properly in all browsers.

Some browsers don't want to align an SVG child in the center. This patch allows for anything given as a child to have full width which makes all engines align them to the center of the fab. Universal selector here also allows for less overhead needing to add in an extra class for inner nodes.
Weird quirk I found in FF while finishing up tooltips.

💎 LGTM

Waiting for the Sergio card update to land before merging this. That way we don't confuse the history any more than it already is.

You should be good to merge now, then!


feat: add QuestDB Helm Chart

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

It would be good if there was some work by QuestDB to provide endpoints for the two probes, but that isn't needed immediately 😀


Warning in HomeBridge Logs

Is anyone else seeing the following warning in the HomeBridge logs?
[12/15/2021, 7:02:32 PM] [homebridge-harmony] This plugin slows down Homebridge. The read handler for the characteristic 'On' didn't respond at all!. Please check that you properly call the callback! See https://git.io/JtMGR for more info.

Hi, it can happen when the harmony hub is not available while processing an update request. Do you get it often ?

Nope, i have only seen it a couple times

#387 for merging this issue


Add username's file

6.4. When you’ve selected your branch, enter a title for your pull request, for example
Add username's file

created a branch, created a file and made a commit, and opened a pull
request


Add top-level networkPolicy parameter

# Network policy
networkPolicy: {}

See https://github.com/bitnami/charts/blob/master/bitnami/kafka/values.yaml#L839
JIRA Link: K8S-7

Closing due to age and inactivity. Feel free to re-open.


WebUI: renaming 'Flow params' results in invisible Flow configurations

renaming 'Flow params' results in invisible Flow configurations, see code section containing two attribute mappings in the Simple Return Activity.  WebUI tester shows no Issue, but if you run with the build App the following Error is shown:

2017-12-06 09:47:14.923 ERROR  [engine] - Execution failed for Activity[Return] in Flow[validateIBAN] - attribute not in scope
2017-12-06 09:47:14.923 ERROR  [model-tibco-simple] - Error evaluating activity 'Return'[github-com-tibco-software-flogo-contrib-activity-actreturn] - attribute not in scope

Reproduce:

define 'Flow params' Output Parameter "feedback"
go to Simple Return Activity and map a value
rename 'Flow params' Output Parameter "feedback" to "feedback2"
go to Simple Return Activity and map a value

^ in 4. the field "feedback" is invisible inside the export, so the Issue can not be fixed inside the WebUI.
You have to export the App, fix the JSON and re-Import the App.
Result Sample containing mapping of "feedback" and "feedback2"
"attributes": [
                  {
                    "name": "mappings",
                    "value": [
                      {
                        "mapTo": "feedback",
                        "type": 4,
                        "value": {
                          "result": "{{$activity[rest_2].result}}"
                        }
                      },
                      {
                        "mapTo": "feedback2",
                        "type": 1,
                        "value": "$flow.iban"
                      }
                    ],
                    "required": false,
                    "type": "array"
                  }
                ]

Workaround using WebUI for Info, you can fix this Issue using the WebUI by renaming the Field to the old name remove the mapping in the Simple Return Activity and rename the Field again to the new name.

Resolved in 0.5.1.. Latest on Docker Hub


Using variable declared at a broader scope in a function is bad form

In person I would argue vociferously that this is kind of a major sin requiring corporal punishment of some sort to expiate.  tx should either be passed in as an argument or both tx and update_step should live on some object of which tx should be a variable. Maybe the neural network, that way all of the code in this tutorial can be typed into a single notebook without the later declaration of update_step shadowing the first one.
https://github.com/google/flax/blob/514c11199152fab44de6002983f44e6b49aa0622/docs/guides/flax_fundamentals/state_params.rst?plain=1#L59

Looking at https://github.com/google/flax/blob/main/docs/guides/flax_fundamentals/flax_basics.md way down the bottom, it looks like tx is usually(occasionally?) a parameter for update_step declarations.  Anyways this is a bit of a nitpick, but I'm definitely not the only person strongly sensitized to this nit.


UI issue on iPhone 12

"Add new accounts" screen does not suit to  iPhone 12 design; Screen name look hidden

-Verified this issue on Dev app v1.7.0 (288)


what are xhr options in WaveSurfer.create()?

Example:
xhr: {
    requestHeaders: [{key: '', value: ''}],
    withCredentials: true
}

Thanks!

Re-opening so this can be documented.


Support fee

The log --openssl-legacy-provider is not allowed in NODE_OPTIONS is on netlify. So I set node.js version to 16 with NODE_VERSION. I would have to do many package upgrades. ;(


Cannot Debug @dart-atom0.4.17 @atom1.3.1

/home/paul/.atom/packages/dartlang/web/entry.dart.js:29625
Hide Stack Trace
TypeError: Cannot read property 'catchError$1' of null
    at DebugManager.dart.DebugManager._handleDebugRun$0 (/home/paul/.atom/packages/dartlang/web/entry.dart.js:29625:13)
    at [object Object].<anonymous> (/home/paul/.atom/packages/dartlang/web/entry.dart.js:23298:32)
    at DebugManager__closure.dart.DebugManager__closure.call$1 (/home/paul/.atom/packages/dartlang/web/entry.dart.js:29672:22)
    at CommandRegistry_add_closure.dart.CommandRegistry_add_closure.call$1 (/home/paul/.atom/packages/dartlang/web/entry.dart.js:25256:23)
    at [object Object].dart.Primitives_applyFunctionWithPositionalArguments (/home/paul/.atom/packages/dartlang/web/entry.dart.js:22975:28)
    at dart._callDartFunction (/home/paul/.atom/packages/dartlang/web/entry.dart.js:51504:31)
    at atom-workspace.<anonymous> (/home/paul/.atom/packages/dartlang/web/entry.dart.js:51775:20)
    at CommandRegistry.module.exports.CommandRegistry.handleCommandEvent (/usr/share/atom/resources/app.asar/src/command-registry.js:260:29)
    at /usr/share/atom/resources/app.asar/src/command-registry.js:3:61
    at KeymapManager.module.exports.KeymapManager.dispatchCommandEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:536:16)
    at KeymapManager.module.exports.KeymapManager.handleKeyboardEvent (/usr/share/atom/resources/app.asar/node_modules/atom-keymap/lib/keymap-manager.js:359:22)
    at WindowEventHandler.module.exports.WindowEventHandler.handleDocumentKeydown (/usr/share/atom/resources/app.asar/src/window-event-handler.js:97:36)
    at HTMLDocument.<anonymous> (/usr/share/atom/resources/app.asar/src/window-event-handler.js:3:61)

Thanks for the report!

Fixed by https://github.com/dart-atom/dartlang/pull/640.


bf: ZENKO-275 CRR to GCP MPU properties

Properties (e.g. ContentType) on the source MPU do not end up as values of the final object when doing CRR to GCP.

@ironman-machine
RUN_BACKBEAT_CRR_TESTS=true
try

Hello @bennettbuchanan
"RUN_BACKBEAT_CRR_TESTS=true": Success
"try": Failure: trigger_build error: 400 Client Error: Bad Request for url: http://ci.ironmann.io/api/v1/project/scality/Integration/tree/bf/ZENKO-275/mpuPropertiesGCP?circle-token=dfc24312a66b624ec3816b5e1bf0ce324b96cc3a

PR has been updated. Reviewers, please be cautious.

E2E test passed, validating this change http://ci.ironmann.io/gh/scality/Integration/21638.

PR has been updated. Reviewers, please be cautious.


HTML-ENTITIES encoding replace UTF-8 in meta tags

After updating zendframework/zend-view (2.10.0 => 2.11.1) meta tags have HTML-ENTITIES encoding instead of UTF-8
e.g.

after downgrade to 2.10.0 is back normal, UTF-8 encodings

@petranek80 can you write a test case that demonstrates the regression, please?

e.g.
<link href="/img/favicon/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">
after downgrade to 2.10.0 is back normal, UTF-8 encodings
<link href="/img/favicon/favicon.ico" rel="shortcut icon" type="image/vnd.microsoft.icon">

@petranek80 that's not a problem, since the HTML parser will pick up those characters anyway?

I saw the same as I wanted to check my meta description and OpenGraph information. It's not very easy to read when looking at the source code in the browser. The reason for that behavior is https://github.com/zendframework/zend-view/pull/164/files.
But as you can see there is an option for auto escpaping. I'm now using the following for the output (in my phtml file for the layout:
<?= $this->headLink()->setAutoEscape(false); ?>
But you can also use the setAutoEscape method earlier. Unfortunately you can use setAutoEscape() for headMeta(), but it has no effect, because $this->autoEscape isn't checked in the HeadMeta.php

same here! Not sure it is a problem for search engine crawlers to detect the content properly

@av3

It's not very easy to read when looking at the source code in the browser.

Please check the HTML code in the developer tools of your browser.

@av3

Unfortunately you can use setAutoEscape() for headMeta(), but it has no effect, because $this->autoEscape isn't checked in the HeadMeta.php

Can you create a new issue report for this problem? Thanks!

<?= $this->headLink()->setAutoEscape(false); ?>

Please don't do that, unless you are 100% sure that none of the headLink() parameters are information coming from outside your organisation (databases with stored information count as external data).

Not sure it is a problem for search engine crawlers to detect the content properly

Crawlers are based on the parsed HTML structure, not on the raw strings: not affected.

OK we should downgrade zend-view now.
Thanx

@DennisDobslaf  I can confirm the bad behaviour or X-UA-Compatible.
Our code:
echo $this->headMeta()->appendHttpEquiv('X-UA-Compatible', 'IE=edge,chrome=1');

Before the update the output was:
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

After the update the output is:
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">

Althought the latter may be the correct form of representing this tag (with https://github.com/zendframework/zend-escaper/blob/master/src/Escaper.php#L231 according to https://www.owasp.org/index.php/XSS_(Cross_Site_Scripting)_Prevention_Cheat_Sheet ) it simply doesn't work :disappointed:
Source: a thousand bank users our app is serving every day that called us mad about our broken app :smiley: (issue reproduced and verified)

Fixed with #182, and version 2.11.2.


ReScript 11 scaffolding

Supesedes #722 which used the wrong base repository.
PRs for rescript-11 docs can now go into the rescript-11 branch which is tracked by this PR.

@fhammerschmidt I rebased on master because of the last rather large PR that was merged.

Just added this banner to the latest docs layouts:


Use startWiFi SSID and PW arguments

Fixes #16. C++ is not a fluent language for me, so be sure to check pointer syntax, etc.

You're right, I missed this mistake,
Thanks!


workflows: revert v2 pinning for scorecard-action

Looks like my attempt at lowering amount of dependabot spam is not going to work 100%:

Error: Unable to resolve action ossf/scorecard-action@v2, unable to find version v2

So the one action that would be useful to pin at "v2" doesn't actually use those tags

Closed by #2488


Disable OS keyboard

Since I use a scanner to fill input-fields, I would like to prevent the keyboard on mobile-devices to pop up.
Maybe anyone has an idea how.
OS: Android

Do they target the input field to launch the scanner?  If not, you can set it to disabled, then they cannot activate it.


Optimizer: fix simplification of unchecked_enum_data

When replacing an enum - unchecked_enum_data pair and the enum's operand is another non-trivial enum which is constructed with a trivial payload, and this happens in different basic blocks, we need to insert a compensating destroy_value.
This peephole optimization was implemented both in SILCombine and as instruction simplification in the SwiftCompilerSources. Both implementations had the same problem. I fixed it in the instruction simplification and made the instruction simplification available in SILCombine. The old SILCombine implementation is not needed anymore.
Fixes a verifier crash
rdar://139787167

@swift-ci test

@swift-ci benchmark

@swift-ci test


Entity boot and addGlobalScope

Q
A

Bug report?
no

Feature request?
yes

Swoft version
2.0.4-beta

Swoole version
4.4.2-alpha

PHP version
7.2.9

Runtime environment
Docker

Details
In a Laravel Eloquent App i have a $view attribute in each Model (and a corrisponding view in a mariadb database) that will be used instead of $table attribute in queries. I got it working with:
public static function boot()
    {
        parent::boot();

        static::addGlobalScope('from', function (\$builder) {
            \$builder->from('{$model['view']} as {$table}');
        });
    }

I'd like to do the same with swoft, or find an alternative way (some sort or overriding for MySQLGrammar ?).

Can be implemented using model events

Rewrite MySQLGrammar   table method

i'm investigating and found a potential solution, that suits better for my needs. Since i'd like to use the $view only in read queries and $table for create/read/update, i need to override only the 'compileFrom' method of the Query/MySqlGrammar.
Something like this (not tested), may work?
/**
 *
 * Class Allegato
 *
 * @since 2.0
 *
 * @Entity(table="allegati")
 */
class Allegato extends Model
{

    ...

    protected $table = 'allegati';
    protected $view  = 'allegati_view';

// override Model->newEloquentBuilder

    public function newEloquentBuilder($query)
    {
        return new Builder($this->applyCustomGrammar($query));
    }

// override Model->newBaseQueryBuilder

    protected function newBaseQueryBuilder()
    {
        $poolName = EntityRegister::getPool($this->getClassName());
        $query = Builder::new($poolName, null, null);

        return $this->applyCustomGrammar($query);
    }

// apply custom grammar to query

    private function applyCustomGrammar($query) {

	    // assign query grammar via public property
        $query->grammar = new class extends MySqlGrammar {

            // override compileFrom
            protected function compileFrom(Builder $query, $table)
            {
                return 'from ' . $this->wrapTable($this->view ?? $table);
            }
        };

        return $query;
	}

It looks OK.

... Then i need to manage extra (unsafe) fields coming from the view, adding this to my BaseModel solves.

    private $model_unsafe_attributes = [];

    // override Model->setRawAttributes to keep unsafe attributes coming from the view
    public function setRawAttributes(array $attributes, $sync = false)
    {
        parent::setRawAttributes($attributes, $sync);
        $safe_attributes = $this->getSafeAttributes($attributes);

        $this->model_unsafe_attributes = [];
        foreach ($attributes as $key => $value)
            if(!isset($safe_attributes[$key]))
                $this->model_unsafe_attributes[$key] = $value;

        return $this;
    }

    // override Model->attributesToArray
    public function attributesToArray()
    {
        return parent::attributesToArray() + $this->model_unsafe_attributes;
    }


Shade libraries that conflict with Databricks runtime 11.0

This pr makes https://github.com/treeverse/lakeFS/issues/3546 complete on Databricks runtime 11.0.
Before this pr, running GC on Azure in DBR 11.0 we encountered dependency conflicts such as:
java.lang.NoSuchMethodError: reactor.netty.http.client.HttpClient.request(Lio/netty/handler/codec/http/HttpMethod;)Lreactor/netty/http/client/HttpClient$RequestSender;
	at com.azure.core.http.netty.NettyAsyncHttpClient.send(NettyAsyncHttpClient.java:73)
	at com.azure.core.http.HttpPipelineNextPolicy.process(HttpPipelineNextPolicy.java:44)
	at com.azure.storage.common.policy.ScrubEtagPolicy.process(ScrubEtagPolicy.java:35)
	at com.azure.core.http.HttpPipelineNextPolicy.process(HttpPipelineNextPolicy.java:46)
	at com.azure.core.http.policy.HttpLoggingPolicy.process(HttpLoggingPolicy.java:83)
	at com.azure.core.http.HttpPipelineNextPolicy.process(HttpPipelineNextPolicy.java:46)
	at com.azure.storage.common.policy.ResponseValidationPolicyBuilder$ResponseValidationPolicy.process(ResponseValidationPolicyBuilder.java:77)

22/07/26 19:01:15 ERROR Schedulers: Scheduler worker in group main failed with an uncaught exception
java.lang.AbstractMethodError
	at reactor.netty.transport.ClientTransport.remoteAddress(ClientTransport.java:302)
	at reactor.netty.tcp.TcpClient.remoteAddress(TcpClient.java:289)
	at reactor.netty.tcp.TcpClient.remoteAddress(TcpClient.java:74)
	at reactor.netty.transport.ClientTransport.port(ClientTransport.java:232)
	at reactor.netty.tcp.TcpClient.port(TcpClient.java:279)
	at shaderea

This is fixed by shading those packages.

Also great job removing this into a separate PR; it really makes it easier for me to review before we pull it, and the history will be so much more informative after we pull it!

Neat to have such a small fix!
Please add how this was tested (I assume "on Databricks"), and if possible please verify that it does not impact the size of the assembly (I assume not, because it ends up not adding anything... but assembly is confusing, so I guess I'd rather we measured?)

@arielshaqed done. thanks


HTML Comment Unintentionally Showing in Coin Flipping Tutorial

Issue Description
In the Analysis section of the Coin flipping tutorial, there's a code snippet showing what looks like an HTML comment:

Steps to Reproduce
Go to the page, scroll down.

Thanks for the bug report. Looks like this is a bug in our ipynb to mdx conversion script. @ndmlny-qs, do you mind taking a look?

Sure, I know what the problem is and will fix. Having comments in MD is useful and I recall there is a way to preserve them when converting from a notebook to mdx, so I'll make sure it's documented on how to do it.


Playlist

I have multiple youtube videoID's how can i set it to automatic go to the next videoID? Is there a way where you don't need to dismiss the movieplayer and present a new movieplayer?

I have the same problem of Fredehagelund92. What I need to do to rewind button play the previous video?

@0xced  perfect example for playlist


Make Paclet

Write Mathematica documentation and pack them all up as a paclet.

Paclet and documentation links are fully operational! Still working on documentation...

Finally, an almost complete and working documentation!
Only a tutorial left (which is not exactly necessary).


smallness thing

Are there any naming conflicts that induces the need for this to be used?

Nono, I thought it was only a best practise
On Thu, Nov 19, 2020 at 12:40 PM Henrik Larsson<EMAIL_ADDRESS>wrote:

Are there any naming conflicts that induces the need for this to be used?
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
https://github.com/microsoft/XmlNotepad/pull/58#issuecomment-730317187,
or unsubscribe
https://github.com/notifications/unsubscribe-auth/APGKFZGMNENLZEDFQ5TFEC3SQT72JANCNFSM4PL7LQHQ
.

I'll skip this one for now, thanks.

this is implied from the context.


Remove libxmljs from xml xsd validator factory

Remove libxmljs from xml xsd validator factory. As libxmljs is causing issues while installation.

@umeshp7 Looks good. There's one lint test failing ATM.


Tweet.Length working in UTF-16, Twitter works in UTF-32

If you call Tweet.Length(), the resulting length is given for the UTF-16 representation of the string (as is used in C#), but the character count for a Tweet gets enforced by Twitter as 140 actual characters (i.e. in UTF-32). So any characters that take more than 2 bytes to represent get counted as 2 characters, even though Twitter will only count them as 1.
So, if you put the following text in Tweet.Length(), you will get 141 characters, but if you post it to Twitter it will see it as 140 and allow for it to be posted:
Test full length status with a unicode char 🚒 that takes up 4 bytes (2 units in UTF-16) jhasdbcjkasdhfkjasdhfkjahjkfjasdhjfkjashfkjasdh end1

This is because of the 🚒 character in the text.
Whether or not you change the behaviour of Tweet.Length() I think this probably needs documenting carefully, as if undocumented it could be quite confusing as to why c# string.Length returns something different to Tweetinvi Tweet.Length() without any media or URLs.
This isn't something I use, so isn't particularly important to me, but I'm currently going through my own code fixing the same problem and noticed it was in Tweetinvi too :)

Thanks again Josh for reporting all these issues :)

Hi, have you find a good solution to detect UTF-32 characters? Currently I have find a solution that rely on error handling. Which I would really like to avoid.

Hi Linvi,
You can iterate over each character in the string looking for surrogate pairs (two UTF-16 chars being used to represent a single actual character). When you find a surrogate pair, don't count the second character towards the length.
You can identify a surrogate pair because the chars will lie within reserved ranges.
Have a look at https://github.com/JoshKeegan/HtmlEncoder/blob/master/HtmlEncoder/StringIndicesConverter.cs which converts indices for the UTF-32 representation of a string to what they will be in the UTF-16 representation. Whilst this isn't exactly what you want, the detection of a surrogate pair is, and correcting the length is trivial if you can find surrogate pairs.
Cheers,
Josh

Thanks for your help. This will be available in version <IP_ADDRESS>.


package.json version Information change is required.

The package.json version information is still 0.0.7. Need to edit

Thanks for the reminder, been meaning to do that for ages

Has been fixed in latest release -> Version bumped to 0.1.0


Not sure how to contact about sponsorship

Hi Aure,
Apologies for putting this in the github issues, but this is the only way I have to contact you.
I've signed up as an enthusiast sponsor with hopes of doing a team or enterprise sponsorship soon so we could work together a few hours.
I'm not sure how these sponsorships usually go, but I was hoping to get access to slack as well (That's listed on the sponsorship tier). I have a lot of nuanced questions about AudioKit and think most people won't be able to answer them on StackOverflow.
For instance, I'd like to override the device selection logic so it persists a choice. I'd like to understand why using a BoosterNode results in crashes when I use it with Speech Recognition when changing a device. I'll post a github issue for the second one.
Hope this makes sense and happy to take this down once we're in contact.
Cheers,
Rob

HI there, yes, as a sponsor, you get special access to me and Github doesn't make it clear. Can you email me at aure. at AudioKit dot io. With your full name and email address and I'll invite you to AudioKit Slack where we can talk in real time as well as exchange files and messages?

Thanks for the quick reply! I just sent you a message over email.


TPR "IstioConfig" is not ready in Tectonic install

This issue is exactly like #355, but I opted to create a new issue because I am using Tectonic and have different output from the commands that were needed to debug. I also didn't fully understand what was done to fix the issue.
I've installed a fresh k8s cluster with Tectonic on AWS.
Kubernetes: v1.6
Istio: v0.1.6
I installed istio and addons via the following commands:
kubectl apply -f install/kubernetes/istio-rbac-beta.yaml
kubectl apply -f install/kubernetes/addons/prometheus.yaml
kubectl apply -f install/kubernetes/addons/grafana.yaml
kubectl apply -f install/kubernetes/addons/servicegraph.yaml
kubectl apply -f install/kubernetes/addons/zipkin.yaml

# I also installed the bookinfo sample
kubectl apply -f <(istioctl kube-inject -f samples/apps/bookinfo/bookinfo.yaml)

Here are my api-versions:

Can you please check if the rbac file you applied contains "istioconfigs.istio.io"?

I applied the beta file, and yes it has this string in it for the resources.
Output of commands requested in #355
kubectl get clusterrole istio-manager -oyaml
Error from server (NotFound): clusterroles.rbac.authorization.k8s.io "istio-manager" not found

kubectl get rolebinding istio-ingress-admin-role-binding -oyaml
apiVersion: rbac.authorization.k8s.io/v1beta1
kind: RoleBinding
metadata:
  annotations:
    kubectl.kubernetes.io/last-applied-configuration: |
      {"apiVersion":"rbac.authorization.k8s.io/v1beta1","kind":"RoleBinding","metadata":{"annotations":{},"name":"istio-ingress-admin-role-binding","namespace":"default"},"roleRef":{"apiGroup":"rbac.authorization.k8s.io","kind":"ClusterRole","name":"istio-pilot"},"subjects":[{"kind":"ServiceAccount","name":"istio-ingress-service-account"}]}
  creationTimestamp: 2017-06-27T12:26:53Z
  name: istio-ingress-admin-role-binding
  namespace: default
  resourceVersion: "205922"
  selfLink: /apis/rbac.authorization.k8s.io/v1beta1/namespaces/default/rolebindings/istio-ingress-admin-role-binding
  uid: e71b3545-5b33-11e7-9aa3-02158d3208e5
roleRef:
  apiGroup: rbac.authorization.k8s.io
  kind: ClusterRole
  name: istio-pilot
subjects:
- kind: ServiceAccount
  name: istio-ingress-service-account

kubectl get clusterrolebinding istio-ingress-admin-role-binding -oyaml
Error from server (NotFound): clusterrolebindings.rbac.authorization.k8s.io "istio-ingress-admin-role-binding" not found

Thank you for all of your work!

Looks like my problem was actually that it was a namespace role binding, not a cluster role binding. After replicating the namespace role binding as a cluster role binding, I got errors that the resources didn't exist. I then restarted all istio-ingress pods so that they created the TPCs as expected.
I am having these same problems with the istio-egress, so I will need to do the same thing for that.

I found that I had to modify install/kubernetes/istio-rbac-beta.yaml in order to get istio-pilot, istio-ingress, and istio-egress working properly. Here is the full file after modifications.
# Permissions and roles for istio
# To debug: start the cluster with -vmodule=rbac,3 to enable verbose logging on RBAC DENY
# Also helps to enable logging on apiserver 'wrap' to see the URLs.
# Each RBAC deny needs to be mapped into a rule for the role.
# If using minikube, start with '--extra-config=apiserver.Authorization.Mode=RBAC'
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-pilot
rules:
- apiGroups: ["istio.io"]
  resources: ["istioconfigs", "istioconfigs.istio.io"]
  verbs: ["*"]
- apiGroups: ["extensions"]
  resources: ["thirdpartyresources", "thirdpartyresources.extensions", "ingresses", "ingresses/status"]
  verbs: ["*"]
- apiGroups: [""]
  resources: ["configmaps", "endpoints", "pods", "services"]
  verbs: ["*"]
---
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-ca
rules:
- apiGroups: [""]
  resources: ["secrets"]
  verbs: ["create", "get", "watch", "list"]
- apiGroups: [""]
  resources: ["serviceaccounts"]
  verbs: ["watch", "list"]
---
# Permissions for the sidecar proxy.
kind: ClusterRole
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-sidecar
rules:
- apiGroups: ["istio.io"]
  resources: ["istioconfigs"]
  verbs: ["get", "watch", "list"]
- apiGroups: ["extensions"]
  resources: ["thirdpartyresources", "ingresses"]
  verbs: ["get", "watch", "list", "update"]
- apiGroups: [""]
  resources: ["configmaps", "pods", "endpoints", "services"]
  verbs: ["get", "watch", "list"]
---
# Grant permissions to the Pilot/discovery.
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-pilot-admin-role-binding
subjects:
- kind: ServiceAccount
  name: istio-pilot-service-account
roleRef:
  kind: ClusterRole
  name: istio-pilot
  apiGroup: rbac.authorization.k8s.io
---
# Grant permissions to the Pilot/discovery.
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-ca-role-binding
subjects:
- kind: ServiceAccount
  name: istio-ca-service-account
roleRef:
  kind: ClusterRole
  name: istio-ca
  apiGroup: rbac.authorization.k8s.io
---
# Grant permissions to the Ingress controller.
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-ingress-admin-role-binding
subjects:
- kind: ServiceAccount
  name: istio-ingress-service-account
roleRef:
  kind: ClusterRole
  name: istio-pilot
  apiGroup: rbac.authorization.k8s.io
---
# Grant permissions to the sidecar.
# TEMPORARY: the istioctl should generate a separate service account for the proxy, and permission
# granted only to that account !
kind: RoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-sidecar-role-binding
subjects:
- kind: ServiceAccount
  name: default
roleRef:
  kind: ClusterRole
  name: istio-sidecar
  apiGroup: rbac.authorization.k8s.io
---
# CUSTOM START
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-egress-admin-role-binding
subjects:
- kind: ServiceAccount
  name: default
  namespace: default
roleRef:
  kind: ClusterRole
  name: istio-pilot
  apiGroup: rbac.authorization.k8s.io
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-ingress-admin-role-binding
subjects:
- kind: ServiceAccount
  name: istio-ingress-service-account
  namespace: default
roleRef:
  kind: ClusterRole
  name: istio-pilot
  apiGroup: rbac.authorization.k8s.io
---
kind: ClusterRoleBinding
apiVersion: rbac.authorization.k8s.io/v1beta1
metadata:
  name: istio-pilot-admin-role-binding
subjects:
- kind: ServiceAccount
  name: istio-pilot-service-account
  namespace: default
roleRef:
  kind: ClusterRole
  name: istio-pilot
  apiGroup: rbac.authorization.k8s.io

Notice that I added everything after # STARTING CUSTOM and I also changed the istio-pilot ClusterRole to include ingresses/status for extensions api types.


Certain numpy version constraints leads to crash with cryptic error

Issue description
When constraining numpy to the following and running pipenv install the locking fails with a cryptic error
Pipfile:
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
numpy= ">=1.18.2,<1.20.1"

[requires]
python_version = "3.8"

the following pipfile works (but is located in a subdependency for me):
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
numpy= ">=1.18.2,<1.20"

[requires]
python_version = "3.8"

Expected result
pipenv install completes succesfully
Actual result
actual error output (username redacted)
ERROR:pip.subprocessor:Command errored out with exit status 1:
 command: [...].local/share/virtualenvs/reproduce_pipenv-41i3Pkp5/bin/python /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip install --ignore-installed --no-user --prefix /private/var/folders/kx/sv3rr52s1lz56tw13ht8961m0000gn/T/pip-build-env-qowi68e0/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.python.org/simple --trusted-host gitlab.understand.ai -- 'setuptools<49.2.0' 'wheel<=0.35.1' 'Cython>=0.29.21,<3.0'
     cwd: None
Complete output (20 lines):
Traceback (most recent call last):
  File<EMAIL_ADDRESS>line 194, in _run_module_as_main
    return _run_code(code, main_globals, None,
  File<EMAIL_ADDRESS>line 87, in _run_code
    exec(code, run_globals)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/__main__.py", line 18, in <module>
    from pipenv.patched.notpip._internal.cli.main import main as _main  # isort:skip # noqa
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/__init__.py", line 23, in <module>
    from pipenv.vendor.vistir.compat import ResourceWarning, fs_str
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/vendor/vistir/__init__.py", line 4, in <module>
    from .compat import (
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/vendor/vistir/compat.py", line 202, in <module>
    IS_TYPE_CHECKING = os.environ.get("MYPY_RUNNING", is_type_checking())
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/vendor/vistir/compat.py", line 196, in is_type_checking
    from typing import TYPE_CHECKING
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/typing.py", line 1357, in <module>
    class Callable(extra=collections_abc.Callable, metaclass=CallableMeta):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/typing.py", line 1005, in __new__
    self._abc_registry = extra._abc_registry
AttributeError: type object 'Callable' has no attribute '_abc_registry'
----------------------------------------
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/resolver.py", line 764, in <module>
    main()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/resolver.py", line 758, in main
    _main(parsed.pre, parsed.clear, parsed.verbose, parsed.system, parsed.write,
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/resolver.py", line 741, in _main
    resolve_packages(pre, clear, verbose, system, write, requirements_dir, packages, dev)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/resolver.py", line 702, in resolve_packages
    results, resolver = resolve(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/resolver.py", line 684, in resolve
    return resolve_deps(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/utils.py", line 1397, in resolve_deps
    results, hashes, markers_lookup, resolver, skipped = actually_resolve_deps(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/utils.py", line 1110, in actually_resolve_deps
    resolver.resolve()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/utils.py", line 825, in resolve
    results = self.resolver.resolve(max_rounds=environments.PIPENV_MAX_ROUNDS)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 180, in resolve
    has_changed, best_matches = self._resolve_one_round()
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 268, in _resolve_one_round
    their_constraints.extend(self._iter_dependencies(best_match))
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/piptools/resolver.py", line 383, in _iter_dependencies
    dependencies = self.repository.get_dependencies(ireq)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 229, in get_dependencies
    legacy_results = self.get_legacy_dependencies(ireq)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 350, in get_legacy_dependencies
    results, ireq = self.resolve_reqs(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/piptools/repositories/pypi.py", line 306, in resolve_reqs
    results = resolver._resolve_one(reqset, ireq)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/legacy_resolve.py", line 339, in _resolve_one
    abstract_dist = self._get_abstract_dist_for(req_to_install)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/legacy_resolve.py", line 287, in _get_abstract_dist_for
    abstract_dist = self.preparer.prepare_linked_requirement(req)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/operations/prepare.py", line 508, in prepare_linked_requirement
    abstract_dist = _get_prepared_distribution(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/operations/prepare.py", line 95, in _get_prepared_distribution
    abstract_dist.prepare_distribution_metadata(finder, build_isolation)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/distributions/sdist.py", line 38, in prepare_distribution_metadata
    self._setup_isolation(finder)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/distributions/sdist.py", line 66, in _setup_isolation
    self.req.build_env.install_requirements(
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/build_env.py", line 202, in install_requirements
    call_subprocess(args, spinner=spinner)
  File "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip/_internal/utils/subprocess.py", line 242, in call_subprocess
    raise InstallationError(exc_msg)
pipenv.patched.notpip._internal.exceptions.InstallationError: Command errored out with exit status 1: [...]/virtualenvs/reproduce_pipenv-41i3Pkp5/bin/python /Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv/patched/notpip install --ignore-installed --no-user --prefix /private/var/folders/kx/sv3rr52s1lz56tw13ht8961m0000gn/T/pip-build-env-qowi68e0/overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.python.org/simple --- 'setuptools<49.2.0' 'wheel<=0.35.1' 'Cython>=0.29.21,<3.0' Check the logs for full command output.

Steps to replicate
See also my repo to reproduce:
https://github.com/Germandrummer92/reproduce_pipenv
$ pipenv --support
Pipenv version: '2021.5.29'
Pipenv location: '/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/site-packages/pipenv'
Python location: '/Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8'
Python installations found:

3.9.7: /usr/local/bin/python3
3.9.7: /usr/local/bin/python3.9
3.8.12<EMAIL_ADDRESS>3.8.12<EMAIL_ADDRESS>3.8.11: /Applications/miniconda3/envs/reproduce_pipenv/bin/python3
3.8.11: /Applications/miniconda3/envs/reproduce_pipenv/bin/python3.8
3.8.9: /usr/bin/python3
3.8.0: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3
3.8.0: /Library/Frameworks/Python.framework/Versions/3.8/bin/python3.8
2.7.16: /usr/bin/python2
2.7.16: /usr/bin/python2.7

PEP 508 Information:
{'implementation_name': 'cpython',
 'implementation_version': '3.8.0',
 'os_name': 'posix',
 'platform_machine': 'x86_64',
 'platform_python_implementation': 'CPython',
 'platform_release': '20.6.0',
 'platform_system': 'Darwin',
 'platform_version': 'Darwin Kernel Version 20.6.0: Mon Aug 30 06:12:21 PDT '
                     '2021; root:xnu-7195.141.6~3/RELEASE_X86_64',
 'python_full_version': '3.8.0',
 'python_version': '3.8',
 'sys_platform': 'darwin'}

System environment variables:

PATH
__CFBundleIdentifier
SHELL
TERM
USER
TMPDIR
COMMAND_MODE
TERMINAL_EMULATOR
LOGIN_SHELL
__INTELLIJ_COMMAND_HISTFILE__
SSH_AUTH_SOCK
XPC_FLAGS
TERM_SESSION_ID
__CF_USER_TEXT_ENCODING
LOGNAME
XPC_SERVICE_NAME
HOME
SHLVL
PWD
OLDPWD
P9K_TTY
_P9K_TTY
LC_CTYPE
ZSH
LDFLAGS
PKG_CONFIG_PATH
PAGER
LESS
LSCOLORS
P9K_SSH
CLOUDSDK_PYTHON
INTERNAL_PYPI_TOKEN
PYPI_TOKEN_OLD
GITLAB_TOKEN
GITLAB_TOKEN_2
KEYCLOAK_USERNAME
KEYCLOAK_PASSWORD
WANDB_API_KEY
PYTHONIOENCODING
CONDA_EXE
_CE_M
_CE_CONDA
CONDA_PYTHON_EXE
CONDA_SHLVL
CONDA_PREFIX
CONDA_DEFAULT_ENV
CONDA_PROMPT_MODIFIER
CONDA_PREFIX_1
_
PIP_DISABLE_PIP_VERSION_CHECK
PYTHONDONTWRITEBYTECODE
PIP_SHIMS_BASE_MODULE
PIP_PYTHON_PATH
PYTHONFINDER_IGNORE_UNSUPPORTED

Pipenv‚Äìspecific environment variables:
Debug‚Äìspecific environment variables:

PATH: /usr/local/sbin:/Applications/miniconda3/envs/reproduce_pipenv/bin:/Applications/miniconda3/condabin:/Users/ddraper/google-cloud-sdk/bin:/Users/ddraper/bin:/usr/local/opt/python@3.8/bin:/Users/ddraper/.cargo/bin:/Library/Frameworks/Python.framework/Versions/3.8/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Library/Apple/usr/bin
SHELL: /bin/zsh
PWD: /Users/ddraper/dev/reproduce_pipenv

Contents of Pipfile ('/Users/ddraper/dev/reproduce_pipenv/Pipfile'):
[[source]]
url = "https://pypi.python.org/simple"
verify_ssl = true
name = "pypi"

[packages]
numpy= ">=1.18.2,<1.20.1"

[requires]
python_version = "3.8"

Contents of Pipfile.lock ('/Users/ddraper/dev/reproduce_pipenv/Pipfile.lock'):
{
    "_meta": {
        "hash": {
            "sha256": "82c09f90b1dfff00c721e75a631fba3e4c57566549408f7c6845a11f94954d8f"
        },
        "pipfile-spec": 6,
        "requires": {
            "python_version": "3.8"
        },
        "sources": [
            {
                "name": "pypi",
                "url": "https://pypi.python.org/simple",
                "verify_ssl": true
            }
        ]
    },
    "default": {
        "numpy": {
            "hashes": [
                "sha256:012426a41bc9ab63bb158635aecccc7610e3eff5d31d1eb43bc099debc979d94",
                "sha256:06fab248a088e439402141ea04f0fffb203723148f6ee791e9c75b3e9e82f080",
                "sha256:0eef32ca3132a48e43f6a0f5a82cb508f22ce5a3d6f67a8329c81c8e226d3f6e",
                "sha256:1ded4fce9cfaaf24e7a0ab51b7a87be9038ea1ace7f34b841fe3b6894c721d1c",
                "sha256:2e55195bc1c6b705bfd8ad6f288b38b11b1af32f3c8289d6c50d47f950c12e76",
                "sha256:2ea52bd92ab9f768cc64a4c3ef8f4b2580a17af0a5436f6126b08efbd1838371",
                "sha256:36674959eed6957e61f11c912f71e78857a8d0604171dfd9ce9ad5cbf41c511c",
                "sha256:384ec0463d1c2671170901994aeb6dce126de0a95ccc3976c43b0038a37329c2",
                "sha256:39b70c19ec771805081578cc936bbe95336798b7edf4732ed102e7a43ec5c07a",
                "sha256:400580cbd3cff6ffa6293df2278c75aef2d58d8d93d3c5614cd67981dae68ceb",
                "sha256:43d4c81d5ffdff6bae58d66a3cd7f54a7acd9a0e7b18d97abb255defc09e3140",
                "sha256:50a4a0ad0111cc1b71fa32dedd05fa239f7fb5a43a40663269bb5dc7877cfd28",
                "sha256:603aa0706be710eea8884af807b1b3bc9fb2e49b9f4da439e76000f3b3c6ff0f",
                "sha256:6149a185cece5ee78d1d196938b2a8f9d09f5a5ebfbba66969302a778d5ddd1d",
                "sha256:759e4095edc3c1b3ac031f34d9459fa781777a93ccc633a472a5468587a190ff",
                "sha256:7fb43004bce0ca31d8f13a6eb5e943fa73371381e53f7074ed21a4cb786c32f8",
                "sha256:811daee36a58dc79cf3d8bdd4a490e4277d0e4b7d103a001a4e73ddb48e7e6aa",
                "sha256:8b5e972b43c8fc27d56550b4120fe6257fdc15f9301914380b27f74856299fea",
                "sha256:99abf4f353c3d1a0c7a5f27699482c987cf663b1eac20db59b8c7b061eabd7fc",
                "sha256:a0d53e51a6cb6f0d9082decb7a4cb6dfb33055308c4c44f53103c073f649af73",
                "sha256:a12ff4c8ddfee61f90a1633a4c4afd3f7bcb32b11c52026c92a12e1325922d0d",
                "sha256:a4646724fba402aa7504cd48b4b50e783296b5e10a524c7a6da62e4a8ac9698d",
                "sha256:a76f502430dd98d7546e1ea2250a7360c065a5fdea52b2dffe8ae7180909b6f4",
                "sha256:a9d17f2be3b427fbb2bce61e596cf555d6f8a56c222bd2ca148baeeb5e5c783c",
                "sha256:ab83f24d5c52d60dbc8cd0528759532736b56db58adaa7b5f1f76ad551416a1e",
                "sha256:aeb9ed923be74e659984e321f609b9ba54a48354bfd168d21a2b072ed1e833ea",
                "sha256:c843b3f50d1ab7361ca4f0b3639bf691569493a56808a0b0c54a051d260b7dbd",
                "sha256:cae865b1cae1ec2663d8ea56ef6ff185bad091a5e33ebbadd98de2cfa3fa668f",
                "sha256:cc6bd4fd593cb261332568485e20a0712883cf631f6f5e8e86a52caa8b2b50ff",
                "sha256:cf2402002d3d9f91c8b01e66fbb436a4ed01c6498fffed0e4c7566da1d40ee1e",
                "sha256:d051ec1c64b85ecc69531e1137bb9751c6830772ee5c1c426dbcfe98ef5788d7",
                "sha256:d6631f2e867676b13026e2846180e2c13c1e11289d67da08d71cacb2cd93d4aa",
                "sha256:dbd18bcf4889b720ba13a27ec2f2aac1981bd41203b3a3b27ba7a33f88ae4827",
                "sha256:df609c82f18c5b9f6cb97271f03315ff0dbe481a2a02e56aeb1b1a985ce38e60"
            ],
            "index": "pypi",
            "version": "==1.19.5"
        }
    },
    "develop": {}
}

Hey @Germandrummer92  -- I just tried to replicate your issue but was unsuccessful.  I used only your Pipfile and regenerated the lock file from that (which I think should be sufficient).
bash-3.2$ pipenv lock
Creating a virtualenv for this project...
Pipfile: /Users/mdavis/Projects/test-4888/Pipfile
Using /usr/bin/python3 (3.8.9) to create virtualenv...
⠦ Creating virtual environment...created virtual environment CPython3.8.9.final.0-64 in 487ms
  creator CPython3macOsFramework(dest=/Users/mdavis/.virtualenvs/test-4888-gznbV4-b, clear=False, no_vcs_ignore=False, global=False)
  seeder FromAppData(download=False, pip=bundle, setuptools=bundle, wheel=bundle, via=copy, app_data_dir=/Users/mdavis/Library/Application Support/virtualenv)
    added seed packages: pip==21.3.1, setuptools==58.3.0, wheel==0.37.0
  activators BashActivator,CShellActivator,FishActivator,NushellActivator,PowerShellActivator,PythonActivator

✔ Successfully created virtual environment!
Virtualenv location: /Users/mdavis/.virtualenvs/test-4888-gznbV4-b
Locking [dev-packages] dependencies...
Locking [packages] dependencies...
Building requirements...
Resolving dependencies...
✔ Success!
Updated Pipfile.lock (b0aa13)!
bash-3.2$ pipenv sync
Installing dependencies from Pipfile.lock (b0aa13)...
  🐍   ▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉▉ 1/1 — 00:01:30
All dependencies are now up-to-date!
bash-3.2$ pip freeze
numpy==1.20.0

same version as you pipenv, version 2021.5.29

Hmm, I still can produce it with the same virtualenv i was using. But I suspect this has to do with some weird dependency conflict in that specific virtualenv, since I also cannot reproduce it in a fresh venv with that specific pipenv + pip version installed.
So I will close this, thanks!


Hover

Fixes #2149
Added hover effect to social icons

Coverage remained the same at 84.711% when pulling 189f5555d6ecb4439910bd2e485ed2dbabe15248 on ashutosh264:hover into dd70f7bf32d89033ddde6d5b06a500432e1ab4e9 on CircuitVerse:master.

@ashutosh264 Please add screenshots as said by @ShreyaPrasad1209 mam. Plus choose different (background respective) colours for hovering different icons, if you can do that.

Here is the screenshot of changes that I made,

Ok I will try using original colour icons.

I think a shadow would look good as a hover effect for these social icons; let us not change colors and keep it simple.

Add a proper title.

For colored icons, only scaling up on hover looks good

@ashutosh264 Yes its a good idea. Please go ahead and commit the changes.

For colored icons, only scaling up on hover looks good

@ashutosh264 Yes its a good idea. Please go ahead and commit the changes.

I have committed changes & also updated title

Anything else expected from my side?

I don't think so


added global-prefix to usings

added global::-prefix to usings, to avoid collisions in using.
:beers:

I would also like to have this merged! Correct and useful.

Thx for PR!
Slow response due to other commitments of time, sorry.


remove ERROR lines from touchstone output

Description
Removes ERROR lines in the compare.yaml files so that csv_gen.py can parse the yaml file to create a csv

/rerun all

Results for e2e-benchmarking CI Tests

Workload
Test
Result
Runtime

router-perf-v2
ingress-performance.sh
PASS
00:04:48

etcd-perf
run_etcd_tests_fromgit.sh
PASS
00:03:05

scale-perf
run_scale_fromgit.sh
PASS
00:08:37

network-perf
smoke_test.sh
PASS
00:10:19

kube-burner
run_clusterdensity_test_fromgit.sh
PASS
00:05:04

kube-burner
run_maxnamespaces_test_fromgit.sh
PASS
00:04:06

kube-burner
run_maxservices_test_fromgit.sh
PASS
00:02:50

kube-burner
run_nodedensity_test_fromgit.sh
PASS
00:03:56

kube-burner
run_nodedensity-heavy_test_fromgit.sh
PASS
00:08:41

storage-perf
run_storage_tests_fromgit.sh
PASS
00:02:34

upgrade-perf
run_upgrade_fromgit.sh
PASS
00:00:54


Remove unnecessary firstFrame optimization.

Actually, firstFrame was never set because I forgot to remove line 197 >< I guess the optimization previously in #1167 was just from the removal of nextFrame.
I tried finishing the firstFrame optimization but there was no difference so just getting rid of it.

Thanks, @anuraaga


Solicit some dev exp feedback about config / auth

/cc @elibixby Do you have any thoughts on the dev exp of configuration / auth?

@jgeewax I'd like to propose asking @mcdonc (one of my partners at Agendaless) to do a four-hour "outside" review of the APIs, and offer a recommendation.  He made a well-liked presentation at PyCon 2013 on API design, and might provide some useful insight.

This died on the vine

You can ping me and @waprin for devrel review, as we're working on a series of tutorials for python on GCP (similar to these for node).
So far, we've only explored "implicit" configuration (app default credentials), but we can explore other methods too.

@jonparrott This was filed before we had #861 and before the clients issue was resolved.


Add checks for number of items in returned array

Pre-Submission Checklist

[x] Your pull request targets the staging branch of FreeCodeCamp.
[x] Branch starts with either fix/, feature/, or translate/ (e.g. fix/signin-issue)
[x] You have only one commit (if not, squash them into one commit).
[x] All new and existing tests pass the command npm test. Use git commit --amend to amend any fixes.

Type of Change

[x] Small bug fix (non-breaking change which fixes an issue)
[ ] New feature (non-breaking change which adds new functionality)
[ ] Breaking change (fix or feature that would change existing functionality)
[ ] Add new translation (feature adding new translations)

Checklist:

[x] Tested changes locally.
[x] Closes currently open issue (replace XXXX with an issue no): Closes #11798

Description

Added assertions using assert.lengthOf() to ensure that the returned array has the expected number of elements.
This change doesn't seem to pass the tests at my end, it might be an issue with my local environment. Submitting the PR to see if it passes here.
closes #11798

As with my local environment, the tests don't seem to pass here as well. This is the problem -
 ✖ TypeError: assert.lengthOf is not a function
If anyone has any tips on how to fix this, would be much appreciated!

Tested, but I'm not getting any output. Is that a staging issue? Also, I might recommend that you combine the .length tests into the existing tests instead of duplicating them, but maybe I don't know enough context.

@dhcodes So I just resolved the issues with mongodb in my local windows machine, and ran these changes. I'm not quite sure what you mean by "no output". When I run these changes locally, I can see all the new checks I've added, and I tried running the algo. with one of the proposed solutions from the bonfire wiki. The new tests pass. Here are the screenshots (first three are screenshots of the new tests, last one is of the challenge passing) - one,  two, three, four.
Not sure what I'm missing!

@Manish-Giri update on this. It works! I think the output issue has to do with https://github.com/FreeCodeCamp/FreeCodeCamp/issues/9363. I do, however, think you should combine your tests with the existing ones via &&. Are you good with that?

@dhcodes Of course! I'll do the changes. Thanks a bunch for looking at it again 😃

@dhcodes I tried merging the two checks for each test into a single one, but I ran into some unexpected results. It looks like if you merge the two tests into one, something like -
assert.sameMembers(x,y,'message one') && assert(x.length === 1, 'message two');
Only the message in the last test is rendered on the screen. This could mean either of two things -

The message in the first test is absorbed and only the message in the last one is considered, or
The first test is completely ignored.

For instance, for the first test, which originally was -
"assert.sameMembers(diffArray([\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"]), [\"pink wool\"], 'message: [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"] should return [\"pink wool\"].');"

if you add the check of the length of the returned array with an && to this, so that it looks like -
"assert.sameMembers(diffArray([\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"]), [\"pink wool\"], 'message: [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"] should return [\"pink wool\"].') && assert(diffArray([\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"]).length === 1, 'message: [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"] should return an array with one item.');",

the only output shown on screen is -
["diorite", "andesite", "grass", "dirt", "pink wool", "dead shrub"], ["diorite", "andesite", "grass", "dirt", "dead shrub"] should return an array with one item.
If you reverse the order of the tests such that the test for length of the returned array comes first, followed by the sameMembers test, like -
"assert(diffArray([\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"]).length === 1, 'message: [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"] should return an array with one item.') && assert.sameMembers(diffArray([\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"]), [\"pink wool\"], 'message: [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"pink wool\", \"dead shrub\"], [\"diorite\", \"andesite\", \"grass\", \"dirt\", \"dead shrub\"] should return [\"pink wool\"].');",

this is the output -
["diorite", "andesite", "grass", "dirt", "pink wool", "dead shrub"], ["diorite", "andesite", "grass", "dirt", "dead shrub"] should return ["pink wool"]
I had both these lines in my code (in this order), and this is the output when tested on my local instance -

I'm not sure if this is the expected behavior when combining multiple tests. Maybe you could run these two code snippets in your local instance and check if it produces the same results?
Thanks!

cc @FreeCodeCamp/moderators. @Manish-Giri has done an excellent job of adding working assert tests for array length to this exercise to quash the issue. Originally, I had requested that he combine the tests with the existing ones, but we can't seem to get them to work then since one is an assert test and the other is an assert.sameMembers test.
My question is: I've been reading some testing best practices that suggest only using one assert per test. So I'm tempted to retract my recommendation for him to combine the tests and merge it as-is (thereby duplicating the number of tests). Thoughts?

Tagging @Bouncey and @erictleung since you guys commented on the original issue. See above. Good to merge even though the number of tests will be doubled?

Any thoughts/decision on this, anyone?

@raisedadead can you give your expert opinion on this? It's sort of frozen at the moment and I'd like to merge it.

@Manish-Giri @dhcodes Thanks for the pull request and looking in-depth into this change.
Sorry about the delay in the QA, I have been swamped with getting my todo's cleared. This is definitely on the list as well.
I will take a look as soon as I am able. Please bear with me.

I'm going to merge this one in. I have no issues with adding to the number of tests to net the right outcomes.
Thanks @Manish-Giri 👍  :eagle: 🌮

Thanks @dhcodes @Manish-Giri for the awesome, work, sorry once again for being late to the party! Hope you will forgive..! 😓

np @raisedadead just needed a third brain. Hopefully we won't have to reopen it anytime soon...


[fix] Adapt to android's "display size"

the size of web view is different from html element's size
https://github.com/supervons/react-native-echarts-pro/issues/45
Test plan
On Android platform，go to Settings → Display → Display Scaling/Display Size, adjust the scale
without this PR, the size of html element will be different from the size of the web view, echarts will not fill up.

Thanks for your PR.
Associated problems https://github.com/supervons/react-native-echarts-pro/issues/45 ?
Please provide a test case.

Thanks for your PR.
Associated problems #45 ?
Please provide a test case.

Yes, this PR fixed https://github.com/supervons/react-native-echarts-pro/issues/45

Can you provide test plan?

Can you provide test plan?

I have added test plan.


Class 'Orchestra\Testbench\TestCase' not found

maatwebsite/excel/tests/TestCase.php depends on Orchestra\Testbench and was not added in the composer dependencies

Sorry for bumping this but I am experiencing this as well in a legacy application. I'm using the 1.3 version there. This is my phpunit.xml file and the tests are clean and from a fresh install.
<?xml version="1.0" encoding="UTF-8"?>
<phpunit backupGlobals="false"
         backupStaticAttributes="false"
         bootstrap="bootstrap/autoload.php"
         colors="true"
         convertErrorsToExceptions="true"
         convertNoticesToExceptions="true"
         convertWarningsToExceptions="true"
         processIsolation="false"
         stopOnFailure="false"
         syntaxCheck="false"
         stderr="false"
>
    <testsuites>
        <testsuite name="MyApp">
            <directory>./app/tests/</directory>
        </testsuite>
    </testsuites>
</phpunit>

Ok, found the problem. For whoever stumbles upon this, make sure the ./app/tests/TestCase.php is explicitly loaded in your composer.json autoload classmap.


[DOC]/install-and-configure/install-opensearch/rpm/#step-1-download-and-install-opensearch

What do you want to do?

[X] Request a change to existing documentation
[X] Add new documentation
[X] Report a technical problem with the documentation
[ ] Other

Tell us about your request. Provide a summary of the request and all versions that are affected.
RHEL9 users are unable to install the RPM for OpenSearch if they have downloaded it and are installing locally. The only method that works right now is installing via yum and accepting the warning that appears.
What other resources are available? Provide links to related issues, POCs, steps for testing, etc.

Thanks for reporting this, Nate. Can you provide more information or context?

We should at the least mention that RHEL9 isn't supported in the documentation so that people aren't left hanging.

I would propose to have two changes:

Adding a chart of OS compatibility so that it stands out and people know which one are we supporting. Simply listing RHEL9 is not support is not ideal imho as there are so many other Linux distros such as latest Debian/Fedora/Ubuntu/Arch that does not support like RHEL9. We do not want user to have the false impression that we officially tested all the generic linux versions.

Supported OS Chart:

OS
Version

RHEL / CentOS
7 / 8

Rockylinux / AlmaLinux
8

Ubuntu
16.04 / 18.04 / 20.04

Windows
Server 2019

Add the compatibility page (https://opensearch.org/docs/latest/opensearch/install/compatibility/) link to our download page on the right panel, so that users aware these are the only OSes we officially supported.


test: try checking for maintainer check on PR comments

Fixes #
Description
How was this change tested?

Does this change impact docs?

[ ] Yes, PR includes docs updates
[ ] Yes, issue opened: #
[x] No

Release Note

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

/karpenter snapshot


Go release missing several commits

Environment details

OS: osx
Python version: 3.6.5
releasetool version: 2<IP_ADDRESS>

Problem

releasetool start --language go

Should generate a CHANGES.md with:
$ git log v0.33.1..HEAD --format=format:%H
f5990a4292826db021c86aa413b5149cc714a78f
3b9ae547b3d80df7227c0e71bc60c86aee8c4b89
48f90e82b521609d016f2b99269f38fc9489bcc3
022eb1645b78acb655755a0c1e185c68cd5c8eb3
56d3f5bc07d0a73b6643844c715d22ff2d097797
90772c0662468af35837da2bb1759d8ec897c69c
41590e5e6d7a5a30921e686fbc57c45545d8bf29
20d48165e15edb94128d2907ed8c9c8b2ae0a360
2a912322007f3a7f0b4e7e96ba0dfd8c4f347d33
977bdf6a60d16cd466ccbfe6c20bfc20ddf923ba

However, it gets generated with:
12-04-2018 16:21 PST

- functions: don't use a wrapper and make Resource a value
- functions/metadata: use JSON and pointers
- internal: run vet

aka:
f5990a4292826db021c86aa413b5149cc714a78f
3b9ae547b3d80df7227c0e71bc60c86aee8c4b89
48f90e82b521609d016f2b99269f38fc9489bcc3

If I recall correctly, releasetool assumes any tag that starts with v is a version tag, when in fact a person might have very-bad-tag or any other tag that starts with a v. When I saw a similar problem, I deleted the tag with the v and releasetool did the right thing.
See here.
I suspect when listing tags release tool should look for v[0-9]+ as a prefix instead.


Can these images be used with the gstreamer vaapi plugin in a non-interactive shell?

Maybe I'm missing something obvious, but if I try to use this image without first initializing an interactive bash session, I cannot use the vaapi plugins. Compare the output of the following, executed on an Ubuntu 18 host:
Creating a container based on the data_dev image and directly running gst-inspect-1.0:
docker run -it --rm --device '/dev/dri:/dev/dri' \
        openvino/ubuntu20_data_dev:latest \
        gst-inspect-1.0 vaapih264enc
error: XDG_RUNTIME_DIR not set in the environment.
No such element or plugin 'vaapih264enc'

Doing the same, but running the command within the context of an "interactive" bash shell:
docker run -it --rm --device '/dev/dri:/dev/dri' \
        openvino/ubuntu20_data_dev:latest \
        /bin/bash -i -c "gst-inspect-1.0 vaapih264enc"
error: XDG_RUNTIME_DIR not set in the environment.
[setupvars.sh] OpenVINO environment initialized
Factory Details:
  Rank                     primary (256)
  Long-name                VA-API H264 encoder
  Klass                    Codec/Encoder/Video/Hardware
  Description              A VA-API based H264 video encoder
  Author                   Wind Yuan<EMAIL_ADDRESS>
# <etc...>

As I understand it, using the -i flag when starting bash has many effects, including reading startup files. I can see in the output that [setupupvars.sh] runs in the interactive session. However, there seems to be something more going on. I tried creating a new derived image with an ENTRYPOINT script that sources /opt/intel/openvino/setupvars.sh (and/or .bashrc or .profile files), then execing the original command, but that is not sufficient to make the vaapi plugin available (and this may just be my misunderstanding about how bash's environment propagates -- suggestions are welcome).
Obviously, the command above (using /bin/bash -i -c) works around this issue, but it is not ideal. Is there a way to run a gstreamer command that uses the vaapi plugin within a container based on this image without using an interactive bash session?
Thanks!

Thanks for your response, and I'm happy to hear a future image might be able to offer a more native experience.
Even so, the issue I have isn't that the setup script is required, it's that it seems to work only if the session is marked interactive. Or at least, the vaapi plugin specifically fails to load in non-interactive sessions, even if the non-interactive session directly sources any combination of the various setupvars.sh scripts and/or .bashrc/.profile files, etc. I've not found a way to get those plugins to load unless they're wrapped in bash -i -c, which means I've got to introduce a lot of ugly quoting (and it gets worse if I need to pass a quoted string as an application argument, e.g., as an element property in gstreamer pipeline syntax). In fairness, the problem might be with the vaapi plugin itself (if it's for some reason detecting whether its in an interactive session & changing its behavior as a result).
I'm OK with creating an ENTRYPOINT that sources the correct files before execing the incoming command, but that still doesn't work in all cases, and I'm hoping y'all might have some guidance on what is going on during initialization that's causing this to fail in non-interactive session.
Thank you again!


Added the documentation of maps in C++ STL

Description 📜
MAPS IN C++ STL
I have added the documentation of Maps in C++ STL.
Fixed Issue #846
Batch-7-CPP

Type of change 📝

[ ] Au#dio (Should be in mp3 format Includes speech clarity, Concise, Low distortion)
[ ] Vi#deo (Animations, screen-recordings, presentations and regular explanatory films are all possibilities etc)
[X] Documentation (Content Creation in the form of codes or tutorials)
[ ] Other (If you choose other, Please mention changes below)

Domain of Contribution 📊

[X] C/CPP

Checklist ✅

[X] I follow Contributing Guidelines & Code of conduct of this project.
[X] I have performed a self-review of my code or work.
[X] I have commented on my code, particularly in hard-to-understand areas.
[X] My changes generates no new warnings.
[X] I'm GWOC'21 contributor

Screenshots / Gif (Optional) 📸

Sir, I have added the directory folder link but now it is showing that the branch has conflicts, what to do.


pretrained models

Hello, author, do you still have the pre-trained models? If possible, could you please re-upload them? I greatly appreciate it. The provided link is no longer accessible for downloading.

Could you please give me the ore-trained models?thanks


Convert some more widget tests to NNBD

Description
Migrates some more widgets tests to NNBD.
Related Issues
https://github.com/flutter/flutter/issues/62886

Committing this even though some tests failed, because both are flakes that I've re-run and they passed, they're just not showing up in the status here.


GSE176201 - Covid19LungSequelae

Project short name:
Covid19LungSequelae
Primary Wrangler:
Ida
Secondary Wrangler:
Arsenios
Link to Ingest
https://contribute.data.humancellatlas.org/projects/detail?uuid=fae72d89-4ac4-4aab-9b93-574775e168d4&tab=project
Associated files

Google Drive: folder

Published study links

Paper: Immune signatures underlying post-acute COVID-19 lung sequelae

Accessioned data: GSE176201

Key Events

[x] Convert published metadata to HCA spreadsheet
[x] Manually curate dataset to meet HCA metadata standard
[x] Collect any matrix and cell-type annotation files
[ ] Are the analysis files suitable for CellxGene? If something is missing get in touch with the authors to request it
[x] Upload sheet to validate metadata
[x] Transfer raw files to ingest to validate data files
[x] Check linking using ingest graph validator
[ ] Ask the Secondary Wrangler for an end-to-end review of the project. Ask the Expertise Wrangler to review specific tabs if needed
[ ] Submit dataset to Production
[ ] Complete the Export SOP
[ ] Convert project data to SCEA format following the SCEA conversion SOP if appropriate

ready for secondary review!

Great submission, only two minor comments.

Could add the hca_bionetworks.name and hca_bionetworks.atlas_project fields in Project.
Could add insdc_experiment_accession in Donor organism & Cell suspension tab.

I've added the hca_bionetworks info by uploading a spreasheet to the existing submission
the incovenient thing is I did it twice so this bit of metadata is repeated twice since the hca_bionetworks is loaded as an array - I think I can fix it with the api

@idazucchi will attempt with Enrique's guide. @arschat can help if needed as he did this a short while ago

I have a feeling programmatic updates with POST requests delete the submissionDate - Please refrain from making them, use PATCH instead :)
This dataset is missing the project submissionDate as the other R28 error, so the actions are similar:

[ ] Update staging area with submission date (Take from submission entity) for both project and supplementary file metadata
[ ] Update ingest with that same information for project

missing submissionDate was add back to ingest by Amnon - this ticket can be closed!


Deleting or un-sharing a shared skill should be removed from any external project's learning path

PR #2240

deleting the shared skill resulted in the skill being from the external project's learning path, but after un-sharing a skill it was still in the external projects learning path

:+1:


Support neural-chat-7b model for chatbot

Type of Change
feature
API not changed
Description
Support Intel neural-chat-7b model
Expected Behavior & Potential Risk
The neural-chat-7b model can be run successfully.
How has this PR been tested?
Local test.
Dependency Change?
No.

how to handle Intel/neural-chat-7b-v2, it's llama instead of mpt

Fixed.


Is it possible to access the feathersClient instance used by feathers-vuex directly?

I'm sorry if I'm asking in the wrong forum, and also apologize for any misconceptions I may have about vuex or feathers; I'm new to both.
I'm trying to decide if this package is the right one for me and I have scoured the docs for an answer to the above question. I have a component which will use a handful of feathers services which maintain arrays with thousands of objects, but I don't need to listen on those services app-wide, just in that one component. Thus, I don't want to store the data in vuex, since it's available app-wide, and has the overhead of commits and such.
Can I set a listener on the feathersClient instance directly from within one of my components, so that I'm only listening to a particular feathers service when that component is mounted, and such that the data sent by that service is not stored in vuex, but while still using the same feathersClient instance that feathers-vuex uses, so I can stay auth'd and such?

Yes you can, just import feathersClient to the component of your choice.

@mtbksouth Yep!  @gustojs gave the right answer.  Use it like any module in Node.


Added swift 4.2

Coverage increased (+2.3%) to 79.365% when pulling 2f8183d62ea83a2dd4ec5739e612d39d283f9f18 on development into 4f629fa63ba51e11c33ae4195eec793859c2f0ad on master.


Exploring LLMs to enhance open source (free tier) user support

As a contributor to the Vim open source project https://www.vim.org/ I'm interested in exploring the use of LLMs to enhance support for our users. Inspired by a recent discussion https://github.com/vim/vim/discussions/14974#discussioncomment-9755521 I'm considering implementing a web form that allows users to ask Vim-related questions and receive answers from an LLM using our API key. This would show how LLMs can review our documentation and provide helpful responses, encouraging users to create their own accounts to further explore the technology.
Do you offer any existing programs or referral bonuses to incentivize open source projects to utilize LLMs for user support and potentially convert project users to LLM subscribers? For instance, a URL that directs users to a system prompt guiding responses relevant to configuring Vim based on the user's request, within the LLM chat interface.
If not, could you provide guidance on wrapping the service to achieve this effect? Additionally, what would be the most effective way to prevent potential abuse of our API key?
I believe offering users firsthand experience with LLMs could enhance their learning experience and potentially expand your subscriber base, creating a mutually beneficial relationship.
I would greatly appreciate your insights and recommendations on how to proceed with this idea. I look forward to your response!
Best regards,
(Vim Contributor)

I am not sure what aspect of this is completed? Is there any particular aspect worthy of reply here? Perhaps this is outside of the domain of cookbook recipes? Or, perhaps it was closed in error? The topic remains an issue for multiple orgs; a means to shepherd novice users to use an appropriate system prompt, with their own free tier LLM account, would be in everyone's best interest. I think?

Apologies my reply did not send when I closed the issue. We do not offer any programs of this nature at the moment. In terms of guidance on using the Anthropic API, I would refer to our docs here: docs.anthropic.com.

While this open source solution doesn't exactly solve the problem, it is the first instance I've seen where prompts are routed to the most optimal LLM for the task. Potentially, there are some mechanics involved that can be refactored to bootstrap an unidentified user query, with a project's system prompt, onto a LLM interface....
Wes Roth on RouteLLM

https://www.youtube.com/watch?v=FvLhVe9gBhI&t=620
https://lmsys.org/blog/2024-07-01-routellm/
https://arxiv.org/pdf/2406.18665
https://github.com/lm-sys/RouteLLM

Even if the LLM immediately requires the user to create a free tier account, routing the user query with a project's system prompt to the LLM would be a big win.

Seems we have a solution now... https://claude.ai/new?q=hello claude now works!
The use of quotes may help prevent your browser from sending your queries to search engines https://claude.ai/new?q="How many ways can you cook an egg?"


KEP 3178 alpha docs

Placeholder for KEP 3178 alpha docs

/milestone 1.25
/cc @kcmartin
@danwinship , this PR needs to be completed asap as the 1.25 docs complete deadline passed yesterday on Aug 16, 2022

/close


Prometheus verbosity

What this PR does / why we need it:
Reduce promethues messages, which arent' very informative unless we are troubleshooting issues,
and in that case we want more verbose log anyway.
Which issue(s) this PR fixes (optional, in fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when PR gets merged):
Fixes: https://github.com/kubevirt/kubevirt/issues/2729
Special notes for your reviewer:
N/A
Release note:

NONE

@fromanirh I guess it is not intentional that the verbosity commit is on top of the ballooning commits.

@fromanirh I guess it is not intentional that the verbosity commit is on top of the ballooning commits.

definitely :) Fixing

/lgtm
/approve

/retest

/override pull-kubevirt-e2e-os-3.11.0-crio


fromAny seems to override fromAll?

The docs state that if both are declared, a query should not match unless all components in fromAll are satisfied in addition to having one or more components from fromAny. In practice, it seems like including a fromAny will ignore the fromAll requirement, at least when checking for a tag that gets added/removed.

fromAny and fromAll add to results and don't filter. They don't interact with other results at all. only and not filter out results from the "from" declarations. Queries are declarative, and ignore order.

Hmmm, that makes sense, but I think the documentation might be misleading:
https://github.com/fritzy/ape-ecs/blob/master/docs/Query.md#fromany
//must have Character Component type or tag and must have one or more of Sprite, Image, or New.
const query = world.createQuery().fromAll('Character').fromAny('Sprite', 'Image', 'New');

From what you said, it sounds like it should be "OR must have one or more of Sprite, Image, or New", rather than AND.


Unexpected Behaviour when Highlighting of Code

First of all, great typst package. 💪🏻
I have the following issue:
When I wanted to highlight code, the API allows me to specify the exact chars, where the highlight starts and ends, but the rendered output is different from that.
Example:
#codly(highlights: (
    (line: 0, start: 5, end: 17, fill:green),
  ))
```python
def some_function():
  print(f"Codly is great!")
```

Gives me this output:

And even more, I get the same output from the image above for any value of end in 6..17.
When I change to 19 the closing bracket gets highlighted as well as expected (as this is the 19th char)
I could also help fix this, if you accept PRs.

This is actually fixed on main, I just need to finish testing it and publish it!
It was fixed by 53bdb80

Might be related to #22

Ahhh nice, then let's close it. :)


Skip setting file to language service if exists and has not changed

A small bug that had slipped through the reviews in type language service rework.
Old implementation ran this.files.set every time a file was found, but wasn't modified. To reduce unnecessary map access, we just early return if..

A file is already in the language service host
But isn't updated.

If https://github.com/google/playground-elements/pull/337 gets merged, this can be discarded since that PR also contains this fix


data can be missed

With the current approach -- with daily ingestion of data from the previous day -- data may be missed if the data has not been synced to the fitbit backend when the processes pull the data.  One problem is that in general, the data may be missing

because it does not exist, for example, if the battery has died no data would be generated.
or the data may have been generated, but until the mobile phone app syncs the data, it won't show up on the backend web apis.

Similarly, if data is ingested multiple times, does the data get overwritten, or appended only?

the ingestion routes do offer options for specifying date and user parameters. if data is specified, the data from date is ingested instead of yesterday.  likewise, if user is specified, then only that user's data is pulled.  for example:
http://<data connector<EMAIL_ADDRESS>would only pull data for that one user for that one day.  the format for the date is: yyyy-MM-dd.
by default the urls are only reachable with auth headers, and should not be publicly accessible.  but you can hit that url from the commandline like this:
curl -H "Authorization: Bearer $(gcloud auth print-identity-token)" SERVICE_URL

assuming that the user has access to the service url.


Fix Basic Auth support following change from basic_auth lib to Plug.BasicAuth

📖 Description
During integration in another project, I noticed that the Plug.BasicAuth was calling an undefined method and tests were failing. So, this actually fix it and it now Basic Auth work as expected when values are provided.
warning: Plug.BasicAuth.call/2 is undefined or private lib/elixir_boilerplate_web/endpoint.ex:111: ElixirBoilerplateWeb.Endpoint.basic_auth/2

  1) test GET / (ElixirBoilerplateWeb.Home.ControllerTest)
     test/elixir_boilerplate_web/home/controller_test.exs:4
     ** (UndefinedFunctionError) function Plug.BasicAuth.call/2 is undefined or private
     code: conn = get(conn, "/")

📝 Notes
Not sure why the tests were not failing on the #119, any idea?

🦀 Requesting reviewers for this pull request:

@gingman (contributor with 0 commits in the last 90 days and 2 commits overall)
@simonprev (expert reviewer for the elixir stack)

Not sure why the tests were not failing on the #119, any idea?

I think there was a bug with --error-as-warning flag in a specific Elixir version.


[MWPW-136611] Replace default experience name with IMS client ID

Description
The default gnav experience name is not of much use for Analytics purposes, thus we want to replace such strings with the IMS client ID. What is now gnav|gnav will become gnav|acrobatmilo for an Acrobat page, for example.
Related Issue
Resolves: MWPW-136611
Testing instructions
On a test page, run document.querySelector('.global-navigation').getAttribute('daa-lh') to check the Analytics value being used. Ideally, there shouldn't be duplicated gnav strings being used.
From the test URLs shared below, just the Acrobat page should see an update in the Analytics tracking attribute.
Test URLs
Acrobat:

Before: https://www.stage.adobe.com/acrobat/online/sign-pdf.html?martech=off
After: https://www.stage.adobe.com/acrobat/online/sign-pdf.html?martech=off&milolibs=gnav-analytics-naming--milo--overmyheadandbody

BACOM:

Before: https://business.stage.adobe.com/fr/customer-success-stories.html?martech=off
After: https://business.stage.adobe.com/fr/customer-success-stories.html?martech=off&milolibs=gnav-analytics-naming--milo--overmyheadandbody

CC:

Before: https://main--cc--adobecom.hlx.live/?martech=off
After: https://main--cc--adobecom.hlx.live/?martech=off&milolibs=gnav-analytics-naming--milo--overmyheadandbody

Milo:

Before: https://main--milo--adobecom.hlx.page/ch_de/drafts/ramuntea/gnav-refactor?martech=off
After: https://gnav-analytics-naming--milo--overmyheadandbody.hlx.page/ch_de/drafts/ramuntea/gnav-refactor?martech=off

LGTM to on Chrome / FF / Safari. 👍
It would make sense to include this somewhere in the documentation that having a different file name than "gnav" replaces the clientId

@mokimo - I agree on the documentation part, but I'm not sure if this is a high impact or breaking change PR. Most consumers will keep on getting the same values they do now.
If @narcis-radu or others think this grants a more important label, I can definitely make the changes, though 🙂

@mokimo - I've added a new section to the FAQ part of the Global Navigation documentation page to details the 3 possible scenarios of how the daa-lh value is generated based on what gnav-source is used on the page - https://milo.adobe.com/docs/authoring/global-navigation#accordion-2-trigger-2


Would like a way to make rounded corners for sliders

I'm using the basic slider, and I found how to update just the parts of the slider theme data that I want to change like trackHeight, but unfortunately I'm not sure how to update the field for "trackShape".  Here is what I do in the main app to update track height for example:
final SliderThemeData tweakedSliderTheme = Theme.of(context).sliderTheme.copyWith(
    trackHeight: 22.0,
     //trackShape: RectangularSliderTrackShape(),  // How do I update this??
);

I did try using ClipRRect() around the slider widget and that had no effect.
Here is a simple page for one slider:
import 'package:flutter/material.dart';

class RoomControl extends StatefulWidget {
  @override
  _RoomControlState createState() => _RoomControlState();
}

class _RoomControlState extends State<RoomControl> {
  double _value = 0.0;
  void _setvalue(double value) => setState(() => _value = value);

  @override
  Widget build(BuildContext context) {
    return Scaffold(
      appBar: AppBar(
        title: Text('Name here'),
      ),
      //hit Ctrl+space in intellij to know what are the options you can use in flutter widgets
      body: Container(
        padding: EdgeInsets.all(32.0),
        child: Center(
          child: Column(
            children: <Widget>[
              Text('Value: ${(_value * 100).round()}'),
              ClipRRect(
                borderRadius: BorderRadius.circular(5.0),
              child:Slider(
                  value: _value,
                  onChanged: _setvalue,
                  divisions: 10,
              )
    )
            ],
          ),
        ),
      ),
    );
  }
}

Here is what that slider looks like:

I got the answer to this here:
https://stackoverflow.com/questions/55987559/how-can-i-round-the-corners-of-a-slider-in-flutter/55988624#55988624

The default track shape is now a rounded rect:
https://github.com/flutter/flutter/blob/master/packages/flutter/lib/src/material/slider_theme.dart#L972
Does that work for you?

How To Create Rounded Corners Image in Flutter


Avoid repo clone to deploy Lynx

Depends on: #60 , #59 (optional)
As a user of Lynx, I just want to deploy this application via portainer or helm and don't clone the code locally.
Therefore I need an updated Readme File to simplify the deployment process

No need to clone now to run on docker or k8s. there is another ticket to provide a helm chart.
soon I will provide a yaml definition to deploy on k8s


zfs-localpv and lvm-localpv controller pod requires restart on single node setup after upgrade to latest version

Problem Statement:
Setup: Single worker node
Since in the last version of lvm and zfs localpv csi controller was a StatefulSet with Affinity rule below,
affinity:
        podAntiAffinity:
          requiredDuringSchedulingIgnoredDuringExecution:
          - labelSelector:
              matchExpressions:
              - key: app
                operator: In
                values:
                - openebs-lvm-controller
            topologyKey: "kubernetes.io/hostname"

controller manifest was changed to Deployment type in the newer version which causes new controller pods to be not in Running state.
Following are the relevent pod list and events
root@xxx:~/zfs-localpv# kubectl get pod -n openebs
NAME                                                         READY   STATUS    RESTARTS   AGE
openebs-zfslocalpv-zfs-localpv-controller-6dd6754489-bnrwh   5/5     Running   0          3m16s
openebs-zfslocalpv-zfs-localpv-controller-78c7bb488d-h44p9   0/5     Pending   0          2m51s

Events:
  Type     Reason            Age                From               Message
  ----     ------            ----               ----               -------
  Warning  FailedScheduling  42s (x2 over 72s)  default-scheduler  0/1 nodes are available: 1 node(s) didn't satisfy existing pods anti-affinity rules. preemption: 0/1 nodes are available: 1 node(s) didn't satisfy existing pods anti-affinity rules..

Solution:
Since the old pod has the affinity spec and new doesnt and both has relevent label for the rule to work the newer pod will not get scheduled if it cant find a different node.
This impacts single node cluster(1 controller replica). So deleting the older pod should allow the new pod to be scheduled.
kubectl delete pod openebs-zfslocalpv-zfs-localpv-controller-6dd6754489-bnrwh -n openebs


invoking singleton constructor of Configurator

After making singleton constructor of Configurator, updated Main class

Coverage decreased (-0.37%) to 11.66% when pulling a54b00dbd553c4f296f4b77670d26ddde4d89922 on gansai:patch-2 into dfcac89af94bfc7c81cefe2bb2109d77ab3674d6 on oskopek:master.

Hello @gansai! Thank you for your contribution. Next time, please submit one PR instead of two, if both commits refer to a single specific issue. You see, the automatic build on PR #14 failed to even compile, just because it references the "old" version of the Main class.
I will merge both of the PRs in one go and make a code style change on top (don't let that discourage you!). Thank you again for your contribution!

Also, @gansai, if you want, add yourself to AUTHORS.adoc  and submit a PR!

Thanks @oskopek for the opportunity to contribute to Open Source.
Yes, next time, I shall submit one PR instead of multiple.

Thank you for your time and effort! I merged your AUTHORS.adoc PR.

Welcome. Your work is wonderful and thanks for opportunity to contribute.


Fixed issue JavaScript medium

Description
Added the countdown timer for task Javascript medium
Additional Context

Merged

This is an automated message from Fork, Commit, Merge [BOT].

Thank you for your contribution! Your pull request has been merged. The files have been reset for the next contributor.
What's next?
If you're looking for more ways to contribute, I invite you to check out my other projects. Just click here to find more. These projects contain real issues that you can help resolve. You can also check out the Influences section in the README to find more projects similar to this one.
Also please leave a star to this project if you feel it helped you, i would really appreciate it.
I look forward to seeing your contributions!