Remove core js loaded twice

Hello!
Is there any way to remove js script from renderAjax, which is already loaded?
First of all I mean this:
<script src="/assets/.../jquery.js"></script>
<script src="/assets/.../yii.js"></script>

In Yii1 i could play with Yii::app()->clientScript->scriptMap['jquery.js'] = false;
But what about right way with bundles? Maybe there is an option to avoid this globally in the app?

You should use foro for this questions.
Try :
'components' => [
'assetManager' => [
'bundles' => [
'yii\web\JqueryAsset' => false,
],
],
],
See  https://github.com/yiisoft/yii2/blob/master/docs/guide/structure-assets.md for more details.

Ok, thanks. I did like this
Yii::$app->assetManager->bundles['yii\web\JqueryAsset'] = false;
Yii::$app->assetManager->bundles['yii\web\YiiAsset'] = false;

And it works now

The js files aren't loaded twice (or more).


Odd 7 minute time shift

For some, yet unknown, reason sometimes when the  end up with an odd offset in the filetime of<PHONE_NUMBER>.  This translates to about 7 minutes and 12.055 seconds.  The value is very oddly close to the value of a 32 bit integer but not quite.
Here is what the bit pattern looks like when you compare the value of 2^32 to this value of the offset.

If someone has a clue help out please.  The biggest issue is that it only happens sometimes.  By sometimes I mean during one debug session I have the offset.  During other sessions it is dead on.

Correction provided by Fabrizio Pattoneri:  Need to integrate into code
     private long GetFileTimeFromByteArray(byte[] byteArray, long startingOffset)
    {

        long lDt;
        uint low = BitConverter.ToUInt32(byteArray, (int)startingOffset);
        uint high= BitConverter.ToUInt32(byteArray, checked((int)startingOffset + 4));

        unchecked
        {

            lDt = (((long)high) << 32) | low;

        }

        return lDt;
    }

Thanks
Fabrizio


fix(providers): handle additional error cases in Http/WsClients

Description

Solution

#179  👈
master

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @ArtificialPB and the rest of your teammates on  Graphite


feat: cosmos defi UI part 2: update translations

Description
This updates the translations for use in the new Cosmos DeFi UI. TODO
copy description from 2233
Notice

[ ] Have you followed the guidelines in our Contributing guide?
[ ] Have you checked to ensure there aren't other open Pull Requests for the same update/change?

Pull Request Type

[ ] :bug: Bug fix (Non-breaking Change: Fixes an issue)
[ ] :hammer_and_wrench: Chore (Non-breaking Change: Doc updates, pkg upgrades, typos, etc..)
[ ] :nail_care: New Feature (Breaking/Non-breaking Change)

Issue (if applicable)

Risk

Testing

Screenshots (if applicable)

Current dependencies on/for this PR:

develop

PR #2293

PR #2294   👈

PR #2295

This comment was auto-generated by Graphite.


Unable to set a field to null

Context
I am unable to set a field to null by executing a mutation that includes a null input field value. I believe I should be able to do this, but the generated serializer removes null input fields from request variables.
Consider the following input schema:
input CommunityInput {
  name: String!
  websiteUrl: String # <-- Nullable
}

And associated mutation:
updateCommunity(data: CommunityInput!, id: String!): Community!

I am using ferry to create the following request:
final request = GUpdateCommunitySettingsReq(
      (b) => b
        ..vars.id = "communityId"
        ..vars.data.name = "Community Name"
        ..vars.data.websiteUrl = null, // <--- This is null
    );

Problem
This results in a GraphQL request over the wire that strips the websiteUrl entirely. The variables look like this:
{
  "data": {
    "name": "Community Name"
  },
  "id": "a3c5d70e-3417-11eb-ae0f-7bd5cfb"
}

With a raw GraphQL request, the below mutation would set the websiteUrl field to null, which is the behavior I expect when making an equivalent call:
mutation {
  updateCommunity(
    data: {
      name: "Community Name",
      websiteUrl: null
    },
    id: "a3c5d70e-3417-11eb-ae0f-7bd5cfb85ea6"
  ) {
    id
    name
    websiteUrl
  }
}

I traced the issue to the generated serializer for the input type, which looks like this:
class _$GCommunityInputSerializer
    implements StructuredSerializer<GCommunityInput> {
  @override
  final Iterable<Type> types = const [GCommunityInput, _$GCommunityInput];
  @override
  final String wireName = 'GCommunityInput';

  @override
  Iterable<Object> serialize(Serializers serializers, GCommunityInput object,
      {FullType specifiedType = FullType.unspecified}) {
    final result = <Object>[
      'name',
      serializers.serialize(object.name, specifiedType: const FullType(String)),
    ];
    if (object.websiteUrl != null) { // <-- This null check removes the field entirely from the request.
      result
        ..add('websiteUrl')
        ..add(serializers.serialize(object.websiteUrl,
            specifiedType: const FullType(String)));
    }
    return result;
  }

looks like built_value will re-add this capability https://github.com/google/built_value.dart/issues/604

Thanks! Sorry for opening this in probably the wrong repo, it's taken me a bit to figure out what's where here 😄

You're good – I think it's fair to leave this open until built_value makes it possible so we can track the feature

It seems like https://github.com/google/built_value.dart/issues/604 is already merged.


Use Python 3 venv

Create a Python 3 virtual environment under env/, and install the
Pip packages we need into it. This allows to avoid requiring the
developer of installing the packages themselves.
Note that we still rely on the developer to have a system-wide Python 3
installed. This is a valid expectation (unlike the sunset Python 2).

(sorry, forgot to commit one file)


Manifest unknown for docker pull docker:*

Hey there,
since your recent docker image push today 14th Dec 6:05 UTC i cannot pull any docker image from the official docker registry.
I tried a docker pull:

docker:27.4.0-dind
docker:27.4.0
docker:latest
docker:dind

All these result in a manifest for docker:dind not found: manifest unknown: manifest unknown
I have not modified my docker/daemon.json. My local Docker version is Docker version 27.4.0, build bde2b89 on the latest macOS. This problem also occurs on remote Ubuntu VMs.
I'm sorry if its my mistake, but it seems suspicious that the problem occured just after your image push and has not yet been resolved. (We're running a ci pipeline every 5 minutes and it first failed at 6:13am UTC this morning.)
If you need anything, just let me know.
Thanks for any hint or solution. Cheers
Max

for now i'm downgrading to version 26 temporarily
pulling docker:26-dind or docker:26 is working for me

This error started to occur only 4 hours ago since the version 27.4.0 was released. No need to downgrade to docker:26-dind because the previous version docker:27.3.1-dind is still working.

This worked for me docker:26-dind

docker:27.3-dind works fine but latest fails

dind and latest tags are also affected

Also experiencing this with the dind tag

The same shit here

This looks to be a duplicate of https://github.com/docker-library/docker/issues/519

👋 I work at docker, but not on the official images; I'm currently trying our internal slack chatting with folks on call to see if someone working on official images is available to look.
It looks like the "manifest-index" for the image exists, but the image that's referenced from it is either missing, or resulting in the "not found".
As a workaround, it looks like the previous versions of the image are functional, so if you pin to the previous version, you can use that as a workaround, e.g.;
docker pull docker:27.3.1-dind / docker pull docker:27.3.1-cli both work

This looks to be a duplicate of #519

It sure is @thaJeztah . As i was starting to file the issue the was none, after submitting there were two :)
You better reach someone soon - many pipelines are failing just now because of this.

The missing tag has completely collapsed our CI system.

Same behavior here, we manged to work arround the issue pointing to this image: ```docker pull public.ecr.aws/docker/library/docker:latest

I can give an intermediate status update from the Slack thread.
Team is still looking. They managed to narrow down the cause of the issue to be related to cross-repo links. The image was pushed successfully (data / blobs are there), but some links were not created after the push, causing it to be producing a 404 for those references. A fix was deployed that should prevent this situation from happening, but won't automatically apply to content that's already there, and those parts are really locked down, so no direct access to (manually) correct, so they're currently checking logs to identify images that are affected (beyond the ones mentioned in this ticket), and to see if there's ways to correct it. Re-pushing the images (same image, but trigger a push again) may work, but may also be locked down (currently being looked into).

OK, team was able to get the list of images affected, and may have found a solution; some manual work is involved, so fixes may roll out over time. I'll post updates once available.

docker:dind is working for me again. Thanks for the work @thaJeztah & team! 🎉
Nevertheless I have to disagree with @marcschroeder quite a bit. After the weekend the Docker team will recap that for sure and pull the necessary clues so such a situation will most likely not happen again.

"the one should not release a version on friday evenings."

x-posting from the other ticket;

I think they managed to go through most of the list by now, but some may still be pending. Currently verifying all tags and all variants of those images (which takes a while to run).
There may be some images in the platform-specific orgs that are used as intermediate image that may not yet be addressed, and (given much lower / corner-case use), e.g. images in the platrform-specific namespace (e.g. https://hub.docker.com/u/arm64v8/, and other similar namespaces listed in; https://github.com/docker-library/official-images#architectures-other-than-amd64. Those namespaces are effectively intermediate stages for the multi-platform images.

OK; colleague confirmed that the list of official images should be all processed. The verification script will still be running for some hours, but we're updating the statuspage to "monitoring"

There may be some images in the platform-specific orgs that are used as intermediate image that may not yet be addressed, and (given much lower / corner-case use), e.g. images in the platrform-specific namespace (e.g. https://hub.docker.com/u/arm64v8/, and other similar namespaces listed in; https://github.com/docker-library/official-images#architectures-other-than-amd64. Those namespaces are effectively intermediate stages for the multi-platform images.

These images will likely be processed later, which may be done after the weekend.

Closing in favor of #519. It should be mostly resolve now though


Nested Populate does not working

My bad, i fix it.
Sorry :(

How did you fixed it?
I have a model that looks like this
propertyV: {
propertyC: [refs id to be popualted]
}
propertyA: [
{propertyZ:[array of refs to be popualted] }
...
{some other object from this array},
]
in my app whe populating this with mongoose it works like this after a find
.populate('propertyV.propertyC')
.populate('propertyA.propertyZ')
and even that property A is an array of objects with many propertys it will iterate and populate the given path for each objects in the array.
I can't seem to get how to do this within the paginate options query


⚠ ClamAV has degraded performance

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

HTTP code: 200
Response time: 468 ms

Resolved: ClamAV performance has improved in 94db678.


How to access the previous candles?

Hello guys, I'm doing a strategy here and I want to read the previous candles. Are these candles stored in a buint-in array?
Currently, I create an array inside my strategy and I'm pushing the values in the update method:
strat.candles = [];
update method:
strat.candles.push(candle);
Tks

Hey!
In most circumstances you don't have direct access to historical candles, but you can definitely do what you are doing. If you just want the previous one you can simple do:
// at the end of your `update` or `check`
this.previousCandle = candle;

That means you have access to it in any other iteration (except for the first one). But what you are doing is fine as well, just note that:
strat.candles.push(candle);

Is a memory leak, since backtesting this strat over a few months of data would probably result in an OOM error (out of memory) - since your array is ever increasing.

If you have any more questions feel free to ask!

strat.candles.push(candle);
with strat.candles.shift() isn't though.
This is exactly why candleprops should always be available to strats.

The candleprops are nested completely different. And as I proposed: why not create a config flag that when set calculates them (even without talib)?

What do you mean when you say they are nested completely differently?
They are arrays that store the last 1000 candles of data - price, open, close etc, they are so useful for a strat.

They are not stored as an array of candles, but as separate arrays per property. If you want the previous candle using the candleProps you have to do something like:
var previousCandle = {
  open: _.last(this.candleProps.open),
  close: _.last(this.candleProps.close),
  high: _.last(this.candleProps.high),
  low: _.last(this.candleProps.low),
  start: // calculate this manually.
}

@thegamecat can we please keep the discussion about the candleProps in #993, we are just making it more confusing for @evertondanilo by discussing it here (since these props are not public).

Tbf he asked for the previous candles, plural and the way to access them is through the candleprops array.
So last close price:
var previousprice = this.candleProps.close[this.candleProps.close.length-2];
The previous close to that:
var previousprice = this.candleProps.close[this.candleProps.close.length-3];
And so on.
You've then got:
var previousopen = this.candleProps.open[this.candleProps.open.length-2];
var previousvolume = this.candleProps.open[this.candleProps.volume.length-2];
And so on.
It's far better to use the objects that exist for everything that have one method for getting "last price" and then different ones for values before that. That's confusing for people.

The candleProps are not always available, this is a design decision. This
is not the place to discuss internal properties.. the discussion to make
this public is in #993 and not here.
On 19 Aug 2017 16:01, "thegamecat"<EMAIL_ADDRESS>wrote:
Tbf he asked for the previous candles, plural and the way to access them is
through the candleprops array.
So last close price:
var previousprice = this.candleProps.close[this.candleProps.close.length-2];
The previous close to that:
var previousprice = this.candleProps.close[this.candleProps.close.length-3];
And so on.
You've then got:
var previousopen = this.candleProps.open[this.candleProps.open.length-2];
var previousvolume = this.candleProps.open[this.
candleProps.volume.length-2];
And so on.
It's far better to use the objects that exist for everything that have one
method for getting "last price" and then different ones for values before
that. That's confusing for people.
—
You are receiving this because you modified the open/close state.
Reply to this email directly, view it on GitHub
https://github.com/askmike/gekko/issues/1007#issuecomment-323528271, or mute
the thread
https://github.com/notifications/unsubscribe-auth/AA7MD-u-cPBgBgb4xEYPfklcA1qCecNEks5sZvivgaJpZM4O8VeR
.

How do we get access to candleProps in our strategies?


tokenUtxoDetails details reports UTXO a non-SLP UTXO when rate limited

The following is a UTXO that triggered this bug:
    {
      "utxos": [
        {
          "height": 654522,
          "tx_hash": "072a1e2c2d5f1309bf4eef7f88684e4ecd544a903b386b07f3e04b91b13d8af1",
          "tx_pos": 0,
          "value": 6999,
          "satoshis": 6999,
          "txid": "072a1e2c2d5f1309bf4eef7f88684e4ecd544a903b386b07f3e04b91b13d8af1",
          "vout": 0,
          "isValid": false
        },
        {
          "height": 654522,
          "tx_hash": "a72db6a0883ecb8e379f317231b2571e41e041b7b1107e3e54c2e0b3386ac6ca",
          "tx_pos": 1,
          "value": 546,
          "satoshis": 546,
          "txid": "a72db6a0883ecb8e379f317231b2571e41e041b7b1107e3e54c2e0b3386ac6ca",
          "vout": 1,
          "isValid": false
        }
      ],
      "address": "bitcoincash:qzygn28zpgeemnptkn26xzyuzzfu9l8f9vfvq7kptk"
    }

The first is a non-SLP UTXO. The second is a valid SLP UTXO. Here is the response from bch-api:
{"message":"request: <IP_ADDRESS> - GET /v3/rawtransactions/getRawTransaction/a72db6a0883ecb8e379f317231b2571e41e041b7b1107e3e54c2e0b3386ac6ca?verbose=true 429 1.041 ms - 126 axios/0.19.0\n","level":"info","timestamp":"2020-09-28T04:30:03.631Z"}
The getRawTransaction() part of the tokenUtxoDetails() call got a 429 response. As a result, the UTXO information that came back indicated that the UTXO isValid property as false. This is incorrect and could lead to burning tokens.
The proper return value for isValid should be null to indicate the level of uncertainty.

The getRawTransaction call is originating from decodeOpReturn(). An error is thrown when calling decodeOpReturn() on a non-SLP token (isValid should be false), but an error is also thrown when getting a 429 error (isValid should be null).
Code needs to be added to the decodeOpReturn() function to detect if the status of the call was 200 or 429. If 200, then isValid can be marked false. If 429 then isValid should be marked null.
This needs to be captured in a unit test.

This bug addressed by PR #27


For anyone that wants the XP and Coins hack!

P.S.: This code was made by Minesraft2 however the hacks got deleted off of github and luckily I had given the code to some people through email and was able to keep this one. Will probably get bugged at some point and stop working :(
Code in below: (Javascript: and paste; don't mind the links you have to copy all)
/* All terms found in the following link apply: https://github.com/Minesraft2/Blooket-Cheats/blob/main/LICENSE */ (async()=>{var t,e=document.createElement("iframe");document.body.append(e),window.confirm=e.contentWindow.confirm.bind(window),window.console.log=e.contentWindow.console.log.bind(window),e.style.display="none",(await Object.values(webpackJsonp.push([[],{"":(e,o,t)=>{o.cache=t.c}},[[""]]]).cache).find(e=>e.exports?.a?.get).exports.a.get("https://"+(location.host.startsWith("dashboard")?location.host+"/api/games":"play.blooket.com/api/gamequestionsets")+"?gameId=6368436a976422d8a3f70cd7").then(e=>parseInt("0"+e.data.questions.find(e=>"../cheats/global/getDailyRewards.js"==e.question)?.answers?.[0]))<1678659465703||confirm("This cheat is outdated and might be bugged, would you still like to run it? You can find regularly updated cheats here https://github.com/Minesraft2/Blooket-Cheats"))&&(console.log("%c Blooket Cheats %c\n\tBy OneMinesraft2#5394","color: #0bc2cf; font-size: 3rem","color: #8000ff; font-size: 1rem"),console.log("%c\tgetDailyRewards.js","color: #0bc2cf; font-size: 1rem"),console.log("%c\tStar the github repo!%c  https://github.com/Minesraft2/Blooket-Cheats","color: #ffd000; font-size: 1rem",""),e=document.createElement("iframe"),document.body.append(e),window.alert=e.contentWindow.alert.bind(window),e.remove(),location.href.includes("play.blooket.com")?(t=Object.values(webpackJsonp.push([[],{"":(e,o,t)=>{o.cache=t.c}},[[""]]]).cache).find(e=>e.exports?.a?.get).exports.a).post("https://play.blooket.com/api/playersessions/solo",{gameMode:"Factory"}).then(({data:{t:o}})=>{t.get("https://play.blooket.com/api/users/me").then(({data:{name:e}})=>{t.put("https://play.blooket.com/api/users/add-rewards",{t:o,name:e,addedTokens:500,addedXp:300}).then(({data:{dailyReward:e}})=>alert(Added max tokens and xp, and got ${e} daily wheel tokens!)).catch(()=>alert("There was an error when adding rewards."))}).catch(()=>alert("There was an error user data."))}):alert("This cheat only works on play.blooket.com"))})();

What happened to Minesraft2?

Thnx PierceMichael

Thnx PierceMichael

You're welcome you'll have to look at one of the most recent ones since this is an old post


❓ Is there a streamdeck config for debugging in vscode ?

Will receive the deck tomorrow. I would like to use it right away without learning the API.
Someone must have already done it.

There's not much to learn besides finding the commands IDs on the vscode and creating actions in your stream deck.
Make sure you read the Getting Started after installation and you are good to go.
If you need further assistance let me know.


Associate model object to list elements

https://github.com/leonidas/transparency/issues/17

Hmm..it seems I was too fast with this one. Works fine with IE9/Chrome/Firefox, but there's some failing cases on IE8 and IE7, seems to be related to model tests.
Could you take a look on those? Unit test can be run on browser by opening browser/SpecRunner.html file.
Note: There's been one failing test case on IE7 with following output (won't fix, as it's an edge case and didn't work on jQuery either):
Transparency
should handle nested lists with overlapping attributes

<DIVclass=container><Pclass=tweet>Jasmineisgreat!
<DIVclass=responses><Pclass=tweet>IpreferJsUnit
<Pclass=tweet>Jasmineisgreat!

<DIVclass=container><Pclass=tweet>Jasmineisgreat!
<DIVclass=responses><Pclass=tweet>Ittrulyis!
<Pclass=tweet>IpreferJsUnit

Oh noes. My bad then. Will check this out first thing in the morning or so.

Made another pull request with a fix. A bunch of other test cases seem to fail with IE8 (not 7!) due to the Array.prototype.slice thing on the first line. Maybe need some workaround for that too?

Thanks for pointing out. Fixing.

Fix for IE8 compatibility is now also in master.


fix: nil pointer dereference when getting cloud credentials

What type of PR is this?
bug
What this PR does / Why we need it?
Fixes nil ptr dereference when getting cloud credentials.
Steps to reproduce:

run ocm backplane cloud credentials <clusterid> without running proxy connection

Which Jira/Github issue(s) does this PR fix?
Resolves #
Special notes for your reviewer
Pre-checks (if applicable)

[x] Ran unit tests locally
[x] Validated the changes in a cluster
[ ] Included documentation changes with PR

Codecov Report

Merging #162 (525325c) into main (e92e007) will decrease coverage by 0.03%.
The diff coverage is 33.33%.

Additional details and impacted files

@@            Coverage Diff             @@
##             main     #162      +/-   ##
==========================================
- Coverage   49.62%   49.59%   -0.03%
==========================================
  Files          51       51
  Lines        3351     3353       +2
==========================================
  Hits         1663     1663
- Misses       1410     1411       +1
- Partials      278      279       +1

Files Changed
Coverage Δ

cmd/ocm-backplane/cloud/credentials.go
64.17% <33.33%> (-0.98%)
:arrow_down:


Added information box for parity + parity extension when no ethereum tool is found

…tool is found.

@pimato Once you get back from Cozumel :) let's make decision on this one.


WIP - MTV-1352: Documentation of MTV performance 2.6

JIRA

MTV-1352

PREVIEW

MTV performance recommendations
MTV performance addendum

Following comments for: https://anarnold97.github.io/MTA-Preview/MTV/mtv-performance.html#mtv-performance-recommendation_mtv
Suggestion 1)
Line currently reads 'When more ESXi servers are used, high datastore read rates are possible.'
I think could be reworded to 'When multiple ESXi servers are used, higher datastore read rates are possible.
Suggestion 2)
Line currently reads " Testing showed that when transferring more than 10 VMs with both BIOS and host power management set accordingly, dataset read rates between tested VMs increased by 15 MiB."
I think could be reworded to " Testing showed that when transferring more than 10 VMs with both BIOS and host power management set accordingly, migrations had an increase of 15 MiB in the average datastore read rate."
Suggestion 3)
Line current reads " Maximum migration transfer rate of a single disk: 162 MiB/second (1.5 Tb case / time using utilized data) "
I think could be reworded to: "Maximum migration transfer rate of a single disk: 162 MiB/second (rate observed when transferring 1.5T of non-zero data) "
Suggestion 4)
Line reads: " In MTV 2.6, MAX_VM_INFLIGHT reserves one transfer slot per VM, regardless of current migration activity for a specific snapshot.  The total set by MAX_VM_INFLIGHT is used to utilize one slot.
Example
MAX_VM_INFLIGHT = 20 and 2 ESXi hosts defined in the provider mean each host can transfer 20 VMs. "

I think could be reworded to:    " In MTV 2.6, MAX_VM_INFLIGHT reserves one transfer slot per VM, regardless of current migration activity for a specific snapshot or the number of disks that belong to a single vm.  The total set by MAX_VM_INFLIGHT is used to indicate how many concurrent VM tranfers per ESXi host is allowed.
Example
MAX_VM_INFLIGHT = 20 used with 2 ESXi hosts defined in the provider implies that each host can transfer 20 VMs. "

Suggestion 5)
In section 3.4.5
Line reads: "The migration of the differences between snapshots happens over specific intervals before a final cut-over of the running VM to openshift occurs."
I think the o should be capitalized for Openshift "The migration of the differences between snapshots happens over specific intervals before a final cut-over of the running VM to _O_penshift occurs."
In https://anarnold97.github.io/MTA-Preview/MTV/mtv-performance.html#mtv-performance-addendum_mtv
Suggestion 6)
There are various references to the private network such as:
172.x Network or  172.16.x.x Network  I think these references should just be replaced with Private Network
with a foot note that explains Private Network is a non -Management network .

Can we move this into it's dedicated section, aka level it up?
Mostly to avoid deep nesting.
To me it could be a sectoin just before `Troubleshooting?

Updated preview

Updated performance addendum

Updated taxonomy

Lines that in the Beginning
"The purpose of this section is to show the current observed experience in the process of testing the performance and scale of Migration Toolkit for Virtualization (MTV), to migrate VMs from vSphere to OpenShift Virtualization.
This document also aims to share key findings of what was observed through testing, and the summarized results of those tests, as shown by recommendations."

those are from the original full performance document,   I  this official doc we don't show observed  experience  and test results -  I believe, We should state something  like this :
"The purpose of this section is to share recommendations for performant VMs migrations using MTV, based on findings observed through testing"

Updated


End-to-end tagging: Python

This semantically mimics very closely the way things are done in Rust, minus all technical differences due to the differences between both the languages and the SDKs.
For that reason, everything stated in https://github.com/rerun-io/rerun/pull/8304#issue-2715466746 basically applies as-is.
Pretty happy about it, I must say.

DNM: requires #8316
Part of #7948

@rerun-bot full-check

oh god what on earth is that failure that makes zero sense oO


⚠ Bofrost.be has degraded performance

In 3d85a06, Bofrost.be (https://www.bofrost.be) experienced degraded performance:

HTTP code: 200
Response time: 2395 ms

Resolved: Bofrost.be performance has improved in 7d29bee.


Tiny Suggestion: change tempfile.mkdtemp() to TemporaryDirectory()

  File "/home/****/anaconda3/lib/python3.7/site-packages/files2rouge-2.1.0-py3.7.egg/files2rouge/files2rouge.py", line 37, in run
    dirpath = tempfile.mkdtemp()
  File "/home/****/anaconda3/lib/python3.7/tempfile.py", line 366, in mkdtemp
    _os.mkdir(file, 0o700)
OSError: [Errno 28] No space left on device: '/tmp/tmpcch9yqrm'

When Calculating ROUGE score for summary from many checkpoints with a large testset, it creates a huge amount of temporary directories and files in /tmp/.... Seems that these temp files wouldn't be cleaned unless i manual remove or reboot.
So I change it to:
with tempfile.TemporaryDirectory() as dirpath:
    sys_root, model_root = [os.path.join(dirpath, _)
                            for _ in ["system", "model"]]
    ......

Thanks for this relevant suggestion :+1:


Add logging facility

Has to be able to accept most common loggers as a facility, no custom implementation.
implement adapters for

log4js-node
Winston
..proposals welcome...

Yes it is. closing issue since winston logging is implemented.


docs(bindings/cpp): use doxygen to generate API docs

I use Doxygen Awesome to beautify the document generated by doxygen. I directly put its css file under docs dir. The css file has MIT license header. Could we add apache license before this file directly?

I use Doxygen Awesome to beautify the document generated by doxygen. I directly put its css file under docs dir. The css file has MIT license header. Could we add it to licenserc.toml?

It's better not to include it in our repo directly. Can we isntall them by npm during docs building?

Can we install them by npm during docs building?

We can use other way to install them like npm or FetchContent in cmake. But this will make doc generating process become much complex. We just need single file of the repo, so I think it's a better way to just copy one file under our repo. Furthermore, I find that other repos also use this way, like wxWidgets, opencv 5.x.

We just need single file of the repo, so I think it's a better way to just copy one file under our repo.

No, not a good way from releases side.

Furthermore, I find that other repos also use this way, like wxWidgets, opencv 5.x.

None of them are ASF projects. Although there are ways to declare an extra license for our repository, we should still avoid including content in this manner as it would complicate our release process.

We can use other way to install them like npm or FetchContent in cmake.

I prefer to use the npm way mentioned in their README:
cd your-project
npm install https://github.com/jothepro/doxygen-awesome-css#v2.2.1 --save-dev

ls -l node_module/@jothepro/doxygen-awesome-css

I move awesome-doxygen to build process. Cmake will download it to build dir first, rather than try finding it in docs dir.

Would you like to add this theme for c binding too? And we should add actions to deploy them to opendal.apache.org.

Would you like to add this theme for c binding too?

Yes. I'd like to do it.

And we should add actions to deploy them to opendal.apache.org.

I'm writing github actions about test and docs now.

Thanks a lot!


UI doesn't change size when the window is resized

Not sure if this is something that can be fixed but I figured I'd create an issue just in case. I'm running this on Debian Linux.

Hmm, I run debian testing/sid with i3 and haven't experienced this issue. What else can you tell me about your environment? JVM, java version, logs maybe? thanks for reporting

Hmm it seems to be due to XWayland. I'm assuming this doesn't support wayland natively and I don't know if its possible to do that.
Java version is openjdk 21.0.2.

Swing ideally should be independent of whether you use Wayland or X. Maybe your JVM's swing implementation just doesn't support XWayland. Try a different JVM maybe?


perf: Update encoding.ts: Remove case insensitivy for non-alphabet match

🔗 Linked issue

❓ Type of change

[ ] 📖 Documentation (updates to the documentation, readme, or JSdoc annotations)
[ ] 🐞 Bug fix (a non-breaking change that fixes an issue)
[x] 👌 Enhancement (improving an existing functionality like performance)
[ ] ✨ New feature (a non-breaking change that adds functionality)
[ ] 🧹 Chore (updates to the build process or auxiliary tools and libraries)
[ ] ⚠ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description
Micro optimize, /%60/ for example, does not need case-insensitive match

📝 Checklist

[ ] I have linked an issue or discussion.
[ ] I have updated the documentation accordingly.

Thanks for this PR. While it makes sense generally, are you sure regex engines don't do this internally? Have you done a benchmark?

no. I have not done any benchmark.

for breaking in the future. you should add tests :)

Code consistency/maintainability and tests are not the same thing.
Nice spot and thanks again for PR but I would appreciate for this to be benchmarked.


Update pkg/api/testapi because namespace is always in the path now

#8087
@nikhiljindal  @bgrant0607 @krousey

cc @smarterclayton

@lavalamp @smarterclayton who wants this PR?

I can take this.

LGTM, module comments

Thank you @nikhiljindal! Updated, PTAL.

LGTM, thanks!


Network Performance tests: negative UDP latency values for some test runs.

What happened:
UDP latency metrics collected while running network performance test cases (clusterloader2/testing/network) intermittently contains negative values.
What you expected to happen:
UDP latency should be always positive.
How to reproduce it (as minimally and precisely as possible):
Issue is not seen when running locally in Kind or local vm cluster. Negative values are seen when the testcases are run in k8s CI/CD(GCE).
Anything else we need to know?:
It is  confirmed from the logs that Iperf2 tool which is used for collecting the metrics return these -ve values. Raised this in iperf2 forum :
https://sourceforge.net/p/iperf2/discussion/general/thread/a1bcdb67d8/
They suspect this to be clock synchronization issue(they mentioned NTP synchronized nodes also can have latency).
Aggregated metrics output for UDP attached:
NetworkPerformanceMetrics_N_M_UDP_P2P_network_performance_udp-50_50_2021-05-21T08_39_04Z.json.txt
Environment:
Testcases are run as part of prow job in k8s CI/CD, in GCE.

We've been talking about this in slack, and since the VM synchronisation seems complex problem to fix , we though that the best solution moving forward will be to gather more data to get better insights, maybe we only need the trend and not the absolute values.
The doubt that we have is if it would be good to operate only with positive numbers, i.e. truncate negative values to 0
@wojtek-t what do you think?

We do clock-synchronization in GCE - I personally doubt it's clock difference. I bet it's a real bug...

@wojtek-t is it NTP ?

@wojtek-t @aojea : What do you think of considering negative values as zero. ? Shall we proceed with that idea ?

It's NTP - https://cloud.google.com/compute/docs/instances/managing-instances#configure-ntp

Thanks @mm4tt , as you mentioned we will first fix perfdash and monitor to make sure latency is always in microseconds and then make a decision.

Thanks @mm4tt , as you mentioned we will first fix perfdash and monitor to make sure latency is always in microseconds and then make a decision.

http://perf-dash.k8s.io/#/?jobname=network-performance&metriccategoryname=Network_Baseline&metricname=UDP_P2P&Metric=Latency

/remove-lifecycle stale


How do I use prebuilt ID extraction models

How do I get the prebuilt ID extraction models shown here with passport and driver's license?
https://azure.microsoft.com/en-us/services/cognitive-services/form-recognizer/#features

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

ID: b09706df-9b0b-6306-565c-6b625803aeb9
Version Independent ID: ba8f04d0-448a-8224-1ec3-b7774ec0c889
Content: Azure Form Recognizer client library for Java
Content Source: docs-ref-services/latest/ai-formrecognizer-readme.md
Service: formrecognizer
Product: azure
Technology: azure
GitHub Login: @maggiepint
Microsoft Alias: magpint

@samvaity could you please follow up on improving the docs?

Hey @jjkuru-darkhorse, these features to extract document info for passport and ID model types should be incrementally available in the 3.1.0-beta.3 beta release for Form Recognizer client library.
As the service just released these features, we are looking forward to get those out soon too.

Hi @samvaity I am using  azure sdk for java for the FormRecognizer,3.1.0-beta.4. I ran a Standalone java client.
https://github.com/Azure/azure-sdk-for-java/blob/master/sdk/formrecognizer/azure-ai-formrecognizer/src/samples/java/com/azure/ai/formrecognizer/RecognizeInvoicesFromUrl.java
just used the FormRecognizer resource endpoint and Key,which i have created,in the above code
Got Error
code":"401","message":"Access denied due to invalid subscription key or wrong API endpoint. Make sure to provide a valid key for an active subscription and use a correct regional API endpoint for your resource."}.
Btwn the FormRecognizer resource endpoint is valid and works from https://fott-preview.azurewebsites.net/.
anything else?


[in_app_purchase_storekit] StoreKit2 buyNonConsumable options missing promotionoffer and winbackoffer

Steps to reproduce

InAppPurchaseStoreKitPlatform.enableStoreKit2();
There is no option to pass promotionaloffer
refer: https://developer.apple.com/documentation/storekit/product/purchaseoption

Expected results
buyNonConsumable should accept options as parameter
Actual results
unable to use promotionoffer in storekit2
Code sample
Code sample
[Paste your code here]

Screenshots or Video

Screenshots / Video demonstration
[Upload media here]

Logs
Logs
[Paste your logs here]

Flutter Doctor output
Doctor output
[✓] Flutter (Channel stable, 3.24.5, on macOS 14.6.1 23G93 darwin-arm64, locale en-IN)
    • Flutter version 3.24.5 on channel stable at /Users/arunrajkumar/Documents/flutter
    • Upstream repository https://github.com/flutter/flutter.git
    • Framework revision dec2ee5c1f (6 weeks ago), 2024-11-13 11:13:06 -0800
    • Engine revision a18df97ca5
    • Dart version 3.5.4
    • DevTools version 2.37.3

Related https://github.com/flutter/flutter/issues/157558
Treating this as a proposal to add the missing parameters


Can reduce version of PHP to 7.3 for the latest one ?a

I wan to use the input_key feature but it's not support on the old version

@texiontech Sorry, but once we advance we never go back.


Investigate slow queens problem solution

From @Ingo60 on Twitter:

#eta: 3:15.43 301928k
#frege 0:34.14 463820k
#ghc 0:03.33 5240k

The code is:
https://gist.github.com/Ingo60/b8bfc365d8114144e4f750234a0ac306
Compiling with O2 doesn't seem to help much. I think we should have a good look into this.

I did a sampled profile. It spends 79 seconds (35%) of the time in checkForStackFrames. That's a problem.
It also spends 29% of the time in ghc.Classes$neInt.enter. That seems pretty high.

I've chucked up the snapshot here:
https://brianmckenna.org/files/RunQueens-2017-01-23-shutdown-1.snapshot

Thanks for tracking this!
I wonder if this particular queens implementation just happens to tickle the bottleneck in the implementation - Eta's alignment of the JVM stack w/ Eta stack.
The standard Haskell solution of the queens problem from nofib, runs in 2.2 seconds and after it reaches steady-state (classes are loaded, JIT kicks in) it comes to around 150ms, see this gist.
Running the exact implementation provided by Ingo with Java Micobenchmarking Harness (which is the proper way to do JVM benchmarks), we get this. The fact that it jumps from 280 seconds to 1 ms in just one iteration is something we should take a look at :) But the point here is, JIT wins and Eta has a horribly slow startup time, something we can improve over time, but nothing to worry about for now.
I've provided all the commands necessary to reproduce the results in the two Gists. It would be great if you could verify and let me know whether you reproduce the same thing.

Well I honestly think this is amazing. I had to modify nofib slightly to get it to work on Linux but I was able reproduce it.
I couldn't believe it so I put the JAR onto the classpath of the Scala REPL:

Ran it once and it took 5 minutes or so. Ran it again and I'm getting around 0.6 seconds to run the example.
@Ingo60 the real problem is we strictly load all module dependencies on class initialisation. We load lots and lots of code that we don't use. This is what takes the majority of the time.
I'm surprised we're beating GHC after we take away initalisation and add in the JIT. Is the Java JIT making Eta even faster than GHC!?

Wow, this is amazing. And that too without actually even trying to do any optimization from Eta side.

@puffnfresh Even I had trouble believing it. I feel like the encoding we're doing in Eta is perfectly suited for JIT. And moreover, I think it's working in these small examples because a lot of the call sites end up monomorphic or bimorphic which the JIT can optimise really well, but we'll have to benchmark a real world application with huge sum types to see what happens.
We probably need ask some JVM expert to make sure the benchmarks are setup correctly because it may be the case that the measurements we're seeing may not be measuring what we think they're measuring.

@psibi Right! The current codegen is rather naive in a lot of cases, so we pay for that in startup time right now. After we do more optimisations, it can reduce the startup time and increase the steady-state performance as well.

Closing this, as we have more or less figured out the problem is the class loading. Any further discussion should happen on the lazy initialisation issue that I just opened.

I wonder if this particular queens implementation just happens to tickle the bottleneck in the implementation - Eta's alignment of the JVM stack w/ Eta stack.

Sorry for that, Rahul!
I promise it was my very first attempt at eta, and I choose this implementation specifically because it is not my own code.

We're very wrong about this. @Ingo60 pointed out that running the problem with where n=10 is about 16 seconds. It must not be mostly class-loading.
I think what's happening is a thunk is getting created. First run stores the result and successive runs are just reading the memoized value. I'm gonna test this.

I modified main to look like:
main = do
  arg <- fmap listToMaybe getArgs
  let n = maybe 12 read arg
  putStr "12 Queens, "
  putStr (show $ length $ allSolutions n n)
  putStr " Solutions.\n"

And now each run looks something like:

So we're slow, not 5 minutes slow, but nowhere near GHC nor Frege.

That looks a lot more reasonable, given the fact that all function calls happen via the stack and not through arguments (an optimisation we should implement soon). Thanks for the analysis! In nofib, all the programs get their params from command-line arguments so they don't suffer from the same problem as this particular benchmark when run multiple times. But as this example shows, we should be very careful with interpreting results since an evaluated thunk may make future executions faster.

@jarekratajski Implemented #663 which implements the lazy holder pattern I implemented. In the cases where it's not possible to implemented that way, I fixed the "synchronized" bytecode generation so that it matches the monitors properly via the exception table. The observed perf increase for this benchmark was ~10% on my system.


TemplateRegistry raises exception that template is not resolved when there is a parsing error

Depending on interpretation, it could be seen to be ok, but it is misleading and the error message could be clearer.

behaviour being tested - a parsing error will propagate out, as the template was found.

aimed at v1.8


Illegal instruction

PQCrypto-SIDH$ ./sidh751/test_SIDH

TESTING EPHEMERAL ISOGENY-BASED KEY EXCHANGE SYSTEM SIDHp751
--------------------------------------------------------------------------------------------------------

Illegal instruction (core dumped)
/PQCrypto-SIDH$

In the README you can find the right flags to set according to your PC. Especially, check for mulx and adx support, which are required by default by the library.


Datepicker dateSign incorrect, preventing keyboard entry of a date

The dateSign that is set in shims/combos/5.js around line 1753 prevents dates from being entered by keyboard input.
    if(!formcfg['en-US']){
		formcfg['en-US'] = $.extend(true, {}, formcfg.en, {
			date: {firstDay: 0},
			patterns: {d: "mm/dd/yy"},
			dateSigns: '-',
		  dFormat: "/",
			meridian: ['AM', 'PM']

		});
	}
	if(!formcfg['en-GB']){
		formcfg['en-GB'] = $.extend(true, {}, formcfg.en, {
			date: {firstDay: 1},
			patterns: {d: "dd/mm/yy"},
			dateSigns: '-',
		  dFormat: "/",
			meridian: ['AM', 'PM']
		});
	}

For both, the dateSigns needs to be '/' not '-'
Let me know if you need more information

Ran into this as well.  Fiddle showing the issue: jsfiddle.net/egn9zLct/1/

Also in case anybody else finds this, a reasonable interim solution is listed in this SO question: http://stackoverflow.com/questions/31990004/keyboard-input-with-webshims-date-picker

Since duplicate chunks of code like this appear in numerous parts of the project I'm not confident enough to submit the above fix as a pull request. If an expert could confirm this is the only place the code needs to be fixed I'll happily do so, but I think I need a little more direction before I take this leap. Any feedback from a project expert?


Can I specify the CSV delimiter?

It would be an interesting addition if we could specify the CSV delimiter as a command line parameter.
csvdedupe <configs> --delimiter ";" input_dot_comma.csv

If you followed csvkit's conventions, I would accept a PR.


crash after last 430 update for 1.7.10

Is there an existing issue for this?

[X] I have searched the existing issues

Current Behavior
in previous version placed object in "factory" after update crash client
happened on server

Expected Behavior
not crash? :D
Steps To Reproduce
obect placed in previous  1.7.10 version of mod in server,
mod updated to last 430_beta, then after entering area of those object, it crash
Environment
- OS: windows
- Java version: 1.8
- Minecraft version: 1.7.10
- Version:<IP_ADDRESS>0_beta

Anything else?
not sure if you still provide any support, but i atleast tried :)

If you could send logs in our Discord we can take a look, but we dont support 1.7 at this repository :)


tensorflow-gpu==1.14.0 does not support python 3.6.12-debug

System information

I haven't written custom code.
OS Platform and Distribution :Linux Ubuntu 18.04.
Python version: python 3.6.12-debug

Describe the current behavior
I used python 3.6.12-debug built by pyenv:
$ pip -V
pip 18.1 from /home/yawen/.pyenv/versions/3.6.12-debug/lib/python3.6/site-packages/pip (python 3.6)
I wanted to install tensorflow 1.14.0, but I got the following error:
$python -m pip install tensorflow-gpu==1.14.0
ERROR: Could not find a version that satisfies the requirement tensorflow-gpu==1.14.0
ERROR: No matching distribution found for tensorflow-gpu==1.14.0
I checked my whether my python was 32bits or 64bits:

import platform
platform.architecture()
('64bit', '')

It is 64bits, which satisfies the requirement of tensorflow. I don't know why tensorflow does not support python 3.6.12-debug.
Describe the expected behavior
I hope I can successfully install tensorflow on python 3.6.12-debug, or any other version of python-debug.

@tywofxd
There is no support for tf 1.x , so please update  tf 2.x and let us know.

@@tywofxd
You might be facing this issue because of the following reasons
You are running 32-bit Python or 32-bit OS
You have not installed the Microsoft Visual C++ Redistributable package
Your CPU does not support AVX instructions.
Please take a look at the system requirements and check if you have the correct dependencies installed.
Also, check this similar duplicate issue: #46124, #46738, #46788, #46490, #45398
Thanks!

The point is that (on Arch Linux)
pyenv install 3.6.12           and
pyenv install 3.8.5 --debug
gives you a python version that supports tensorflow, but
pyenv install 3.6.12 --debug
gives you a python version that does not support tensorflow.
3.8.5-debug and 3.6.12 but not with 3.6.12-debug

@@tywofxd
You might be facing this issue because of the following reasons
You are running 32-bit Python or 32-bit OS

Nope, everything is 64-bit

You have not installed the Microsoft Visual C++ Redistributable package

N/A, I'm on Arch Linux.

Your CPU does not support AVX instructions.

/proc/cpuinfo includes the line "flags : ... avx ... avx2 ..."

Please take a look at the system requirements and check if you have the correct dependencies installed.
Also, check this similar duplicate issue:
#46124

N/A, I'm on Arch Linux

#46738

Includes no new info

#46788

different error message
The cpu supports avx
If the cpu would not support avx, the other python version would probably also not work.
It is reproducible on different devices

#46490

different error message
The gpu supports cuda
If the gpu would not support cudo, the other python version would probably also not work.
It is reproducible on different devices

#45398

Different error message

Thanks!

TF 1.x is no longer supported.

TF 1.x is no longer supported.

Yes, but this Problem affects also newer versions.
With python 3.6.12-debug, pip install tensorflow does not work.

@Volker-Weissmann
As this issue was opened with refernce to 1.x, can you please create anew issue with 2.x and the code/steps and error faced [errorlogs]

@Volker-Weissmann
As this issue was opened with reference to 1.x, can you please create anew issue with 2.x and the code/steps and error faced [errorlogs]

Done: https://github.com/tensorflow/tensorflow/issues/47991

I am facing the same issue with python 3.11.4


update TwinklyMaHa

[ ] 1. Newest elixir/phoenix/rest of dependencies
[ ] 2. dependabot updates
[ ] 3. new openc2 lib release
[ ] 4. new release
[ ] 5. with sbom
[ ] 6. into staging
[ ] 7. into alpha
[ ] 8. into production

@TraceyOnim is this update not already done?

Check the todo list above the issues completed


[SPARK-36396][PYTHON] Implement DataFrame.cov

What changes were proposed in this pull request?
implement DataFrame.cov
Why are the changes needed?
Increase pandas API coverage in PySpark
Does this PR introduce any user-facing change?
User can use
>>> psdf = ps.DataFrame([(1, 2), (0, 3), (2, 0), (1, 1)],
...                   columns=['dogs', 'cats'])
>>> psdf.cov()
       dogs      cats
dogs  0.666667 -1.000000
cats -1.000000  1.666667

>>> pdf = pd.DataFrame(
...     {
...         "a": [1, np.nan, 3, 4],
...         "b": [True, False, False, True],
...         "c": [True, True, False, True],
...     }
... )
>>> psdf = ps.from_pandas(pdf)
>>> psdf.cov()
          a         b         c
a  2.333333 -0.166667 -0.166667
b -0.166667  0.333333  0.166667
c -0.166667  0.166667  0.250000

How was this patch tested?
unit tests

Can one of the admins verify this patch?

FYI @ueshin @xinrong-databricks @itholic

Can the title be fixed (to "Implement DataFrame.cov")?

ok to test

Test build #143542 has started for PR 33814 at commit 909e6a5.

Test build #143542 has finished for PR 33814 at commit 909e6a5.

This patch passes all tests.
This patch merges cleanly.
This patch adds no public classes.

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143542/

Kubernetes integration test starting
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48051/

Kubernetes integration test status failure
URL: https://amplab.cs.berkeley.edu/jenkins/job/SparkPullRequestBuilder-K8s/48051/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder-K8s/48051/

Refer to this link for build results (access rights to CI server needed):
https://amplab.cs.berkeley.edu/jenkins//job/SparkPullRequestBuilder/143995/


Allow parsing local version of the schema

It should be possible to run this against ecs schema stored locally, for testing purposes.

The schema is now downloaded automatically so this is no longer required I think.


UI Automation - Flight check in use case

This has been implemented in https://github.com/trustbloc/sandbox/pull/997.


http://regl.party/API code example error

I'm not sure if this is the place to publish the issue, but I didn't find a better place.
It seems there is an error at http://regl.party/api#inputs code example:
    angle: function (context, props, batchId) {
      return args.speed * context.tick + 0.01 * batchId
    },

The code is using args instead of props, the return statement should be:
      return props.speed * context.tick + 0.01 * batchId

I believe that this was addressed in PR https://github.com/regl-project/regl/pull/357 but it hasn't been deployed.

I'm tracking website deployment here: #445


feat: Add a check that disallows sending tokens to any of the mints

Closes: #180

Hey Alex, in the linked issue the goal is explained. This check should happen on the server side, and we should check against the token list

@RamirezAlex just gave this some more thought and from looking at the implementation, it's not as trivial as it seems.
I think we might want to expose an endpoint that we can use in the SDK to check if something is a mint.
I suggest we keep this one open for now and talk about it in more detail on Monday.

Thanks, while working on it, I saw that it wasn't that simple.

Yes. I think the main issue is that we convert the destination into an associated token account in the SDK, so we can't easily check in the backend if you send it to one of the mints.
So yeah, back to the drawing board with this one.


P4Merge doesn't work for the binary extensions using the current command line arguments.

When running a verification using
await Verifier.Verify(result).UseExtension("png");

With P4Merge installed, the following error is displayed:
Image files cannot be merged
The P4Merge Implementation takes four command line arguments which works correctly for text based merge operations but for binaries/images only two file paths can be passed in it seems. Additionally there doesn't currently seem to be a way to actually merge the received into the verified...
Wondering if the binary image extensions should be disabled in P4merge?
P4merge Version: r21.3

I split the text and image parts of p4 into two different tools. I fixed the args for the image. and i moved the image varent of p4 to be lower in the order. This is deployed in diffengineand the current beta of verify

Additionally there doesn't currently seem to be a way to actually merge the received into the verified...


tengine reload后work一直挂起

www      17583  0.1  1.2 2574056 49140 ?       S    May27 193:06 nginx: worker process is shutting down

 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.何金丹 seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.


fix: update color hex values and description of orange

[x] I have read freeCodeCamp's contribution guidelines.
[x] My pull request has a descriptive title (not a vague title like Update index.md)
[x] My pull request targets the master branch of freeCodeCamp.
[x] None of my changes are plagiarized from another source without proper attribution.
[x] All the files I changed are in the same world language (for example: only English changes, or only Chinese changes, etc.)
[x] My changes do not use shortened URLs or affiliate links.

Closes #34357

@RandellDawson Good idea. I just accepted / made those changes.


InfluxDB loses all data when moving from latest tag to 2.1

Hi, I deployed an InfluxDB instance with the latest tag on 2nd March 2022. Some days later (11th March) I reconsidered using latest and went with the tag 2.1. In my understanding of SemVer, this should have included 2.1.1. Then I ran docker-compose pull and docker-compose up -d. At this point, I was expecting nothing to be really changed, as latest should (as I thought) be equal with 2.1.1 (last release). To my surprise, I was greeted with the onboarding screen on the Web Interface, which asked me to set InfluxDB up. At that point, it seems like the user storage of InfluxDB was overwritten, and I was not able to get my data back, as it was partially overwritten by the onboarding.
What I would have expected
I would have expected InfluxDB to be able to use the data, generated by latest, inside the last tagged release 2.1(.1).
As a fallback, I would have expected InfluxDB to warn me that there is existing data, that it can't read, and quit - not to corrupt the whole database.
I also expect a "downgrade" from latest to the last official release to work without errors, if not, changing from latest , to any other version, would not be possible.
Possible solution
InfluxDB could check if there is existing data, and if there is, check if it can read it, before making any writes. Then it could validate the integrity of the data and only continue if the checks pass. If the data cannot be read, it could fail with an error message, explaining that it detected data that it cannot use. This could be a failsafe for any version change (up-/downgrade), without the possibility of losing data. The onboarding process should only start, if it's not overwriting existing data.
Main Problem
Changing the tag from latest to the last release number, is something a user could understand as "pinning the current image version", to disable automatic upgrades on docker pull. In my case, I lost ~30 Million entries in the database and all configured dashboards / alerts / users / tokens. This is not toooo bad, as they were mostly system metrics over a week, but it's reasonable to say, that other users could get into way worse problems with such a little change to the docker-compose file.
I hope this helps! Let me know if you have questions.

Since I loaded a full-server-backup of that container, I was not able to retrieve any logs.

@MarvinJWendt Are you persisting the necessary volumes on the host machine?

I think we'll need steps to reproduce this. This isn't a problem I've heard of before so there may be something you're doing differently than others.

Encountered a similar problem:
I had influxdb:latest image (that was actually 2.0.7)
I pulled the new image
After that it appeared in image list as influxdb:latest and the previous image became influxdb:<none>
After restart influxdb stopped working
Removing new image and renaming old image back to influxdb:latest didn't help
Is pulling new containers somehow alter the old ones or is it an influxdb-specific problem? Were you able to reproduce Marvin's issue?


[WIP] Refs #23919 -- Replaced kwargs.pop() with keyword-only arguments.

An attempt to simplify some code by using Python 3 keyword-only arguments.
I would like some feedback on whether all these changes are welcome.
I did not modify some cases where I would need to introduce a sentinel as the default is mutable or an expression and None is a valid value that should not be the default (example 1, example 2).
If this is acceptable, I will look for more occurrences of this pattern where the keyword arguments are not named kwargs.

Yes, this is welcome.

I have changed several more cases that seemed worth it.
There are also some management commands that use options.pop(), but I have left them as is for consistency with other commands (that is, they all use **options and not named keyword arguments).


create_order() documentatoin for txid outdated.

The documentation states that the result when you create an order has txid as a string:
trade.create_order(
    ordertype="market",
    side="buy",
    pair="XBTUSD",
    volume="0.0001"
)
{
    'txid': 'TNGMNU-XQSRA-LKCWOK',
    'descr': {
        'order': 'buy 4.00000000 XBTUSD @ limit 23000.0'
    }
}

Unfortunately, I'm getting a list, not a string.
The latest Kraken API documentatoin for /private/AddOrder states that txid is:
Transaction IDs for order
(if order was added successfully)

So, I think the documentation for create_order should probably be updated to reflect the fact that txid is now a list.
Thanks!  I will adjust this in https://github.com/btschwertfeger/python-kraken-sdk/pull/95. Thanks too!


Evaluation daily burned dUSD via bot

The daily burned dUSD amount of the burning bot should be evaluated as one of the dUSD measures

evaluation handled together with #258


how to make pins responsive?

any ideas?  I got the wheel responsive by using bootstrap, and a call to the resizeCanvas() function supplied by one of the commenters - but getting the pins to scale seems to be beyond me.
any help appreciated.
thanks

@nog123 sorry I am not familiar with bootstrap. Can you clarify what resizeCanvas() function and what commenter you are referring to?
Pins have an outerRadius and some other properties which could be adjusted in a resize function. Please take a look at http://dougtesting.net/winwheel/refs/class_pin if you have not done so already.
Note: I am slowly working on responsive features for Winwheel.js and hope to have something ready in a few months for this.


Move repo to github

google code will probably go away at some point in the future. It won't be
missed by me.

We should probably think about moving in the next 12 months. Issues:

 * tracker migration (good incentive to go through and close everything?)
 * ensuring no barriers of entry to non git-experts (todo: test github's svn bridge)

Original issue reported on code.google.com by<EMAIL_ADDRESS>on 31 Mar 2014 at 2:29

Done!

Some notes:
The original gcode repo had a large folder called analysis. After migrating, I removed this using https://rtyley.github.io/bfg-repo-cleaner/
After doing a null commit, I did this:
git clone --mirror git@github.com:obophenotype/cell-ontology.git
java -jar ~/Downloads/bfg-1.12.3.jar --delete-folders cl-immgen  cell-ontology.git
git reflog expire --expire=now --all && git gc --prune=now --aggressive
git push

That is some seriously advanced git. My head is spinning.


Examples in user_guide

Is your feature request related to a problem? Please describe.
I am playing around with the Iris dataset to learn how to use Ludwig. I want to use the confusion matrix visualization (as an example). It was not too clear from the user guide which arguments were necessary and which arguments were optional. I initially kept getting the following error:
Traceback (most recent call last):
  File "C:\Users\sriki\Miniconda3\Scripts\ludwig-script.py", line 11, in <module>
    load_entry_point('ludwig==0.2.1', 'console_scripts', 'ludwig')()
  File "C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 108, in main
  File "C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 64, in __init__
  File "C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 94, in visualize
  File "C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 3119, in cli
  File "C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 650, in confusion_matrix_cli
  File "C:\Users\sriki\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\utils\data_utils.py", line 76, in load_json
TypeError: expected str, bytes or os.PathLike object, not NoneType

but I have since figured out that I was not specifying the ground_truth_metadata option. The problems are:

The error message is not as informative as it can be.
It was not straightforward (at least for me) which of the files was the correct input to this option. I did eventually figure it was test_set_metadata.json.

Describe the use case
The use case is a person reading the documentation and trying to use one of the visualizations. In my case it was confusion matrix, but it could be any of them.
Describe the solution you'd like
I think a walkthrough starting with a simple dataset would be quite helpful for a newcomer. Under visualization in user guide, start with this simple dataset. Then under each of the visualizations, after describing the CLI arguments, provide an example of how to use it.
Describe alternatives you've considered
Informative error messages are one way to go. For example, instead of the error I received above, something like:
You have not specified the ground_truth_metada argument for the confusion_matrix visualization.

Additional context
Again, this is probably an issue that only newcomers face, and is perhaps not that important for others. I am willing to help out if you think this is worth addressing.

@sriki18 Thanks for raising the issue. A few other people also had issues around this recently.
There a couple of things that can be done here:

Improve error messaging by doing sanity checks on the user inputs - ensure all the required arguments are provided
More detailed and complete examples for visualization.

We'll prioritize this with other pending tasks but feel free to create a pr for either one if you can.

I can work on this. I will try out a bit of both and see which is more feasible for me. Wondering though, if you have pointers on how to go about it. Specifically, do you prefer something on every visualization in a single PR? Or something step by step? I just plan to start with training curves and confusion matrix for the moment...

@sriki18 Thank you for being willing to help with this. You have to fork and then do a PR, what you do in your fork in terms of branches does not influence the forked repo. Having a PR for all visualizations would be ideal, but you can do a draft PR with just a subset of visualizations and we can discuss on that.

Okay, thanks for the clarification! I will work on a draft and send you something in a few days.

Updates: I started playing around with the Titanic dataset for illustrative purposes. I have learning_cruves, confusion_matrix and compare_performance working.
I am unable to get compare_classifiers_performance_from_prob working. I am trying the following:
ludwig visualize -v compare_classifiers_performance_from_prob --ground_truth train.csv --field Survived --probabilities results\titanic_Model1_0\Survived_probabilities.npy results\titanic_Model2_0\Survived_probabilities.npy -mn Model1 Model2

I get the following error:
Traceback (most recent call last):
  File "C:\Users\username\Miniconda3\Scripts\ludwig-script.py", line 11, in <module>
    load_entry_point('ludwig==0.2.1', 'console_scripts', 'ludwig')()
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 108, in main
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 64, in __init__
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 94, in visualize
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 3119, in cli
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 206, in compare_classifiers_performance_from_prob_cli
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 841, in compare_classifiers_performance_from_prob
  File "<__array_function__ internals>", line 6, in argsort
  File "C:\Users\username\Miniconda3\lib\site-packages\numpy\core\fromnumeric.py", line 1084, in argsort
    return _wrapfunc(a, 'argsort', axis=axis, kind=kind, order=order)
  File "C:\Users\username\Miniconda3\lib\site-packages\numpy\core\fromnumeric.py", line 61, in _wrapfunc
    return bound(*args, **kwds)
numpy.AxisError: axis 1 is out of bounds for array of dimension 1

When I feed in the probability csv files with
ludwig visualize -v compare_classifiers_performance_from_prob --ground_truth train.csv --field Survived --probabilities results\titanic_Model1_0\Survived_probabilities.csv results\titanic_Model2_0\Survived_probabilities.csv -mn Model1 Model2

I get
Traceback (most recent call last):
  File "C:\Users\username\Miniconda3\Scripts\ludwig-script.py", line 11, in <module>
    load_entry_point('ludwig==0.2.1', 'console_scripts', 'ludwig')()
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 108, in main
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 64, in __init__
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\cli.py", line 94, in visualize
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 3119, in cli
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 206, in compare_classifiers_performance_from_prob_cli
  File "C:\Users\username\Miniconda3\lib\site-packages\ludwig-0.2.1-py3.7.egg\ludwig\visualize.py", line 845, in compare_classifiers_performance_from_prob
AttributeError: 'bool' object has no attribute 'sum'

Am I feeding in the wrong ground_truth file?
Attaching the training file, model files and training commands for convenience.
ludwig experiment --experiment_name titanic --model_name Model1 --data_csv train.csv -mdf titanic_model1.yaml
ludwig experiment --experiment_name titanic --model_name Model2 --data_csv train.csv -mdf titanic_model2.yaml
ludwig visualize -v compare_performance -mn Model1 Model2 --test_statistics results\titanic_Model1_0\test_statistics.json results\titanic_Model2_0\test_statistics.json --field Survived

train_and_models.zip

@w4nderlust I got a hang of the plotting. I was testing it out with the Titanic dataset, but it has only 2 classes. I think explanation would be better with a multi-class dataset. Do you have a dataset in mind?

Current plots in the User guide use an airline dataset, but I am not familiar with it
Current multi-class in the Examples section of the documentation is an image classification problem. I should like a simpler dataset (numerical/categorical features, fast training), if possible.
If not, I will try some very simple CNNs for the fashion MNIST. I think the dataset is easy enough to understand and class names are clear.

 Anyway, thank you for your PR!


Bug report - TS0601 _TZE200_locansqn pairs, but leaves Zigbee network immediately

Describe the bug

Attempt adding a TS0601 _TZE200_locansqn with the experimental version of the app. The device pairing seems to succeed. App responds to the pairing mode. Immediately afterwards device states "left the network"

Expected behavior

Device should stay connected

App and Homey version

What Homey version are you running?  12.2.1
What version of the Tuya Zigbee App are you using? 0.2.73 Test

Additional context

Bug report from within the app 74bd19bd-9a20-4087-b29f-f1a2fe9853cf

Same behavior on my radar sensors
_TZE204_ya4ft0w4 / TS0601


color chainging star field

https://worldbiomusic.github.io/star-field/.

Community Contribution
Link to live project, video, or image:

Sharing

[x] I would be happy to have my project shared on The Coding Train's social media!

Instagram:
Twitter:

Looks great!


Add OpenShift routes to the topology view

@miq-bot add_label ui, enhancement, providers/containers

@serenamarie125 @jonnyfiveiq @dclarizio @chessbyte - current proposed PR always displays the routes in the legend. Thoughts on the need to show/hide it based on existence of OpenShift providers in the system?
(considering there might be only k8s providers that don't have the route as an entity)

@himdel, please review

Looks good

@serenamarie125 @jonnyfiveiq @dclarizio @chessbyte @itamarh - current proposed PR always displays the routes in the legend. Thoughts on the need to show/hide it based on existence of OpenShift providers in the system?
(considering there might be only k8s providers that don't have the route as an entity)
thoughts on the topic? do we want this to behave the same as the rest of manageiq (where the routes are always part of the menu regardless if there are no openshift providers in the system) or dynamic n topology based on the data we have on available providers?

@abonas Please rebase and push again

I would say that it is not (yet) important to hide routes.  Certainly not a show-stopper...

@abonas Please rebase and push again

yes I will, I just wanted to get feedback on the concept itself regardless.

@chessbyte @himdel rebased. please re-review. thanks!

@abonas merge button is greyed out for this PR.  Please rebase and push again

@chessbyte rebased. thanks

the build seems stuck...

@abonas a lot of that "build seems stuck" going around . . . finished now . . . merging!

@miq-bot add_label topology


Add environment info middleware

Other than the JSON metrics formatting package, formatters don't display environment info as these would be used to pull metrics over http. It can be useful to display the environment info so add a separate endpoint for this

docs: http://app-metrics.io/web-application-monitoring/nuget-packages.html


Receive notification of errors in my i3 config file on loading xiwi the first time

On a new precise chroot on my toshiba chromebook 2, I get a big red bar notifying me of an error.
The contents of the error file
ERROR:
ERROR: CONFIG: syntax error, unexpected $undefined
ERROR: CONFIG: in file "/etc/crouton/xiwi.conf", line 13:
ERROR: CONFIG:   client.focused          #8E8E8F #EAEAEB #000000 #8E8E8F
ERROR: CONFIG:                                                   ^
ERROR:
ERROR:
ERROR: CONFIG: syntax error, unexpected $undefined
ERROR: CONFIG: in file "/etc/crouton/xiwi.conf", line 14:
ERROR: CONFIG:   client.focused_inactive #8E8E8F #CACACB #525252 #8E8E8F
ERROR: CONFIG:                                                   ^
ERROR:
ERROR:
ERROR: CONFIG: syntax error, unexpected $undefined
ERROR: CONFIG: in file "/etc/crouton/xiwi.conf", line 15:
ERROR: CONFIG:   client.unfocused        #8E8E8F #CACACB #525252 #8E8E8F
ERROR: CONFIG:                                                   ^
ERROR:
ERROR:
ERROR: CONFIG: syntax error, unexpected $undefined
ERROR: CONFIG: in file "/etc/crouton/xiwi.conf", line 16:
ERROR: CONFIG:   client.urgent           #FF8E8E #FFCACB #520000 #FF8E8E
ERROR: CONFIG:                                                   ^
ERROR:
ERROR:
ERROR: CONFIG: syntax error, unexpected $undefined, expecting <number> or <word> or '+'
ERROR: CONFIG: in file "/etc/crouton/xiwi.conf", line 27:
ERROR: CONFIG:   bindsym --release button2 kill
ERROR: CONFIG:           ^
ERROR:
ERROR: FYI: You are using i3 version 4.1.2 (2012-01-27, branch "release-4.1.2")

output of croutonversion
crouton: version 1-20150404180843~master:66d0393b
release: precise
architecture: amd64
xmethod: xiwi
targets: xiwi,xorg,cli-extra
host: version 6812.59.0 (Official Build) beta-channel swanky_freon
kernel: Linux localhost 3.10.18 #1 SMP Wed Apr 1 00:22:20 PDT 2015 x86_64 x86_64 x86_64 GNU/Linux
freon: yes

Hmm, looks like we may need to use the i3 ppa.

Hello, I noticed that i3 is installed in the xiwi target by default - is somehow i3 being used by xiwi?
I am also trying to start i3 by using "xiwi xinit i3", which has the same error as starting "xinit i3" with xorg. If it's just due to i3 startup script, we can just fix by patching the startup script ... will continue to investigate.

@ipstone Try xinit /usr/bin/i3 If there are no / then xinit will tread it as an argument to pass it through to the standard script  ~/.xinitrc So use the full path which IIRC is /usr/bin, but you will have to check that where i3.

Thanks @divx118 , it works! I got a fully functional i3 within xiwi.
The only remaining issue is that somehow another blank/black window launched while executing "xiwi xinit /usr/bin/i3" - what might be the cause of that additional window? Once I can figure this out, will write down the instructions to run i3 with xiwi in the Wiki section.
Thanks

@ipstone that is because you start it with xiwi. If you have also xorg installed and that is the default then use XMETHOD=xiwi xinit /usr/bin/i3 else if you don't have xorg then you can just use xinit /usr/bin/i3

Actually, that sounds like a bug.  xiwi xinit should really transform itself into XMETHOD=xiwi xinit.  Could you file a separate bug for that, please?

Just for the completeness on using i3 on crouton xiki, I updated the following wiki page: https://github.com/dnschneid/crouton/wiki/i3

I'm receiving the same error when using xiwi to launch sublime text 3 on a toshiba 2 chromebook as well.
I'm not running the command with sudo.
croutonversion outputs as such
crouton: version 1-20160206234800~master:daa872a0 release: precise architecture: amd64 xmethod: xiwi targets: core,xiwi,keyboard,x11,cli-extra,extension host: version 7647.84.0 (Official Build) stable-channel swanky  kernel: Linux localhost 3.10.18 #1 SMP Thu Feb 18 00:27:11 PST 2016 x86_64 x86_64 x86_64 GNU/Linux freon: yes (precise)duarte@localhost:~$ croutonversion crouton: version 1-20160206234800~master:daa872a0 release: precise architecture: amd64 xmethod: xiwi targets: core,xiwi,keyboard,x11,cli-extra,extension host: version 7647.84.0 (Official Build) stable-channel swanky  kernel: Linux localhost 3.10.18 #1 SMP Thu Feb 18 00:27:11 PST 2016 x86_64 x86_64 x86_64 GNU/Linux freon: yes
Sublime launches, but with the error bar. Sublime seems to be working fine, but I want to fix the error. Any help would be greatly appreciated =]

I get this error as well with precise while running: xiwi keepassx

Finally fixed this!  Yay!

@dnschneid
New to Crouton (installed today), trying to get single app mode working... having this problem with the Error Bar, indicating the same errors as in https://github.com/dnschneid/crouton/issues/1601
What was the fix, or any clues what I should be looking at?

You shouldn't be hitting the issue...what command did you run to create the chroot?  Could you post the output of sudo edit-chroot -all?

Installed per the xiwi wiki page, using:
crouton -t xiwi
edit-chroot output:

name: precise
encrypted: no
Entering /mnt/stateful_partition/crouton/chroots/precise...
crouton: version 1-20161012155921~master:68e8a354
release: precise
architecture: armhf
xmethod: xiwi
targets: xiwi
host: version 8530.96.0 (Official Build) stable-channel daisy
kernel: Linux localhost 3.8.11 #1 SMP Tue Oct 4 16:01:18 PDT 2016 armv7l armv7l armv7l GNU/Linux
freon: yes
Unmounting /mnt/stateful_partition/crouton/chroots/precise...

  Try it again the messages should go away.

I recently updated crouton after the latest ChromeOS update.  The error banner has suddenly reappeared.  edit-chroot -all:
name: precise
encrypted: no
Entering /media/removable/USB Drive/chroots/precise...
crouton: version 1-20161129162558~master:5f2f11f9
release: precise
architecture: amd64
xmethod: xorg
targets: xorg,xiwi,xfce
host: version 9000.66.0 (Official Build) beta-channel falco
kernel: Linux localhost 3.8.11 #1 SMP Tue Jan 17 21:51:58 PST 2017 x86_64 x86_64 x86_64 GNU/Linux
freon: yes


Auto submit of text after audio input

Feature suggestion: I wish there were a prop that enables auto-submit of text based on audio input. It won't be very pleasant for the user to say a word to submit every time. I mean it should auto-submit after some seconds of inactivity from the user

I am also facing this issue, could you please provide an solution for this issue or is there any alternate method

Hi, submitting a message on a pause is difficult to standardise due to dynamic human speech intensions. For example, if the user speaks and later decides to think for a moment, automatically sending a message to the server would be the last thing that they would want. Hence, this is a relatively volatile problem depending on your chat audience.
I will try to see if I can implement something to help you out, but it may take some time depending on what needs to be changed. I'll let you know more details later tonight when I get some free time. Thanks!

Hi, I did some experimentation and was able to create automated submit on silence functionality. I will create an API for this and deploy it in dev tomorrow so you can test it out.
One small issue I ran into was that whilst this works - the functionality to keep the recording going after submission is quite difficult. It does work well for the submit command because the Speech To Element library that is used has been preconfigured to automatically restart after after a particular phrase has been spoken, but I can't do that on silence.
Hence, right now - stopping the recording after submit has happened works perfectly, and if you want to keep the recording going after submit - there is a 300 millisecond interim where the microphone is not available and then the recording automatically restarts again. Let me know if this fits your use-case (or if the first option is enough for you).
I also noticed a bug where upon recording the speech - the submit button is not clickable, I will also be fixing that. Thanks!

I want the microphone to be on continuously after submission and that 300 milliseconds time gap is not a big deal for me .

Hi, I did some experimentation and was able to create automated submit on silence functionality. I will create an API for this and deploy it in dev tomorrow so you can test it out.
One small issue I ran into was that whilst this works - the functionality to keep the recording going after submission is quite difficult. It does work well for the submit command because the Speech To Element library that is used has been preconfigured to automatically restart after after a particular phrase has been spoken, but I can't do that on silence.
Hence, right now - stopping the recording after submit has happened works perfectly, and if you want to keep the recording going after submit - there is a 300 millisecond interim where the microphone is not available and then the recording automatically restarts again. Let me know if this fits your use-case (or if the first option is enough for you).
I also noticed a bug where upon recording the speech - the submit button is not clickable, I will also be fixing that. Thanks!

very nice, gonna use this also too, thanks!
the 300 ms is not a big deal for me either

Hi, I have made the changes and updated our deep-chat-dev and deep-chat-react-dev packages version 9.0.137 to have all the latest functionality.
The speechToText setting has a new property called submitAfterSilence which accepts a boolean true or a json object. Here is its type:
submitAfterSilence?: true | {ms?: number; stop?: boolean};
The ms property is the milliseconds before the automated submit takes place. stop is used to toggle whether the speech to text recording will stop after the submit.
If the value is true or either of the two properties are not defined, the following are the default values:
{ms: 2000, stop: false}
Here are example usages of the new submitAfterSilence property (Vanilla JavaScript):
speechToText = {submitAfterSilence: true}

speechToText = {submitAfterSilence: {}}

speechToText = {submitAfterSilence: {ms: 3000}}

speechToText = {submitAfterSilence: {stop: false}}

speechToText = {submitAfterSilence: {ms: 3000, stop: false}}

To note, if you are using the default webSpeechAPI for the speech to text service, it automatically stops after around 5-7 seconds of silence (by browser), therefore if you are defining a custom ms value - please be aware of that.
Final thing to mention. The dev packages behave the same way as the original ones - except their names are different. The next release for Deep Chat is going to be a big one as we are migrating a lot of its logic to another web component called active chat and with that we are changing quite a few property names, such as changing the request property to connect and initialMessages to history. The old properties will still keep working as usual except you will see warnings in the console for their deprecation. Most importantly, because this is going to be a very big release - it is likely that it will take place some time next month, so all the submitAfterSilence will have to remain in the dev packages until it happens. Hopefully this is ok for you folks.
Let me know if you have any questions or issues.
Thanks!

The bug where the submit button is not enabled after speech transcription takes place has now been fixed in deep-chat-dev and deep-chat-react-dev version 9.0.138.

Hey, I'm not 100% sure what you mean.
Do you want to access your website's DOM when you receive a chat response? If so, you can simple listen to the onNewMessage event and traverse the DOM when it is triggered. I'm confused as to how this is linked to the auto-submit speech to text functionality.

Thanks for your response. My query is not related to audio input now kindly bear with me asking about a different issue in this ticket. The onNewMessage Event is not useful in my case I can only add a script tag inside my code which is a cdn and with that cdn I need to access the dom of the host website and perform a task. I cannot declare the deepchat component in my code.

Probably would be better. You can still keep this issue open until the requested feature has been released in the main package :)

I found a bug like the microphone button icon color is changed to default after a response from service but after that also I can speak and my voice is transcribed to text. I need to persist the icon color even after response from server

Hey @AravindKaay. Thankyou for reporting the bug.
I had another look into the silence functionality and have updated the overall Speech To Text API. The speechToText interface now looks like this:
...
stopAfterSubmit?: false;
submitAfterSilence?: true | number;

The stopAfterSubmit property is used to toggle whether the recording stops after the message has been submitted.
The submitAfterSilence property is used to toggle the automatic submit after silence functionality. You can either set it to true or use a number to represent the number of milliseconds of silence required before submit.
The defaults for these values are:
...
stopAfterSubmit: true,
submitAfterSilence: false

If submitAfterSilence is set to true, then the default number of milliseconds is 2000 (2s).
Example usage (Vanilla JavaScript):
speechToText = {submitAfterSilence: true}

speechToText = {submitAfterSilence: 3000}

speechToText = {stopAfterSubmit: false}

speechToText = {submitAfterSilence: true, stopAfterSubmit: false}

speechToText = {submitAfterSilence: 3000, stopAfterSubmit: false}

This has been published in deep-chat-dev and deep-chat-react-dev versions 9.0.142. Let me know if this works for you and fixes your problem. If the issue is still occurring could you share the Deep Chat configuration you are using.
Thankyou!

I have used stopafterSubmit to restrict the microphone to listen to what the system is speaking but I have to start it again for the next conversation. Could you help me in solving this issue?

Hi @AravindKaay. Could you give me the steps and code to reproduce the issue please. Thankyou!

The new stopAfterSubmit, submitAfterSilence and other properties are now available in the speechToText interface in Deep Chat version 2.0.0.
If there are any problems relating to to this issue feel free to comment below, for everything else please create a new issue.
Thankyou!

The feature is really nice @OvidijusParsiunas  thank you, it is working well on my computer but is definitely not sending after silence on my phone (iphone 11 using safari) any idea how to debug it?


node-js slave build fails with chrome dependency missing - repo missing?

---> Package google-chrome-stable.x86_64 0:70.0.3538.77-1   will be installed
--> Processing Dependency: liberation-fonts for package:   google-chrome-stable-70.0.3538.77-1.x86_64
---> Package libmodman.x86_64 0:2.0.1-8.el7 will be   installed
--> Finished Dependency Resolution
Error: Package: google-chrome-stable-70.0.3538.77-1.x86_64   (/google-chrome-stable_current_x86_64)
Requires: liberation-fonts
--> Package libmodman.x86_64 0:2.0.1-8.el7 will be installed
| --> Finished Dependency Resolution
  | Error: Package: google-chrome-stable-70.0.3538.102-1.x86_64 (/google-chrome-stable_current_x86_64)
  | Requires: liberation-fonts
  | **********************************************************************
  | yum can be configured to try to resolve such errors by temporarily enabling
  | disabled repos and searching for missing dependencies.

To enable this functionality please set 'notify_only=0' in /etc/yum/pluginconf.d/search-disabled-repos.conf

Looks like a dependency changed - or we miss a repo ... (extras repo?)

The reason why I put it here - is that we configure yum repos in the base slave
https://github.com/opendevstack/ods-core/blob/e9446d850d5df44ca3b551fad7ebc23032eabf08/jenkins/slave-base/Dockerfile.rhel7#L10

error: Package: google-chrome-stable-70.0.3538.110-1.x86_64 (/google-chrome-stable_current_x86_64)
| Requires: liberation-fonts
ok - that did not help. @tjaeschke any ideas?

next up
sudo subscription-manager repos --enable rhel-7-server-extras-rpms
sudo subscription-manager repos --enable rhel-7-server-optional-rpms


fix(apps): cost-of-modules node package

:tada: This PR is included in version 2.17.2 :tada:
The release is available on GitHub release
Your semantic-release bot :package::rocket:


Ignore PHPLint files

Update the .gitignore to ignore the cache file of PHPLint.

Codecov Report

Merging #10 (3d27ab1) into main (989edc1) will not change coverage.
The diff coverage is n/a.

@@            Coverage Diff            @@
##               main      #10   +/-   ##
=========================================
  Coverage     92.00%   92.00%
  Complexity       35       35
=========================================
  Files            20       20
  Lines           325      325
  Branches         16       16
=========================================
  Hits            299      299
  Misses           11       11
  Partials         15       15

Flag
Coverage Δ

backend
100.00% <ø> (ø)

frontend
88.49% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Continue to review full report at Codecov.

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

@pascal-zarrad IDE directories don't belong into the project's ignore-list because you technically had to add all existing IDEs out there into the gitignore file too. This is a responsibility to the developers to add those into their global gitignore.
The linting cache is a great addition +1

Has been updated


When will zstd-jni release 1.5.0 version

As we know, facebook/zstd update to 1.5.0 24 days ago. When will zstd-jni release new version based on 1.5.0?
I will be appreciate to see the new version in near future.

hi @yuanyetao today @luben release 1.5.0-1
It's already available


[IPv6] Fix TestReconcileGatewayRoutesOnStartup failure

Use "ip -6 route" for IPv6 network.

/test-ipv6-e2e
/test-ipv6-only-e2e

Codecov Report

Merging #1313 into ipv6 will decrease coverage by 15.19%.
The diff coverage is n/a.

@@             Coverage Diff             @@
##             ipv6    #1313       +/-   ##
===========================================
- Coverage   56.71%   41.52%   -15.20%
===========================================
  Files         155       84       -71
  Lines       13032    10606     -2426
===========================================
- Hits         7391     4404     -2987
- Misses       4852     5810      +958
+ Partials      789      392      -397

Flag
Coverage Δ

#kind-e2e-tests
?

#unit-tests
41.52% <ø> (-0.01%)
:arrow_down:

Flags with carried forward coverage won't be shown. Click here to find out more.


Update: MongoDB.Server version 5.0.0

Removing old versions to reduce clutter
Microsoft Reviewers: Open in CodeFlow

/azp run


pull request for e2e test at 01/28/2017 06:56:18

:white_check_mark: Validation status: passed
For more details, please refer to the build report.
Note: If you changed an existing file name or deleted a file, broken links in other files to the deleted or renamed file are listed only in the full build report.


Support multiple AcsEngineClientIDs

What this PR does / why we need it:
Adds support for multiple AcsEngineClientIds. This is necessary in order to support the different Azure Clouds which need a separate Azure AD Service Principal for the commands that interact with ARM Rest APIs (like acs-engine deploy, acs-engine upgrade and acs-engine scale)
Special notes for your reviewer:
This is RE: #2223
Release note:

This looks good @gsacavdm, thanks! I'll run through E2E even w/ the TODO to prove that the solution is non-breaking for public cloud.

Awesome, in parallel, you guys need to register an Azure AD application in Azure Government with the right permissions so that we can put that clientId in the code.

Also, go fmt -w pkg/armhelpers/azureclient.go (and commit changes) will fix linting errors.

Ping @jackfrancis , is this good to merge?

@gsacavdm Yes, we'll merge this and update the ID in a follow-up PR


Allow SelfSignedCertificates already provisioned

Description
What - Allow SelfSignedCertificates already provisioned as secrets
Why -
How -
Type of change
Please leave one option from the following and delete the rest:

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

Just a minor values issue, WDYT?

I've just committed more changes that address the issue and another changed needed in the certificate secret


add support for new type: bigint

(1n: bigint)

https://flow.org/try/#0BQRgdgXABARglgczmALgSiA

Parsing side of this feature was imported in #7471

This should be resolved, so I'm going to close this.

@dsainati1 there is still typechecking part

When can we expect this?

BigInt support would really help with a project I'm working on.
I see there are 2 PRs for BigInts that have been open for 1 year.
Are these just waiting for review or is there anything someone (like me :) ) can contribute to help resolve this issue?

Can we first have support for Array please?

I'm still getting the error BigInt bigint [1] is not yet supported. [bigint-unsupported] in latest version.
cc @mroch any insight? 🙏

BigInt is now supported as of 0.194